@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,570 @@
1
+ /* Sidebar Panel */
2
+ .wn-sidebar {
3
+ display: flex;
4
+ flex-direction: column;
5
+ flex-shrink: 0;
6
+ border-right: 1px solid var(--wn-overlay-10);
7
+ background-color: var(--wn-zinc-900);
8
+ overflow: hidden;
9
+ transition: width 0.3s ease-in-out;
10
+ }
11
+
12
+ .wn-sidebar--open {
13
+ width: var(--wn-panel-sm);
14
+ }
15
+
16
+ .wn-sidebar--closed {
17
+ width: 0;
18
+ }
19
+
20
+ .wn-sidebar-inner {
21
+ display: flex;
22
+ flex-direction: column;
23
+ width: var(--wn-panel-sm);
24
+ height: 100%;
25
+ }
26
+
27
+ /* Sidebar Header */
28
+ .wn-sidebar-header {
29
+ display: flex;
30
+ align-items: center;
31
+ justify-content: space-between;
32
+ padding: var(--wn-space-3) var(--wn-space-4);
33
+ border-bottom: 1px solid var(--wn-overlay-10);
34
+ }
35
+
36
+ .wn-sidebar-title {
37
+ display: flex;
38
+ align-items: center;
39
+ gap: var(--wn-space-3);
40
+ font-size: var(--wn-font-base);
41
+ font-weight: 600;
42
+ color: var(--wn-zinc-50);
43
+ }
44
+
45
+ .wn-sidebar-close {
46
+ display: flex;
47
+ align-items: center;
48
+ justify-content: center;
49
+ width: var(--wn-icon-btn-md);
50
+ height: var(--wn-icon-btn-md);
51
+ border-radius: var(--wn-radius-md);
52
+ border: none;
53
+ background: transparent;
54
+ color: rgba(255, 255, 255, 0.5);
55
+ cursor: pointer;
56
+ transition: all 0.15s ease;
57
+ }
58
+
59
+ .wn-sidebar-close:hover {
60
+ background: var(--wn-overlay-10);
61
+ color: #fff;
62
+ }
63
+
64
+ /* Collections Section */
65
+ .wn-sidebar-section {
66
+ padding: var(--wn-space-4);
67
+ border-bottom: 1px solid var(--wn-overlay-10);
68
+ }
69
+
70
+ .wn-sidebar-section-header {
71
+ display: flex;
72
+ align-items: center;
73
+ justify-content: space-between;
74
+ margin-bottom: var(--wn-space-3);
75
+ }
76
+
77
+ .wn-sidebar-section-title {
78
+ font-size: var(--wn-font-xs);
79
+ font-weight: 600;
80
+ text-transform: uppercase;
81
+ letter-spacing: 0.05em;
82
+ color: rgba(255, 255, 255, 0.5);
83
+ }
84
+
85
+ .wn-sidebar-section-actions {
86
+ display: flex;
87
+ gap: var(--wn-space-1);
88
+ }
89
+
90
+ /* Collection List */
91
+ .wn-collection-list {
92
+ list-style: none;
93
+ margin: 0;
94
+ padding: 0;
95
+ display: flex;
96
+ flex-direction: column;
97
+ gap: var(--wn-space-1);
98
+ }
99
+
100
+ .wn-collection-item {
101
+ display: flex;
102
+ align-items: center;
103
+ gap: var(--wn-space-3);
104
+ width: 100%;
105
+ padding: var(--wn-space-3) var(--wn-space-4);
106
+ border-radius: var(--wn-radius-md);
107
+ border: none;
108
+ background: transparent;
109
+ color: rgba(255, 255, 255, 0.6);
110
+ font-size: var(--wn-font-sm);
111
+ text-align: left;
112
+ cursor: pointer;
113
+ transition: all var(--wn-transition-fast) ease;
114
+ }
115
+
116
+ .wn-collection-item:hover {
117
+ background: var(--wn-overlay-5);
118
+ color: var(--wn-zinc-50);
119
+ }
120
+
121
+ .wn-collection-item--selected {
122
+ background: var(--wn-brand-alpha-10);
123
+ color: var(--wn-brand-400);
124
+ }
125
+
126
+ .wn-collection-item-name {
127
+ flex: 1;
128
+ overflow: hidden;
129
+ text-overflow: ellipsis;
130
+ white-space: nowrap;
131
+ }
132
+
133
+ .wn-collection-item-count {
134
+ font-size: var(--wn-font-xs);
135
+ color: rgba(255, 255, 255, 0.3);
136
+ }
137
+
138
+ /* Content Section */
139
+ .wn-sidebar-content {
140
+ display: flex;
141
+ flex-direction: column;
142
+ flex: 1;
143
+ overflow: hidden;
144
+ }
145
+
146
+ /* Content Section Header - for inline style replacement */
147
+ .wn-sidebar-content-header {
148
+ padding: var(--wn-space-3) var(--wn-space-4);
149
+ border-bottom: 1px solid var(--wn-overlay-10);
150
+ }
151
+
152
+ /* Search and Filter */
153
+ .wn-sidebar-search {
154
+ display: flex;
155
+ flex-direction: column;
156
+ gap: var(--wn-space-3);
157
+ padding: var(--wn-space-4);
158
+ border-bottom: 1px solid var(--wn-overlay-10);
159
+ }
160
+
161
+ .wn-search-input-wrapper {
162
+ display: flex;
163
+ align-items: center;
164
+ gap: var(--wn-space-3);
165
+ padding: var(--wn-space-2) var(--wn-space-3);
166
+ border-radius: var(--wn-radius-md);
167
+ border: 1px solid var(--wn-overlay-10);
168
+ transition: border-color var(--wn-transition-fast) ease;
169
+ }
170
+
171
+ .wn-search-input-wrapper:focus-within {
172
+ border-color: var(--wn-brand-500);
173
+ }
174
+
175
+ .wn-search-input {
176
+ flex: 1;
177
+ background: transparent;
178
+ border: none;
179
+ outline: none;
180
+ font-size: var(--wn-font-xs);
181
+ color: var(--wn-zinc-50);
182
+ }
183
+
184
+ .wn-search-input::placeholder {
185
+ color: rgba(255, 255, 255, 0.3);
186
+ }
187
+
188
+ .wn-search-clear {
189
+ display: flex;
190
+ align-items: center;
191
+ justify-content: center;
192
+ padding: 0;
193
+ border: none;
194
+ background: transparent;
195
+ color: rgba(255, 255, 255, 0.3);
196
+ cursor: pointer;
197
+ transition: color 0.15s ease;
198
+ }
199
+
200
+ .wn-search-clear:hover {
201
+ color: var(--wn-zinc-50);
202
+ }
203
+
204
+ /* Filter Tabs */
205
+ .wn-filter-tabs {
206
+ display: flex;
207
+ gap: var(--wn-space-1);
208
+ }
209
+
210
+ .wn-filter-tab {
211
+ flex: 1;
212
+ display: flex;
213
+ align-items: center;
214
+ justify-content: center;
215
+ gap: var(--wn-space-1);
216
+ padding: var(--wn-space-2) var(--wn-space-3);
217
+ border-radius: var(--wn-radius-sm);
218
+ border: none;
219
+ background: transparent;
220
+ font-size: var(--wn-font-xs);
221
+ color: rgba(255, 255, 255, 0.4);
222
+ cursor: pointer;
223
+ transition: all 0.15s ease;
224
+ }
225
+
226
+ .wn-filter-tab:hover {
227
+ background: var(--wn-overlay-5);
228
+ color: rgba(255, 255, 255, 0.7);
229
+ }
230
+
231
+ .wn-filter-tab--active {
232
+ background: var(--wn-brand-alpha-10);
233
+ color: var(--wn-brand-400);
234
+ }
235
+
236
+ /* Content List */
237
+ .wn-content-list {
238
+ list-style: none;
239
+ margin: 0;
240
+ padding: var(--wn-space-3);
241
+ flex: 1;
242
+ overflow-y: auto;
243
+ display: flex;
244
+ flex-direction: column;
245
+ gap: var(--wn-space-1);
246
+ }
247
+
248
+ .wn-content-item {
249
+ display: flex;
250
+ flex-direction: column;
251
+ width: 100%;
252
+ padding: var(--wn-space-3) var(--wn-space-4);
253
+ border-radius: var(--wn-radius-md);
254
+ border: none;
255
+ background: transparent;
256
+ text-align: left;
257
+ cursor: pointer;
258
+ transition: all 0.15s ease;
259
+ }
260
+
261
+ .wn-content-item:hover {
262
+ background: var(--wn-overlay-5);
263
+ }
264
+
265
+ .wn-content-item--selected {
266
+ background: var(--wn-brand-alpha-10);
267
+ }
268
+
269
+ .wn-content-item-header {
270
+ display: flex;
271
+ align-items: center;
272
+ gap: var(--wn-space-3);
273
+ }
274
+
275
+ .wn-content-item-title {
276
+ flex: 1;
277
+ overflow: hidden;
278
+ text-overflow: ellipsis;
279
+ white-space: nowrap;
280
+ font-size: var(--wn-font-sm);
281
+ color: var(--wn-zinc-50);
282
+ }
283
+
284
+ .wn-content-item-date {
285
+ margin-top: var(--wn-space-1);
286
+ font-size: var(--wn-font-xs);
287
+ color: rgba(255, 255, 255, 0.3);
288
+ }
289
+
290
+ /* Badge */
291
+ .wn-badge-draft {
292
+ padding: var(--wn-space-1) var(--wn-space-2);
293
+ border-radius: var(--wn-radius-sm);
294
+ font-size: var(--wn-font-xs);
295
+ font-weight: 500;
296
+ background: var(--wn-warning-alpha-10);
297
+ color: var(--wn-warning-400);
298
+ }
299
+
300
+ /* Icon Button */
301
+ .wn-sidebar-icon-btn {
302
+ display: flex;
303
+ align-items: center;
304
+ justify-content: center;
305
+ width: var(--wn-icon-btn-sm);
306
+ height: var(--wn-icon-btn-sm);
307
+ border-radius: var(--wn-radius-sm);
308
+ border: none;
309
+ background: transparent;
310
+ color: rgba(255, 255, 255, 0.5);
311
+ cursor: pointer;
312
+ transition: all 0.15s ease;
313
+ }
314
+
315
+ .wn-sidebar-icon-btn:hover {
316
+ background: var(--wn-overlay-10);
317
+ color: #fff;
318
+ }
319
+
320
+ .wn-sidebar-icon-btn--primary {
321
+ color: var(--wn-brand-500);
322
+ }
323
+
324
+ .wn-sidebar-icon-btn--primary:hover {
325
+ color: var(--wn-brand-400);
326
+ }
327
+
328
+ /* Empty State */
329
+ .wn-sidebar-empty {
330
+ flex: 1;
331
+ display: flex;
332
+ flex-direction: column;
333
+ align-items: center;
334
+ justify-content: center;
335
+ padding: var(--wn-space-7);
336
+ text-align: center;
337
+ }
338
+
339
+ .wn-sidebar-empty-text {
340
+ font-size: var(--wn-font-xs);
341
+ color: rgba(255, 255, 255, 0.4);
342
+ }
343
+
344
+ .wn-sidebar-empty-link {
345
+ margin-top: var(--wn-space-3);
346
+ font-size: var(--wn-font-xs);
347
+ color: var(--wn-brand-500);
348
+ background: none;
349
+ border: none;
350
+ cursor: pointer;
351
+ text-decoration: none;
352
+ }
353
+
354
+ .wn-sidebar-empty-link:hover {
355
+ text-decoration: underline;
356
+ }
357
+
358
+ /* Loading State */
359
+ .wn-sidebar-loading {
360
+ padding: var(--wn-space-8);
361
+ text-align: center;
362
+ font-size: var(--wn-font-xs);
363
+ color: rgba(255, 255, 255, 0.4);
364
+ }
365
+
366
+ /* ============================================================================
367
+ SKELETON LOADERS
368
+ ============================================================================ */
369
+
370
+ .wn-skeleton {
371
+ background: linear-gradient(
372
+ 90deg,
373
+ var(--wn-overlay-5) 25%,
374
+ var(--wn-overlay-10) 50%,
375
+ var(--wn-overlay-5) 75%
376
+ );
377
+ background-size: 200% 100%;
378
+ animation: wn-skeleton-shimmer 1.5s infinite;
379
+ border-radius: var(--wn-radius-sm);
380
+ }
381
+
382
+ @keyframes wn-skeleton-shimmer {
383
+ 0% {
384
+ background-position: 200% 0;
385
+ }
386
+ 100% {
387
+ background-position: -200% 0;
388
+ }
389
+ }
390
+
391
+ .wn-skeleton-collection {
392
+ display: flex;
393
+ align-items: center;
394
+ gap: var(--wn-space-3);
395
+ padding: var(--wn-space-3) var(--wn-space-4);
396
+ }
397
+
398
+ .wn-skeleton-icon {
399
+ width: 16px;
400
+ height: 16px;
401
+ border-radius: var(--wn-radius-sm);
402
+ }
403
+
404
+ .wn-skeleton-text {
405
+ height: 14px;
406
+ flex: 1;
407
+ }
408
+
409
+ .wn-skeleton-text--short {
410
+ width: 60%;
411
+ }
412
+
413
+ .wn-skeleton-badge {
414
+ width: 24px;
415
+ height: 14px;
416
+ }
417
+
418
+ .wn-skeleton-content {
419
+ display: flex;
420
+ flex-direction: column;
421
+ gap: var(--wn-space-1);
422
+ padding: var(--wn-space-3) var(--wn-space-4);
423
+ }
424
+
425
+ .wn-skeleton-title {
426
+ height: 14px;
427
+ width: 80%;
428
+ }
429
+
430
+ .wn-skeleton-date {
431
+ height: 12px;
432
+ width: 40%;
433
+ }
434
+
435
+ /* ============================================================================
436
+ LIGHT MODE OVERRIDES
437
+ ============================================================================ */
438
+
439
+ .wn-light .wn-sidebar {
440
+ border-right-color: var(--wn-overlay-light-10);
441
+ background-color: #fff;
442
+ }
443
+
444
+ .wn-light .wn-sidebar-header {
445
+ border-bottom-color: var(--wn-overlay-light-10);
446
+ }
447
+
448
+ .wn-light .wn-sidebar-title {
449
+ color: var(--wn-zinc-900);
450
+ }
451
+
452
+ .wn-light .wn-sidebar-close {
453
+ color: rgba(0, 0, 0, 0.5);
454
+ }
455
+
456
+ .wn-light .wn-sidebar-close:hover {
457
+ background: var(--wn-overlay-light-5);
458
+ color: var(--wn-zinc-900);
459
+ }
460
+
461
+ .wn-light .wn-sidebar-section {
462
+ border-bottom-color: var(--wn-overlay-light-10);
463
+ }
464
+
465
+ .wn-light .wn-sidebar-section-title {
466
+ color: rgba(0, 0, 0, 0.5);
467
+ }
468
+
469
+ .wn-light .wn-sidebar-content-header {
470
+ border-bottom-color: var(--wn-overlay-light-10);
471
+ }
472
+
473
+ .wn-light .wn-collection-item {
474
+ color: rgba(0, 0, 0, 0.6);
475
+ }
476
+
477
+ .wn-light .wn-collection-item:hover {
478
+ background: var(--wn-overlay-light-5);
479
+ color: var(--wn-zinc-900);
480
+ }
481
+
482
+ .wn-light .wn-collection-item--selected {
483
+ background: var(--wn-brand-alpha-10);
484
+ color: var(--wn-brand-600);
485
+ }
486
+
487
+ .wn-light .wn-collection-item-count {
488
+ color: rgba(0, 0, 0, 0.3);
489
+ }
490
+
491
+ .wn-light .wn-sidebar-search {
492
+ border-bottom-color: var(--wn-overlay-light-10);
493
+ }
494
+
495
+ .wn-light .wn-search-input-wrapper {
496
+ border-color: var(--wn-overlay-light-10);
497
+ }
498
+
499
+ .wn-light .wn-search-input {
500
+ color: var(--wn-zinc-900);
501
+ }
502
+
503
+ .wn-light .wn-search-input::placeholder {
504
+ color: rgba(0, 0, 0, 0.3);
505
+ }
506
+
507
+ .wn-light .wn-search-clear {
508
+ color: rgba(0, 0, 0, 0.3);
509
+ }
510
+
511
+ .wn-light .wn-search-clear:hover {
512
+ color: var(--wn-zinc-900);
513
+ }
514
+
515
+ .wn-light .wn-filter-tab {
516
+ color: rgba(0, 0, 0, 0.4);
517
+ }
518
+
519
+ .wn-light .wn-filter-tab:hover {
520
+ background: var(--wn-overlay-light-5);
521
+ color: rgba(0, 0, 0, 0.7);
522
+ }
523
+
524
+ .wn-light .wn-filter-tab--active {
525
+ background: var(--wn-brand-alpha-10);
526
+ color: var(--wn-brand-600);
527
+ }
528
+
529
+ .wn-light .wn-content-item:hover {
530
+ background: var(--wn-overlay-light-5);
531
+ }
532
+
533
+ .wn-light .wn-content-item--selected {
534
+ background: var(--wn-brand-alpha-10);
535
+ }
536
+
537
+ .wn-light .wn-content-item-title {
538
+ color: var(--wn-zinc-900);
539
+ }
540
+
541
+ .wn-light .wn-content-item-date {
542
+ color: rgba(0, 0, 0, 0.3);
543
+ }
544
+
545
+ .wn-light .wn-sidebar-icon-btn {
546
+ color: rgba(0, 0, 0, 0.5);
547
+ }
548
+
549
+ .wn-light .wn-sidebar-icon-btn:hover {
550
+ background: var(--wn-overlay-light-5);
551
+ color: var(--wn-zinc-900);
552
+ }
553
+
554
+ .wn-light .wn-sidebar-empty-text {
555
+ color: rgba(0, 0, 0, 0.4);
556
+ }
557
+
558
+ .wn-light .wn-sidebar-loading {
559
+ color: rgba(0, 0, 0, 0.4);
560
+ }
561
+
562
+ .wn-light .wn-skeleton {
563
+ background: linear-gradient(
564
+ 90deg,
565
+ var(--wn-overlay-light-5) 25%,
566
+ var(--wn-overlay-light-8) 50%,
567
+ var(--wn-overlay-light-5) 75%
568
+ );
569
+ background-size: 200% 100%;
570
+ }