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

(site) Add dark mode style #258

Merged
merged 1 commit into from
Sep 5, 2021
Merged

(site) Add dark mode style #258

merged 1 commit into from
Sep 5, 2021

Conversation

tmr08c
Copy link
Owner

@tmr08c tmr08c commented Sep 5, 2021

Closes #82

Use Tailwind 2.0's ability to use class-based dark mode.

The dark-mode switch comes from:

To extend tailwind-typography, use the CSS @adamwathan shared in this
comment
.

Screenshots

Screen Shot 2021-09-05 at 2 57 44 PM

Screen Shot 2021-09-05 at 2 57 37 PM

Screen Shot 2021-09-05 at 2 57 58 PM

Use Tailwind 2.0's ability to use class-based dark mode.

The dark-mode switch comes from:

- https://github.com/donavon/use-dark-mode
- https://github.com/wKovacs64/gatsby-plugin-use-dark-mode
- https://github.com/JoseRFelix/react-toggle-dark-mode

To extend tailwind-typography, use the CSS @adamwathan shared in [this
comment](tailwindlabs/tailwindcss-typography#69 (comment)).
@tmr08c tmr08c self-assigned this Sep 5, 2021
@tmr08c tmr08c enabled auto-merge (squash) September 5, 2021 19:00
@tmr08c tmr08c merged commit 41a5777 into develop Sep 5, 2021
@tmr08c tmr08c deleted the site/dark-mode branch September 5, 2021 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set up dark mode 🌚
1 participant