mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This PR is to introduce 19 new color roles and deprecate 3 color roles in `ColorScheme`. **Tone-based surface colors** (7 colors): * surfaceBright * surfaceDim * surfaceContainer * surfaceContainerLowest * surfaceContainerLow * surfaceContainerHigh * surfaceContainerHighest **Accent color add-ons** (12 colors): * primary/secondary/tertiary-Fixed * primary/secondary/tertiary-FixedDim * onPrimary/onSecondary/onTertiary-Fixed * onPrimary/onSecondary/onTertiary-FixedVariant **Deprecated colors**: * background -> replaced with surface * onBackground -> replaced with onSurface * surfaceVariant -> replaced with surfaceContainerHighest Please checkout this [design doc](https://docs.google.com/document/d/1ODqivpM_6c490T4j5XIiWCDKo5YqHy78YEFqDm4S8h4/edit?usp=sharing) for more information:) 
16 lines
891 B
JSON
16 lines
891 B
JSON
{
|
|
"version": "v0_206",
|
|
|
|
"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"
|
|
}
|