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