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(website): add dark theme #515

Merged
merged 1 commit into from
Feb 15, 2023
Merged

Conversation

thehowl
Copy link
Member

@thehowl thehowl commented Feb 13, 2023

Adds support for prefers-color-scheme: dark (ie. color scheme in browser settings) on the gnoland website. Just a personal itch I wanted to scratch :)

Screenshots from Firefox 109 on Linux:

image

image

image

image

@thehowl thehowl requested a review from a team as a code owner February 13, 2023 17:16
Copy link
Member

@zivkovicmilos zivkovicmilos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution 🙏

Looks great 💯
Maybe we can add a "switch to dark mode" button in the future

}

blockquote blockquote {
margin: 0;
background-color: #aaa2;
background-color: var(--quote-2-background, #aaa4);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just curious about the reason behind this change (i.e #aaa2 -> #aaa4)

Rest LGTM 💯

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah - that's an oversight. I had changed it to #aaa considering the 2 at the end was a typo, but I added it back later after realising it wasn't. Should be alright though - the opacity should only have changed by a 0.125 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

4 participants