Skip to content

Set Dark/Light Mode in Docs Based on Browser Preference#164

Merged
gamosoft merged 1 commit intogamosoft:mainfrom
TobiasBerg:docs-auto-theme
Feb 16, 2026
Merged

Set Dark/Light Mode in Docs Based on Browser Preference#164
gamosoft merged 1 commit intogamosoft:mainfrom
TobiasBerg:docs-auto-theme

Conversation

@TobiasBerg
Copy link
Copy Markdown
Contributor

I'm back again with another small addition.

This checks if user has a preference for which theme to show and applies that on first visit.
So dark mode users won't get flash banged when visiting the site 😅

@gamosoft gamosoft merged commit a335d68 into gamosoft:main Feb 16, 2026
@gamosoft
Copy link
Copy Markdown
Owner

Looks good, thank you! 😊

@TobiasBerg TobiasBerg deleted the docs-auto-theme branch February 16, 2026 20:38
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.

2 participants