Created
June 14, 2024 20:47
-
-
Save wjandrea/05c88af1e3aa8053f01a642f2c97dcad to your computer and use it in GitHub Desktop.
Redactle colour found words
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document domain("redactle.net") { | |
/* Redactle colour found words */ | |
.word:not(.redacted):not(.highlight) { | |
/* Based on the CSS for found words in the sidebar */ | |
--tw-border-opacity: .4; | |
background-color: hsl(var(--p) / var(--tw-border-opacity)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment