Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support Light-Only Theme Without Requiring Dark Mode #572

Unanswered
sanketpipaliya208 asked this question in Q&A
Discussion options

Can Uniwind be configured with a single theme only (light), without defining any dark theme or theme variants? Is this officially supported?

You must be logged in to vote

Replies: 2 comments

Comment options

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.

You must be logged in to vote
0 replies
Comment options

You can just configure colors for all themes

@theme {
 --color-primary: #ff0000;
}
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /