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

Add manual dark/light theme toggle #16

Open
M-J-Robbins opened this issue Mar 30, 2022 · 1 comment
Open

Add manual dark/light theme toggle #16

M-J-Robbins opened this issue Mar 30, 2022 · 1 comment

Comments

@M-J-Robbins
Copy link
Owner

Add a dark/light them toggle to override system settings if a user wants to.

Should have 3 options, light, dark and default system setting.

My initial thought is to store this as a URL parameter to keep things simple

Could also look at adding a reduced transparency, reduced motions, increased contrast, font-size etc.

@M-J-Robbins
Copy link
Owner Author

I've already quickly added CSS for this by adding a class to the html element of dark or light.

I've added a CSS transition to ease the colour change.

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

No branches or pull requests

1 participant