hexo-theme-gnix 12.0.0 → 14.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +2 -0
  2. package/include/hexo/generator/archive.js +14 -1
  3. package/include/hexo/generator/index.js +0 -5
  4. package/include/hexo/generator/page.js +18 -4
  5. package/include/hexo/generator/tag.js +1 -1
  6. package/include/hexo/helper.js +0 -4
  7. package/include/hexo/i18n.js +31 -136
  8. package/include/hexo/obsidian-callouts.js +210 -0
  9. package/include/hexo/renderer.js +4 -14
  10. package/include/hexo/shiki.js +191 -0
  11. package/include/hexo/sitemap.js +184 -0
  12. package/include/util/i18n.js +92 -106
  13. package/languages/en.yml +4 -10
  14. package/languages/zh-CN.yml +4 -10
  15. package/layout/archive.jsx +155 -78
  16. package/layout/common/article.jsx +94 -108
  17. package/layout/common/article_cover.jsx +3 -3
  18. package/layout/common/article_info.jsx +11 -48
  19. package/layout/common/article_media.jsx +9 -2
  20. package/layout/common/footer.jsx +17 -106
  21. package/layout/common/head.jsx +3 -15
  22. package/layout/common/navbar.jsx +24 -87
  23. package/layout/common/scripts.jsx +1 -1
  24. package/layout/layout.jsx +37 -19
  25. package/layout/plugin/goatcounter.jsx +25 -0
  26. package/layout/tag.jsx +3 -70
  27. package/layout/tags.jsx +26 -23
  28. package/package.json +7 -13
  29. package/scripts/index.js +1 -0
  30. package/source/css/archive.css +287 -168
  31. package/source/css/callout_blocks.css +41 -21
  32. package/source/css/default.css +154 -132
  33. package/source/css/optional/mermaid.css +12 -6
  34. package/source/css/responsive.css +1 -45
  35. package/source/css/shiki/shiki.css +5 -4
  36. package/source/css/tags.css +53 -59
  37. package/source/js/components/archive-popup.js +313 -0
  38. package/source/js/components/friends-list.js +270 -0
  39. package/source/js/components/x-info-card.js +297 -0
  40. package/source/js/main.js +38 -34
  41. package/source/js/mdit/mermaid.js +10 -0
  42. package/include/hexo/generator/home.js +0 -64
  43. package/layout/index.jsx +0 -19
  44. package/layout/misc/paginator.jsx +0 -69
  45. package/source/js/host/iconify-icon/3.0.2/iconify-icon.min.js +0 -12
@@ -2,98 +2,200 @@
2
2
  --archive-line: color-mix(in oklch, var(--surface1) 72%, var(--text));
3
3
  --archive-muted: color-mix(in oklch, var(--subtext1) 78%, var(--base));
4
4
  --archive-accent: var(--lavender);
5
+ --archive-rail-width: 5rem;
5
6
  display: grid;
6
7
  gap: 1.5rem;
7
8
  padding: 1.25em 1.25rem 0;
9
+
10
+ @media (max-width: 720px) {
11
+ gap: 1.25rem;
12
+ }
13
+
14
+ @media (max-width: 480px) {
15
+ padding: 1rem 0.875rem 0;
16
+ }
8
17
  }
9
18
 
19
+ /* #region Hero */
20
+
10
21
  .archive-hero {
22
+ position: relative;
11
23
  display: grid;
12
- grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
13
- gap: 1.25rem;
14
- align-items: start;
15
- padding-bottom: 1.25rem;
24
+ gap: 0.6rem;
25
+ padding-bottom: 1.5rem;
16
26
  border-bottom: 1px solid var(--archive-line);
27
+
28
+ &::after {
29
+ content: "";
30
+ position: absolute;
31
+ bottom: -5px;
32
+ left: 0;
33
+ right: 0;
34
+ height: 2.5px;
35
+ background: color-mix(in oklch, var(--text) 50%, var(--base));
36
+ }
17
37
  }
18
38
 
19
- .archive-eyebrow {
20
- margin: 0 0 0.35rem;
39
+ .archive-hero__eyebrow {
40
+ display: flex;
41
+ flex-wrap: wrap;
42
+ align-items: baseline;
43
+ gap: 0.5rem;
44
+ margin: 0;
21
45
  color: var(--archive-muted);
22
46
  font-family: var(--font-mono);
23
- font-size: 0.75rem;
47
+ font-size: 0.68rem;
24
48
  font-weight: 600;
25
- letter-spacing: 0.08em;
49
+ letter-spacing: 0.18em;
26
50
  text-transform: uppercase;
27
51
  }
28
52
 
29
- .archive-hero h1 {
30
- margin: 0;
53
+ .archive-hero__roman {
54
+ position: absolute;
55
+ right: 0;
56
+ bottom: 1.5rem;
31
57
  color: var(--text);
32
58
  font-family: var(--font-serif);
33
- font-size: 2.75rem;
34
- font-weight: 700;
59
+ font-size: 4.5rem;
60
+ font-weight: 400;
61
+ letter-spacing: 0.02em;
62
+ opacity: 0.06;
35
63
  line-height: 1;
36
- letter-spacing: 0;
64
+ pointer-events: none;
65
+ user-select: none;
66
+
67
+ @media (max-width: 720px) {
68
+ font-size: 4rem;
69
+ }
70
+
71
+ @media (max-width: 480px) {
72
+ font-size: 2rem;
73
+ opacity: 0.04;
74
+ }
75
+ }
76
+
77
+ .archive-hero__sep {
78
+ opacity: 0.3;
37
79
  }
38
80
 
39
- .archive-hero__summary {
40
- max-width: 34rem;
41
- margin: 1rem 0 0;
42
- color: var(--subtext1);
81
+ .archive-hero__title {
82
+ margin: 0;
83
+ color: var(--text);
43
84
  font-family: var(--font-serif);
44
85
  font-style: italic;
86
+ font-synthesis: none;
87
+ font-size: 3rem;
88
+ font-weight: 500;
89
+ line-height: 1;
90
+ letter-spacing: -0.02em;
91
+ position: relative;
92
+ z-index: 1;
93
+
94
+ @media (max-width: 480px) {
95
+ font-size: 2.1rem;
96
+ }
45
97
  }
46
98
 
47
- .archive-stats {
48
- display: grid;
49
- gap: 0.45rem;
50
- margin: 0;
99
+ /* #endregion */
100
+
101
+ /* #region Right rail (year jump) */
102
+
103
+ .archive-rail {
104
+ position: fixed;
105
+ top: 50%;
106
+ left: max(1.25rem, calc((100vw - 50em) / 2 - var(--archive-rail-width) - 0.5rem));
107
+ transform: translateY(-50%);
108
+ z-index: 20;
109
+ pointer-events: none;
110
+
111
+ @media (max-width: 1023px) {
112
+ display: none;
113
+ }
51
114
  }
52
115
 
53
- .archive-stats > div {
116
+ .archive-rail__list {
54
117
  display: grid;
55
- grid-template-columns: 4.5rem minmax(0, 1fr);
56
- gap: 0.65rem;
57
- align-items: baseline;
118
+ gap: 0.4rem;
119
+ margin: 0;
120
+ padding: 0;
121
+ list-style: none;
122
+ text-align: left;
123
+ pointer-events: auto;
58
124
  }
59
125
 
60
- .archive-stats dt {
126
+ .archive-rail__link {
127
+ display: inline-block;
128
+ padding: 0.1rem 0;
61
129
  color: var(--archive-muted);
62
130
  font-family: var(--font-mono);
63
131
  font-size: 0.72rem;
64
- text-transform: uppercase;
65
- }
132
+ font-variant-numeric: tabular-nums;
133
+ letter-spacing: 0.08em;
134
+ text-decoration: none;
135
+ opacity: 0.6;
136
+ transition:
137
+ color 160ms ease,
138
+ opacity 160ms ease;
66
139
 
67
- .archive-stats dd {
68
- min-width: 0;
69
- margin: 0;
70
- color: var(--text);
71
- font-weight: 700;
72
- overflow-wrap: anywhere;
140
+ &:hover,
141
+ &:focus-visible {
142
+ color: var(--text);
143
+ opacity: 1;
144
+ }
145
+
146
+ &:focus-visible {
147
+ outline: 2px solid color-mix(in oklch, var(--archive-accent) 70%, transparent);
148
+ outline-offset: 3px;
149
+ border-radius: 2px;
150
+ }
73
151
  }
74
152
 
75
- .archive-years {
153
+ /* #endregion */
154
+
155
+ /* #region Era marker */
156
+
157
+ .archive-era {
76
158
  display: flex;
77
- flex-wrap: wrap;
78
- gap: 0.5rem 0.75rem;
79
- align-items: center;
159
+ align-items: baseline;
160
+ justify-content: center;
161
+ gap: 0.85rem;
162
+ margin: 1.5rem 0 0.25rem;
163
+ padding-top: 0.25rem;
164
+ color: var(--archive-muted);
80
165
  font-family: var(--font-mono);
81
- font-size: 0.85rem;
166
+ font-size: 0.76rem;
167
+ letter-spacing: 0.22em;
168
+ text-transform: uppercase;
169
+ scroll-margin-top: 4.5rem;
170
+
171
+ &:first-child {
172
+ margin-top: 0;
173
+ }
174
+
175
+ @media (max-width: 720px) {
176
+ margin-top: 1.1rem;
177
+ }
82
178
  }
83
179
 
84
- .archive-years a {
85
- color: var(--archive-muted);
86
- text-decoration: none;
87
- text-underline-offset: 0.25em;
180
+ .archive-era__roman {
181
+ flex: 0 0 auto;
182
+ color: var(--text);
183
+ font-family: var(--font-serif);
184
+ font-size: 0.9rem;
185
+ letter-spacing: 0.28em;
88
186
  }
89
187
 
90
- .archive-years a:hover,
91
- .archive-years a:focus-visible,
92
- .archive-years a.is-active {
93
- color: var(--archive-accent);
94
- text-decoration: underline;
188
+ .archive-era__year {
189
+ flex: 0 0 auto;
190
+ color: var(--archive-muted);
191
+ font-size: 0.66rem;
192
+ font-variant-numeric: tabular-nums;
193
+ letter-spacing: 0.18em;
194
+ opacity: 0.55;
95
195
  }
96
196
 
197
+ /* #endregion */
198
+
97
199
  .archive-stack {
98
200
  display: grid;
99
201
  gap: 1.35rem;
@@ -104,37 +206,42 @@
104
206
  position: relative;
105
207
  content-visibility: auto;
106
208
  contain-intrinsic-size: auto 18rem;
107
- padding: 1.35rem 0 0;
108
- border-top: 1px dashed var(--archive-line);
109
- }
209
+ padding: 1.1rem 0 0;
110
210
 
111
- .archive-group.spring {
112
- --archive-accent: var(--peach);
113
- }
114
-
115
- .archive-group.summer {
116
- --archive-accent: var(--green);
117
- }
118
-
119
- .archive-group.autumn {
120
- --archive-accent: var(--red);
121
- }
211
+ .archive-era + & {
212
+ border-top: none;
213
+ padding-top: 0.35rem;
214
+ }
122
215
 
123
- .archive-group.winter {
124
- --archive-accent: var(--blue);
216
+ &.spring {
217
+ --archive-accent: var(--peach);
218
+ }
219
+ &.summer {
220
+ --archive-accent: var(--green);
221
+ }
222
+ &.autumn {
223
+ --archive-accent: var(--red);
224
+ }
225
+ &.winter {
226
+ --archive-accent: var(--blue);
227
+ }
125
228
  }
126
229
 
127
230
  .archive-group__header {
128
- display: flex;
231
+ display: grid;
232
+ grid-template-columns: minmax(0, 1fr) auto;
129
233
  gap: 1rem;
130
- align-items: start;
131
- justify-content: space-between;
132
- margin-bottom: 1rem;
234
+ align-items: baseline;
235
+ margin-bottom: 0.85rem;
236
+
237
+ @media (max-width: 480px) {
238
+ gap: 0.6rem;
239
+ }
133
240
  }
134
241
 
135
242
  .archive-group__title {
136
243
  margin: 0;
137
- color: var(--text);
244
+ color: var(--archive-accent);
138
245
  font-family: var(--font-serif);
139
246
  font-style: italic;
140
247
  font-size: 1.7rem;
@@ -144,13 +251,10 @@
144
251
  }
145
252
 
146
253
  .archive-group__count {
147
- flex: 0 0 auto;
148
- border: 1px solid color-mix(in oklch, var(--archive-accent) 46%, var(--archive-line));
149
- border-radius: 999px;
150
- color: var(--text);
151
- font-family: var(--font-mono);
152
- font-size: 0.78rem;
153
- padding: 0.2rem 0.6rem;
254
+ align-self: baseline;
255
+ color: var(--archive-muted);
256
+ font-family: var(--font-serif);
257
+ font-variant-numeric: oldstyle-nums;
154
258
  }
155
259
 
156
260
  .timeline {
@@ -163,47 +267,123 @@
163
267
  .archive-item {
164
268
  position: relative;
165
269
  text-align: left;
270
+
271
+ & > div {
272
+ display: grid;
273
+ grid-template-columns: 4.9rem minmax(0, 1fr);
274
+ gap: 0.85rem;
275
+ align-items: baseline;
276
+ padding: 0.55rem 0.35rem 0.55rem 0;
277
+
278
+ @media (max-width: 480px) {
279
+ grid-template-columns: 1fr;
280
+ gap: 0.1rem;
281
+ padding: 0.7rem 0.5rem 0.7rem 0;
282
+ }
283
+ }
284
+
285
+ & + & {
286
+ border-top: 0.5px solid color-mix(in oklch, var(--surface0) 80%, transparent);
287
+ }
166
288
  }
167
289
 
168
- .archive-item::before {
290
+ /* #region Popup */
291
+
292
+ .archive-popup {
293
+ --popup-accent: var(--archive-accent);
169
294
  position: absolute;
170
- top: 0.86rem;
171
- left: -1.18rem;
172
- width: 0.55rem;
173
- height: 0.55rem;
174
- border-radius: 999px;
175
- background: transparent;
176
- content: "";
177
- transition:
178
- background 140ms ease,
179
- transform 140ms ease;
180
- }
295
+ z-index: 100;
296
+ contain: layout style;
297
+ width: min(20rem, calc(100vw - 2rem));
298
+ padding: 0.85rem 1rem 0.9rem;
299
+ opacity: 0;
300
+ pointer-events: none;
301
+ transform: translateX(-4px);
302
+
303
+ &[data-placement="right"] {
304
+ width: 14rem;
305
+ }
181
306
 
182
- .archive-item:hover::before,
183
- .archive-item:focus-within::before {
184
- background: var(--archive-accent);
185
- transform: scale(1.08);
307
+ &[data-placement="below"],
308
+ &[data-placement="above"] {
309
+ transform: translateY(-3px);
310
+ border: 1px dashed var(--surface0);
311
+ border-radius: 5px;
312
+ }
313
+
314
+ &.is-open {
315
+ opacity: 1;
316
+ pointer-events: auto;
317
+ transform: translate(0, 0);
318
+ background: var(--mantle);
319
+ transition:
320
+ opacity 140ms ease,
321
+ transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
322
+ }
323
+
324
+ @media (hover: none), (max-width: 720px) {
325
+ display: none !important;
326
+ }
186
327
  }
187
328
 
188
- .archive-item > div {
189
- display: grid;
190
- grid-template-columns: 4.9rem minmax(0, 1fr);
191
- gap: 0.85rem;
329
+ .archive-popup__eyebrow {
330
+ display: flex;
331
+ flex-wrap: wrap;
192
332
  align-items: baseline;
193
- padding: 0.55rem 0.35rem 0.55rem 0;
333
+ margin: 0 0 0.5rem;
334
+ padding-bottom: 0.45rem;
335
+ border-bottom: 0.5px solid color-mix(in oklch, var(--surface1) 65%, transparent);
336
+ color: var(--archive-muted);
337
+ font-family: var(--font-mono);
338
+ font-size: 0.68rem;
339
+ letter-spacing: 0.08em;
340
+ text-transform: uppercase;
341
+ }
342
+
343
+ .archive-popup__index {
344
+ color: color-mix(in oklch, var(--popup-accent) 80%, var(--text));
345
+ font-weight: 600;
194
346
  }
195
347
 
196
- .archive-item + .archive-item {
197
- border-top: 1px solid color-mix(in oklch, var(--archive-line) 52%, transparent);
348
+ .archive-popup__sep {
349
+ margin: 0 0.4em;
350
+ opacity: 0.4;
351
+ }
352
+
353
+ .archive-popup__excerpt {
354
+ margin: 0;
355
+ color: var(--archive-muted);
356
+ font-family: var(--font-serif);
357
+ font-size: 0.88rem;
358
+ line-height: 1.55;
359
+
360
+ & :where(p, ul, ol) {
361
+ margin: 0 0 0.35em;
362
+
363
+ &:last-child {
364
+ margin-bottom: 0;
365
+ }
366
+ }
367
+
368
+ & :where(img, video, iframe, figure, pre) {
369
+ display: none;
370
+ }
198
371
  }
199
372
 
373
+ /* #endregion */
374
+
200
375
  .article-meta {
201
376
  margin: 0;
202
377
  color: var(--archive-muted);
203
378
  font-family: var(--font-mono);
204
379
  font-size: 0.78rem;
380
+ font-variant-numeric: tabular-nums;
205
381
  line-height: 1.4;
206
382
  white-space: nowrap;
383
+
384
+ @media (max-width: 480px) {
385
+ white-space: normal;
386
+ }
207
387
  }
208
388
 
209
389
  a.archive-title {
@@ -220,77 +400,16 @@ a.archive-title {
220
400
  transition:
221
401
  color 140ms ease,
222
402
  text-decoration-color 140ms ease;
223
- }
224
-
225
- a.archive-title:hover,
226
- a.archive-title:focus-visible {
227
- color: var(--archive-accent);
228
- text-decoration-color: currentColor;
229
- }
230
-
231
- a.archive-title:focus-visible {
232
- outline: 2px solid color-mix(in oklch, var(--archive-accent) 70%, transparent);
233
- outline-offset: 3px;
234
- border-radius: 3px;
235
- }
236
-
237
- @media (max-width: 720px) {
238
- .archive-page {
239
- gap: 1.25rem;
240
- }
241
-
242
- .archive-hero {
243
- grid-template-columns: 1fr;
244
- }
245
-
246
- .archive-hero h1 {
247
- font-size: 2.35rem;
248
- }
249
-
250
- .archive-stats {
251
- grid-template-columns: repeat(3, minmax(0, 1fr));
252
- gap: 0.5rem;
253
- }
254
403
 
255
- .archive-stats > div {
256
- display: block;
257
- border-bottom: 0;
258
- border-left: 1px solid color-mix(in oklch, var(--archive-line) 72%, transparent);
259
- padding: 0 0 0 0.6rem;
404
+ &:hover,
405
+ &:focus-visible {
406
+ color: var(--archive-accent);
407
+ text-decoration-color: currentColor;
260
408
  }
261
- }
262
-
263
- @media (max-width: 480px) {
264
- .archive-page {
265
- padding: 1rem 0.875rem 0;
266
- }
267
-
268
- .archive-hero h1 {
269
- font-size: 2rem;
270
- }
271
-
272
- .archive-group__header {
273
- display: grid;
274
- }
275
-
276
- .archive-group__count {
277
- justify-self: start;
278
- }
279
-
280
- .archive-item > div {
281
- grid-template-columns: 1fr;
282
- gap: 0.1rem;
283
- padding: 0.7rem 0.5rem 0.7rem 0;
284
- }
285
-
286
- .article-meta {
287
- white-space: normal;
288
- }
289
- }
290
409
 
291
- @media (prefers-reduced-motion: reduce) {
292
- .archive-item::before,
293
- a.archive-title {
294
- transition: none;
410
+ &:focus-visible {
411
+ outline: 2px solid color-mix(in oklch, var(--archive-accent) 70%, transparent);
412
+ outline-offset: 3px;
413
+ border-radius: 3px;
295
414
  }
296
415
  }
@@ -1,14 +1,13 @@
1
1
  .callout {
2
2
  --callout-color: var(--blue);
3
- --callout-icon: lucide-pencil;
4
3
  --callout-collapse-icon: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiIgZD0ibTkgMThsNi02bC02LTYiLz48L3N2Zz4=);
5
- background-color: hsl(from var(--callout-color) h s l / 0.2);
4
+ background-color: hsl(from var(--callout-color) h s l / 0.15);
6
5
  border-color: hsl(from var(--callout-color) h s l / 0.5);
7
6
  border-radius: 8px;
8
7
  border-style: solid;
9
8
  border-width: 1.5px;
10
9
  margin: 1.5em 0 !important;
11
- padding: 10px 12px 10px 15px;
10
+ padding: 10px 15px;
12
11
 
13
12
  svg {
14
13
  color: var(--callout-color);
@@ -18,19 +17,44 @@
18
17
  .callout-title {
19
18
  align-items: center;
20
19
  color: var(--callout-color);
21
- cursor: pointer;
22
20
  display: flex;
23
21
  font-size: inherit;
24
22
  font-weight: bold;
25
23
  gap: 7px;
26
24
  line-height: 1.3;
27
25
  padding: 0;
26
+ list-style: none;
27
+ }
28
+
29
+ .callout-title::-webkit-details-marker,
30
+ .callout-title::marker {
31
+ display: none;
32
+ }
33
+
34
+ details.callout > .callout-title {
35
+ cursor: pointer;
36
+ user-select: none;
37
+ }
38
+
39
+ details.callout > .callout-title:hover {
40
+ color: hsl(from var(--callout-color) h s calc(l + 5));
28
41
  }
29
42
 
30
- .callout-icon {
43
+ .callout-icon,
44
+ .callout-title-icon {
31
45
  flex: 0 0 auto;
32
46
  display: flex;
33
47
  align-items: center;
48
+
49
+ svg {
50
+ width: 1.1em;
51
+ height: 1.1em;
52
+ }
53
+ }
54
+
55
+ .callout-title-inner {
56
+ flex: 1 1 auto;
57
+ min-width: 0;
34
58
  }
35
59
 
36
60
  .callout-fold {
@@ -39,47 +63,48 @@
39
63
  mask-size: 100%;
40
64
  -webkit-mask-image: var(--callout-collapse-icon);
41
65
  -webkit-mask-size: 100%;
42
- height: 20px;
43
- width: 20px;
44
- transition: 0.1s ease-in-out;
66
+ height: 1em;
67
+ width: 1em;
68
+ flex: 0 0 auto;
69
+ transition: transform 0.15s ease-in-out;
70
+ }
71
+
72
+ details[open].callout > .callout-title > .callout-fold {
73
+ transform: rotate(90deg);
45
74
  }
46
75
 
47
76
  .callout-content {
48
77
  padding: 0;
49
78
  }
50
79
 
51
- details[close].callout > .callout-title > .callout-fold {
52
- transform: rotate(-90deg);
80
+ .callout-content > :first-child {
81
+ margin-top: 0.5em;
53
82
  }
54
83
 
55
- details[open].callout > .callout-title > .callout-fold {
56
- transform: rotate(90deg);
84
+ .callout-content > :last-child {
85
+ margin-bottom: 0;
57
86
  }
58
87
 
59
88
  .callout[data-callout="info"],
60
89
  .callout[data-callout="todo"] {
61
- --callout-icon: lucide-check-circle-2;
62
90
  --callout-color: var(--sapphire);
63
91
  }
64
92
 
65
93
  .callout[data-callout="success"],
66
94
  .callout[data-callout="check"],
67
95
  .callout[data-callout="done"] {
68
- --callout-icon: lucide-check;
69
96
  --callout-color: var(--green);
70
97
  }
71
98
 
72
99
  .callout[data-callout="warning"],
73
100
  .callout[data-callout="caution"],
74
101
  .callout[data-callout="attention"] {
75
- --callout-icon: lucide-alert-triangle;
76
102
  --callout-color: var(--peach);
77
103
  }
78
104
 
79
105
  .callout[data-callout="question"],
80
106
  .callout[data-callout="help"],
81
107
  .callout[data-callout="faq"] {
82
- --callout-icon: lucide-alert-mark;
83
108
  --callout-color: var(--yellow);
84
109
  }
85
110
 
@@ -89,31 +114,26 @@ details[open].callout > .callout-title > .callout-fold {
89
114
  .callout[data-callout="failure"],
90
115
  .callout[data-callout="fail"],
91
116
  .callout[data-callout="missing"] {
92
- --callout-icon: lucide-zap;
93
117
  --callout-color: var(--red);
94
118
  }
95
119
 
96
120
  .callout[data-callout="tip"],
97
121
  .callout[data-callout="hint"],
98
122
  .callout[data-callout="important"] {
99
- --callout-icon: lucide-flame;
100
123
  --callout-color: var(--pink);
101
124
  }
102
125
 
103
126
  .callout[data-callout="example"] {
104
- --callout-icon: lucide-list;
105
127
  --callout-color: var(--mauve);
106
128
  }
107
129
 
108
130
  .callout[data-callout="abstract"],
109
131
  .callout[data-callout="summary"],
110
132
  .callout[data-callout="tldr"] {
111
- --callout-icon: lucide-clipboard-list;
112
133
  --callout-color: var(--teal);
113
134
  }
114
135
 
115
136
  .callout[data-callout="quote"],
116
137
  .callout[data-callout="cite"] {
117
- --callout-icon: quote-glyph;
118
138
  --callout-color: var(--lavender);
119
139
  }