Skip to content

Commit f19b1a4

Browse files
author
Stefanie Hein
committed
Buttons: use css variables instead of a scss mixin to correctly override the colors. This will make sure the active (layer open) select button is styled correctly in black. See #74215
1 parent 1a2f71f commit f19b1a4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/scss/themes/fylr/mixins/_buttons.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,11 @@
444444

445445
// must look like a regular input field with a white background
446446
@mixin button-select-as-input() {
447-
@include button-plain();
448-
449-
background-color: $input-background; // in sync with input field background
447+
--btn-background: #{$input-background};
448+
--btn-border-color: transparent;
449+
// hover
450+
--btn-color-hover: #{$btn-hover-color};
451+
--btn-background-hover: #{$input-background};
450452

451453
.cui-button-visual {
452454
.cui-button-center {

0 commit comments

Comments
 (0)