Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
dfb4ff2f
Unverified
Commit
dfb4ff2f
authored
May 10, 2022
by
Darren Austin
Committed by
GitHub
May 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated tokens to v0.98. (#103360)
parent
f86dfdd2
Changes
49
Hide whitespace changes
Inline
Side-by-side
Showing
49 changed files
with
210 additions
and
63 deletions
+210
-63
banner.json
dev/tools/gen_defaults/data/banner.json
+1
-1
button_elevated.json
dev/tools/gen_defaults/data/button_elevated.json
+1
-1
button_filled.json
dev/tools/gen_defaults/data/button_filled.json
+1
-1
button_filled_tonal.json
dev/tools/gen_defaults/data/button_filled_tonal.json
+1
-1
button_outlined.json
dev/tools/gen_defaults/data/button_outlined.json
+1
-1
button_text.json
dev/tools/gen_defaults/data/button_text.json
+1
-1
card_elevated.json
dev/tools/gen_defaults/data/card_elevated.json
+1
-1
card_filled.json
dev/tools/gen_defaults/data/card_filled.json
+1
-1
card_outlined.json
dev/tools/gen_defaults/data/card_outlined.json
+1
-1
chip_assist.json
dev/tools/gen_defaults/data/chip_assist.json
+1
-1
chip_filter.json
dev/tools/gen_defaults/data/chip_filter.json
+1
-1
chip_input.json
dev/tools/gen_defaults/data/chip_input.json
+1
-1
chip_suggestion.json
dev/tools/gen_defaults/data/chip_suggestion.json
+1
-1
color_dark.json
dev/tools/gen_defaults/data/color_dark.json
+1
-1
color_light.json
dev/tools/gen_defaults/data/color_light.json
+1
-1
dialog.json
dev/tools/gen_defaults/data/dialog.json
+3
-3
elevation.json
dev/tools/gen_defaults/data/elevation.json
+1
-1
fab_extended_primary.json
dev/tools/gen_defaults/data/fab_extended_primary.json
+1
-1
fab_large_primary.json
dev/tools/gen_defaults/data/fab_large_primary.json
+1
-1
fab_primary.json
dev/tools/gen_defaults/data/fab_primary.json
+1
-1
fab_small_primary.json
dev/tools/gen_defaults/data/fab_small_primary.json
+1
-1
icon_button.json
dev/tools/gen_defaults/data/icon_button.json
+29
-0
icon_button_filled.json
dev/tools/gen_defaults/data/icon_button_filled.json
+38
-0
icon_button_filled_tonal.json
dev/tools/gen_defaults/data/icon_button_filled_tonal.json
+38
-0
menu.json
dev/tools/gen_defaults/data/menu.json
+42
-0
motion.json
dev/tools/gen_defaults/data/motion.json
+17
-17
navigation_bar.json
dev/tools/gen_defaults/data/navigation_bar.json
+1
-1
navigation_rail.json
dev/tools/gen_defaults/data/navigation_rail.json
+1
-1
palette.json
dev/tools/gen_defaults/data/palette.json
+1
-1
shape.json
dev/tools/gen_defaults/data/shape.json
+1
-1
slider.json
dev/tools/gen_defaults/data/slider.json
+1
-1
state.json
dev/tools/gen_defaults/data/state.json
+1
-1
text_style.json
dev/tools/gen_defaults/data/text_style.json
+1
-1
top_app_bar_large.json
dev/tools/gen_defaults/data/top_app_bar_large.json
+1
-1
top_app_bar_medium.json
dev/tools/gen_defaults/data/top_app_bar_medium.json
+1
-1
top_app_bar_small.json
dev/tools/gen_defaults/data/top_app_bar_small.json
+1
-1
typeface.json
dev/tools/gen_defaults/data/typeface.json
+1
-1
dialog_template.dart
dev/tools/gen_defaults/lib/dialog_template.dart
+1
-1
app_bar.dart
packages/flutter/lib/src/material/app_bar.dart
+1
-1
card.dart
packages/flutter/lib/src/material/card.dart
+1
-1
dialog.dart
packages/flutter/lib/src/material/dialog.dart
+1
-1
elevated_button.dart
packages/flutter/lib/src/material/elevated_button.dart
+1
-1
elevation_overlay.dart
packages/flutter/lib/src/material/elevation_overlay.dart
+1
-1
floating_action_button.dart
...ages/flutter/lib/src/material/floating_action_button.dart
+1
-1
navigation_bar.dart
packages/flutter/lib/src/material/navigation_bar.dart
+1
-1
navigation_rail.dart
packages/flutter/lib/src/material/navigation_rail.dart
+1
-1
outlined_button.dart
packages/flutter/lib/src/material/outlined_button.dart
+1
-1
text_button.dart
packages/flutter/lib/src/material/text_button.dart
+1
-1
typography.dart
packages/flutter/lib/src/material/typography.dart
+1
-1
No files found.
dev/tools/gen_defaults/data/banner.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.banner.action.focus.label-text.color"
:
"primary"
,
"md.comp.banner.action.focus.state-layer.color"
:
"primary"
,
...
...
dev/tools/gen_defaults/data/button_elevated.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.elevated-button.container.color"
:
"surface"
,
"md.comp.elevated-button.container.elevation"
:
"md.sys.elevation.level1"
,
...
...
dev/tools/gen_defaults/data/button_filled.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.filled-button.container.color"
:
"primary"
,
"md.comp.filled-button.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/button_filled_tonal.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.filled-tonal-button.container.color"
:
"secondaryContainer"
,
"md.comp.filled-tonal-button.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/button_outlined.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.outlined-button.container.height"
:
40.0
,
"md.comp.outlined-button.container.shape"
:
"md.sys.shape.corner.full"
,
...
...
dev/tools/gen_defaults/data/button_text.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.text-button.container.height"
:
40.0
,
"md.comp.text-button.container.shape"
:
"md.sys.shape.corner.full"
,
...
...
dev/tools/gen_defaults/data/card_elevated.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.elevated-card.container.color"
:
"surface"
,
"md.comp.elevated-card.container.elevation"
:
"md.sys.elevation.level1"
,
...
...
dev/tools/gen_defaults/data/card_filled.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.filled-card.container.color"
:
"surfaceVariant"
,
"md.comp.filled-card.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/card_outlined.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.outlined-card.container.color"
:
"surface"
,
"md.comp.outlined-card.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/chip_assist.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.assist-chip.container.height"
:
32.0
,
"md.comp.assist-chip.container.shape"
:
"md.sys.shape.corner.small"
,
...
...
dev/tools/gen_defaults/data/chip_filter.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.filter-chip.container.height"
:
32.0
,
"md.comp.filter-chip.container.shadow-color"
:
"shadow"
,
...
...
dev/tools/gen_defaults/data/chip_input.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.input-chip.container.elevation"
:
"md.sys.elevation.level0"
,
"md.comp.input-chip.container.height"
:
32.0
,
...
...
dev/tools/gen_defaults/data/chip_suggestion.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.suggestion-chip.container.height"
:
32.0
,
"md.comp.suggestion-chip.container.shape"
:
"md.sys.shape.corner.small"
,
...
...
dev/tools/gen_defaults/data/color_dark.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.sys.color.background"
:
"md.ref.palette.neutral10"
,
"md.sys.color.error"
:
"md.ref.palette.error80"
,
...
...
dev/tools/gen_defaults/data/color_light.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.sys.color.background"
:
"md.ref.palette.neutral99"
,
"md.sys.color.error"
:
"md.ref.palette.error40"
,
...
...
dev/tools/gen_defaults/data/dialog.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.dialog.action.focus.label-text.color"
:
"primary"
,
"md.comp.dialog.action.focus.state-layer.color"
:
"primary"
,
...
...
@@ -16,8 +16,8 @@
"md.comp.dialog.container.elevation"
:
"md.sys.elevation.level3"
,
"md.comp.dialog.container.shape"
:
"md.sys.shape.corner.extra-large"
,
"md.comp.dialog.container.surface-tint-layer.color"
:
"surfaceTint"
,
"md.comp.dialog.
subhead
.color"
:
"onSurface"
,
"md.comp.dialog.
subhead
.text-style"
:
"headlineSmall"
,
"md.comp.dialog.
headline
.color"
:
"onSurface"
,
"md.comp.dialog.
headline
.text-style"
:
"headlineSmall"
,
"md.comp.dialog.supporting-text.color"
:
"onSurfaceVariant"
,
"md.comp.dialog.supporting-text.text-style"
:
"bodyMedium"
,
"md.comp.dialog.with-divider.divider.color"
:
"outline"
,
...
...
dev/tools/gen_defaults/data/elevation.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.sys.elevation.level0"
:
0.0
,
"md.sys.elevation.level1"
:
1.0
,
...
...
dev/tools/gen_defaults/data/fab_extended_primary.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.extended-fab.primary.container.color"
:
"primaryContainer"
,
"md.comp.extended-fab.primary.container.elevation"
:
"md.sys.elevation.level3"
,
...
...
dev/tools/gen_defaults/data/fab_large_primary.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.fab.primary.large.container.color"
:
"primaryContainer"
,
"md.comp.fab.primary.large.container.elevation"
:
"md.sys.elevation.level3"
,
...
...
dev/tools/gen_defaults/data/fab_primary.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.fab.primary.container.color"
:
"primaryContainer"
,
"md.comp.fab.primary.container.elevation"
:
"md.sys.elevation.level3"
,
...
...
dev/tools/gen_defaults/data/fab_small_primary.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.fab.primary.small.container.color"
:
"primaryContainer"
,
"md.comp.fab.primary.small.container.elevation"
:
"md.sys.elevation.level3"
,
...
...
dev/tools/gen_defaults/data/icon_button.json
0 → 100644
View file @
dfb4ff2f
{
"version"
:
"v0_98"
,
"md.comp.icon-button.disabled.icon.color"
:
"onSurface"
,
"md.comp.icon-button.disabled.icon.opacity"
:
0.38
,
"md.comp.icon-button.icon.size"
:
24.0
,
"md.comp.icon-button.selected.focus.icon.color"
:
"primary"
,
"md.comp.icon-button.selected.focus.state-layer.color"
:
"primary"
,
"md.comp.icon-button.selected.focus.state-layer.opacity"
:
"md.sys.state.focus.state-layer-opacity"
,
"md.comp.icon-button.selected.hover.icon.color"
:
"primary"
,
"md.comp.icon-button.selected.hover.state-layer.color"
:
"primary"
,
"md.comp.icon-button.selected.hover.state-layer.opacity"
:
"md.sys.state.hover.state-layer-opacity"
,
"md.comp.icon-button.selected.icon.color"
:
"primary"
,
"md.comp.icon-button.selected.pressed.icon.color"
:
"primary"
,
"md.comp.icon-button.selected.pressed.state-layer.color"
:
"primary"
,
"md.comp.icon-button.selected.pressed.state-layer.opacity"
:
"md.sys.state.pressed.state-layer-opacity"
,
"md.comp.icon-button.state-layer.shape"
:
"md.sys.shape.corner.full"
,
"md.comp.icon-button.state-layer.size"
:
40.0
,
"md.comp.icon-button.unselected.focus.icon.color"
:
"onSurfaceVariant"
,
"md.comp.icon-button.unselected.focus.state-layer.color"
:
"onSurfaceVariant"
,
"md.comp.icon-button.unselected.focus.state-layer.opacity"
:
"md.sys.state.hover.state-layer-opacity"
,
"md.comp.icon-button.unselected.hover.icon.color"
:
"onSurfaceVariant"
,
"md.comp.icon-button.unselected.hover.state-layer.color"
:
"onSurfaceVariant"
,
"md.comp.icon-button.unselected.hover.state-layer.opacity"
:
"md.sys.state.hover.state-layer-opacity"
,
"md.comp.icon-button.unselected.icon.color"
:
"onSurfaceVariant"
,
"md.comp.icon-button.unselected.pressed.icon.color"
:
"onSurfaceVariant"
,
"md.comp.icon-button.unselected.pressed.state-layer.color"
:
"onSurfaceVariant"
,
"md.comp.icon-button.unselected.pressed.state-layer.opacity"
:
"md.sys.state.pressed.state-layer-opacity"
}
dev/tools/gen_defaults/data/icon_button_filled.json
0 → 100644
View file @
dfb4ff2f
{
"version"
:
"v0_98"
,
"md.comp.filled-icon-button.container.color"
:
"primary"
,
"md.comp.filled-icon-button.container.shape"
:
"md.sys.shape.corner.full"
,
"md.comp.filled-icon-button.container.size"
:
40.0
,
"md.comp.filled-icon-button.disabled.container.color"
:
"onSurface"
,
"md.comp.filled-icon-button.disabled.container.opacity"
:
0.12
,
"md.comp.filled-icon-button.disabled.icon.color"
:
"onSurface"
,
"md.comp.filled-icon-button.disabled.icon.opacity"
:
0.38
,
"md.comp.filled-icon-button.focus.icon.color"
:
"onPrimary"
,
"md.comp.filled-icon-button.focus.state-layer.color"
:
"onPrimary"
,
"md.comp.filled-icon-button.focus.state-layer.opacity"
:
"md.sys.state.focus.state-layer-opacity"
,
"md.comp.filled-icon-button.hover.icon.color"
:
"onPrimary"
,
"md.comp.filled-icon-button.hover.state-layer.color"
:
"onPrimary"
,
"md.comp.filled-icon-button.hover.state-layer.opacity"
:
"md.sys.state.hover.state-layer-opacity"
,
"md.comp.filled-icon-button.icon.color"
:
"onPrimary"
,
"md.comp.filled-icon-button.icon.size"
:
24.0
,
"md.comp.filled-icon-button.pressed.icon.color"
:
"onPrimary"
,
"md.comp.filled-icon-button.pressed.state-layer.color"
:
"onPrimary"
,
"md.comp.filled-icon-button.pressed.state-layer.opacity"
:
"md.sys.state.pressed.state-layer-opacity"
,
"md.comp.filled-icon-button.selected.container.color"
:
"primary"
,
"md.comp.filled-icon-button.toggle.selected.focus.icon.color"
:
"onPrimary"
,
"md.comp.filled-icon-button.toggle.selected.focus.state-layer.color"
:
"onPrimary"
,
"md.comp.filled-icon-button.toggle.selected.hover.icon.color"
:
"onPrimary"
,
"md.comp.filled-icon-button.toggle.selected.hover.state-layer.color"
:
"onPrimary"
,
"md.comp.filled-icon-button.toggle.selected.icon.color"
:
"onPrimary"
,
"md.comp.filled-icon-button.toggle.selected.pressed.icon.color"
:
"onPrimary"
,
"md.comp.filled-icon-button.toggle.selected.pressed.state-layer.color"
:
"onPrimary"
,
"md.comp.filled-icon-button.toggle.unselected.focus.icon.color"
:
"primary"
,
"md.comp.filled-icon-button.toggle.unselected.focus.state-layer.color"
:
"primary"
,
"md.comp.filled-icon-button.toggle.unselected.hover.icon.color"
:
"primary"
,
"md.comp.filled-icon-button.toggle.unselected.hover.state-layer.color"
:
"primary"
,
"md.comp.filled-icon-button.toggle.unselected.icon.color"
:
"primary"
,
"md.comp.filled-icon-button.toggle.unselected.pressed.icon.color"
:
"primary"
,
"md.comp.filled-icon-button.toggle.unselected.pressed.state-layer.color"
:
"primary"
,
"md.comp.filled-icon-button.unselected.container.color"
:
"surfaceVariant"
}
dev/tools/gen_defaults/data/icon_button_filled_tonal.json
0 → 100644
View file @
dfb4ff2f
{
"version"
:
"v0_98"
,
"md.comp.filled-tonal-icon-button.container.color"
:
"secondaryContainer"
,
"md.comp.filled-tonal-icon-button.container.shape"
:
"md.sys.shape.corner.full"
,
"md.comp.filled-tonal-icon-button.container.size"
:
40.0
,
"md.comp.filled-tonal-icon-button.disabled.container.color"
:
"onSurface"
,
"md.comp.filled-tonal-icon-button.disabled.container.opacity"
:
0.12
,
"md.comp.filled-tonal-icon-button.disabled.icon.color"
:
"onSurface"
,
"md.comp.filled-tonal-icon-button.disabled.icon.opacity"
:
0.38
,
"md.comp.filled-tonal-icon-button.focus.icon.color"
:
"onSecondaryContainer"
,
"md.comp.filled-tonal-icon-button.focus.state-layer.color"
:
"onSecondaryContainer"
,
"md.comp.filled-tonal-icon-button.focus.state-layer.opacity"
:
"md.sys.state.focus.state-layer-opacity"
,
"md.comp.filled-tonal-icon-button.hover.icon.color"
:
"onSecondaryContainer"
,
"md.comp.filled-tonal-icon-button.hover.state-layer.color"
:
"onSecondaryContainer"
,
"md.comp.filled-tonal-icon-button.hover.state-layer.opacity"
:
"md.sys.state.hover.state-layer-opacity"
,
"md.comp.filled-tonal-icon-button.icon.color"
:
"onSecondaryContainer"
,
"md.comp.filled-tonal-icon-button.icon.size"
:
24.0
,
"md.comp.filled-tonal-icon-button.pressed.icon.color"
:
"onSecondaryContainer"
,
"md.comp.filled-tonal-icon-button.pressed.state-layer.color"
:
"onSecondaryContainer"
,
"md.comp.filled-tonal-icon-button.pressed.state-layer.opacity"
:
"md.sys.state.pressed.state-layer-opacity"
,
"md.comp.filled-tonal-icon-button.selected.container.color"
:
"secondaryContainer"
,
"md.comp.filled-tonal-icon-button.toggle.selected.focus.icon.color"
:
"onSecondaryContainer"
,
"md.comp.filled-tonal-icon-button.toggle.selected.focus.state-layer.color"
:
"onSecondaryContainer"
,
"md.comp.filled-tonal-icon-button.toggle.selected.hover.icon.color"
:
"onSecondaryContainer"
,
"md.comp.filled-tonal-icon-button.toggle.selected.hover.state-layer.color"
:
"onSecondaryContainer"
,
"md.comp.filled-tonal-icon-button.toggle.selected.icon.color"
:
"onSecondaryContainer"
,
"md.comp.filled-tonal-icon-button.toggle.selected.pressed.icon.color"
:
"onSecondaryContainer"
,
"md.comp.filled-tonal-icon-button.toggle.selected.pressed.state-layer.color"
:
"onSecondaryContainer"
,
"md.comp.filled-tonal-icon-button.toggle.unselected.focus.icon.color"
:
"onSurfaceVariant"
,
"md.comp.filled-tonal-icon-button.toggle.unselected.focus.state-layer.color"
:
"onSurfaceVariant"
,
"md.comp.filled-tonal-icon-button.toggle.unselected.hover.icon.color"
:
"onSurfaceVariant"
,
"md.comp.filled-tonal-icon-button.toggle.unselected.hover.state-layer.color"
:
"onSurfaceVariant"
,
"md.comp.filled-tonal-icon-button.toggle.unselected.icon.color"
:
"onSurfaceVariant"
,
"md.comp.filled-tonal-icon-button.toggle.unselected.pressed.icon.color"
:
"onSurfaceVariant"
,
"md.comp.filled-tonal-icon-button.toggle.unselected.pressed.state-layer.color"
:
"onSurfaceVariant"
,
"md.comp.filled-tonal-icon-button.unselected.container.color"
:
"surfaceVariant"
}
dev/tools/gen_defaults/data/menu.json
0 → 100644
View file @
dfb4ff2f
{
"version"
:
"v0_98"
,
"md.comp.menu.cascading-menu-indicator.icon.color"
:
"onSurfaceVariant"
,
"md.comp.menu.cascading-menu-indicator.icon.size"
:
24.0
,
"md.comp.menu.container.color"
:
"surface"
,
"md.comp.menu.container.elevation"
:
"md.sys.elevation.level2"
,
"md.comp.menu.container.shadow-color"
:
"shadow"
,
"md.comp.menu.container.shape"
:
"md.sys.shape.corner.extra-small"
,
"md.comp.menu.container.surface-tint-layer.color"
:
"surfaceTint"
,
"md.comp.menu.divider.color"
:
"surfaceVariant"
,
"md.comp.menu.divider.height"
:
1.0
,
"md.comp.menu.list-item.container.height"
:
48.0
,
"md.comp.menu.list-item.disabled.label-text.color"
:
"onSurface"
,
"md.comp.menu.list-item.disabled.label-text.opacity"
:
0.38
,
"md.comp.menu.list-item.focus.label-text.color"
:
"onSurface"
,
"md.comp.menu.list-item.focus.state-layer.color"
:
"onSurface"
,
"md.comp.menu.list-item.focus.state-layer.opacity"
:
"md.sys.state.focus.state-layer-opacity"
,
"md.comp.menu.list-item.hover.label-text.color"
:
"onSurface"
,
"md.comp.menu.list-item.hover.state-layer.color"
:
"onSurface"
,
"md.comp.menu.list-item.hover.state-layer.opacity"
:
"md.sys.state.hover.state-layer-opacity"
,
"md.comp.menu.list-item.label-text.color"
:
"onSurface"
,
"md.comp.menu.list-item.label-text.text-style"
:
"labelLarge"
,
"md.comp.menu.list-item.pressed.label-text.color"
:
"onSurface"
,
"md.comp.menu.list-item.pressed.state-layer.color"
:
"onSurface"
,
"md.comp.menu.list-item.pressed.state-layer.opacity"
:
"md.sys.state.pressed.state-layer-opacity"
,
"md.comp.menu.list-item.selected.container.color"
:
"surfaceVariant"
,
"md.comp.menu.list-item.with-leading-icon.disabled.leading-icon.color"
:
"onSurface"
,
"md.comp.menu.list-item.with-leading-icon.disabled.leading-icon.opacity"
:
0.38
,
"md.comp.menu.list-item.with-leading-icon.focus.icon.color"
:
"onSurfaceVariant"
,
"md.comp.menu.list-item.with-leading-icon.hover.icon.color"
:
"onSurfaceVariant"
,
"md.comp.menu.list-item.with-leading-icon.leading-icon.color"
:
"onSurfaceVariant"
,
"md.comp.menu.list-item.with-leading-icon.leading-icon.size"
:
24.0
,
"md.comp.menu.list-item.with-leading-icon.pressed.icon.color"
:
"onSurfaceVariant"
,
"md.comp.menu.list-item.with-trailing-icon.disabled.trailing-icon.color"
:
"onSurface"
,
"md.comp.menu.list-item.with-trailing-icon.disabled.trailing-icon.opacity"
:
0.38
,
"md.comp.menu.list-item.with-trailing-icon.focus.icon.color"
:
"onSurfaceVariant"
,
"md.comp.menu.list-item.with-trailing-icon.hover.icon.color"
:
"onSurfaceVariant"
,
"md.comp.menu.list-item.with-trailing-icon.pressed.icon.color"
:
"onSurfaceVariant"
,
"md.comp.menu.list-item.with-trailing-icon.trailing-icon.color"
:
"onSurfaceVariant"
,
"md.comp.menu.list-item.with-trailing-icon.trailing-icon.size"
:
24.0
}
dev/tools/gen_defaults/data/motion.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.sys.motion.duration.
100Ms"
:
1
00.0
,
"md.sys.motion.duration.
1000Ms"
:
10
00.0
,
"md.sys.motion.duration.
150Ms"
:
15
0.0
,
"md.sys.motion.duration.
200Ms"
:
2
00.0
,
"md.sys.motion.duration.
250Ms"
:
2
50.0
,
"md.sys.motion.duration.
300Ms"
:
3
00.0
,
"md.sys.motion.duration.
350Ms"
:
3
50.0
,
"md.sys.motion.duration.
400Ms"
:
4
00.0
,
"md.sys.motion.duration.
450Ms"
:
4
50.0
,
"md.sys.motion.duration.
50Ms"
:
5
0.0
,
"md.sys.motion.duration.
500Ms"
:
50
0.0
,
"md.sys.motion.duration.
550Ms"
:
55
0.0
,
"md.sys.motion.duration.
600Ms"
:
60
0.0
,
"md.sys.motion.duration.
700Ms"
:
7
00.0
,
"md.sys.motion.duration.
800Ms"
:
80
0.0
,
"md.sys.motion.duration.
900Ms"
:
9
00.0
,
"md.sys.motion.duration.
extra-long1Ms"
:
7
00.0
,
"md.sys.motion.duration.
extra-long2Ms"
:
8
00.0
,
"md.sys.motion.duration.
extra-long3Ms"
:
90
0.0
,
"md.sys.motion.duration.
extra-long4Ms"
:
10
00.0
,
"md.sys.motion.duration.
long1Ms"
:
4
50.0
,
"md.sys.motion.duration.
long2Ms"
:
5
00.0
,
"md.sys.motion.duration.
long3Ms"
:
5
50.0
,
"md.sys.motion.duration.
long4Ms"
:
6
00.0
,
"md.sys.motion.duration.
medium1Ms"
:
2
50.0
,
"md.sys.motion.duration.
medium2Ms"
:
30
0.0
,
"md.sys.motion.duration.
medium3Ms"
:
35
0.0
,
"md.sys.motion.duration.
medium4Ms"
:
40
0.0
,
"md.sys.motion.duration.
short1Ms"
:
5
0.0
,
"md.sys.motion.duration.
short2Ms"
:
1
00.0
,
"md.sys.motion.duration.
short3Ms"
:
15
0.0
,
"md.sys.motion.duration.
short4Ms"
:
2
00.0
,
"md.sys.motion.easing.emphasized"
:
"Cubic(0.2, 0.0, 0.0, 1.0)"
,
"md.sys.motion.easing.emphasized.accelerate"
:
"Cubic(0.3, 0.0, 0.8, 0.15)"
,
"md.sys.motion.easing.emphasized.decelerate"
:
"Cubic(0.05, 0.7, 0.1, 1.0)"
,
...
...
dev/tools/gen_defaults/data/navigation_bar.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.navigation-bar.active.focus.icon.color"
:
"onSecondaryContainer"
,
"md.comp.navigation-bar.active.focus.label-text.color"
:
"onSurface"
,
...
...
dev/tools/gen_defaults/data/navigation_rail.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.navigation-rail.active.focus.icon.color"
:
"onSecondaryContainer"
,
"md.comp.navigation-rail.active.focus.label-text.color"
:
"onSurface"
,
...
...
dev/tools/gen_defaults/data/palette.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.ref.palette.black"
:
"0xFF000000"
,
"md.ref.palette.error0"
:
"0xFF000000"
,
...
...
dev/tools/gen_defaults/data/shape.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.sys.shape.corner.extra-large"
:
{
"family"
:
"SHAPE_FAMILY_ROUNDED_CORNERS"
,
...
...
dev/tools/gen_defaults/data/slider.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.slider.active.track.color"
:
"primary"
,
"md.comp.slider.active.track.height"
:
6.0
,
...
...
dev/tools/gen_defaults/data/state.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.sys.state.dragged.state-layer-opacity"
:
0.16
,
"md.sys.state.focus.state-layer-opacity"
:
0.12
,
...
...
dev/tools/gen_defaults/data/text_style.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.sys.typescale.body-large.font"
:
"md.ref.typeface.plain"
,
"md.sys.typescale.body-large.line-height"
:
24.0
,
...
...
dev/tools/gen_defaults/data/top_app_bar_large.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.top-app-bar.large.container.color"
:
"surface"
,
"md.comp.top-app-bar.large.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/top_app_bar_medium.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.top-app-bar.medium.container.color"
:
"surface"
,
"md.comp.top-app-bar.medium.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/top_app_bar_small.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.comp.top-app-bar.small.container.color"
:
"surface"
,
"md.comp.top-app-bar.small.container.elevation"
:
"md.sys.elevation.level0"
,
...
...
dev/tools/gen_defaults/data/typeface.json
View file @
dfb4ff2f
{
"version"
:
"v0_9
2
"
,
"version"
:
"v0_9
8
"
,
"md.ref.typeface.brand"
:
"Roboto"
,
"md.ref.typeface.plain"
:
"Roboto"
,
...
...
dev/tools/gen_defaults/lib/dialog_template.dart
View file @
dfb4ff2f
...
...
@@ -30,7 +30,7 @@ class _TokenDefaultsM3 extends DialogTheme {
Color? get backgroundColor => ElevationOverlay.colorWithOverlay(
${componentColor("md.comp.dialog.container")}
, _colors.primary,
${elevation("md.comp.dialog.container")}
);
@override
TextStyle? get titleTextStyle =>
${textStyle("md.comp.dialog.
subhead
")}
;
TextStyle? get titleTextStyle =>
${textStyle("md.comp.dialog.
headline
")}
;
@override
TextStyle? get contentTextStyle =>
${textStyle("md.comp.dialog.supporting-text")}
;
...
...
packages/flutter/lib/src/material/app_bar.dart
View file @
dfb4ff2f
...
...
@@ -1957,7 +1957,7 @@ class _DefaultsM2 extends AppBarTheme {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_9
2
// Generated version v0_9
8
class
_TokenDefaultsM3
extends
AppBarTheme
{
_TokenDefaultsM3
(
this
.
context
)
:
super
(
...
...
packages/flutter/lib/src/material/card.dart
View file @
dfb4ff2f
...
...
@@ -211,7 +211,7 @@ class _DefaultsM2 extends CardTheme {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_9
2
// Generated version v0_9
8
class
_TokenDefaultsM3
extends
CardTheme
{
const
_TokenDefaultsM3
(
this
.
context
)
:
super
(
...
...
packages/flutter/lib/src/material/dialog.dart
View file @
dfb4ff2f
...
...
@@ -1214,7 +1214,7 @@ class _DefaultsM2 extends DialogTheme {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_9
2
// Generated version v0_9
8
class
_TokenDefaultsM3
extends
DialogTheme
{
_TokenDefaultsM3
(
this
.
context
)
:
super
(
...
...
packages/flutter/lib/src/material/elevated_button.dart
View file @
dfb4ff2f
...
...
@@ -496,7 +496,7 @@ class _ElevatedButtonWithIconChild extends StatelessWidget {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_9
2
// Generated version v0_9
8
class
_TokenDefaultsM3
extends
ButtonStyle
{
_TokenDefaultsM3
(
this
.
context
)
:
super
(
...
...
packages/flutter/lib/src/material/elevation_overlay.dart
View file @
dfb4ff2f
...
...
@@ -157,7 +157,7 @@ class _ElevationOpacity {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_9
2
// Generated version v0_9
8
// Surface tint opacities based on elevations according to the
// Material Design 3 specification:
...
...
packages/flutter/lib/src/material/floating_action_button.dart
View file @
dfb4ff2f
...
...
@@ -782,7 +782,7 @@ class _M2Defaults extends FloatingActionButtonThemeData {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_9
2
// Generated version v0_9
8
class
_TokenDefaultsM3
extends
FloatingActionButtonThemeData
{
_TokenDefaultsM3
(
this
.
context
,
this
.
type
,
this
.
hasChild
)
:
super
(
...
...
packages/flutter/lib/src/material/navigation_bar.dart
View file @
dfb4ff2f
...
...
@@ -1210,7 +1210,7 @@ class _Defaults extends NavigationBarThemeData {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_9
2
// Generated version v0_9
8
class
_TokenDefaultsM3
extends
NavigationBarThemeData
{
_TokenDefaultsM3
(
this
.
context
)
:
super
(
...
...
packages/flutter/lib/src/material/navigation_rail.dart
View file @
dfb4ff2f
...
...
@@ -955,7 +955,7 @@ class _DefaultsM2 extends NavigationRailThemeData {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_9
2
// Generated version v0_9
8
class
_TokenDefaultsM3
extends
NavigationRailThemeData
{
_TokenDefaultsM3
(
this
.
context
)
:
super
(
...
...
packages/flutter/lib/src/material/outlined_button.dart
View file @
dfb4ff2f
...
...
@@ -419,7 +419,7 @@ class _OutlinedButtonWithIconChild extends StatelessWidget {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_9
2
// Generated version v0_9
8
class
_TokenDefaultsM3
extends
ButtonStyle
{
_TokenDefaultsM3
(
this
.
context
)
:
super
(
...
...
packages/flutter/lib/src/material/text_button.dart
View file @
dfb4ff2f
...
...
@@ -457,7 +457,7 @@ class _TextButtonWithIconChild extends StatelessWidget {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_9
2
// Generated version v0_9
8
class
_TokenDefaultsM3
extends
ButtonStyle
{
_TokenDefaultsM3
(
this
.
context
)
:
super
(
...
...
packages/flutter/lib/src/material/typography.dart
View file @
dfb4ff2f
...
...
@@ -729,7 +729,7 @@ class Typography with Diagnosticable {
// These defaults are generated from the Material Design Token
// database by the script dev/tools/gen_defaults/bin/gen_defaults.dart.
// Generated version v0_9
2
// Generated version v0_9
8
class
_M3Typography
{
_M3Typography
.
_
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment