Skip to content

Commit 7806928

Browse files
committed
Update
1 parent 0e1b444 commit 7806928

File tree

3 files changed

+138
-254
lines changed

3 files changed

+138
-254
lines changed

public/image/ios-screenshot.png

-12.7 KB
Loading

src/layouts/Layout.astro

+20-11
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,29 @@ const { title } = Astro.props;
2525
</html>
2626
<style is:global>
2727
: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;
3733
}
3834
html {
3935
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+
}
4251
}
4352
code {
4453
font-family:

0 commit comments

Comments
 (0)