moduler 0.3.0 → 0.5.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 (72) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/builds/moduler/tailwind.css +852 -2
  3. data/app/assets/javascripts/moduler/controllers/wysiwyg_controller.js +126 -0
  4. data/app/assets/javascripts/moduler/vendor/marked.esm.js +77 -0
  5. data/app/components/moduler/form/file_component.html.erb +14 -0
  6. data/app/components/moduler/form/file_component.rb +11 -0
  7. data/app/components/moduler/form/select_component.html.erb +1 -1
  8. data/app/components/moduler/form/textarea_component.html.erb +14 -0
  9. data/app/components/moduler/form/textarea_component.rb +11 -0
  10. data/app/components/moduler/form/wysiwyg_component.html.erb +30 -0
  11. data/app/components/moduler/form/wysiwyg_component.rb +62 -0
  12. data/app/controllers/concerns/moduler/authentication.rb +1 -1
  13. data/app/controllers/concerns/moduler/require_document_acceptance.rb +31 -0
  14. data/app/controllers/moduler/administration/application_controller.rb +2 -0
  15. data/app/controllers/moduler/administration/articles_controller.rb +57 -0
  16. data/app/controllers/moduler/administration/documents_controller.rb +56 -0
  17. data/app/controllers/moduler/administration/users_controller.rb +2 -2
  18. data/app/controllers/moduler/application_controller.rb +1 -0
  19. data/app/controllers/moduler/articles_controller.rb +16 -0
  20. data/app/controllers/moduler/document_acceptances_controller.rb +25 -0
  21. data/app/controllers/moduler/profile/sessions/revocation_controller.rb +2 -0
  22. data/app/controllers/moduler/profile/sessions_controller.rb +2 -0
  23. data/app/controllers/moduler/profile_controller.rb +2 -0
  24. data/app/controllers/moduler/sessions_controller.rb +15 -6
  25. data/app/controllers/moduler/users_controller.rb +1 -0
  26. data/app/models/moduler/article.rb +25 -0
  27. data/app/models/moduler/document.rb +17 -0
  28. data/app/models/moduler/user.rb +8 -0
  29. data/app/models/moduler/user_document.rb +8 -0
  30. data/app/policies/moduler/administration/article_policy.rb +29 -0
  31. data/app/policies/moduler/administration/document_policy.rb +25 -0
  32. data/app/services/moduler/document_acceptance.rb +43 -0
  33. data/app/views/layouts/moduler/articles.html.erb +18 -0
  34. data/app/views/moduler/administration/articles/_article.html.erb +13 -0
  35. data/app/views/moduler/administration/articles/_form.html.erb +18 -0
  36. data/app/views/moduler/administration/articles/edit.html.erb +1 -0
  37. data/app/views/moduler/administration/articles/index.html.erb +13 -0
  38. data/app/views/moduler/administration/articles/new.html.erb +1 -0
  39. data/app/views/moduler/administration/documents/_document.html.erb +19 -0
  40. data/app/views/moduler/administration/documents/_form.html.erb +23 -0
  41. data/app/views/moduler/administration/documents/edit.html.erb +1 -0
  42. data/app/views/moduler/administration/documents/index.html.erb +13 -0
  43. data/app/views/moduler/administration/documents/new.html.erb +1 -0
  44. data/app/views/moduler/administration/users/edit.html.erb +1 -0
  45. data/app/views/moduler/administration/users/new.html.erb +1 -0
  46. data/app/views/moduler/articles/_article.html.erb +16 -0
  47. data/app/views/moduler/articles/index.html.erb +15 -0
  48. data/app/views/moduler/articles/show.html.erb +21 -0
  49. data/app/views/moduler/common/_sidebar.html.erb +3 -2
  50. data/app/views/moduler/common/administration/_sidebar.html.erb +7 -0
  51. data/app/views/moduler/common/profile/_sidebar.html.erb +6 -0
  52. data/app/views/moduler/document_acceptances/new.html.erb +36 -0
  53. data/app/views/moduler/home/index.html.erb +6 -0
  54. data/app/views/moduler/profile/edit.html.erb +1 -1
  55. data/app/views/moduler/profile/sessions/index.html.erb +1 -1
  56. data/config/importmap.rb +2 -0
  57. data/config/locales/moduler/administration/articles/en.yml +37 -0
  58. data/config/locales/moduler/administration/documents/en.yml +35 -0
  59. data/config/locales/moduler/administration/users/en.yml +6 -0
  60. data/config/locales/moduler/articles/en.yml +13 -0
  61. data/config/locales/moduler/common/en.yml +12 -4
  62. data/config/locales/moduler/components/en.yml +16 -0
  63. data/config/locales/moduler/document_acceptances/en.yml +17 -0
  64. data/config/locales/moduler/sessions/en.yml +1 -0
  65. data/config/routes.rb +7 -0
  66. data/db/migrate/20261026203827_create_moduler_articles.rb +15 -0
  67. data/db/migrate/20261104120000_add_status_to_moduler_users.rb +6 -0
  68. data/db/migrate/20261104205837_create_moduler_documents.rb +10 -0
  69. data/db/migrate/20261104205950_create_moduler_user_documents.rb +12 -0
  70. data/lib/moduler/version.rb +1 -1
  71. data/lib/moduler.rb +3 -0
  72. metadata +73 -2
@@ -17,9 +17,7 @@
17
17
  --color-amber-200: oklch(92.4% 0.12 95.746);
