@@ -25,20 +25,29 @@ const { title } = Astro.props;
25
25
</html >
26
26
<style is:global >
27
27
:root {
28
- --accent: 0, 122, 255;
29
- --accent-light: 88, 86, 214;
30
- --accent-dark: 0, 64, 221;
31
- --accent-gradient: linear-gradient(
32
- 45deg,
33
- rgb(var(--accent)),
34
- rgb(var(--accent-light)) 30%,
35
- rgb(var(--accent-dark)) 60%
36
- );
28
+ --accent: 51, 51, 67;
29
+ --text-primary: 255, 255, 255;
30
+ --text-secondary: 153, 153, 153;
31
+ --bg-primary: 0, 0, 0;
32
+ --bg-secondary: 17, 17, 17;
37
33
}
38
34
html {
39
35
font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
40
- background: #13151a;
41
- color: #fff;
36
+ background: rgb(var(--bg-primary));
37
+ color: rgb(var(--text-primary));
38
+ }
39
+ body {
40
+ margin: 0;
41
+ padding: 0;
42
+ line-height: 1.6;
43
+ }
44
+ @media (prefers-color-scheme: dark) {
45
+ :root {
46
+ --text-primary: 229, 229, 229;
47
+ --text-secondary: 153, 153, 153;
48
+ --bg-primary: 24, 24, 24;
49
+ --bg-secondary: 36, 36, 36;
50
+ }
42
51
}
43
52
code {
44
53
font-family:
0 commit comments