Skip to content

Add .dark-mode-invert class to darken bright images in dark mode #2253

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

Merged

Conversation

trillium
Copy link
Contributor

@trillium trillium commented Feb 26, 2024

  • Apply div.dark-mode-invert to image in README.md

This might not be the best way to add a dark mode class to but I couldn't figure out how to get tailwind classes into the .md files.

Pretty much same thing could be achieved with class="invert hue-rotate-180" if tailwind classes were recognizable in the .md/.mdx files.

Checklist

Screenshot before PR image
Screenshot after PR image

- Apply div.dark-mode-invert to image in README.md
Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

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

wow nice one! 🙌

@pokey pokey added this pull request to the merge queue Feb 28, 2024
Merged via the queue into cursorless-dev:main with commit f92f889 Feb 28, 2024
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.

2 participants