18
18
  --color-amber-700: oklch(55.5% 0.163 48.998);
19
19
  --color-yellow-100: oklch(97.3% 0.071 103.193);
20
- --color-green-50: oklch(98.2% 0.018 155.826);
21
20
  --color-green-100: oklch(96.2% 0.044 156.743);
22
- --color-green-200: oklch(92.5% 0.084 155.995);
23
21
  --color-green-600: oklch(62.7% 0.194 149.214);
24
22
  --color-emerald-50: oklch(97.9% 0.021 166.113);
25
23
  --color-emerald-200: oklch(90.5% 0.093 164.15);
@@ -32,7 +30,9 @@
32
30
  --color-slate-400: oklch(70.4% 0.04 256.788);
33
31
  --color-slate-500: oklch(55.4% 0.046 257.417);
34
32
  --color-slate-600: oklch(44.6% 0.043 257.281);
33
+ --color-slate-700: oklch(37.2% 0.044 257.287);
35
34
  --color-slate-900: oklch(20.8% 0.042 265.755);
35
+ --color-gray-50: oklch(98.5% 0.002 247.839);
36
36
  --color-gray-200: oklch(92.8% 0.006 264.531);
37
37
  --color-gray-300: oklch(87.2% 0.01 258.338);
38
38
  --color-gray-400: oklch(70.7% 0.022 261.325);
@@ -42,12 +42,17 @@
42
42
  --spacing: 0.25rem;
43
43
  --container-sm: 24rem;
44
44
  --container-lg: 32rem;
45
+ --container-2xl: 42rem;
46
+ --container-3xl: 48rem;
47
+ --container-5xl: 64rem;
45
48
  --text-xs: 0.75rem;
46
49
  --text-xs--line-height: calc(1 / 0.75);
47
50
  --text-sm: 0.875rem;
48
51
  --text-sm--line-height: calc(1.25 / 0.875);
49
52
  --text-base: 1rem;
50
53
  --text-base--line-height: calc(1.5 / 1);
54
+ --text-xl: 1.25rem;
55
+ --text-xl--line-height: calc(1.75 / 1.25);
51
56
  --text-2xl: 1.5rem;
52
57
  --text-2xl--line-height: calc(2 / 1.5);
53
58
  --font-weight-medium: 500;
@@ -213,12 +218,21 @@
213
218
  }
214
219
  }
