/
globals.css
109 lines (85 loc) 路 2.28 KB
/
globals.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
@import url('https://use.typekit.net/tjw2gng.css');
@tailwind base;
@tailwind components;
@tailwind utilities;
@import './quiz.css';
@import './primary-newsletter-cta.css';
@import './tips.css';
@import './nprogress.css';
@import './video/mux-player.css';
@import './video/github-link.css';
@import './video/lesson-completion-toggle.css';
@import './video/lesson-description.css';
@import './video/lesson-title.css';
@import './video/module-lesson-list.css';
@import './video/video-overlays.css';
@import './video/video-transcript.css';
@import './video/module-navigator.css';
@import './focus-visible.css';
@import '@code-hike/mdx/dist/index.css';
@import './ui/button.css';
@import './login.css';
@import './commerce.css';
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 222.2 47.4% 11.2%;
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
--popover: 0 0% 100%;
--popover-foreground: 222.2 47.4% 11.2%;
--card: 0 0% 100%;
--card-foreground: 222.2 47.4% 11.2%;
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--primary: 222 47% 11%;
--primary-foreground: 0 0% 100%;
--secondary: 214 32% 91%;
--secondary-foreground: 222 47% 11%;
--accent: 214 32% 91%;
--accent-foreground: 222 47% 11%;
--destructive: 0 100% 50%;
--destructive-foreground: 210 40% 98%;
--ring: 215 20.2% 65.1%;
--radius: 0.5rem;
color-scheme: dark;
}
.dark {
--background: 0 0% 3%;
--foreground: 0 0% 71%;
--muted: 223 47% 11%;
--muted-foreground: 215.4 16.3% 56.9%;
--popover: 0 0% 5%;
--popover-foreground: 0 0% 71%;
--card: 0 0% 5%;
--card-foreground: 0 0% 71%;
--border: 0 0% 15%;
--input: 0 0% 15%;
--primary: 21 85% 65%;
--primary-foreground: 0 0% 3%;
--secondary: 222.2 47.4% 11.2%;
--secondary-foreground: 210 40% 98%;
--accent: 0 0% 10%;
--accent-foreground: 0 0% 71%;
--destructive: 0 63% 31%;
--destructive-foreground: 210 40% 98%;
--ring: 21 85% 65%;
--radius: 0.3rem;
color-scheme: dark;
}
}
@layer base {
* {
@apply border-border;
}
h1,
h2,
h3,
h4 {
@apply font-heading;
}
body {
@apply bg-background font-light text-foreground antialiased;
font-feature-settings: 'rlig' 1, 'calt' 1;
}
}