Skip to content

Commit

Permalink
Updated to tokens v0.150. (#117350)
Browse files Browse the repository at this point in the history
* Updated to tokens v0.150.

* Updated with a reverted list_tile.dart.
  • Loading branch information
darrenaustin authored Jan 3, 2023
1 parent f190559 commit ccfd14b
Show file tree
Hide file tree
Showing 98 changed files with 133 additions and 115 deletions.
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/badge.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.badge.color": "error",
"md.comp.badge.large.color": "error",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/banner.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.banner.container.color": "surface",
"md.comp.banner.container.elevation": "md.sys.elevation.level1",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/bottom_app_bar.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.bottom-app-bar.container.color": "surface",
"md.comp.bottom-app-bar.container.elevation": "md.sys.elevation.level2",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/button_elevated.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.elevated-button.container.color": "surface",
"md.comp.elevated-button.container.elevation": "md.sys.elevation.level1",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/button_filled.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.filled-button.container.color": "primary",
"md.comp.filled-button.container.elevation": "md.sys.elevation.level0",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/button_filled_tonal.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.filled-tonal-button.container.color": "secondaryContainer",
"md.comp.filled-tonal-button.container.elevation": "md.sys.elevation.level0",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/button_outlined.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.outlined-button.container.height": 40.0,
"md.comp.outlined-button.container.shape": "md.sys.shape.corner.full",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/button_text.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.text-button.container.height": 40.0,
"md.comp.text-button.container.shape": "md.sys.shape.corner.full",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/card_elevated.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.elevated-card.container.color": "surface",
"md.comp.elevated-card.container.elevation": "md.sys.elevation.level1",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/card_filled.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.filled-card.container.color": "surfaceVariant",
"md.comp.filled-card.container.elevation": "md.sys.elevation.level0",
Expand Down
10 changes: 5 additions & 5 deletions dev/tools/gen_defaults/data/card_outlined.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.outlined-card.container.color": "surface",
"md.comp.outlined-card.container.elevation": "md.sys.elevation.level0",
Expand All @@ -10,23 +10,23 @@
"md.comp.outlined-card.disabled.outline.color": "outline",
"md.comp.outlined-card.disabled.outline.opacity": 0.12,
"md.comp.outlined-card.dragged.container.elevation": "md.sys.elevation.level3",
"md.comp.outlined-card.dragged.outline.color": "outline",
"md.comp.outlined-card.dragged.outline.color": "outlineVariant",
"md.comp.outlined-card.dragged.state-layer.color": "onSurface",
"md.comp.outlined-card.dragged.state-layer.opacity": "md.sys.state.dragged.state-layer-opacity",
"md.comp.outlined-card.focus.container.elevation": "md.sys.elevation.level0",
"md.comp.outlined-card.focus.outline.color": "onSurface",
"md.comp.outlined-card.focus.state-layer.color": "onSurface",
"md.comp.outlined-card.focus.state-layer.opacity": "md.sys.state.focus.state-layer-opacity",
"md.comp.outlined-card.hover.container.elevation": "md.sys.elevation.level1",
"md.comp.outlined-card.hover.outline.color": "outline",
"md.comp.outlined-card.hover.outline.color": "outlineVariant",
"md.comp.outlined-card.hover.state-layer.color": "onSurface",
"md.comp.outlined-card.hover.state-layer.opacity": "md.sys.state.hover.state-layer-opacity",
"md.comp.outlined-card.icon.color": "primary",
"md.comp.outlined-card.icon.size": 24.0,
"md.comp.outlined-card.outline.color": "outline",
"md.comp.outlined-card.outline.color": "outlineVariant",
"md.comp.outlined-card.outline.width": 1.0,
"md.comp.outlined-card.pressed.container.elevation": "md.sys.elevation.level0",
"md.comp.outlined-card.pressed.outline.color": "outline",
"md.comp.outlined-card.pressed.outline.color": "outlineVariant",
"md.comp.outlined-card.pressed.state-layer.color": "onSurface",
"md.comp.outlined-card.pressed.state-layer.opacity": "md.sys.state.pressed.state-layer-opacity"
}
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/checkbox.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.checkbox.container.height": 18.0,
"md.comp.checkbox.container.width": 18.0,
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/chip_assist.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.assist-chip.container.height": 32.0,
"md.comp.assist-chip.container.shape": "md.sys.shape.corner.small",
Expand Down
4 changes: 2 additions & 2 deletions dev/tools/gen_defaults/data/chip_filter.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.filter-chip.container.height": 32.0,
"md.comp.filter-chip.container.shadow-color": "shadow",
"md.comp.filter-chip.container.shape": "md.sys.shape.corner.small",
"md.comp.filter-chip.container.surface-tint-layer.color": "surfaceTint",
"md.comp.filter-chip.disabled.label-text.color": "onSurface",
"md.comp.filter-chip.disabled.label-text.opacity": 0.38,
"md.comp.filter-chip.dragged.container.elevation": "md.sys.elevation.level4",
"md.comp.filter-chip.elevated.container.elevation": "md.sys.elevation.level1",
"md.comp.filter-chip.elevated.container.shadow-color": "shadow",
"md.comp.filter-chip.elevated.disabled.container.color": "onSurface",
"md.comp.filter-chip.elevated.disabled.container.elevation": "md.sys.elevation.level0",
"md.comp.filter-chip.elevated.disabled.container.opacity": 0.12,
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/chip_input.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.input-chip.container.elevation": "md.sys.elevation.level0",
"md.comp.input-chip.container.height": 32.0,
Expand Down
12 changes: 6 additions & 6 deletions dev/tools/gen_defaults/data/chip_suggestion.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.suggestion-chip.container.height": 32.0,
"md.comp.suggestion-chip.container.shape": "md.sys.shape.corner.small",
Expand Down Expand Up @@ -38,10 +38,10 @@
"md.comp.suggestion-chip.pressed.state-layer.opacity": "md.sys.state.pressed.state-layer-opacity",
"md.comp.suggestion-chip.with-leading-icon.disabled.leading-icon.color": "onSurface",
"md.comp.suggestion-chip.with-leading-icon.disabled.leading-icon.opacity": 0.38,
"md.comp.suggestion-chip.with-leading-icon.dragged.leading-icon.color": "onSurfaceVariant",
"md.comp.suggestion-chip.with-leading-icon.focus.leading-icon.color": "onSurfaceVariant",
"md.comp.suggestion-chip.with-leading-icon.hover.leading-icon.color": "onSurfaceVariant",
"md.comp.suggestion-chip.with-leading-icon.leading-icon.color": "onSurfaceVariant",
"md.comp.suggestion-chip.with-leading-icon.dragged.leading-icon.color": "primary",
"md.comp.suggestion-chip.with-leading-icon.focus.leading-icon.color": "primary",
"md.comp.suggestion-chip.with-leading-icon.hover.leading-icon.color": "primary",
"md.comp.suggestion-chip.with-leading-icon.leading-icon.color": "primary",
"md.comp.suggestion-chip.with-leading-icon.leading-icon.size": 18.0,
"md.comp.suggestion-chip.with-leading-icon.pressed.leading-icon.color": "onSurfaceVariant"
"md.comp.suggestion-chip.with-leading-icon.pressed.leading-icon.color": "primary"
}
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/color_dark.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.sys.color.background": "md.ref.palette.neutral10",
"md.sys.color.error": "md.ref.palette.error80",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/color_light.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.sys.color.background": "md.ref.palette.neutral99",
"md.sys.color.error": "md.ref.palette.error40",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/date_picker_docked.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.date-picker.docked.container.color": "surface",
"md.comp.date-picker.docked.container.elevation": "md.sys.elevation.level3",
Expand Down
16 changes: 16 additions & 0 deletions dev/tools/gen_defaults/data/date_picker_input_modal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": "v0_150",

