Introduce tone-based surfaces and accent color add-ons - Part 2 (#138521)
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:) 
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_162",
|
||||
"version": "v0_206",
|
||||
|
||||
"md.comp.dialog.action.focus.label-text.color": "primary",
|
||||
"md.comp.dialog.action.focus.state-layer.color": "primary",
|
||||
@@ -12,10 +12,9 @@
|
||||
"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": "surface",
|
||||
"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.container.surface-tint-layer.color": "surfaceTint",
|
||||
"md.comp.dialog.headline.color": "onSurface",
|
||||
"md.comp.dialog.headline.text-style": "headlineSmall",
|
||||
"md.comp.dialog.supporting-text.color": "onSurfaceVariant",
|
||||
|
||||
Reference in New Issue
Block a user