forked from firka/flutter
Reverts "Reland - Introduce tone-based surfaces and accent color add-ons - Part 2 (#144001)" (#144262)
Reverts flutter/flutter#144001
Initiated by: Piinks
Reason for reverting: Failing goldens at the tip of tree
Original PR Author: QuncCccccc
Reviewed By: {HansMuller}
This change reverts the following previous change:
Original Description:
Reverts flutter/flutter#143973
This is a reland for #138521 with an updated g3fix(cl/605555997). Local test: cl/609608958.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_206",
|
||||
"version": "v0_162",
|
||||
|
||||
"md.comp.switch.disabled.selected.handle.color": "surface",
|
||||
"md.comp.switch.disabled.selected.handle.opacity": 1.0,
|
||||
@@ -9,13 +9,10 @@
|
||||
"md.comp.switch.disabled.track.opacity": 0.12,
|
||||
"md.comp.switch.disabled.unselected.handle.color": "onSurface",
|
||||
"md.comp.switch.disabled.unselected.handle.opacity": 0.38,
|
||||
"md.comp.switch.disabled.unselected.icon.color": "surfaceContainerHighest",
|
||||
"md.comp.switch.disabled.unselected.icon.color": "surfaceVariant",
|
||||
"md.comp.switch.disabled.unselected.icon.opacity": 0.38,
|
||||
"md.comp.switch.disabled.unselected.track.color": "surfaceContainerHighest",
|
||||
"md.comp.switch.disabled.unselected.track.color": "surfaceVariant",
|
||||
"md.comp.switch.disabled.unselected.track.outline.color": "onSurface",
|
||||
"md.comp.switch.focus.indicator.color": "secondary",
|
||||
"md.comp.switch.focus.indicator.offset": "md.sys.state.focus-indicator.outer-offset",
|
||||
"md.comp.switch.focus.indicator.thickness": "md.sys.state.focus-indicator.thickness",
|
||||
"md.comp.switch.handle.shape": "md.sys.shape.corner.full",
|
||||
"md.comp.switch.pressed.handle.height": 28.0,
|
||||
"md.comp.switch.pressed.handle.width": 28.0,
|
||||
@@ -47,29 +44,29 @@
|
||||
"md.comp.switch.track.shape": "md.sys.shape.corner.full",
|
||||
"md.comp.switch.track.width": 52.0,
|
||||
"md.comp.switch.unselected.focus.handle.color": "onSurfaceVariant",
|
||||
"md.comp.switch.unselected.focus.icon.color": "surfaceContainerHighest",
|
||||
"md.comp.switch.unselected.focus.icon.color": "surfaceVariant",
|
||||
"md.comp.switch.unselected.focus.state-layer.color": "onSurface",
|
||||
"md.comp.switch.unselected.focus.state-layer.opacity": "md.sys.state.focus.state-layer-opacity",
|
||||
"md.comp.switch.unselected.focus.track.color": "surfaceContainerHighest",
|
||||
"md.comp.switch.unselected.focus.track.color": "surfaceVariant",
|
||||
"md.comp.switch.unselected.focus.track.outline.color": "outline",
|
||||
"md.comp.switch.unselected.handle.color": "outline",
|
||||
"md.comp.switch.unselected.handle.height": 16.0,
|
||||
"md.comp.switch.unselected.handle.width": 16.0,
|
||||
"md.comp.switch.unselected.hover.handle.color": "onSurfaceVariant",
|
||||
"md.comp.switch.unselected.hover.icon.color": "surfaceContainerHighest",
|
||||
"md.comp.switch.unselected.hover.icon.color": "surfaceVariant",
|
||||
"md.comp.switch.unselected.hover.state-layer.color": "onSurface",
|
||||
"md.comp.switch.unselected.hover.state-layer.opacity": "md.sys.state.hover.state-layer-opacity",
|
||||
"md.comp.switch.unselected.hover.track.color": "surfaceContainerHighest",
|
||||
"md.comp.switch.unselected.hover.track.color": "surfaceVariant",
|
||||
"md.comp.switch.unselected.hover.track.outline.color": "outline",
|
||||
"md.comp.switch.unselected.icon.color": "surfaceContainerHighest",
|
||||
"md.comp.switch.unselected.icon.color": "surfaceVariant",
|
||||
"md.comp.switch.unselected.icon.size": 16.0,
|
||||
"md.comp.switch.unselected.pressed.handle.color": "onSurfaceVariant",
|
||||
"md.comp.switch.unselected.pressed.icon.color": "surfaceContainerHighest",
|
||||
"md.comp.switch.unselected.pressed.icon.color": "surfaceVariant",
|
||||
"md.comp.switch.unselected.pressed.state-layer.color": "onSurface",
|
||||
"md.comp.switch.unselected.pressed.state-layer.opacity": "md.sys.state.pressed.state-layer-opacity",
|
||||
"md.comp.switch.unselected.pressed.track.color": "surfaceContainerHighest",
|
||||
"md.comp.switch.unselected.pressed.track.color": "surfaceVariant",
|
||||
"md.comp.switch.unselected.pressed.track.outline.color": "outline",
|
||||
"md.comp.switch.unselected.track.color": "surfaceContainerHighest",
|
||||
"md.comp.switch.unselected.track.color": "surfaceVariant",
|
||||
"md.comp.switch.unselected.track.outline.color": "outline",
|
||||
"md.comp.switch.with-icon.handle.height": 24.0,
|
||||
"md.comp.switch.with-icon.handle.width": 24.0
|
||||
|
||||
Reference in New Issue
Block a user