Unverified Commit 0e83ada5 authored by Eilidh Southren's avatar Eilidh Southren Committed by GitHub

Update M3 IconButton unselected focused opacity (#117321)

* Bottom App Bar M3 background color fix

* update test

* test update

* remove whitespace

* Update IconButton unselected focused opacity

* Delete generated_plugins.cmake
parent 9afaf6b8
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"md.comp.icon-button.state-layer.size": 40.0, "md.comp.icon-button.state-layer.size": 40.0,
"md.comp.icon-button.unselected.focus.icon.color": "onSurfaceVariant", "md.comp.icon-button.unselected.focus.icon.color": "onSurfaceVariant",
"md.comp.icon-button.unselected.focus.state-layer.color": "onSurfaceVariant", "md.comp.icon-button.unselected.focus.state-layer.color": "onSurfaceVariant",
"md.comp.icon-button.unselected.focus.state-layer.opacity": "md.sys.state.hover.state-layer-opacity", "md.comp.icon-button.unselected.focus.state-layer.opacity": "md.sys.state.focus.state-layer-opacity",
"md.comp.icon-button.unselected.hover.icon.color": "onSurfaceVariant", "md.comp.icon-button.unselected.hover.icon.color": "onSurfaceVariant",
"md.comp.icon-button.unselected.hover.state-layer.color": "onSurfaceVariant", "md.comp.icon-button.unselected.hover.state-layer.color": "onSurfaceVariant",
"md.comp.icon-button.unselected.hover.state-layer.opacity": "md.sys.state.hover.state-layer-opacity", "md.comp.icon-button.unselected.hover.state-layer.opacity": "md.sys.state.hover.state-layer-opacity",
......
...@@ -1011,7 +1011,7 @@ class _IconButtonDefaultsM3 extends ButtonStyle { ...@@ -1011,7 +1011,7 @@ class _IconButtonDefaultsM3 extends ButtonStyle {
return _colors.onSurfaceVariant.withOpacity(0.08); return _colors.onSurfaceVariant.withOpacity(0.08);
} }
if (states.contains(MaterialState.focused)) { if (states.contains(MaterialState.focused)) {
return _colors.onSurfaceVariant.withOpacity(0.08); return _colors.onSurfaceVariant.withOpacity(0.12);
} }
if (states.contains(MaterialState.pressed)) { if (states.contains(MaterialState.pressed)) {
return _colors.onSurfaceVariant.withOpacity(0.12); return _colors.onSurfaceVariant.withOpacity(0.12);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment