Skip to content

Commit c59f4ff

Browse files
Update schemascii_example.css
1 parent 992ebd7 commit c59f4ff

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

schemascii_example.css

+14-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
svg.schemascii {
22
background: black;
3-
43
}
54

65
svg.schemascii .wire line {
@@ -45,5 +44,17 @@ svg.schemascii .component:hover text {
4544
}
4645

4746
svg.schemascii .component tspan:is(.cmp-value, .part-num) {
48-
fill: gray;
49-
}
47+
opacity: 50%;
48+
}
49+
50+
@media all and (prefers-color-scheme: light) {
51+
svg.schemascii {
52+
background: white;
53+
}
54+
svg.schemascii .component text {
55+
fill: black;
56+
}
57+
svg.schemascii :is(.wire, .component):hover {
58+
--sch-color: green;
59+
}
60+
}

0 commit comments

Comments
 (0)