-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
As clarity doesn't have builtin support to switch theme dynamically, we've used this hack to just inject various variables to :root when switching theme. This for example uses white background in a stepper while we set:
'--clr-accordion-content-background-color': 'hsl(198, 28%, 18%)'
It looks like we need to add global css with:
.clr-accordion-content {
background: var(--clr-accordion-content-background-color, white);
}
and then clr-accordion-content-background-color will work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
