Skip to content

Add Dark Mode documentation #141

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

Closed
wants to merge 1 commit into from
Closed

Conversation

pspeter3
Copy link

Add it to the README so people do not need to find #69

Add it to the README so people do not need to find tailwindlabs#69
@RobinMalfait
Copy link
Member

Hey! Thank you for your PR!
Much appreciated! 🙏

We have "official" dark mode support in the pipeline (mainly about our preferred defaults).
Will keep this PR open and will probably update it once we have decided what the defaults should be.

Just wanted to let you know already!

@RobinMalfait RobinMalfait self-assigned this Mar 5, 2021
@pspeter3
Copy link
Author

pspeter3 commented Mar 5, 2021

No worries and thanks for letting me know! I figured I would just add the PR if it was helpful for y'all. Trying to do what I wish people would do for my OSS projects. Thanks for everything you're doing here and on Headless UI.

@reinink
Copy link
Member

reinink commented Jan 7, 2022

@pspeter3 Hey thanks for this! As @RobinMalfait noted, we've now added first-class support for dark mode to the typography plugin via the new dark:prose-invert class, and have updated the documentation on the website to include instructions on how to use this:

https://tailwindcss.com/docs/typography-plugin#adapting-to-dark-mode

Definitely appreciate you trying to help out 💪

@reinink reinink closed this Jan 7, 2022
@pspeter3
Copy link
Author

pspeter3 commented Jan 7, 2022

No problem, happy to help! Thanks for the real dark mode!

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.

3 participants