Commit f92f889
authored
Add .dark-mode-invert class to darken bright images in dark mode (#2253)
- 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
- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] I have updated the
[docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and
[cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet)
- [ ] I have not broken the cheatsheet
<details>
<summary>Screenshot before PR</summary>
<img width="1100" alt="image"
src="https://github.com/cursorless-dev/cursorless/assets/5898009/948b64f0-4f35-40c2-83d6-99f0ee03e8e6">
</details>
<details>
<summary>Screenshot after PR</summary>
<img width="1100" alt="image"
src="https://github.com/cursorless-dev/cursorless/assets/5898009/d7fd701a-71e3-4607-8792-6922dd6d3ea7">
</details>1 parent 184aba1 commit f92f889
File tree
2 files changed
+7
-1
lines changed- docs/user
- packages/cursorless-org-docs/src/css
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
188 | 190 | | |
189 | 191 | | |
190 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments