1
1
@charset " UTF-8" ;
2
-
3
- /* @use "abstracts/colors"; */
4
-
5
- @use " abstracts/fonts" ;
6
2
@use " abstracts/variables" ;
3
+ @use " abstracts/fonts" ;
7
4
@use " base/admonitions-and-codeblocks" ;
8
5
@use " base/links" ;
9
6
@use " base/typography" ;
43
40
}
44
41
45
42
body {
46
- --font-text-theme : " Vollkorn" , " Gentium Book Basic" , Inter , -apple-system , blinkmacsystemfont, " Segoe UI" , " Microsoft YaHei Light" , sans-serif ;
43
+ --font-text-theme : " Vollkorn" , " Gentium Book Basic" , inter , -apple-system , blinkmacsystemfont, " Segoe UI" , " Microsoft YaHei Light" , sans-serif ;
47
44
--font-interface-theme : " Public Sans" , " Gill Sans" , -apple-system , system-ui , blinkmacsystemfont, " Segoe UI" , roboto, " Helvetica Neue" , arial , sans-serif ;
48
45
--font-monospace-theme : " Mononoki Nerd Font Mono" , sfmono- regular, consolas, " Roboto Mono" , monospace ;
49
46
}
50
47
51
- .theme-dark {
52
- --background-primary : hsl (240deg 21% 15% );
53
- --background-primary-alt : hsl (249deg 23% 12% );
54
- --background-secondary : hsl (240deg 21% 15% );
55
- --background-secondary-alt : hsl (249deg 23% 12% );
56
- --background-modifier-border : hsl (249deg 16% 32% );
57
- --background-modifier-form-field : hsl (235deg 17% 29% 30% );
58
- --background-modifier-form-field-highlighted : hsl (235deg 17% 29% 30% );
59
- --background-modifier-box-shadow : hsl (235deg 17% 29% 30% );
60
- --background-modifier-success : hsl (128deg 58% 79% );
61
- --background-modifier-error : hsl (342deg 79% 75% );
62
- --background-modifier-error-rgb : 226 140 140 ;
63
- --background-modifier-error-hover : hsl (342deg 79% 60% );
64
- --background-modifier-cover : rgb (0 0 0 80% );
65
- --text-accent : hsl (128deg 58% 79% );
66
- --text-accent-hover : hsl (128deg 58% 79% );
67
- --text-normal : hsl (220deg 38% 89% );
68
- --text-normal-transparent : hsl (220deg 38% 89% / 60% );
69
- --text-muted : hsl (285deg 10% 75% );
70
- --text-muted-rgb : 195 , 186 , 198 ;
71
- --text-faint : hsl (274deg 11% 59% );
72
- --text-error : hsl (342deg 79% 75% );
73
- --text-error-hover : hsl (342deg 79% 60% );
74
- --text-highlight-bg : hsl (41deg 88% 84% );
75
- --text-highlight-bg-active : hsl (223.2deg 70.1% 79% );
76
- --text-selection : hsl (254deg 12% 36% );
77
- --text-on-accent : hsl (254deg 25% 10% );
78
- --interactive-normal : hsl (171deg 53% 81% );
79
- --interactive-hover : hsl (171deg 53% 81% );
80
- --interactive-accent : hsl (128deg 58% 79% );
81
- --interactive-accent-rgb : 171 , 233 , 179 ;
82
- --interactive-accent-hover : hsl (128deg 58% 79% );
83
- --interactive-success : hsl (128deg 58% 79% );
84
- --scrollbar-active-thumb-bg : rgb (255 255 255 / 20% );
85
- --scrollbar-bg : rgb (255 255 255 / 5% );
86
- --scrollbar-thumb-bg : rgb (255 255 255 / 10% );
87
- --code-blocks : hsl (10deg 56% 91% );
88
- --border : hsl (249deg 18% 22% );
89
- --border-inset : hsl (254deg 12% 36% );
90
- --active-interaction : hsl (316deg 72% 86% );
91
- --highlight-mix-blend-mode : lighten ;
92
- --internal-buttons : hsl (24deg 88% 78% );
93
- --text-selection-opaque : hsl (238deg 100% 89% );
94
- --rosewater : hsl (10deg 56% 91% );
95
- --maroon : hsl (349deg 60% 77% );
96
- --pink : hsl (316deg 72% 86% );
97
- --lavender : hsl (220deg 38% 89% );
98
- --black-0 : hsl (254deg 25% 10% );
99
- --black-1 : hsl (249deg 23% 12% );
100
- --black-2 : hsl (240deg 21% 15% );
101
- --black-3 : hsl (249deg 18% 22% );
102
- --black-4 : hsl (254deg 12% 36% );
103
- }
104
-
48
+ .theme-dark ,
105
49
.theme-light {
106
50
--background-primary : hsl (240deg 21% 15% );
107
- --background-primary-alt : hsl (249 deg 23% 12 % );
51
+ --background-primary-alt : hsl (240 deg 23% 9 % );
108
52
--background-secondary : hsl (240deg 21% 15% );
109
- --background-secondary-alt : hsl (249 deg 23% 12 % );
110
- --background-modifier-border : hsl (249 deg 23% 12 % );
53
+ --background-secondary-alt : hsl (240 deg 23% 9 % );
54
+ --background-modifier-border : hsl (240 deg 23% 9 % );
111
55
--background-modifier-form-field : hsl (235deg 17% 29% 30% );
112
56
--background-modifier-form-field-highlighted : hsl (235deg 17% 29% 30% );
113
57
--background-modifier-box-shadow : hsl (235deg 17% 29% 30% );
114
- --background-modifier-success : hsl (128 deg 58 % 79 % );
115
- --background-modifier-error : hsl (342 deg 79 % 75% );
58
+ --background-modifier-success : hsl (115 deg 54 % 76 % );
59
+ --background-modifier-error : hsl (343 deg 81 % 75% );
116
60
--background-modifier-error-rgb : 226 140 140 ;
117
- --background-modifier-error-hover : hsl (342 deg 79 % 60% );
61
+ --background-modifier-error-hover : hsl (343 deg 81 % 60% );
118
62
--background-modifier-cover : rgb (0 0 0 80% );
119
- --text-accent : hsl (128 deg 58 % 79 % );
120
- --text-accent-hover : hsl (128 deg 58 % 79 % );
121
- --text-normal : hsl (220 deg 38 % 89 % );
63
+ --text-accent : hsl (115 deg 54 % 76 % );
64
+ --text-accent-hover : hsl (115 deg 54 % 76 % );
65
+ --text-normal : hsl (226 deg 64 % 88 % );
122
66
--text-normal-transparent : hsl (220deg 38% 89% / 60% );
123
- --text-muted : hsl (285 deg 10 % 75 % );
124
- --text-muted-rgb : 195 , 186 , 198 ;
125
- --text-faint : hsl (274 deg 11 % 59 % );
67
+ --text-muted : hsl (227 deg 35 % 80 % );
68
+ --text-muted-rgb : 166 , 173 , 201 ;
69
+ --text-faint : hsl (228 deg 24 % 72 % );
126
70
--text-error : hsl (342deg 79% 75% );
127
71
--text-error-hover : hsl (342deg 79% 60% );
128
- --text-highlight-bg : hsl (41deg 88 % 84 % );
129
- --text-highlight-bg-active : hsl (223.2 deg 70.1 % 79 % );
130
- --text-selection : hsl (254 deg 12% 36 % );
131
- --text-on-accent : hsl (254 deg 25 % 10 % );
132
- --interactive-normal : hsl (171 deg 53 % 81 % );
133
- --interactive-hover : hsl (171 deg 53 % 81 % );
134
- --interactive-accent : hsl (128 deg 58 % 79 % );
135
- --interactive-accent-rgb : 171 , 233 , 179 ;
136
- --interactive-accent-hover : hsl (128 deg 58 % 79 % );
137
- --interactive-success : hsl (128 deg 58 % 79 % );
72
+ --text-highlight-bg : hsl (41deg 86 % 83 % );
73
+ --text-highlight-bg-active : hsl (232 deg 97 % 85 % );
74
+ --text-selection : hsl (233 deg 12% 39 % );
75
+ --text-on-accent : hsl (240 deg 21 % 12 % );
76
+ --interactive-normal : hsl (170 deg 57 % 73 % );
77
+ --interactive-hover : hsl (170 deg 57 % 73 % );
78
+ --interactive-accent : hsl (115 deg 54 % 76 % );
79
+ --interactive-accent-rgb : 166 , 227 , 161 ;
80
+ --interactive-accent-hover : hsl (115 deg 54 % 76 % );
81
+ --interactive-success : hsl (115 deg 54 % 76 % );
138
82
--scrollbar-active-thumb-bg : rgb (255 255 255 / 20% );
139
83
--scrollbar-bg : rgb (255 255 255 / 5% );
140
84
--scrollbar-thumb-bg : rgb (255 255 255 / 10% );
@@ -143,15 +87,16 @@ body {
143
87
--border-inset : hsl (254deg 12% 36% );
144
88
--active-interaction : hsl (316deg 72% 86% );
145
89
--highlight-mix-blend-mode : lighten ;
146
- --internal-buttons : hsl (24 deg 88 % 78 % );
147
- --text-selection-opaque : hsl (238 deg 100 % 89 % );
90
+ --internal-buttons : hsl (23 deg 92 % 75 % );
91
+ --text-selection-opaque : hsl (232 deg 97 % 85 % );
148
92
--rosewater : hsl (10deg 56% 91% );
149
- --maroon : hsl (349 deg 60 % 77% );
93
+ --maroon : hsl (350 deg 65 % 77% );
150
94
--pink : hsl (316deg 72% 86% );
151
- --lavender : hsl (220 deg 38 % 89 % );
95
+ --lavender : hsl (232 deg 97 % 85 % );
152
96
--black-0 : hsl (254deg 25% 10% );
153
97
--black-1 : hsl (249deg 23% 12% );
154
98
--black-2 : hsl (240deg 21% 15% );
155
99
--black-3 : hsl (249deg 18% 22% );
156
100
--black-4 : hsl (254deg 12% 36% );
101
+ --overlay0 : hsl (231deg 11% 47% );
157
102
}
0 commit comments