We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 647f81e commit b54744aCopy full SHA for b54744a
README.md
@@ -138,4 +138,16 @@
138
</fieldset>
139
```
140
141
+#### [filter](https://developer.mozilla.org/CSS/filter) [scope](../../pull/42)
142
+
143
+```css
144
+:focus {
145
+ --tape-filter: invert(100%);
146
+}
147
148
+:link:hover {
149
+ --tape-filter: hue-rotate(120deg);
150
151
+```
152
153
[<tt><b>tape online. :D</b></tt>](https://s9a.github.io/tape/)
tape.css
@@ -5,6 +5,7 @@
5
--tape-yellow: #eee833;
6
--tape-blue: #11dff1;
7
--tape-green: #44f477;
8
+ --tape-filter: none;
9
}
10
11
@media (prefers-contrast: less) {
@@ -34,6 +35,7 @@
34
35
.tape-green,
36
.tape-yellow,
37
.tape-white {
38
+ filter: var(--tape-filter);
39
background: var(--tape-hex) !important;
40
color: var(--tape-black) !important;
41
0 commit comments