/
selector-is-html.output.css
79 lines (61 loc) · 1.36 KB
/
selector-is-html.output.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
html {
color: blue;
}
html[data-color-scheme="dark"].nested, html[data-color-scheme="dark"][nested] {
color: yellow;
}
html[data-color-scheme="dark"] {
color: black;
}
html[data-color-scheme="light"] {
color: white;
}
html[data-color-scheme="dark"].class {
color: red;
}
html[data-color-scheme="light"][lang="en"] {
color: blue;
}
:global(html[data-color-scheme="light"]) {
color: purple;
}
:global(html[data-color-scheme="dark"]) {
color: brown;
}
:global(html[data-color-scheme="light"]:not(.class-not).class) {
color: gray;
}
:root[data-color-scheme="dark"] {
color: violet;
}
@media (prefers-color-scheme: dark) {
html:not([data-color-scheme="light"]) {
color: black;
}
html:not([data-color-scheme="light"]).class {
color: red;
}
html:not([data-color-scheme="light"]).nested, html:not([data-color-scheme="light"])[nested] {
color: yellow;
}
:global(html:not([data-color-scheme="light"])) {
color: brown;
}
:root:not([data-color-scheme="light"]) {
color: violet;
}
}
@media (prefers-color-scheme: light) {
html:not([data-color-scheme="dark"]) {
color: white;
}
html:not([data-color-scheme="dark"])[lang="en"] {
color: blue;
}
:global(html:not([data-color-scheme="dark"]):not(.class-not).class) {
color: gray;
}
:global(html:not([data-color-scheme="dark"])) {
color: purple;
}
}