File tree 1 file changed +23
-0
lines changed
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -635,6 +635,29 @@ static HTML_TMPL: &str = r#"
635
635
--canvas-cpu: rgba(250, 119, 0, 0.2)
636
636
}
637
637
638
+ @media (prefers-color-scheme: dark) {
639
+ :root {
640
+ --text: #fff;
641
+ --background: #121212;
642
+ --h1-border-bottom: #444;
643
+ --table-box-shadow: rgba(255, 255, 255, 0.1);
644
+ --table-th: #a0a0a0;
645
+ --table-th-background: #2c2c2c;
646
+ --table-th-border-bottom: #555;
647
+ --table-th-border-right: #444;
648
+ --table-tr-border-top: #333;
649
+ --table-tr-border-bottom: #333;
650
+ --table-tr-odd-background: #1e1e1e;
651
+ --table-td-background: #262626;
652
+ --table-td-border-right: #333;
653
+ --canvas-background: #1a1a1a;
654
+ --canvas-axes: #b0b0b0;
655
+ --canvas-grid: #333;
656
+ --canvas-dep-line: #444;
657
+ --canvas-dep-line-highlighted: #fff;
658
+ }
659
+ }
660
+
638
661
html {
639
662
font-family: sans-serif;
640
663
color: var(--text);
You can’t perform that action at this time.
0 commit comments