Skip to content

Commit 1ed50b2

Browse files
authored
Updated tokens to v0.99. (#105545)
1 parent faa5975 commit 1ed50b2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+752
-54
lines changed

dev/tools/gen_defaults/bin/gen_defaults.dart

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Future<void> main(List<String> args) async {
3636
const String materialLib = 'packages/flutter/lib/src/material';
3737
const List<String> tokenFiles = <String>[
3838
'banner.json',
39+
'bottom_app_bar.json',
3940
'button_elevated.json',
4041
'button_filled.json',
4142
'button_filled_tonal.json',
@@ -44,13 +45,17 @@ Future<void> main(List<String> args) async {
4445
'card_elevated.json',
4546
'card_filled.json',
4647
'card_outlined.json',
48+
'checkbox.json',
4749
'chip_assist.json',
4850
'chip_filter.json',
4951
'chip_input.json',
5052
'chip_suggestion.json',
5153
'color_dark.json',
5254
'color_light.json',
55+
'date_picker_docked.json',
56+
'date_picker_modal.json',
5357
'dialog.json',
58+
'dialog_fullscreen.json',
5459
'elevation.json',
5560
'fab_extended_primary.json',
5661
'fab_large_primary.json',
@@ -59,14 +64,22 @@ Future<void> main(List<String> args) async {
5964
'icon_button.json',
6065
'icon_button_filled.json',
6166
'icon_button_filled_tonal.json',
67+
'icon_button_outlined.json',
68+
'menu.json',
6269
'motion.json',
6370
'navigation_bar.json',
71+
'navigation_drawer.json',
6472
'navigation_rail.json',
6573
'palette.json',
74+
'segmented_button_outlined.json',
6675
'shape.json',
6776
'slider.json',
6877
'state.json',
78+
'switch.json',
79+
'text_field_filled.json',
80+
'text_field_outlined.json',
6981
'text_style.json',
82+
'time_picker.json',
7083
'top_app_bar_large.json',
7184
'top_app_bar_medium.json',
7285
'top_app_bar_small.json',

dev/tools/gen_defaults/data/banner.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "v0_98",
2+
"version": "v0_99",
33

44
"md.comp.banner.action.focus.label-text.color": "primary",
55
"md.comp.banner.action.focus.state-layer.color": "primary",
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"version": "v0_99",
3+
4+
"md.comp.bottom-app-bar.container.color": "surface",
5+
"md.comp.bottom-app-bar.container.elevation": "md.sys.elevation.level2",
6+
"md.comp.bottom-app-bar.container.height": 80.0,
7+
"md.comp.bottom-app-bar.container.shape": "md.sys.shape.corner.none",
8+
"md.comp.bottom-app-bar.container.surface-tint-layer.color": "surfaceTint"
9+
}

dev/tools/gen_defaults/data/button_elevated.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "v0_98",
2+
"version": "v0_99",
33

44
"md.comp.elevated-button.container.color": "surface",
55
"md.comp.elevated-button.container.elevation": "md.sys.elevation.level1",

dev/tools/gen_defaults/data/button_filled.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "v0_98",
2+
"version": "v0_99",
33

44
"md.comp.filled-button.container.color": "primary",
55
"md.comp.filled-button.container.elevation": "md.sys.elevation.level0",

dev/tools/gen_defaults/data/button_filled_tonal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "v0_98",
2+
"version": "v0_99",
33

44
"md.comp.filled-tonal-button.container.color": "secondaryContainer",
55
"md.comp.filled-tonal-button.container.elevation": "md.sys.elevation.level0",

dev/tools/gen_defaults/data/button_outlined.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "v0_98",
2+
"version": "v0_99",
33

44
"md.comp.outlined-button.container.height": 40.0,
55
"md.comp.outlined-button.container.shape": "md.sys.shape.corner.full",

dev/tools/gen_defaults/data/button_text.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "v0_98",
2+
"version": "v0_99",
33

44
"md.comp.text-button.container.height": 40.0,
55
"md.comp.text-button.container.shape": "md.sys.shape.corner.full",

dev/tools/gen_defaults/data/card_elevated.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "v0_98",
2+
"version": "v0_99",
33

44
"md.comp.elevated-card.container.color": "surface",
55
"md.comp.elevated-card.container.elevation": "md.sys.elevation.level1",

dev/tools/gen_defaults/data/card_filled.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "v0_98",
2+
"version": "v0_99",
33

44
"md.comp.filled-card.container.color": "surfaceVariant",
55
"md.comp.filled-card.container.elevation": "md.sys.elevation.level0",

0 commit comments

Comments
 (0)