Support Light-Only Theme Without Requiring Dark Mode #572
Unanswered
sanketpipaliya208
asked this question in
Q&A
Replies: 2 comments
-
|
If you define any light-theme variable you need to create placeholders for dark variant too. Also, if your app doesn't need to react to color scheme changes i would use the same colors values for dark theme. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You can just configure colors for all themes @theme {
--color-primary: #ff0000;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can Uniwind be configured with a single theme only (light), without defining any dark theme or theme variants? Is this officially supported?
Beta Was this translation helpful? Give feedback.
All reactions