@imjp/writenex-astro 0.1.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 (141) hide show
  1. package/README.md +539 -0
  2. package/dist/chunk-5PM6EQE5.js +151 -0
  3. package/dist/chunk-5PM6EQE5.js.map +1 -0
  4. package/dist/chunk-7XU5X6CW.js +1331 -0
  5. package/dist/chunk-7XU5X6CW.js.map +1 -0
  6. package/dist/chunk-AAOQHQPU.js +574 -0
  7. package/dist/chunk-AAOQHQPU.js.map +1 -0
  8. package/dist/chunk-CF2XXJFF.js +1410 -0
  9. package/dist/chunk-CF2XXJFF.js.map +1 -0
  10. package/dist/chunk-CRPZUUDU.js +52 -0
  11. package/dist/chunk-CRPZUUDU.js.map +1 -0
  12. package/dist/chunk-CYLDJ3HZ.js +310 -0
  13. package/dist/chunk-CYLDJ3HZ.js.map +1 -0
  14. package/dist/chunk-KIKIPIFA.js +1 -0
  15. package/dist/chunk-KIKIPIFA.js.map +1 -0
  16. package/dist/chunk-XNTQTTJU.js +145 -0
  17. package/dist/chunk-XNTQTTJU.js.map +1 -0
  18. package/dist/client/index.css +2 -0
  19. package/dist/client/index.css.map +1 -0
  20. package/dist/client/index.js +375 -0
  21. package/dist/client/index.js.map +1 -0
  22. package/dist/client/styles.css +584 -0
  23. package/dist/client/variables.css +304 -0
  24. package/dist/config/index.d.ts +54 -0
  25. package/dist/config/index.js +38 -0
  26. package/dist/config/index.js.map +1 -0
  27. package/dist/config-BmEdBDo_.d.ts +220 -0
  28. package/dist/content-BWR52vD-.d.ts +64 -0
  29. package/dist/discovery/index.d.ts +310 -0
  30. package/dist/discovery/index.js +38 -0
  31. package/dist/discovery/index.js.map +1 -0
  32. package/dist/errors-C0iYiDTv.d.ts +107 -0
  33. package/dist/filesystem/index.d.ts +1292 -0
  34. package/dist/filesystem/index.js +203 -0
  35. package/dist/filesystem/index.js.map +1 -0
  36. package/dist/image-FP7w5ZIs.d.ts +47 -0
  37. package/dist/index.d.ts +64 -0
  38. package/dist/index.js +151 -0
  39. package/dist/index.js.map +1 -0
  40. package/dist/loader-55LWCXHA.js +12 -0
  41. package/dist/loader-55LWCXHA.js.map +1 -0
  42. package/dist/loader-CrdnaAWR.d.ts +327 -0
  43. package/dist/server/index.d.ts +357 -0
  44. package/dist/server/index.js +37 -0
  45. package/dist/server/index.js.map +1 -0
  46. package/package.json +94 -0
  47. package/src/client/App.tsx +900 -0
  48. package/src/client/components/ConfigPanel/ConfigPanel.css +553 -0
  49. package/src/client/components/ConfigPanel/ConfigPanel.tsx +396 -0
  50. package/src/client/components/ConfigPanel/index.ts +6 -0
  51. package/src/client/components/CreateContentModal/CreateContentModal.css +327 -0
  52. package/src/client/components/CreateContentModal/CreateContentModal.tsx +216 -0
  53. package/src/client/components/CreateContentModal/index.ts +7 -0
  54. package/src/client/components/Editor/Editor.css +885 -0
  55. package/src/client/components/Editor/Editor.tsx +484 -0
  56. package/src/client/components/Editor/ImageDialog.css +344 -0
  57. package/src/client/components/Editor/ImageDialog.tsx +367 -0
  58. package/src/client/components/Editor/LinkDialog.css +326 -0
  59. package/src/client/components/Editor/LinkDialog.tsx +332 -0
  60. package/src/client/components/Editor/index.ts +6 -0
  61. package/src/client/components/FrontmatterForm/FrontmatterForm.css +468 -0
  62. package/src/client/components/FrontmatterForm/FrontmatterForm.tsx +914 -0
  63. package/src/client/components/FrontmatterForm/index.ts +7 -0
  64. package/src/client/components/Header/Header.css +300 -0
  65. package/src/client/components/Header/Header.tsx +300 -0
  66. package/src/client/components/Header/index.ts +7 -0
  67. package/src/client/components/KeyboardShortcuts/KeyboardShortcuts.css +239 -0
  68. package/src/client/components/KeyboardShortcuts/KeyboardShortcuts.tsx +151 -0
  69. package/src/client/components/KeyboardShortcuts/index.ts +6 -0
  70. package/src/client/components/LazyEditor.tsx +75 -0
  71. package/src/client/components/LiveRegion/LiveRegion.css +19 -0
  72. package/src/client/components/LiveRegion/LiveRegion.tsx +60 -0
  73. package/src/client/components/LiveRegion/index.ts +7 -0
  74. package/src/client/components/SearchReplace/SearchReplacePanel.css +300 -0
  75. package/src/client/components/SearchReplace/SearchReplacePanel.tsx +332 -0
  76. package/src/client/components/SearchReplace/index.ts +7 -0
  77. package/src/client/components/SelectCollectionModal/SelectCollectionModal.css +308 -0
  78. package/src/client/components/SelectCollectionModal/SelectCollectionModal.tsx +223 -0
  79. package/src/client/components/SelectCollectionModal/index.ts +7 -0
  80. package/src/client/components/Sidebar/Sidebar.css +570 -0
  81. package/src/client/components/Sidebar/Sidebar.tsx +617 -0
  82. package/src/client/components/Sidebar/index.ts +7 -0
  83. package/src/client/components/SkipLink/SkipLink.css +51 -0
  84. package/src/client/components/SkipLink/SkipLink.tsx +67 -0
  85. package/src/client/components/SkipLink/index.ts +7 -0
  86. package/src/client/components/UnsavedChangesModal/UnsavedChangesModal.css +233 -0
  87. package/src/client/components/UnsavedChangesModal/UnsavedChangesModal.tsx +160 -0
  88. package/src/client/components/UnsavedChangesModal/index.ts +1 -0
  89. package/src/client/components/VersionHistory/DiffViewer.css +430 -0
  90. package/src/client/components/VersionHistory/DiffViewer.tsx +383 -0
  91. package/src/client/components/VersionHistory/VersionActions.css +318 -0
  92. package/src/client/components/VersionHistory/VersionActions.tsx +277 -0
  93. package/src/client/components/VersionHistory/VersionHistoryPanel.css +369 -0
  94. package/src/client/components/VersionHistory/VersionHistoryPanel.tsx +469 -0
  95. package/src/client/components/VersionHistory/index.ts +9 -0
  96. package/src/client/context/ApiContext.tsx +154 -0
  97. package/src/client/context/ThemeContext.tsx +172 -0
  98. package/src/client/hooks/useAnnounce.ts +201 -0
  99. package/src/client/hooks/useApi.ts +374 -0
  100. package/src/client/hooks/useArrowNavigation.ts +286 -0
  101. package/src/client/hooks/useAutosave.ts +241 -0
  102. package/src/client/hooks/useFocusTrap.ts +178 -0
  103. package/src/client/hooks/useKeyboardShortcuts.ts +203 -0
  104. package/src/client/hooks/useSearch.ts +206 -0
  105. package/src/client/hooks/useVersionHistory.ts +451 -0
  106. package/src/client/index.tsx +70 -0
  107. package/src/client/styles.css +584 -0
  108. package/src/client/utils/focus.ts +57 -0
  109. package/src/client/utils/openInEditor.ts +130 -0
  110. package/src/client/variables.css +304 -0
  111. package/src/config/defaults.ts +109 -0
  112. package/src/config/index.ts +32 -0
  113. package/src/config/loader.ts +174 -0
  114. package/src/config/schema.ts +161 -0
  115. package/src/core/constants.ts +39 -0
  116. package/src/core/errors.ts +739 -0
  117. package/src/core/index.ts +11 -0
  118. package/src/discovery/collections.ts +216 -0
  119. package/src/discovery/index.ts +33 -0
  120. package/src/discovery/patterns.ts +702 -0
  121. package/src/discovery/schema.ts +453 -0
  122. package/src/filesystem/images.ts +798 -0
  123. package/src/filesystem/index.ts +107 -0
  124. package/src/filesystem/reader.ts +452 -0
  125. package/src/filesystem/version-config.ts +390 -0
  126. package/src/filesystem/versions.ts +1339 -0
  127. package/src/filesystem/watcher.ts +226 -0
  128. package/src/filesystem/writer.ts +540 -0
  129. package/src/index.ts +61 -0
  130. package/src/integration.ts +228 -0
  131. package/src/server/assets.ts +254 -0
  132. package/src/server/cache.ts +355 -0
  133. package/src/server/index.ts +33 -0
  134. package/src/server/middleware.ts +209 -0
  135. package/src/server/routes.ts +1428 -0
  136. package/src/types/api.ts +61 -0
  137. package/src/types/config.ts +134 -0
  138. package/src/types/content.ts +64 -0
  139. package/src/types/image.ts +48 -0
  140. package/src/types/index.ts +58 -0
  141. package/src/types/version.ts +117 -0