"md.comp.date-input.modal.container.color": "surface",
"md.comp.date-input.modal.container.elevation": "md.sys.elevation.level3",
"md.comp.date-input.modal.container.height": 512.0,
"md.comp.date-input.modal.container.shape": "md.sys.shape.corner.extra-large",
"md.comp.date-input.modal.container.surface-tint-layer.color": "surfaceTint",
"md.comp.date-input.modal.container.width": 328.0,
"md.comp.date-input.modal.header.container.height": 120.0,
"md.comp.date-input.modal.header.container.width": 328.0,
"md.comp.date-input.modal.header.headline.color": "onSurfaceVariant",
"md.comp.date-input.modal.header.headline.text-style": "headlineLarge",
"md.comp.date-input.modal.header.supporting-text.color": "onSurfaceVariant",
"md.comp.date-input.modal.header.supporting-text.text-style": "labelMedium"
}
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/date_picker_modal.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.date-picker.modal.container.color": "surface",
"md.comp.date-picker.modal.container.elevation": "md.sys.elevation.level3",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/dialog.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.dialog.action.focus.label-text.color": "primary",
"md.comp.dialog.action.focus.state-layer.color": "primary",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/dialog_fullscreen.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.full-screen-dialog.container.color": "surface",
"md.comp.full-screen-dialog.container.elevation": "md.sys.elevation.level0",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/divider.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.divider.color": "outlineVariant",
"md.comp.divider.thickness": 1.0
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/elevation.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.sys.elevation.level0": 0.0,
"md.sys.elevation.level1": 1.0,
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/fab_extended_primary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.extended-fab.primary.container.color": "primaryContainer",
"md.comp.extended-fab.primary.container.elevation": "md.sys.elevation.level3",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/fab_large_primary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.fab.primary.large.container.color": "primaryContainer",
"md.comp.fab.primary.large.container.elevation": "md.sys.elevation.level3",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/fab_primary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.fab.primary.container.color": "primaryContainer",
"md.comp.fab.primary.container.elevation": "md.sys.elevation.level3",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/fab_small_primary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.fab.primary.small.container.color": "primaryContainer",
"md.comp.fab.primary.small.container.elevation": "md.sys.elevation.level3",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/icon_button.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.icon-button.disabled.icon.color": "onSurface",
"md.comp.icon-button.disabled.icon.opacity": 0.38,
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/icon_button_filled.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.filled-icon-button.container.color": "primary",
"md.comp.filled-icon-button.container.shape": "md.sys.shape.corner.full",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/icon_button_filled_tonal.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.filled-tonal-icon-button.container.color": "secondaryContainer",
"md.comp.filled-tonal-icon-button.container.shape": "md.sys.shape.corner.full",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/icon_button_outlined.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.outlined-icon-button.container.shape": "md.sys.shape.corner.full",
"md.comp.outlined-icon-button.container.size": 40.0,
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/list.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.list.list-item.container.color": "surface",
"md.comp.list.list-item.container.elevation": "md.sys.elevation.level0",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/menu.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.menu.cascading-menu-indicator.icon.color": "onSurfaceVariant",
"md.comp.menu.cascading-menu-indicator.icon.size": 24.0,
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/motion.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.sys.motion.duration.extra-long1Ms": 700.0,
"md.sys.motion.duration.extra-long2Ms": 800.0,
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/navigation_bar.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.navigation-bar.active.focus.icon.color": "onSecondaryContainer",
"md.comp.navigation-bar.active.focus.label-text.color": "onSurface",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/navigation_drawer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.navigation-drawer.active.focus.icon.color": "onSecondaryContainer",
"md.comp.navigation-drawer.active.focus.label-text.color": "onSecondaryContainer",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/navigation_rail.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.navigation-rail.active.focus.icon.color": "onSecondaryContainer",
"md.comp.navigation-rail.active.focus.label-text.color": "onSurface",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/navigation_tab_primary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.primary-navigation-tab.active.focus.state-layer.color": "primary",
"md.comp.primary-navigation-tab.active.focus.state-layer.opacity": "md.sys.state.focus.state-layer-opacity",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/palette.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.ref.palette.black": "0xFF000000",
"md.ref.palette.error0": "0xFF000000",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.circular-progress-indicator.active-indicator.color": "primary",
"md.comp.circular-progress-indicator.active-indicator.shape": "md.sys.shape.corner.none",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/progress_indicator_linear.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.linear-progress-indicator.active-indicator.color": "primary",
"md.comp.linear-progress-indicator.active-indicator.height": 4.0,
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/radio_button.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.radio-button.disabled.selected.icon.color": "onSurface",
"md.comp.radio-button.disabled.selected.icon.opacity": 0.38,
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/segmented_button_outlined.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.outlined-segmented-button.container.height": 40.0,
"md.comp.outlined-segmented-button.disabled.icon.color": "onSurface",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/shape.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.sys.shape.corner.extra-large": {
"family": "SHAPE_FAMILY_ROUNDED_CORNERS",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/sheet_bottom.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.sheet.bottom.docked.container.color": "surface",
"md.comp.sheet.bottom.docked.container.shape": "md.sys.shape.corner.extra-large.top",
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/gen_defaults/data/slider.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v0_143",
"version": "v0_150",

"md.comp.slider.active.track.color": "primary",
"md.comp.slider.active.track.height": 4.0,
Expand Down
Loading

0 comments on commit ccfd14b

Please sign in to comment.