Commit 2065c87dc5

2065c87dc5a2d4499ba8688a883bf973f7206475

parent: 9ca8653e01

Unsigned

Alicia Sykes <alicia@omg.lol> · 2024-02-17 16:45 UTC

Global and reusable styles for fonts and colors

Layout: unified · split

web/src/styles/typography.css +10 −2
@@ -16,15 +16,23 @@ code {
16 monospace; 16 monospace;
17} 17}
18 18
19.heading, h1, h2, h3, h4, h5, h6 { 19.heading, h1 {
20 font-family: "Libre Franklin", sans-serif; 20 font-family: "Libre Franklin", sans-serif;
21 font-optical-sizing: auto; 21 font-optical-sizing: auto;
22 font-weight: 800; 22 font-weight: 800;
23 font-style: normal; 23 font-style: normal;
24} 24}
25 25
26.subtitle { 26.subtitle, h2, h3, h4, h5, h6 {
27 font-family: "Lekton", sans-serif; 27 font-family: "Lekton", sans-serif;
28 font-weight: 700; 28 font-weight: 700;
29 font-style: normal; 29 font-style: normal;
30} 30}
31
32html, body, p, a, ul, ol, li, blockquote, pre, code, strong, i {
33 font-family: "Rubik", sans-serif;
34}
35
36a {
37 color: var(--accent);
38}
web/src/styles/values.css +2 −1
@@ -1,9 +1,10 @@
1:root { 1:root {
2 --accent: #f72b77; 2 --accent: #f45397;
3 --accent-fg: #fff; 3 --accent-fg: #fff;
4 4
5 --accent-2: #ffdf60; 5 --accent-2: #ffdf60;
6 --accent-3: #5f53f4; 6 --accent-3: #5f53f4;
7 --accent-4: #28dffd;
7 8
8 --foreground: #13151a; 9 --foreground: #13151a;
9 10