Skip to content

Commit 7d3ec74

Browse files
committed
Fix background color on flat buttons on hover
1 parent f2a93ba commit 7d3ec74

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/lego-bricks/src/components/Button/Button.module.css

+6-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,12 @@
157157
}
158158

159159
&[data-pressed] {
160-
background-color: var(--color-gray-2);
160+
background-color: rgba(
161+
var(--rgb-min),
162+
var(--rgb-min),
163+
var(--rgb-min),
164+
calc(var(--low-alpha) * 2)
165+
);
161166
}
162167
}
163168

0 commit comments

Comments
 (0)