I’m trying to use the
dark-light-choose($light, $dark) function in my personalized CSS but it always returns
$light even if I change the palette from light (Clara) to dark (Oscura):
I give more detail about my setup here:
So far, I’ve double-checked:
- that the primary in my dark theme has higher brightness than the secondary color.
- that I’m using the function arguments in the right order
I have no idea how to debug this. Might this be a problem in my theme? Is there any other variable that I should consider?