Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set default theme in src/config.ts #45

Closed
wants to merge 1 commit into from

Conversation

JoeyC-Dev
Copy link
Contributor

@JoeyC-Dev JoeyC-Dev commented Apr 12, 2024

Purpose: Allow you to modify default theme in src/config.ts.

Behaviour change: I did not invoke localStorage.theme = '<theme>'; when user did not manually set the colour, which I believe this is not good experience.

Note: Using the name colorScheme instead of dark_mode or else familiar name is because I guess you may want to pre-set some pre-set themes based on different colour. The name design is for redundancy consideration in case you want to add more features based on this.

Copy link

vercel bot commented Apr 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fuwari-yags ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 12, 2024 5:01am

@saicaca
Copy link
Owner

saicaca commented Apr 28, 2024

Fixed in #71.

@saicaca saicaca closed this Apr 28, 2024
@JoeyC-Dev JoeyC-Dev deleted the defaultTheme-patch branch April 28, 2024 16:41
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.

None yet

2 participants