Skip to content

Commit 9586314

Browse files
committed
[web-animations][editorial] Use darkmode-aware colors.
1 parent 52346ab commit 9586314

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

web-animations-1/Overview.bs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
background: #efe;
77
border: green 1px dotted;
88
}
9+
@media (prefers-color-scheme: dark) {
10+
.informative-bg {
11+
background: rgba(255 255 255 .05);
12+
}
13+
}
914

1015
div.informative-bg *:last-child {
1116
margin-bottom: 0;
@@ -45,7 +50,7 @@ div.switch > dl > dt:before {
4550
font: bold 100% sans-serif;
4651
text-align: left;
4752
margin: 1.33em 0px;
48-
color: #005A9C;
53+
color: var(--heading-text, #005A9C);
4954
}
5055

5156
.attributes::before { content: 'Attributes' }

0 commit comments

Comments
 (0)