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/53 light theme #54

Merged
merged 8 commits into from
Feb 24, 2023
Merged

feat/53 light theme #54

merged 8 commits into from
Feb 24, 2023

Conversation

ashley-evans
Copy link
Owner

@ashley-evans ashley-evans commented Feb 24, 2023

Resolves #53

What

Added light theme colours to theme definitions

  • Generated using Google's Material Design palette creator

Updated dark theme colours to match palette creator output
Added meta tag to prevent auto dark mode from being applied and bespoke dark mode used instead.

Updated SiteLayout to:

  • Include button to toggle themes
  • Listen for colour preferences and update theme accordingly

Update ci.yml to:

Why

To enable users to view the site in whatever theme they prefer. Dark mode has benefits at night + with battery life etc. but light theme can be better to read during the day for some individuals.

@ashley-evans ashley-evans self-assigned this Feb 24, 2023
@ashley-evans ashley-evans force-pushed the feat/53-light-theme branch 3 times, most recently from ab1ab6b to 9bf2b1c Compare February 24, 2023 22:35
@ashley-evans ashley-evans merged commit a5004f7 into master Feb 24, 2023
@ashley-evans ashley-evans deleted the feat/53-light-theme branch February 24, 2023 23:02
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.

Add light theme
1 participant