Skip to content

Commit 5037a6d

Browse files
committed
fixup! fix(material/button): buttons in toolbars (#27948)
1 parent a3ce0b8 commit 5037a6d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/material/core/tokens/m2/mdc/_outlined-button.scss

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ $prefix: (mdc, outlined-button);
1919
outline-width: 1px,
2020
container-shape: 4px,
2121

22-
hover-state-layer-opacity: 0.04,
23-
focus-state-layer-opacity: 0.12,
24-
pressed-state-layer-opacity: 0.12,
22+
hover-state-layer-opacity: null,
23+
focus-state-layer-opacity: null,
24+
pressed-state-layer-opacity: null,
25+
26+
focus-state-layer-color: null,
27+
hover-state-layer-color: null,
28+
pressed-state-layer-color: null,
2529

2630
hover-label-text-color: null,
2731
focus-label-text-color: null,
@@ -64,9 +68,6 @@ $prefix: (mdc, outlined-button);
6468
$on-surface: _on-color($theme, $surface);
6569

6670
@return (
67-
focus-state-layer-color: $color,
68-
hover-state-layer-color: $color,
69-
pressed-state-layer-color: $color,
7071
disabled-outline-color: rgba($on-surface, 0.12),
7172
disabled-label-text-color: rgba($on-surface, 0.38),
7273
label-text-color: if($color, $color, inherit),

0 commit comments

Comments
 (0)