feat: Add option to disable automatic dark mode in settings#566
Merged
surajshetty3416 merged 12 commits intodevelopfrom Apr 28, 2026
Merged
feat: Add option to disable automatic dark mode in settings#566surajshetty3416 merged 12 commits intodevelopfrom
surajshetty3416 merged 12 commits intodevelopfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #566 +/- ##
===========================================
- Coverage 57.09% 57.07% -0.02%
===========================================
Files 29 29
Lines 3151 3157 +6
===========================================
+ Hits 1799 1802 +3
- Misses 1352 1355 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
switched from prefers-color-scheme to data-theme and using JS for auto switching this also avoid css variable repetition Co-authored-by: Copilot <copilot@github.com>
- Follow system theme by default - if disable_auto_dark_mode is enabled `data-prefers-color-scheme` is forced to "light" - in preview mode `data-prefers-color-scheme` is used to preview theme based on editors theme - `data-theme` is used to overrride everything... users can change this to override default theme Co-authored-by: Copilot <copilot@github.com>
and fix first toggle. It used to take two clicks to switch to dark mode (only on the first attempt)
…it look consistent with others It used to look too big comparatively
to provide enough padding below the template name
Co-authored-by: Sayantan Ghosh <stravoone@gmail.com>
d610626 to
0b25f89
Compare
No point in sending extra unnecessary text. To Understand more about this feature 99799a0
ea5d3d5 to
94ab9b6
Compare
surajshetty3416
added a commit
that referenced
this pull request
Apr 29, 2026
issue introduced via: #566 Co-authored-by: Sayantan Ghosh <stravoone@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
light-darkcss function to handle theme colors instead of maintaining redundant list for light and dark variables