215
220
  @layer utilities {
221
+ .absolute {
222
+ position: absolute;
223
+ }
216
224
  .fixed {
217
225
  position: fixed;
218
226
  }
227
+ .relative {
228
+ position: relative;
229
+ }
219
230
  .static {
220
231
  position: static;
221
232
  }
233
+ .inset-0 {
234
+ inset: calc(var(--spacing) * 0);
235
+ }
222
236
  .start {
223
237
  inset-inline-start: var(--spacing);
224
238
  }
@@ -246,12 +260,632 @@
246
260
  .my-2 {
247
261
  margin-block: calc(var(--spacing) * 2);
248
262
  }
263
+ .prose {
264
+ color: var(--tw-prose-body);
265
+ max-width: 65ch;
266
+ :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
267
+ margin-top: 1.25em;
268
+ margin-bottom: 1.25em;
269
+ }
270
+ :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
271
+ color: var(--tw-prose-lead);
272
+ font-size: 1.25em;
273
+ line-height: 1.6;
274
+ margin-top: 1.2em;
275
+ margin-bottom: 1.2em;
276
+ }
277
+ :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
278
+ color: var(--tw-prose-links);
279
+ text-decoration: underline;
280
+ font-weight: 500;
281
+ }
282
+ :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
283
+ color: var(--tw-prose-bold);
284
+ font-weight: 600;
285
+ }
286
+ :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
287
+ color: inherit;
288
+ }
289
+ :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
290
+ color: inherit;
291
+ }
292
+ :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
293
+ color: inherit;
294
+ }
295
+ :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
296
+ list-style-type: decimal;
297
+ margin-top: 1.25em;
298
+ margin-bottom: 1.25em;
299
+ padding-inline-start: 1.625em;
300
+ }
301
+ :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
302
+ list-style-type: upper-alpha;
303
+ }
304
+ :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
305
+ list-style-type: lower-alpha;
306
+ }
307
+ :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
308
+ list-style-type: upper-alpha;
309
+ }
310
+ :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
311
+ list-style-type: lower-alpha;
312
+ }
313
+ :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
314
+ list-style-type: upper-roman;
315
+ }
316
+ :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
317
+ list-style-type: lower-roman;
318
+ }
319
+ :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
320
+ list-style-type: upper-roman;
321
+ }
322
+ :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
323
+ list-style-type: lower-roman;
324
+ }
325
+ :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
326
+ list-style-type: decimal;
327
+ }
328
+ :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
329
+ list-style-type: disc;
330
+ margin-top: 1.25em;
331
+ margin-bottom: 1.25em;
332
+ padding-inline-start: 1.625em;
333
+ }
334
+ :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
335
+ font-weight: 400;
336
+ color: var(--tw-prose-counters);
337
+ }
338
+ :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
339
+ color: var(--tw-prose-bullets);
340
+ }
341
+ :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
342
+ color: var(--tw-prose-headings);
343
+ font-weight: 600;
344
+ margin-top: 1.25em;
345
+ }
346
+ :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
347
+ border-color: var(--tw-prose-hr);
348
+ border-top-width: 1px;
349
+ margin-top: 3em;
350
+ margin-bottom: 3em;
351
+ }
352
+ :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
353
+ font-weight: 500;
354
+ font-style: italic;
355
+ color: var(--tw-prose-quotes);
356
+ border-inline-start-width: 0.25rem;
357
+ border-inline-start-color: var(--tw-prose-quote-borders);
358
+ quotes: "\201C""\201D""\2018""\2019";
359
+ margin-top: 1.6em;
360
+ margin-bottom: 1.6em;
361
+ padding-inline-start: 1em;
362
+ }
363
+ :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
364
+ content: open-quote;
365
+ }
366
+ :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
367
+ content: close-quote;
368
+ }
369
+ :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
370
+ color: var(--tw-prose-headings);
371
+ font-weight: 800;
372
+ font-size: 2.25em;
373
+ margin-top: 0;
374
+ margin-bottom: 0.8888889em;
375
+ line-height: 1.1111111;
376
+ }
377
+ :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
378
+ font-weight: 900;
379
+ color: inherit;
380
+ }
381
+ :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
382
+ color: var(--tw-prose-headings);
383
+ font-weight: 700;
384
+ font-size: 1.5em;
385
+ margin-top: 2em;
386
+ margin-bottom: 1em;
387
+ line-height: 1.3333333;
388
+ }
389
+ :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
390
+ font-weight: 800;
391
+ color: inherit;
392
+ }
393
+ :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
394
+ color: var(--tw-prose-headings);
395
+ font-weight: 600;
396
+ font-size: 1.25em;
397
+ margin-top: 1.6em;
398
+ margin-bottom: 0.6em;
399
+ line-height: 1.6;
400
+ }
401
+ :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
402
+ font-weight: 700;
403
+ color: inherit;
404
+ }
405
+ :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
406
+ color: var(--tw-prose-headings);
407
+ font-weight: 600;
408
+ margin-top: 1.5em;
409
+ margin-bottom: 0.5em;
410
+ line-height: 1.5;
411
+ }
412
+ :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
413
+ font-weight: 700;
414
+ color: inherit;
415
+ }
416
+ :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
417
+ margin-top: 2em;
418
+ margin-bottom: 2em;
419
+ }
420
+ :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
421
+ display: block;
422
+ margin-top: 2em;
423
+ margin-bottom: 2em;
424
+ }
425
+ :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
426
+ margin-top: 2em;
427
+ margin-bottom: 2em;
428
+ }
429
+ :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
430
+ font-weight: 500;
431
+ font-family: inherit;
432
+ color: var(--tw-prose-kbd);
433
+ box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);
434
+ font-size: 0.875em;
435
+ border-radius: 0.3125rem;
436
+ padding-top: 0.1875em;
437
+ padding-inline-end: 0.375em;
438
+ padding-bottom: 0.1875em;
439
+ padding-inline-start: 0.375em;
440
+ }
441
+ :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
442
+ color: var(--tw-prose-code);
443
+ font-weight: 600;
444
+ font-size: 0.875em;
445
+ }
446
+ :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
447
+ content: "`";
448
+ }
449
+ :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
450
+ content: "`";
451
+ }
452
+ :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
453
+ color: inherit;
454
+ }
455
+ :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
456
+ color: inherit;
457
+ }
458
+ :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
459
+ color: inherit;
460
+ font-size: 0.875em;
461
+ }
462
+ :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
463
+ color: inherit;
464
+ font-size: 0.9em;
465
+ }
466
+ :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
467
+ color: inherit;
468
+ }
469
+ :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
470
+ color: inherit;
471
+ }
472
+ :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
473
+ color: inherit;
474
+ }
475
+ :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
476
+ color: var(--tw-prose-pre-code);
477
+ background-color: var(--tw-prose-pre-bg);
478
+ overflow-x: auto;
479
+ font-weight: 400;
480
+ font-size: 0.875em;
481
+ line-height: 1.7142857;
482
+ margin-top: 1.7142857em;
483
+ margin-bottom: 1.7142857em;
484
+ border-radius: 0.375rem;
485
+ padding-top: 0.8571429em;
486
+ padding-inline-end: 1.1428571em;
487
+ padding-bottom: 0.8571429em;
488
+ padding-inline-start: 1.1428571em;
489
+ }
490
+ :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
491
+ background-color: transparent;
492
+ border-width: 0;
493
+ border-radius: 0;
494
+ padding: 0;
495
+ font-weight: inherit;
496
+ color: inherit;
497
+ font-size: inherit;
498
+ font-family: inherit;
499
+ line-height: inherit;
500
+ }
501
+ :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
502
+ content: none;
503
+ }
504
+ :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
505
+ content: none;
506
+ }
507
+ :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
508
+ width: 100%;
509
+ table-layout: auto;
510
+ margin-top: 2em;
511
+ margin-bottom: 2em;
512
+ font-size: 0.875em;
513
+ line-height: 1.7142857;
514
+ }
515
+ :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
516
+ border-bottom-width: 1px;
517
+ border-bottom-color: var(--tw-prose-th-borders);
518
+ }
519
+ :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
520
+ color: var(--tw-prose-headings);
521
+ font-weight: 600;
522
+ vertical-align: bottom;
523
+ padding-inline-end: 0.5714286em;
524
+ padding-bottom: 0.5714286em;
525
+ padding-inline-start: 0.5714286em;
526
+ }
527
+ :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
528
+ border-bottom-width: 1px;
529
+ border-bottom-color: var(--tw-prose-td-borders);
530
+ }
531
+ :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
532
+ border-bottom-width: 0;
533
+ }
534
+ :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
535
+ vertical-align: baseline;
536
+ }
537
+ :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
538
+ border-top-width: 1px;
539
+ border-top-color: var(--tw-prose-th-borders);
540
+ }
541
+ :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
542
+ vertical-align: top;
543
+ }
544
+ :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
545
+ text-align: start;
546
+ }
547
+ :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
548
+ margin-top: 0;
549
+ margin-bottom: 0;
550
+ }
551
+ :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
552
+ color: var(--tw-prose-captions);
553
+ font-size: 0.875em;
554
+ line-height: 1.4285714;
555
+ margin-top: 0.8571429em;
556
+ }
557
+ --tw-prose-body: oklch(37.3% 0.034 259.733);
558
+ --tw-prose-headings: oklch(21% 0.034 264.665);
559
+ --tw-prose-lead: oklch(44.6% 0.03 256.802);
560
+ --tw-prose-links: oklch(21% 0.034 264.665);
561
+ --tw-prose-bold: oklch(21% 0.034 264.665);
562
+ --tw-prose-counters: oklch(55.1% 0.027 264.364);
563
+ --tw-prose-bullets: oklch(87.2% 0.01 258.338);
564
+ --tw-prose-hr: oklch(92.8% 0.006 264.531);
565
+ --tw-prose-quotes: oklch(21% 0.034 264.665);
566
+ --tw-prose-quote-borders: oklch(92.8% 0.006 264.531);
567
+ --tw-prose-captions: oklch(55.1% 0.027 264.364);
568
+ --tw-prose-kbd: oklch(21% 0.034 264.665);
569
+ --tw-prose-kbd-shadows: color-mix(in oklab, oklch(21% 0.034 264.665) 10%, transparent);
570
+ --tw-prose-code: oklch(21% 0.034 264.665);
571
+ --tw-prose-pre-code: oklch(92.8% 0.006 264.531);
572
+ --tw-prose-pre-bg: oklch(27.8% 0.033 256.848);
573
+ --tw-prose-th-borders: oklch(87.2% 0.01 258.338);
574
+ --tw-prose-td-borders: oklch(92.8% 0.006 264.531);
575
+ --tw-prose-invert-body: oklch(87.2% 0.01 258.338);
576
+ --tw-prose-invert-headings: #fff;
577
+ --tw-prose-invert-lead: oklch(70.7% 0.022 261.325);
578
+ --tw-prose-invert-links: #fff;
579
+ --tw-prose-invert-bold: #fff;
580
+ --tw-prose-invert-counters: oklch(70.7% 0.022 261.325);
581
+ --tw-prose-invert-bullets: oklch(44.6% 0.03 256.802);
582
+ --tw-prose-invert-hr: oklch(37.3% 0.034 259.733);
583
+ --tw-prose-invert-quotes: oklch(96.7% 0.003 264.542);
584
+ --tw-prose-invert-quote-borders: oklch(37.3% 0.034 259.733);
585
+ --tw-prose-invert-captions: oklch(70.7% 0.022 261.325);
586
+ --tw-prose-invert-kbd: #fff;
587
+ --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);
588
+ --tw-prose-invert-code: #fff;
589
+ --tw-prose-invert-pre-code: oklch(87.2% 0.01 258.338);
590
+ --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
591
+ --tw-prose-invert-th-borders: oklch(44.6% 0.03 256.802);
592
+ --tw-prose-invert-td-borders: oklch(37.3% 0.034 259.733);
593
+ font-size: 1rem;
594
+ line-height: 1.75;
595
+ :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
596
+ margin-top: 0;
597
+ margin-bottom: 0;
598
+ }
599
+ :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
600
+ margin-top: 0.5em;
601
+ margin-bottom: 0.5em;
602
+ }
603
+ :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
604
+ padding-inline-start: 0.375em;
605
+ }
606
+ :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
607
+ padding-inline-start: 0.375em;
608
+ }
609
+ :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
610
+ margin-top: 0.75em;
611
+ margin-bottom: 0.75em;
612
+ }
613
+ :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
614
+ margin-top: 1.25em;
615
+ }
616
+ :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
617
+ margin-bottom: 1.25em;
618
+ }
619
+ :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
620
+ margin-top: 1.25em;
621
+ }
622
+ :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
623
+ margin-bottom: 1.25em;
624
+ }
625
+ :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
626
+ margin-top: 0.75em;
627
+ margin-bottom: 0.75em;
628
+ }
629
+ :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
630
+ margin-top: 1.25em;
631
+ margin-bottom: 1.25em;
632
+ }
633
+ :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
634
+ margin-top: 0.5em;
635
+ padding-inline-start: 1.625em;
636
+ }
637
+ :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
638
+ margin-top: 0;
639
+ }
640
+ :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
641
+ margin-top: 0;
642
+ }
643
+ :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
644
+ margin-top: 0;
645
+ }
646
+ :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
647
+ margin-top: 0;
648
+ }
649
+ :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
650
+ padding-inline-start: 0;
651
+ }
652
+ :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
653
+ padding-inline-end: 0;
654
+ }
655
+ :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
656
+ padding-top: 0.5714286em;
657
+ padding-inline-end: 0.5714286em;
658
+ padding-bottom: 0.5714286em;
659
+ padding-inline-start: 0.5714286em;
660
+ }
661
+ :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
662
+ padding-inline-start: 0;
663
+ }
664
+ :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
665
+ padding-inline-end: 0;
666
+ }
667
+ :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
668
+ margin-top: 2em;
669
+ margin-bottom: 2em;
670
+ }
671
+ :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
672
+ margin-top: 0;
673
+ }
674
+ :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
675
+ margin-bottom: 0;
676
+ }
677
+ }
678
+ .prose-sm {
679
+ font-size: 0.875rem;
680
+ line-height: 1.7142857;
681
+ :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
682
+ margin-top: 1.1428571em;
683
+ margin-bottom: 1.1428571em;
684
+ }
685
+ :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
686
+ font-size: 1.2857143em;
687
+ line-height: 1.5555556;
688
+ margin-top: 0.8888889em;
689
+ margin-bottom: 0.8888889em;
690
+ }
691
+ :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
692
+ margin-top: 1.3333333em;
693
+ margin-bottom: 1.3333333em;
694
+ padding-inline-start: 1.1111111em;
695
+ }
696
+ :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
697
+ font-size: 2.1428571em;
698
+ margin-top: 0;
699
+ margin-bottom: 0.8em;
700
+ line-height: 1.2;
701
+ }
702
+ :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
703
+ font-size: 1.4285714em;
704
+ margin-top: 1.6em;
705
+ margin-bottom: 0.8em;
706
+ line-height: 1.4;
707
+ }
708
+ :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
709
+ font-size: 1.2857143em;
710
+ margin-top: 1.5555556em;
711
+ margin-bottom: 0.4444444em;
712
+ line-height: 1.5555556;
713
+ }
714
+ :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
715
+ margin-top: 1.4285714em;
716
+ margin-bottom: 0.5714286em;
717
+ line-height: 1.4285714;
718
+ }
719
+ :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
720
+ margin-top: 1.7142857em;
721
+ margin-bottom: 1.7142857em;
722
+ }
723
+ :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
724
+ margin-top: 1.7142857em;
725
+ margin-bottom: 1.7142857em;
726
+ }
727
+ :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
728
+ margin-top: 0;
729
+ margin-bottom: 0;
730
+ }
731
+ :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
732
+ margin-top: 1.7142857em;
733
+ margin-bottom: 1.7142857em;
734
+ }
735
+ :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
736
+ font-size: 0.8571429em;
737
+ border-radius: 0.3125rem;
738
+ padding-top: 0.1428571em;
739
+ padding-inline-end: 0.3571429em;
740
+ padding-bottom: 0.1428571em;
741
+ padding-inline-start: 0.3571429em;
742
+ }
743
+ :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
744
+ font-size: 0.8571429em;
745
+ }
746
+ :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
747
+ font-size: 0.9em;
748
+ }
749
+ :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
750
+ font-size: 0.8888889em;
751
+ }
752
+ :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
753
+ font-size: 0.8571429em;
754
+ line-height: 1.6666667;
755
+ margin-top: 1.6666667em;
756
+ margin-bottom: 1.6666667em;
757
+ border-radius: 0.25rem;
758
+ padding-top: 0.6666667em;
759
+ padding-inline-end: 1em;
760
+ padding-bottom: 0.6666667em;
761
+ padding-inline-start: 1em;
762
+ }
763
+ :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
764
+ margin-top: 1.1428571em;
765
+ margin-bottom: 1.1428571em;
766
+ padding-inline-start: 1.5714286em;
767
+ }
768
+ :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
769
+ margin-top: 1.1428571em;
770
+ margin-bottom: 1.1428571em;
771
+ padding-inline-start: 1.5714286em;
772
+ }
773
+ :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
774
+ margin-top: 0.2857143em;
775
+ margin-bottom: 0.2857143em;
776
+ }
777
+ :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
778
+ padding-inline-start: 0.4285714em;
779
+ }
780
+ :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
781
+ padding-inline-start: 0.4285714em;
782
+ }
783
+ :where(.prose-sm > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
784
+ margin-top: 0.5714286em;
785
+ margin-bottom: 0.5714286em;
786
+ }
787
+ :where(.prose-sm > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
788
+ margin-top: 1.1428571em;
789
+ }
790
+ :where(.prose-sm > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
791
+ margin-bottom: 1.1428571em;
792
+ }
793
+ :where(.prose-sm > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
794
+ margin-top: 1.1428571em;
795
+ }
796
+ :where(.prose-sm > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
797
+ margin-bottom: 1.1428571em;
798
+ }
799
+ :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
800
+ margin-top: 0.5714286em;
801
+ margin-bottom: 0.5714286em;
802
+ }
803
+ :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
804
+ margin-top: 1.1428571em;
805
+ margin-bottom: 1.1428571em;
806
+ }
807
+ :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
808
+ margin-top: 1.1428571em;
809
+ }
810
+ :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
811
+ margin-top: 0.2857143em;
812
+ padding-inline-start: 1.5714286em;
813
+ }
814
+ :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
815
+ margin-top: 2.8571429em;
816
+ margin-bottom: 2.8571429em;
817
+ }
818
+ :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
819
+ margin-top: 0;
820
+ }
821
+ :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
822
+ margin-top: 0;
823
+ }
824
+ :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
825
+ margin-top: 0;
826
+ }
827
+ :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
828
+ margin-top: 0;
829
+ }
830
+ :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
831
+ font-size: 0.8571429em;
832
+ line-height: 1.5;
833
+ }
834
+ :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
835
+ padding-inline-end: 1em;
836
+ padding-bottom: 0.6666667em;
837
+ padding-inline-start: 1em;
838
+ }
839
+ :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
840
+ padding-inline-start: 0;
841
+ }
842
+ :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
843
+ padding-inline-end: 0;
844
+ }
845
+ :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
846
+ padding-top: 0.6666667em;
847
+ padding-inline-end: 1em;
848
+ padding-bottom: 0.6666667em;
849
+ padding-inline-start: 1em;
850
+ }
851
+ :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
852
+ padding-inline-start: 0;
853
+ }
854
+ :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
855
+ padding-inline-end: 0;
856
+ }
857
+ :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
858
+ margin-top: 1.7142857em;
859
+ margin-bottom: 1.7142857em;
860
+ }
861
+ :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
862
+ margin-top: 0;
863
+ margin-bottom: 0;
864
+ }
865
+ :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
866
+ font-size: 0.8571429em;
867
+ line-height: 1.3333333;
868
+ margin-top: 0.6666667em;
869
+ }
870
+ :where(.prose-sm > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
871
+ margin-top: 0;
872
+ }
873
+ :where(.prose-sm > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
874
+ margin-bottom: 0;
875
+ }
876
+ }
877
+ .mt-0\.5 {
878
+ margin-top: calc(var(--spacing) * 0.5);
879
+ }
249
880
  .mt-1 {
250
881
  margin-top: calc(var(--spacing) * 1);
251
882
  }
