mirror of
https://github.com/flutter/flutter.git
synced 2026-02-04 01:56:32 +08:00
This PR is to * Update the Material Design tokens to 4.0.0 Since the last token update(#145356), only `Slider` tokens have been updated. The M3 `Slider` has significant visual changes, compared to the original M3 Slider, so a separate PR would be needed. I commented out `SliderTemplate` and added a TODO when we are ready to add new widgets again.
25 lines
1.3 KiB
JSON
25 lines
1.3 KiB
JSON
{
|
|
"version": "4_0_0",
|
|
|
|
"md.comp.dialog.action.focus.label-text.color": "primary",
|
|
"md.comp.dialog.action.focus.state-layer.color": "primary",
|
|
"md.comp.dialog.action.focus.state-layer.opacity": "md.sys.state.focus.state-layer-opacity",
|
|
"md.comp.dialog.action.hover.label-text.color": "primary",
|
|
"md.comp.dialog.action.hover.state-layer.color": "primary",
|
|
"md.comp.dialog.action.hover.state-layer.opacity": "md.sys.state.hover.state-layer-opacity",
|
|
"md.comp.dialog.action.label-text.color": "primary",
|
|
"md.comp.dialog.action.label-text.text-style": "labelLarge",
|
|
"md.comp.dialog.action.pressed.label-text.color": "primary",
|
|
"md.comp.dialog.action.pressed.state-layer.color": "primary",
|
|
"md.comp.dialog.action.pressed.state-layer.opacity": "md.sys.state.pressed.state-layer-opacity",
|
|
"md.comp.dialog.container.color": "surfaceContainerHigh",
|
|
"md.comp.dialog.container.elevation": "md.sys.elevation.level3",
|
|
"md.comp.dialog.container.shape": "md.sys.shape.corner.extra-large",
|
|
"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-icon.icon.color": "secondary",
|
|
"md.comp.dialog.with-icon.icon.size": 24.0
|
|
}
|