Support Light-Only Theme Without Requiring Dark Mode #572
-
|
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.
Answered by
Brentlok
Jun 9, 2026
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
Answer selected by
sanketpipaliya208
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can just configure colors for all themes