252
883
  .mt-2 {
253
884
  margin-top: calc(var(--spacing) * 2);
254
885
  }
886
+ .mt-3 {
887
+ margin-top: calc(var(--spacing) * 3);
888
+ }
255
889
  .mt-4 {
256
890
  margin-top: calc(var(--spacing) * 4);
257
891
  }
@@ -264,24 +898,36 @@
264
898
  .mt-10 {
265
899
  margin-top: calc(var(--spacing) * 10);
266
900
  }
901
+ .mt-12 {
902
+ margin-top: calc(var(--spacing) * 12);
903
+ }
267
904
  .mb-4 {
268
905
  margin-bottom: calc(var(--spacing) * 4);
269
906
  }
270
907
  .mb-6 {
271
908
  margin-bottom: calc(var(--spacing) * 6);
272
909
  }
910
+ .mb-8 {
911
+ margin-bottom: calc(var(--spacing) * 8);
912
+ }
273
913
  .block {
274
914
  display: block;
275
915
  }
276
916
  .flex {
277
917
  display: flex;
278
918
  }
919
+ .hidden {
920
+ display: none;
921
+ }
279
922
  .inline {
280
923
  display: inline;
281
924
  }
282
925
  .inline-flex {
283
926
  display: inline-flex;
284
927
  }
