Skip to content

Commit 5664cd7

Browse files
committed
Fix for dark and light modes
1 parent a800152 commit 5664cd7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/* Example stylesheet */
22
@media screen and (prefers-color-scheme: light), screen and (prefers-color-scheme: no-preference) {
3-
/*light theme*/
3+
/* Light theme */
44
body{
5-
color: black;
6-
background-color: white;
5+
color: #000;
6+
background-color: #fff;
77
}
88
}
99

1010
@media screen and (prefers-color-scheme: dark) {
11-
/*dark theme*/
11+
/* Dark theme */
1212
body {
13-
color: white;
14-
background-color: black;
13+
color: #fff;
14+
background-color: #000;
1515
}
1616
}
1717

1818
h1 {
19-
font-family: helvetica;
19+
font-family: Helvetica, Arial, sans-serif;
2020
font-size: 21px;
2121
font-weight: 200;
2222
}

0 commit comments

Comments
 (0)