web/src/styles/values.css
112 lines · 2468 bytes
1html {
2 --accent: #f45397;
3 --accent-fg: #1e1f21;
4
5 --accent-2: #ffdf60;
6 --accent-3: #5f53f4;
7 --accent-4: #28dffd;
8
9 --bright: #fff;
10
11 --foreground: #fff;
12 --background-hr-color: #2f2f2f;
13
14 --curve-sm: 4px;
15 --curve-md: 6px;
16 --curve-lg: 12px;
17 --curve-pill: 18px;
18
19 --danger: #ff0048;
20 --success: #00ff64;
21 --success-muted: #0fb953;
22
23 --transparent-accent: #5f53f482;
24 --accent-translucent: #f453974d;
25 --accent-3-translucent: #5f53f440;
26 --code-bg: #acabb782;
27
28 --background: #151517;
29 --bg-gradient-comp-1: #151517;
30 --bg-gradient-comp-2: #151517;
31 --background-form: #19191c;
32
33 --box-outline: #000;
34
35 --font-heading: 'Libre Franklin', sans-serif;
36 --font-subtitle: 'Lekton', sans-serif;
37 --font-body: 'Rubik', sans-serif;
38
39 --shadow-lg: 6px 6px 0 var(--box-outline);
40 --shadow-md: 4px 4px 0 var(--box-outline);
41 --shadow-sm: 3px 3px 0 var(--box-outline);
42 --shadow-xs: 2px 2px 0 var(--box-outline);
43
44 --shadow-lg-hover: 8px 8px 0 var(--box-outline);
45 --shadow-sm-hover: 4px 4px 0 var(--box-outline);
46 --shadow-xs-hover: 3px 3px 0 var(--box-outline);
47
48 --border-heavy: 2px solid var(--box-outline);
49 --border-light: 1px solid var(--box-outline);
50
51 --font-code: 'Courier New', Courier, monospace;
52
53 --text-xs: 0.75rem;
54 --text-sm: 0.85rem;
55 --text-base: 1rem;
56 --text-md: 1.2rem;
57 --text-lg: 1.4rem;
58 --text-xl: 1.6rem;
59 --text-2xl: 1.8rem;
60 --text-3xl: 2rem;
61 --text-4xl: 3rem;
62 --text-5xl: 5rem;
63
64 --space-xs: 0.25rem;
65 --space-sm: 0.5rem;
66 --space-md: 1rem;
67 --space-lg: 2rem;
68 --space-xl: 3rem;
69 --space-2xl: 4rem;
70
71 --opacity-dim: 0.5;
72 --opacity-muted: 0.6;
73 --opacity-soft: 0.7;
74 --opacity-subtle: 0.8;
75
76 --width-container: 1200px;
77 --width-container-narrow: 1000px;
78 --width-container-max: calc(100% - 5rem);
79
80 --transition-fast: all 0.15s ease-in-out;
81 --transition-normal: all 0.2s ease-in-out;
82
83 --rating-a: #35b969;
84 --rating-b: #6bb935;
85 --rating-c: #c7cc22;
86 --rating-d: #e1bb23;
87 --rating-e: #df8b1e;
88 --rating-f: #df541e;
89 --rating-g: #df1e1e;
90 --rating-neutral: #ecd40f;
91 --rating-unknown: grey;
92
93 --changelog-add: #6fdd8b;
94 --changelog-rem: #fdcc0b;
95 --changelog-mod: #42c1ff;
96 --changelog-rej: #ff2d55;
97
98 &[data-theme='light'] {
99 --accent-fg: #fff;
100 --foreground: #13151a;
101 --background: #f1ebf1;
102 --bg-gradient-comp-1: #feecff;
103 --bg-gradient-comp-2: #e1e4fb;
104 --background-form: #fff;
105 --background-hr-color: #ececec;
106
107 --changelog-rem: #b59207;
108 --changelog-rej: #d71e41;
109 --changelog-mod: #2e89b5;
110 --changelog-add: #509762;
111 }
112}