928
+ .table {
929
+ display: table;
930
+ }
285
931
  .size-5 {
286
932
  width: calc(var(--spacing) * 5);
287
933
  height: calc(var(--spacing) * 5);
@@ -314,6 +960,12 @@
314
960
  .w-full {
315
961
  width: 100%;
316
962
  }
963
+ .max-w-2xl {
964
+ max-width: var(--container-2xl);
965
+ }
966
+ .max-w-3xl {
967
+ max-width: var(--container-3xl);
968
+ }
317
969
  .max-w-\[120rem\] {
318
970
  max-width: 120rem;
319
971
  }
@@ -392,6 +1044,13 @@
392
1044
  margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
393
1045
  }
394
1046
  }
1047
+ .space-y-12 {
1048
+ :where(& > :not(:last-child)) {
1049
+ --tw-space-y-reverse: 0;
1050
+ margin-block-start: calc(calc(var(--spacing) * 12) * var(--tw-space-y-reverse));
1051
+ margin-block-end: calc(calc(var(--spacing) * 12) * calc(1 - var(--tw-space-y-reverse)));
1052
+ }
1053
+ }
395
1054
  .divide-y {
396
1055
  :where(& > :not(:last-child)) {
397
1056
  --tw-divide-y-reverse: 0;
@@ -401,6 +1060,11 @@
401
1060
  border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
402
1061
  }
403
1062
  }
