forked from
tranquil.farm/tranquil-pds
Our Personal Data Server from scratch!
1:root {
2 --space-0: 0;
3 --space-1: 0.125rem;
4 --space-2: 0.25rem;
5 --space-3: 0.5rem;
6 --space-4: 0.75rem;
7 --space-5: 1rem;
8 --space-6: 1.5rem;
9 --space-7: 2rem;
10 --space-8: 3rem;
11 --space-9: 4rem;
12
13 --text-xs: 0.75rem;
14 --text-sm: 0.875rem;
15 --text-base: 1rem;
16 --text-lg: 1.125rem;
17 --text-xl: 1.25rem;
18 --text-2xl: 1.5rem;
19 --text-3xl: 2rem;
20 --text-4xl: 2.5rem;
21
22 --font-normal: 400;
23 --font-medium: 500;
24 --font-semibold: 600;
25 --font-bold: 700;
26
27 --leading-tight: 1.25;
28 --leading-normal: 1.5;
29 --leading-relaxed: 1.75;
30
31 --radius-sm: 3px;
32 --radius-md: 4px;
33 --radius-lg: 6px;
34 --radius-xl: 8px;
35
36 --width-xs: 360px;
37 --width-sm: 480px;
38 --width-md: 760px;
39 --width-lg: 960px;
40 --width-xl: 1100px;
41
42 --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
43 --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
44 --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
45 --shadow-focus: 0 0 0 2px var(--accent-muted);
46
47 --transition-fast: 0.1s ease;
48 --transition-normal: 0.15s ease;
49 --transition-slow: 0.25s ease;
50
51 --z-modal: 1000;
52 --overlay-bg: rgba(0, 0, 0, 0.5);
53
54 --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, monospace;
55
56 --bg-primary: #f9fafa;
57 --bg-secondary: #f1f3f3;
58 --bg-tertiary: #e8ebeb;
59 --bg-hover: #e8ebeb;
60 --bg-card: #ffffff;
61 --bg-input: #ffffff;
62 --bg-input-disabled: #f1f3f3;
63
64 --text-primary: #1a1d1d;
65 --text-secondary: #5a605f;
66 --text-muted: #8a8f8e;
67 --text-inverse: #ffffff;
68
69 --border-color: #dce0df;
70 --border-light: #e8ebeb;
71 --border-dark: #c8cecc;
72
73 --accent: #1a1d1d;
74 --accent-hover: #2e3332;
75 --accent-muted: rgba(26, 29, 29, 0.06);
76 --accent-light: #3a403f;
77
78 --secondary: #1a1d1d;
79 --secondary-hover: #2e3332;
80 --secondary-muted: rgba(26, 29, 29, 0.06);
81
82 --success-bg: #dfd;
83 --success-border: #8c8;
84 --success-text: #060;
85
86 --error-bg: #fee;
87 --error-border: #fcc;
88 --error-text: #c00;
89
90 --warning-bg: #ffd;
91 --warning-border: #d4a03c;
92 --warning-text: #856404;
93
94 --border-color-light: var(--border-dark);
95}
96
97@media (prefers-color-scheme: dark) {
98 :root {
99 --bg-primary: #0a0c0c;
100 --bg-secondary: #131616;
101 --bg-tertiary: #1a1d1d;
102 --bg-hover: #1a1d1d;
103 --bg-card: #131616;
104 --bg-input: #1a1d1d;
105 --bg-input-disabled: #131616;
106
107 --text-primary: #e6e8e8;
108 --text-secondary: #9ca1a0;
109 --text-muted: #686d6c;
110 --text-inverse: #0a0c0c;
111
112 --border-color: #282c2b;
113 --border-light: #1f2322;
114 --border-dark: #343938;
115
116 --accent: #e6e8e8;
117 --accent-hover: #ffffff;
118 --accent-muted: rgba(230, 232, 232, 0.1);
119 --accent-light: #ffffff;
120
121 --secondary: #e6e8e8;
122 --secondary-hover: #ffffff;
123 --secondary-muted: rgba(230, 232, 232, 0.1);
124
125 --success-bg: #0f1f1a;
126 --success-border: #1a3d2d;
127 --success-text: #7bc6a0;
128
129 --error-bg: #1f0f0f;
130 --error-border: #3d1a1a;
131 --error-text: #ff8a8a;
132
133 --warning-bg: #1f1a0f;
134 --warning-border: #3d351a;
135 --warning-text: #c6b87b;
136 }
137}