Skip to content

feat: improve theme handling by adding system preference support#45

Open
MariuszBartnik wants to merge 1 commit intocanopas:masterfrom
MariuszBartnik:features/system-theme
Open

feat: improve theme handling by adding system preference support#45
MariuszBartnik wants to merge 1 commit intocanopas:masterfrom
MariuszBartnik:features/system-theme

Conversation

@MariuszBartnik
Copy link

Refactored theme logic to use a utility function getCurrentTheme, which considers system color scheme preference and stored theme settings.

Currently when user is using dark theme set as default on the system level, the styles are incorrectly applied

Refactored theme logic to use a utility function `getCurrentTheme`, which considers system color scheme preference and stored theme settings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant