mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +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)
9 lines
228 B
JSON
9 lines
228 B
JSON
{
|
|
"version": "5_0_0",
|
|
|
|
"md.sys.state.dragged.state-layer-opacity": 0.16,
|
|
"md.sys.state.focus.state-layer-opacity": 0.1,
|
|
"md.sys.state.hover.state-layer-opacity": 0.08,
|
|
"md.sys.state.pressed.state-layer-opacity": 0.1
|
|
}
|