Skip to content

Commit 8d0cc65

Browse files
WIP: style: use lumo and aura variables in css config
1 parent 282bd1b commit 8d0cc65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/resources/META-INF/resources/frontend/fc-toggle-button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class ToggleButton extends LitElement {
127127
}
128128
129129
:host([theme~="warning"][checked]) .switch {
130-
background-color: #ffc107; /* Custom warning color if Lumo doesn't provide one */
130+
background-color: var(--lumo-warning-color, var(--aura-yellow));
131131
color: rgba(0, 0, 0, 0.85);
132132
}
133133

0 commit comments

Comments
 (0)