@@ -0,0 +1,468 @@
1
+ /* FrontmatterForm Panel */
2
+ .wn-frontmatter-panel {
3
+ display: flex;
4
+ flex-direction: column;
5
+ flex-shrink: 0;
6
+ border-left: 1px solid var(--wn-overlay-10);
7
+ background-color: var(--wn-zinc-900);
8
+ overflow: hidden;
9
+ transition: width var(--wn-transition-slow) ease-in-out;
10
+ }
11
+
12
+ .wn-frontmatter-panel--open {
13
+ width: var(--wn-panel-md);
14
+ }
15
+
16
+ .wn-frontmatter-panel--closed {
17
+ width: 0;
18
+ border-left: none;
19
+ }
20
+
21
+ .wn-frontmatter-panel-inner {
22
+ display: flex;
23
+ flex-direction: column;
24
+ width: var(--wn-panel-md);
25
+ height: 100%;
26
+ }
27
+
28
+ /* Panel Header */
29
+ .wn-frontmatter-header {
30
+ display: flex;
31
+ align-items: center;
32
+ justify-content: space-between;
33
+ padding: var(--wn-space-3) var(--wn-space-4);
34
+ border-bottom: 1px solid var(--wn-overlay-10);
35
+ }
36
+
37
+ .wn-frontmatter-title {
38
+ display: flex;
39
+ align-items: center;
40
+ gap: var(--wn-space-3);
41
+ font-size: var(--wn-font-base);
42
+ font-weight: 600;
43
+ color: var(--wn-zinc-50);
44
+ }
45
+
46
+ .wn-frontmatter-badge {
47
+ font-size: var(--wn-font-xs);
48
+ font-weight: 500;
49
+ padding: var(--wn-space-1) var(--wn-space-2);
50
+ border-radius: var(--wn-radius-sm);
51
+ background-color: var(--wn-overlay-10);
52
+ color: var(--wn-zinc-500);
53
+ }
54
+
55
+ .wn-frontmatter-close {
56
+ display: flex;
57
+ align-items: center;
58
+ justify-content: center;
59
+ width: var(--wn-icon-btn-md);
60
+ height: var(--wn-icon-btn-md);
61
+ border-radius: var(--wn-radius-md);
62
+ border: none;
63
+ background: transparent;
64
+ color: var(--wn-zinc-500);
65
+ cursor: pointer;
66
+ transition: all var(--wn-transition-fast) ease;
67
+ }
68
+
69
+ .wn-frontmatter-close:hover {
70
+ background: var(--wn-overlay-10);
71
+ color: #fff;
72
+ }
73
+
74
+ /* Panel Content */
75
+ .wn-frontmatter-content {
76
+ flex: 1;
77
+ overflow-y: auto;
78
+ padding: var(--wn-space-4);
79
+ /* Scroll indicator - fade effect at bottom when scrollable */
80
+ mask-image: linear-gradient(
81
+ to bottom,
82
+ black calc(100% - var(--wn-space-7)),
83
+ transparent 100%
84
+ );
85
+ -webkit-mask-image: linear-gradient(
86
+ to bottom,
87
+ black calc(100% - var(--wn-space-7)),
88
+ transparent 100%
89
+ );
90
+ }
91
+
92
+ /* Remove mask when scrolled to bottom or content fits */
93
+ .wn-frontmatter-content:not(:has(.wn-frontmatter-fields)) {
94
+ mask-image: none;
95
+ -webkit-mask-image: none;
96
+ }
97
+
98
+ /* Empty State */
99
+ .wn-frontmatter-empty {
100
+ display: flex;
101
+ flex-direction: column;
102
+ align-items: center;
103
+ justify-content: center;
104
+ height: 100%;
105
+ padding: var(--wn-space-7);
106
+ text-align: center;
107
+ }
108
+
109
+ .wn-frontmatter-empty-icon {
110
+ margin-bottom: var(--wn-space-4);
111
+ opacity: 0.3;
112
+ color: var(--wn-zinc-500);
113
+ }
114
+
115
+ .wn-frontmatter-empty-text {
116
+ font-size: var(--wn-font-base);
117
+ font-weight: 500;
118
+ color: var(--wn-zinc-500);
119
+ margin-bottom: var(--wn-space-1);
120
+ }
121
+
122
+ .wn-frontmatter-empty-hint {
123
+ font-size: var(--wn-font-xs);
124
+ color: var(--wn-zinc-600);
125
+ }
126
+
127
+ /* Form Fields */
128
+ .wn-frontmatter-fields {
129
+ display: flex;
130
+ flex-direction: column;
131
+ gap: var(--wn-space-4);
132
+ }
133
+
134
+ .wn-frontmatter-field {
135
+ display: flex;
136
+ flex-direction: column;
137
+ gap: var(--wn-space-1);
138
+ }
139
+
140
+ .wn-frontmatter-field--full {
141
+ grid-column: span 2;
142
+ }
143
+
144
+ .wn-frontmatter-field--row {
145
+ display: grid;
146
+ grid-template-columns: 1fr 1fr;
147
+ gap: var(--wn-space-4);
148
+ }
149
+
150
+ .wn-frontmatter-label {
151
+ font-size: var(--wn-font-xs);
152
+ font-weight: 600;
153
+ color: var(--wn-zinc-500);
154
+ }
155
+
156
+ .wn-frontmatter-required {
157
+ color: var(--wn-error-500);
158
+ margin-left: var(--wn-space-1);
159
+ }
160
+
161
+ .wn-frontmatter-input,
162
+ .wn-frontmatter-textarea,
163
+ .wn-frontmatter-select {
164
+ padding: var(--wn-space-3);
165
+ background: var(--wn-zinc-950);
166
+ border: 1px solid var(--wn-overlay-10);
167
+ border-radius: var(--wn-radius-md);
168
+ color: var(--wn-zinc-50);
169
+ font-size: var(--wn-font-sm);
170
+ font-family: inherit;
171
+ transition: border-color var(--wn-transition-fast) ease;
172
+ }
173
+
174
+ .wn-frontmatter-input:focus,
175
+ .wn-frontmatter-textarea:focus,
176
+ .wn-frontmatter-select:focus {
177
+ outline: none;
178
+ border-color: var(--wn-brand-500);
179
+ }
180
+
181
+ .wn-frontmatter-input:disabled,
182
+ .wn-frontmatter-textarea:disabled,
183
+ .wn-frontmatter-select:disabled {
184
+ opacity: 0.5;
185
+ cursor: not-allowed;
186
+ }
187
+
188
+ .wn-frontmatter-input::placeholder,
189
+ .wn-frontmatter-textarea::placeholder {
190
+ color: var(--wn-zinc-600);
191
+ }
192
+
193
+ /* Date input calendar icon - invert for dark mode visibility */
194
+ .wn-frontmatter-input[type="date"]::-webkit-calendar-picker-indicator {
195
+ filter: invert(1);
196
+ opacity: 0.5;
197
+ cursor: pointer;
198
+ }
199
+
200
+ .wn-frontmatter-input[type="date"]::-webkit-calendar-picker-indicator:hover {
201
+ opacity: 0.8;
202
+ }
203
+
204
+ .wn-frontmatter-textarea {
205
+ resize: vertical;
206
+ min-height: 72px;
207
+ max-height: 200px;
208
+ field-sizing: content; /* Auto-expand based on content (modern browsers) */
209
+ }
210
+
211
+ .wn-frontmatter-select {
212
+ cursor: pointer;
213
+ appearance: none;
214
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
215
+ background-size: 16px;
216
+ background-position: right var(--wn-space-3) center;
217
+ background-repeat: no-repeat;
218
+ padding-right: var(--wn-space-8);
219
+ }
220
+
221
+ .wn-frontmatter-hint {
222
+ font-size: var(--wn-font-xs);
223
+ color: var(--wn-zinc-600);
224
+ }
225
+
226
+ /* Checkbox Field */
227
+ .wn-frontmatter-checkbox-field {
228
+ display: flex;
229
+ align-items: center;
230
+ gap: var(--wn-space-3);
231
+ padding: var(--wn-space-3) 0;
232
+ }
233
+
234
+ .wn-frontmatter-checkbox {
235
+ width: 16px;
236
+ height: 16px;
237
+ accent-color: var(--wn-brand-500);
238
+ cursor: pointer;
239
+ }
240
+
241
+ .wn-frontmatter-checkbox-label {
242
+ display: flex;
243
+ align-items: center;
244
+ gap: var(--wn-space-3);
245
+ font-size: var(--wn-font-sm);
246
+ color: var(--wn-zinc-50);
247
+ cursor: pointer;
248
+ }
249
+
250
+ .wn-frontmatter-checkbox-hint {
251
+ margin-left: auto;
252
+ font-size: var(--wn-font-xs);
253
+ color: var(--wn-zinc-600);
254
+ }
255
+
256
+ /* Tags / Array Field */
257
+ .wn-frontmatter-tags {
258
+ display: flex;
259
+ flex-wrap: wrap;
260
+ gap: var(--wn-space-2);
261
+ margin-bottom: var(--wn-space-3);
262
+ }
263
+
264
+ .wn-frontmatter-tag {
265
+ display: inline-flex;
266
+ align-items: center;
267
+ gap: var(--wn-space-1);
268
+ padding: var(--wn-space-1) var(--wn-space-3);
269
+ background: var(--wn-brand-alpha-10);
270
+ border-radius: var(--wn-radius-sm);
271
+ font-size: var(--wn-font-xs);
272
+ color: var(--wn-brand-400);
273
+ }
274
+
275
+ .wn-frontmatter-tag-remove {
276
+ display: flex;
277
+ align-items: center;
278
+ justify-content: center;
279
+ width: 14px;
280
+ height: 14px;
281
+ border-radius: var(--wn-radius-full);
282
+ border: none;
283
+ background: transparent;
284
+ color: var(--wn-zinc-500);
285
+ cursor: pointer;
286
+ transition: all var(--wn-transition-fast) ease;
287
+ }
288
+
289
+ .wn-frontmatter-tag-remove:hover {
290
+ background: var(--wn-error-alpha-20);
291
+ color: var(--wn-error-400);
292
+ }
293
+
294
+ /* Image Field */
295
+ .wn-frontmatter-image-field {
296
+ display: flex;
297
+ gap: var(--wn-space-3);
298
+ }
299
+
300
+ .wn-frontmatter-image-field .wn-frontmatter-input {
301
+ flex: 1;
302
+ }
303
+
304
+ .wn-frontmatter-image-preview {
305
+ position: relative;
306
+ width: 100%;
307
+ border-radius: var(--wn-radius-md);
308
+ overflow: hidden;
309
+ background: var(--wn-zinc-950);
310
+ border: 1px solid var(--wn-overlay-10);
311
+ margin-bottom: var(--wn-space-3);
312
+ }
313
+
314
+ .wn-frontmatter-image-preview img {
315
+ width: 100%;
316
+ height: auto;
317
+ max-height: 200px;
318
+ object-fit: contain;
319
+ display: block;
320
+ }
321
+
322
+ .wn-frontmatter-upload-btn {
323
+ padding: var(--wn-space-3) var(--wn-space-4);
324
+ background: transparent;
325
+ border: 1px solid var(--wn-overlay-10);
326
+ border-radius: var(--wn-radius-md);
327
+ color: var(--wn-zinc-400);
328
+ font-size: var(--wn-font-xs);
329
+ cursor: pointer;
330
+ transition: all var(--wn-transition-fast) ease;
331
+ }
332
+
333
+ .wn-frontmatter-upload-btn:hover {
334
+ background: var(--wn-overlay-5);
335
+ color: var(--wn-zinc-50);
336
+ }
337
+
338
+ .wn-frontmatter-upload-btn:disabled {
339
+ opacity: 0.5;
340
+ cursor: not-allowed;
341
+ }
342
+
343
+ /* Section Divider */
344
+ .wn-frontmatter-divider {
345
+ height: 1px;
346
+ background: var(--wn-overlay-10);
347
+ margin: var(--wn-space-1) 0;
348
+ }
349
+
350
+ /* ============================================================================
351
+ LIGHT MODE OVERRIDES
352
+ ============================================================================ */
353
+
354
+ .wn-light .wn-frontmatter-panel {
355
+ border-left-color: var(--wn-overlay-light-10);
356
+ background-color: #fff;
357
+ }
358
+
359
+ .wn-light .wn-frontmatter-header {
360
+ border-bottom-color: var(--wn-overlay-light-10);
361
+ }
362
+
363
+ .wn-light .wn-frontmatter-title {
364
+ color: var(--wn-zinc-900);
365
+ }
366
+
367
+ .wn-light .wn-frontmatter-badge {
368
+ background-color: var(--wn-overlay-light-5);
369
+ color: var(--wn-zinc-500);
370
+ }
371
+
372
+ .wn-light .wn-frontmatter-close {
373
+ color: var(--wn-zinc-500);
374
+ }
375
+
376
+ .wn-light .wn-frontmatter-close:hover {
377
+ background: var(--wn-overlay-light-5);
378
+ color: var(--wn-zinc-900);
379
+ }
380
+
381
+ .wn-light .wn-frontmatter-empty-icon {
382
+ color: var(--wn-zinc-400);
383
+ }
384
+
385
+ .wn-light .wn-frontmatter-empty-text {
386
+ color: var(--wn-zinc-500);
387
+ }
388
+
389
+ .wn-light .wn-frontmatter-empty-hint {
390
+ color: var(--wn-zinc-400);
391
+ }
392
+
393
+ .wn-light .wn-frontmatter-label {
394
+ color: var(--wn-zinc-600);
395
+ }
396
+
397
+ .wn-light .wn-frontmatter-input,
398
+ .wn-light .wn-frontmatter-textarea,
399
+ .wn-light .wn-frontmatter-select {
400
+ background: var(--wn-zinc-50);
401
+ border-color: var(--wn-overlay-light-10);
402
+ color: var(--wn-zinc-900);
403
+ }
404
+
405
+ .wn-light .wn-frontmatter-input::placeholder,
406
+ .wn-light .wn-frontmatter-textarea::placeholder {
407
+ color: var(--wn-zinc-400);
408
+ }
409
+
410
+ /* Date input calendar icon - no invert for light mode */
411
+ .wn-light
412
+ .wn-frontmatter-input[type="date"]::-webkit-calendar-picker-indicator {
413
+ filter: none;
414
+ opacity: 0.6;
415
+ }
416
+
417
+ .wn-light
418
+ .wn-frontmatter-input[type="date"]::-webkit-calendar-picker-indicator:hover {
419
+ opacity: 1;
420
+ }
421
+
422
+ .wn-light .wn-frontmatter-select {
423
+ background-color: var(--wn-zinc-50);
424
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2352525b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
425
+ background-size: 16px;
426
+ background-position: right var(--wn-space-3) center;
427
+ background-repeat: no-repeat;
428
+ }
429
+
430
+ .wn-light .wn-frontmatter-hint {
431
+ color: var(--wn-zinc-400);
432
+ }
433
+
434
+ .wn-light .wn-frontmatter-checkbox-label {
435
+ color: var(--wn-zinc-900);
436
+ }
437
+
438
+ .wn-light .wn-frontmatter-checkbox-hint {
439
+ color: var(--wn-zinc-400);
440
+ }
441
+
442
+ .wn-light .wn-frontmatter-tag {
443
+ background: var(--wn-brand-alpha-10);
444
+ color: var(--wn-brand-600);
445
+ }
446
+
447
+ .wn-light .wn-frontmatter-tag-remove {
448
+ color: var(--wn-zinc-500);
449
+ }
450
+
451
+ .wn-light .wn-frontmatter-image-preview {
452
+ background: var(--wn-zinc-50);
453
+ border-color: var(--wn-overlay-light-10);
454
+ }
455
+
456
+ .wn-light .wn-frontmatter-upload-btn {
457
+ border-color: var(--wn-overlay-light-10);
458
+ color: var(--wn-zinc-600);
459
+ }
460
+
461
+ .wn-light .wn-frontmatter-upload-btn:hover {
462
+ background: var(--wn-overlay-light-5);
463
+ color: var(--wn-zinc-900);
464
+ }
465
+
466
+ .wn-light .wn-frontmatter-divider {
467
+ background: var(--wn-overlay-light-10);
468
+ }