We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 835ef53 commit 106f89bCopy full SHA for 106f89b
src/assets/css/_example/_example.css
@@ -1,4 +1,19 @@
1
/* Example stylesheet */
2
+@media screen and (prefers-color-scheme: light), screen and (prefers-color-scheme: no-preference) {
3
+ /*light theme*/
4
+ body{
5
+ color: black;
6
+ background-color: white;
7
+ }
8
+}
9
+
10
+@media screen and (prefers-color-scheme: dark) {
11
+ /*dark theme*/
12
+ body {
13
+ color: white;
14
+ background-color: black;
15
16
17
18
h1 {
19
font-family: helvetica;
0 commit comments