Skip to content

Commit 97f857d

Browse files
committed
return default colouring for light mode
1 parent 8176a5e commit 97f857d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/viewer/App.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@
3838
--incoming-frame-color: #ce5500;
3939
}
4040
}
41+
// TODO: is there a way not to duplicate?
42+
@media(prefers-color-scheme: light) {
43+
:root {
44+
--base-text-color: #222;
45+
--grey-text-color: #888;
46+
--ascii-view-color: #444;
47+
--main-background-color: #f8f8f8;
48+
--outgoing-frame-color: #f6ffd0;
49+
--incoming-frame-color: #ffe6ca;
50+
}
51+
}
4152
.App {
4253
font-family: 'Segoe UI', Tahoma, sans-serif;
4354
font-size: 12px;

0 commit comments

Comments
 (0)