1063
+ .divide-gray-200 {
1064
+ :where(& > :not(:last-child)) {
1065
+ border-color: var(--color-gray-200);
1066
+ }
1067
+ }
404
1068
  .divide-slate-100 {
405
1069
  :where(& > :not(:last-child)) {
406
1070
  border-color: var(--color-slate-100);
@@ -426,6 +1090,14 @@
426
1090
  .rounded-md {
427
1091
  border-radius: var(--radius-md);
428
1092
  }
1093
+ .rounded-t-md {
1094
+ border-top-left-radius: var(--radius-md);
1095
+ border-top-right-radius: var(--radius-md);
1096
+ }
1097
+ .rounded-b-md {
1098
+ border-bottom-right-radius: var(--radius-md);
1099
+ border-bottom-left-radius: var(--radius-md);
1100
+ }
429
1101
  .border {
430
1102
  border-style: var(--tw-border-style);
431
1103
  border-width: 1px;
@@ -434,10 +1106,18 @@
434
1106
  border-top-style: var(--tw-border-style);
435
1107
  border-top-width: 1px;
436
1108
  }
1109
+ .border-t-0 {
1110
+ border-top-style: var(--tw-border-style);
1111
+ border-top-width: 0px;
1112
+ }
437
1113
  .border-b {
438
1114
  border-bottom-style: var(--tw-border-style);
439
1115
  border-bottom-width: 1px;
440
1116
  }
1117
+ .border-b-0 {
1118
+ border-bottom-style: var(--tw-border-style);
1119
+ border-bottom-width: 0px;
1120
+ }
441
1121
  .border-dashed {
442
1122
  --tw-border-style: dashed;
443
1123
  border-style: dashed;
@@ -451,6 +1131,9 @@
451
1131
  .border-gray-200 {
452
1132
  border-color: var(--color-gray-200);
453
1133
  }
1134
+ .border-gray-300 {
1135
+ border-color: var(--color-gray-300);
1136
+ }
454
1137
  .border-red-200 {
455
1138
  border-color: var(--color-red-200);
456
1139
  }
@@ -553,9 +1236,15 @@
553
1236
  .pb-4 {
554
1237
  padding-bottom: calc(var(--spacing) * 4);
555
1238
  }
1239
+ .pb-6 {
1240
+ padding-bottom: calc(var(--spacing) * 6);
1241
+ }
556
1242
  .text-center {
557
1243
  text-align: center;
558
1244
  }
1245
+ .font-mono {
1246
+ font-family: var(--font-mono);
1247
+ }
559
1248
  .text-2xl\/9 {
560
1249
  font-size: var(--text-2xl);
561
1250
  line-height: calc(var(--spacing) * 9);
@@ -572,6 +1261,10 @@
572
1261
  font-size: var(--text-sm);
573
1262
  line-height: calc(var(--spacing) * 6);
574
1263
  }
1264
+ .text-xl {
1265
+ font-size: var(--text-xl);
1266
+ line-height: var(--tw-leading, var(--text-xl--line-height));
1267
+ }
575
1268
  .text-xs {
576
1269
  font-size: var(--text-xs);
577
1270
  line-height: var(--tw-leading, var(--text-xs--line-height));
@@ -638,6 +1331,9 @@
638
1331
  .text-slate-600 {
639
1332
  color: var(--color-slate-600);
640
1333
  }
1334
+ .text-slate-700 {
1335
+ color: var(--color-slate-700);
1336
+ }
641
1337
  .text-slate-900 {
642
1338
  color: var(--color-slate-900);
643
1339
  }
@@ -650,6 +1346,12 @@
650
1346
  .uppercase {
651
1347
  text-transform: uppercase;
652
1348
  }
1349
+ .italic {
1350
+ font-style: italic;
1351
+ }
1352
+ .accent-custom {
1353
+ accent-color: var(--color-custom);
1354
+ }
653
1355
  .opacity-0 {
654
1356
  opacity: 0%;
655
1357
  }
@@ -709,9 +1411,124 @@
709
1411
  --tw-duration: 200ms;
710
1412
  transition-duration: 200ms;
711
1413
  }
1414
+ .prose-slate {
1415
+ --tw-prose-body: oklch(37.2% 0.044 257.287);
1416
+ --tw-prose-headings: oklch(20.8% 0.042 265.755);
1417
+ --tw-prose-lead: oklch(44.6% 0.043 257.281);
1418
+ --tw-prose-links: oklch(20.8% 0.042 265.755);
1419
+ --tw-prose-bold: oklch(20.8% 0.042 265.755);
1420
+ --tw-prose-counters: oklch(55.4% 0.046 257.417);
1421
+ --tw-prose-bullets: oklch(86.9% 0.022 252.894);
1422
+ --tw-prose-hr: oklch(92.9% 0.013 255.508);
1423
+ --tw-prose-quotes: oklch(20.8% 0.042 265.755);
1424
+ --tw-prose-quote-borders: oklch(92.9% 0.013 255.508);
1425
+ --tw-prose-captions: oklch(55.4% 0.046 257.417);
1426
+ --tw-prose-kbd: oklch(20.8% 0.042 265.755);
1427
+ --tw-prose-kbd-shadows: color-mix(in oklab, oklch(20.8% 0.042 265.755) 10%, transparent);
1428
+ --tw-prose-code: oklch(20.8% 0.042 265.755);
1429
+ --tw-prose-pre-code: oklch(92.9% 0.013 255.508);
1430
+ --tw-prose-pre-bg: oklch(27.9% 0.041 260.031);
1431
+ --tw-prose-th-borders: oklch(86.9% 0.022 252.894);
1432
+ --tw-prose-td-borders: oklch(92.9% 0.013 255.508);
1433
+ --tw-prose-invert-body: oklch(86.9% 0.022 252.894);
1434
+ --tw-prose-invert-headings: #fff;
1435
+ --tw-prose-invert-lead: oklch(70.4% 0.04 256.788);
1436
+ --tw-prose-invert-links: #fff;
1437
+ --tw-prose-invert-bold: #fff;
1438
+ --tw-prose-invert-counters: oklch(70.4% 0.04 256.788);
1439
+ --tw-prose-invert-bullets: oklch(44.6% 0.043 257.281);
1440
+ --tw-prose-invert-hr: oklch(37.2% 0.044 257.287);
1441
+ --tw-prose-invert-quotes: oklch(96.8% 0.007 247.896);
1442
+ --tw-prose-invert-quote-borders: oklch(37.2% 0.044 257.287);
1443
+ --tw-prose-invert-captions: oklch(70.4% 0.04 256.788);
1444
+ --tw-prose-invert-kbd: #fff;
1445
+ --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);
1446
+ --tw-prose-invert-code: #fff;
1447
+ --tw-prose-invert-pre-code: oklch(86.9% 0.022 252.894);
1448
+ --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
1449
+ --tw-prose-invert-th-borders: oklch(44.6% 0.043 257.281);
1450
+ --tw-prose-invert-td-borders: oklch(37.2% 0.044 257.287);
1451
+ }
712
1452
  .ring-inset {
713
1453
  --tw-ring-inset: inset;
714
1454
  }
1455
+ .group-hover\:text-custom {
1456
+ &:is(:where(.group):hover *) {
1457
+ @media (hover: hover) {
1458
+ color: var(--color-custom);
1459
+ }
1460
+ }
1461
+ }
1462
+ .file\:mr-3 {
1463
+ &::file-selector-button {
1464
+ margin-right: calc(var(--spacing) * 3);
1465
+ }
1466
+ }
1467
+ .file\:rounded-md {
1468
+ &::file-selector-button {
1469
+ border-radius: var(--radius-md);
1470
+ }
1471
+ }
1472
+ .file\:border-0 {
1473
+ &::file-selector-button {
1474
+ border-style: var(--tw-border-style);
1475
+ border-width: 0px;
1476
+ }
1477
+ }
1478
+ .file\:bg-white {
1479
+ &::file-selector-button {
1480
+ background-color: var(--color-white);
1481
+ }
1482
+ }
1483
+ .file\:px-3 {
1484
+ &::file-selector-button {
1485
+ padding-inline: calc(var(--spacing) * 3);
1486
+ }
1487
+ }
1488
+ .file\:py-1\.5 {
1489
+ &::file-selector-button {
1490
+ padding-block: calc(var(--spacing) * 1.5);
1491
+ }
1492
+ }
1493
+ .file\:text-sm {
1494
+ &::file-selector-button {
1495
+ font-size: var(--text-sm);
1496
+ line-height: var(--tw-leading, var(--text-sm--line-height));
1497
+ }
1498
+ }
1499
+ .file\:font-semibold {
1500
+ &::file-selector-button {
1501
+ --tw-font-weight: var(--font-weight-semibold);
1502
+ font-weight: var(--font-weight-semibold);
1503
+ }
1504
+ }
1505
+ .file\:text-gray-900 {
1506
+ &::file-selector-button {
1507
+ color: var(--color-gray-900);
1508
+ }
1509
+ }
1510
+ .file\:shadow-xs {
1511
+ &::file-selector-button {
1512
+ --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
1513
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1514
+ }
1515
+ }
1516
+ .file\:ring-1 {
1517
+ &::file-selector-button {
1518
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1519
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1520
+ }
1521
+ }
1522
+ .file\:ring-gray-300 {
1523
+ &::file-selector-button {
1524
+ --tw-ring-color: var(--color-gray-300);
1525
+ }
1526
+ }
1527
+ .file\:ring-inset {
1528
+ &::file-selector-button {
1529
+ --tw-ring-inset: inset;
1530
+ }
1531
+ }
715
1532
  .placeholder\:text-gray-400 {
716
1533
  &::placeholder {
717
1534
  color: var(--color-gray-400);
@@ -750,6 +1567,13 @@
750
1567
  }
751
1568
  }
752
1569
  }
1570
+ .hover\:bg-slate-200 {
1571
+ &:hover {
1572
+ @media (hover: hover) {
1573
+ background-color: var(--color-slate-200);
1574
+ }
1575
+ }
1576
+ }
753
1577
  .hover\:text-custom {
754
1578
  &:hover {
755
1579
  @media (hover: hover) {
@@ -785,6 +1609,13 @@
785
1609
  }
786
1610
  }
787
1611
  }
1612
+ .hover\:underline {
1613
+ &:hover {
1614
+ @media (hover: hover) {
1615
+ text-decoration-line: underline;
1616
+ }
1617
+ }
1618
+ }
788
1619
  .hover\:ring-red-200 {
789
1620
  &:hover {
790
1621
  @media (hover: hover) {
@@ -792,6 +1623,15 @@
792
1623
  }
793
1624
  }
794
1625
  }
1626
+ .hover\:file\:bg-gray-50 {
1627
+ &:hover {
1628
+ @media (hover: hover) {
1629
+ &::file-selector-button {
1630
+ background-color: var(--color-gray-50);
1631
+ }
1632
+ }
1633
+ }
1634
+ }
795
1635
  .focus\:border-slate-900 {
796
1636
  &:focus {
797
1637
  border-color: var(--color-slate-900);
@@ -996,6 +1836,16 @@
996
1836
  padding-inline: calc(var(--spacing) * 24);
997
1837
  }
998
1838
  }
1839
+ .prose-img\:w-full {
1840
+ & :is(:where(img):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
1841
+ width: 100%;
1842
+ }
1843
+ }
1844
+ .prose-img\:max-w-5xl {
1845
+ & :is(:where(img):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
1846
+ max-width: var(--container-5xl);
1847
+ }
1848
+ }
999
1849
  }
1000
1850
  .prose-100 {
1001
1851
  max-width: 100%;