-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.module.css
62 lines (58 loc) · 2.08 KB
/
App.module.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
:root {
/* Base Palette */
--base-color-grey-0: #FFF;
--base-color-grey-5: #F4F4F4;
--base-color-grey-10: #E8E8E8;
--base-color-grey-20: #D1D1D2;
--base-color-grey-80: #474749;
--base-color-grey-90: #303033;
--base-color-grey-95: #252527;
--base-color-grey-100: #19191C;
--base-color-primary-light: #6B57FF;
--base-color-primary-dark: #7B61FF;
/* Light Mode */
--color-general-background: var(--base-color-grey-0);
--color-general-text: var(--base-color-grey-100);
--color-secondary-text: var(--base-color-grey-80);
--color-active-background: var(--base-color-primary-light);
--color-active-secondary-background: var(--base-color-primary-dark);
--color-active-text: var(--base-color-grey-0);
--color-secondary-background: var(--base-color-grey-5);
--color-tertiary-background: var(--base-color-grey-10);
--color-border: var(--base-color-grey-20);
}
body {
display: flex;
min-width: 320px;
min-height: 100vh;
margin: 0;
background: var(--color-general-background);
color: var(--color-general-text);
color-scheme: light dark;
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-synthesis: none;
font-weight: 400;
line-height: 1.5;
place-items: stretch;
text-rendering: optimizelegibility;
text-size-adjust: 100%;
}
.app {
flex-grow: 1;
}
@media (prefers-color-scheme: dark) {
:root {
/* Dark Mode */
--color-general-background: var(--base-color-grey-100);
--color-general-text: var(--base-color-grey-0);
--color-secondary-text: var(--base-color-grey-20);
--color-active-background: var(--base-color-primary-dark);
--color-active-secondary-background: var(--base-color-primary-light);
--color-active-text: var(--base-color-grey-0);
--color-secondary-background: var(--base-color-grey-95);
--color-tertiary-background: var(--base-color-grey-90);
--color-border: var(--base-color-grey-80);
}
}