mirror of
https://github.com/flutter/flutter.git
synced 2026-02-05 11:19:18 +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)
16 lines
890 B
JSON
16 lines
890 B
JSON
{
|
|
"version": "5_0_0",
|
|
|
|
"md.comp.sheet.bottom.docked.container.color": "surfaceContainerLow",
|
|
"md.comp.sheet.bottom.docked.container.shape": "md.sys.shape.corner.extra-large.top",
|
|
"md.comp.sheet.bottom.docked.drag-handle.color": "onSurfaceVariant",
|
|
"md.comp.sheet.bottom.docked.drag-handle.height": 4.0,
|
|
"md.comp.sheet.bottom.docked.drag-handle.width": 32.0,
|
|
"md.comp.sheet.bottom.docked.minimized.container.shape": "md.sys.shape.corner.none",
|
|
"md.comp.sheet.bottom.docked.modal.container.elevation": "md.sys.elevation.level1",
|
|
"md.comp.sheet.bottom.docked.standard.container.elevation": "md.sys.elevation.level1",
|
|
"md.comp.sheet.bottom.focus.indicator.color": "secondary",
|
|
"md.comp.sheet.bottom.focus.indicator.outline.offset": "md.sys.state.focus-indicator.outer-offset",
|
|
"md.comp.sheet.bottom.focus.indicator.thickness": "md.sys.state.focus-indicator.thickness"
|
|
}
|