aboutsummaryrefslogtreecommitdiff
path: root/src/styles/global.css
blob: aab0c0dae1a91c173b73a5ccbb31317f6601ba8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

/*
  This file is used for all of your global styles and CSS variables.
  Check here https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties for more info on using CSS variables.
*/
:root {
  --font-family: sans-serif;
}

html, body {
  font-family: var(--font-family);
  padding: 0;
  margin: 0;
}

@media (prefers-color-scheme: dark) {

  html,
  body {
    background-color: #181818;
    color: white;
  }
}

@media (prefers-color-scheme: light) {

  html,
  body {
    background-color: white;
    color: black;
  }
}