mirror of
https://github.com/flutter/flutter.git
synced 2026-02-13 06:13:10 +08:00
This PR is to
* Update the Material Design tokens to 5.0.0
* 4 color roles in **Light mode** have different default values
`onPrimaryContainer`: Primary10 -> Primary30
`onSecondaryContainer`: Secondary10 -> Secondary30
`onTertiaryContainer`: Tertiary10 -> Tertiary30
`onErrorContainer`: Error10 -> Error30

* new tokens added in list.json
* `md.comp.menu.list-item.*` tokens are deprecated and should be replaced by tokens in list.json and we've done the migration last year:)!(#122388)
12 lines
498 B
JSON
12 lines
498 B
JSON
{
|
|
"version": "5_0_0",
|
|
|
|
"md.comp.menu.container.color": "surfaceContainer",
|
|
"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.focus.indicator.color": "secondary",
|
|
"md.comp.menu.focus.indicator.outline.offset": "md.sys.state.focus-indicator.inner-offset",
|
|
"md.comp.menu.focus.indicator.thickness": "md.sys.state.focus-indicator.thickness"
|
|
}
|