You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I tried the code below, which seems to work fine, however, it doesn't seem to work well with contrasting colours. The has-text-primary-invert has the exact same color in the dark theme if the primary color of the light theme is set to #fff. I'm not entirely sure how the dark theme isn't independent of the light theme. I guess because I'm changing a single color and I'm not using generate-on-scheme-colors?
I had a look in the code base to see how the dark theme is constructed. There I noticed the same color palette is used as for the light theme. I copied all the code below and just changed the primary value. However, this doesn't seem to work at all.
Is it possible to override the colors in the dark theme? I've tried so many things, and I have yet to find a working or maintainable solution.
Naively, I tried to use the following, but it didn't work:
Then I tried the code below, which seems to work fine, however, it doesn't seem to work well with contrasting colours. The
has-text-primary-invert
has the exact same color in the dark theme if the primary color of the light theme is set to#fff
. I'm not entirely sure how the dark theme isn't independent of the light theme. I guess because I'm changing a single color and I'm not usinggenerate-on-scheme-colors
?I had a look in the code base to see how the dark theme is constructed. There I noticed the same color palette is used as for the light theme. I copied all the code below and just changed the primary value. However, this doesn't seem to work at all.
Any idea how this is supposed to work idiomatically? Any help is greatly appreciated!
The text was updated successfully, but these errors were encountered: