Skip to content

feat: add light mode support#9

Closed
EmperorOrokuSaki wants to merge 1 commit intomainfrom
feat/add-light-mode
Closed

feat: add light mode support#9
EmperorOrokuSaki wants to merge 1 commit intomainfrom
feat/add-light-mode

Conversation

@EmperorOrokuSaki
Copy link
Member

Summary

  • Adds theme.colorScheme: "system" to vocs config
  • Blog now respects the user's OS light/dark preference
  • Users can also toggle manually via the Vocs theme switcher

Test plan

  • Verify light mode renders correctly with OS set to light theme
  • Verify dark mode still works with OS set to dark theme
  • Verify manual toggle works in the UI

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Mar 17, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-03-20 02:50 UTC

@g4titanx
Copy link
Member

vocs has the theme switcher feature @EmperorOrokuSaki which automatically activates as soon as you have a content to add on the left nav bar on the blog posts themselves, you can check the vocs config, that's why i added a sidebar feat.

has a weird of way defining where the theme toggle is placed, for example, it only comes up on the blog posts it self, on the left nav panel, at the bottom and it wouldn't show anywhere else unless we make our own custom theme switcher

eventually i'd highly recommend we use some other sdk or we create our blog from scratch tbh

@EmperorOrokuSaki
Copy link
Member Author

vocs has the theme switcher feature @EmperorOrokuSaki which automatically activates as soon as you have a content to add on the left nav bar on the blog posts themselves, you can check the vocs config, that's why i added a sidebar feat.

has a weird of way defining where the theme toggle is placed, for example, it only comes up on the blog posts it self, on the left nav panel, at the bottom and it wouldn't show anywhere else unless we make our own custom theme switcher

eventually i'd highly recommend we use some other sdk or we create our blog from scratch tbh

Booooo

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