@docmd/ui 0.5.2 → 0.5.4

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.
@@ -19,29 +19,76 @@
19
19
  }
20
20
 
21
21
  :root {
22
- --font-family-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
23
- --font-family-mono: "JetBrains Mono", SFMono-Regular, Consolas, Menlo, monospace;
22
+ /* Colors - Light */
24
23
  --bg-color: #ffffff;
25
24
  --text-color: #3f3f46;
26
25
  --text-muted: #71717a;
27
26
  --text-heading: #09090b;
28
- --sidebar-bg: #fafafa;
29
- --sidebar-text: #52525b;
30
- --sidebar-link-active-bg: #f4f4f5;
31
- --sidebar-link-active-text: #18181b;
32
27
  --link-color: #068ad5;
28
+ --link-color-hover: #0b76b3;
33
29
  --border-color: #e4e4e7;
34
- --code-bg: #f4f4f5;
35
- --code-text: #27272a;
30
+
31
+ /* UI Structure */
32
+ --border-color-codeblock: #0a0a0a17;
33
+ --border-color-hover: #dedee0;
36
34
  --header-bg: rgba(255, 255, 255, 0.8);
37
35
  --header-border: #e4e4e7;
36
+ --sidebar-bg: #fafafa;
37
+ --sidebar-text: #52525b;
38
+ --sidebar-link-active-bg: #0c8ad51a;
39
+ --sidebar-link-active-text: #18181b;
40
+
41
+ /* Code Colors */
42
+ --code-bg: #eaeaea1f;
43
+ --code-text: #27272a;
44
+
45
+ /* Accents */
38
46
  --sponsor-red: #f43f5e;
39
47
  --sponsor-red-hover: #e11d48;
48
+
49
+ /* Typography */
50
+ --font-family-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
51
+ --font-family-mono: "JetBrains Mono", SFMono-Regular, Consolas, Menlo, monospace;
52
+ --font-size-base: 16px;
53
+ --line-height-relaxed: 1.625;
54
+
55
+ /* Border Radius & Shadows */
56
+ --radius-sm: 4px;
57
+ --radius-md: 6px;
58
+ --radius-lg: 8px;
59
+ --radius-xl: 12px;
60
+ --shadow-sm: 0 2px 5px -3px #00000026;
61
+ --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
62
+ --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
63
+
64
+ /* Spacing Scale */
65
+ --space-1: 0.25rem;
66
+ --space-2: 0.5rem;
67
+ --space-3: 0.75rem;
68
+ --space-4: 1rem;
69
+ --space-6: 1.5rem;
70
+ --space-8: 2rem;
71
+ --space-12: 3rem;
72
+
73
+ /* Sizing */
40
74
  --ui-element-size: 32px;
41
- --ui-border-radius: 6px;
42
75
  --sidebar-width: 260px;
76
+ --menubar-h: 52px;
77
+ --header-h: 54px;
78
+
79
+ /* Scrollbar */
43
80
  --scrollbar-thumb: #e4e4e7;
44
81
  --scrollbar-thumb-hover: #a1a1aa;
82
+
83
+ /* Content Area */
84
+ --content-area-bg: transparent;
85
+ --content-area-radius: 0;
86
+ --content-area-shadow: none;
87
+ --content-area-border: none;
88
+
89
+ /* Sidebar Groups */
90
+ --sidebar-group-bg: #3352660d;
91
+ --sidebar-group-border: transparent;
45
92
  color-scheme: light;
46
93
  }
47
94
 
@@ -50,20 +97,25 @@
50
97
  --text-color: #a1a1aa;
51
98
  --text-muted: #71717a;
52
99
  --text-heading: #fafafa;
100
+ --link-color: #068ad5;
101
+ --border-color: #27272a;
102
+
103
+ --header-bg: rgba(9, 9, 11, 0.8);
104
+ --header-border: #27272a;
53
105
  --sidebar-bg: #09090b;
54
106
  --sidebar-text: #a1a1aa;
55
107
  --sidebar-link-active-bg: #18181b;
56
108
  --sidebar-link-active-text: #fafafa;
57
- --link-color: #068ad5;
58
- --border-color: #27272a;
109
+
59
110
  --code-bg: #18181b;
60
111
  --code-text: #e4e4e7;
61
- --header-bg: rgba(9, 9, 11, 0.8);
62
- --header-border: #27272a;
112
+
63
113
  --sponsor-red: #e11d48;
64
114
  --sponsor-red-hover: #be123c;
115
+
65
116
  --scrollbar-thumb: #27272a;
66
117
  --scrollbar-thumb-hover: #52525b;
118
+
67
119
  color-scheme: dark;
68
120
  }
69
121
 
@@ -141,24 +193,81 @@ html::-webkit-scrollbar-thumb {
141
193
 
142
194
  body {
143
195
  font-family: var(--font-family-sans);
196
+ font-size: var(--font-size-base);
144
197
  background-color: var(--bg-color);
145
198
  color: var(--text-color);
146
199
  margin: 0;
147
200
  min-height: 100vh;
148
- line-height: 1.6
201
+ line-height: var(--line-height-relaxed);
202
+ -webkit-font-smoothing: antialiased;
203
+ -moz-osx-font-smoothing: grayscale;
149
204
  }
150
205
 
151
206
  code,
152
207
  pre {
153
208
  font-family: var(--font-family-mono);
154
- background-color: var(--code-bg)
209
+ font-size: 0.9em;
210
+ background-color: var(--code-bg);
211
+ border-radius: var(--radius-md);
155
212
  }
156
213
 
157
- a:any-link {
214
+ h1,
215
+ h2,
216
+ h3,
217
+ h4,
218
+ h5,
219
+ h6 {
220
+ font-family: var(--font-family-sans);
221
+ color: var(--text-heading);
222
+ font-weight: 600;
223
+ line-height: 1.25;
224
+ margin-top: var(--space-8);
225
+ margin-bottom: var(--space-4);
226
+ }
227
+
228
+ h1 {
229
+ font-size: 2.25rem;
230
+ font-weight: 800;
231
+ letter-spacing: -0.025em;
232
+ margin-top: 0;
233
+ }
234
+
235
+ h2 {
236
+ font-size: 1.875rem;
237
+ border-bottom: 1px solid var(--border-color);
238
+ padding-bottom: var(--space-2);
239
+ }
240
+
241
+ h3 {
242
+ font-size: 1.5rem;
243
+ }
244
+
245
+ h4 {
246
+ font-size: 1.25rem;
247
+ }
248
+
249
+ h5 {
250
+ font-size: 1.125rem;
251
+ }
252
+
253
+ h6 {
254
+ font-size: 1rem;
255
+ }
256
+
257
+ a {
158
258
  color: var(--link-color);
159
259
  text-decoration: none;
160
260
  }
161
261
 
262
+ a:hover {
263
+ color: var(--link-color-hover);
264
+ text-decoration: underline;
265
+ }
266
+
267
+ a:any-link {
268
+ text-decoration: none;
269
+ }
270
+
162
271
  .skip-link {
163
272
  position: absolute;
164
273
  top: -100px;
@@ -182,7 +291,7 @@ a:any-link {
182
291
  border-right: 1px solid var(--border-color);
183
292
  height: 100vh;
184
293
  position: fixed;
185
- padding: .5em .25em .5em .5em;
294
+ padding: .5em 0;
186
295
  top: 0;
187
296
  left: 0;
188
297
  overflow: hidden;
@@ -192,11 +301,11 @@ a:any-link {
192
301
  }
193
302
 
194
303
  .sidebar h1 {
195
- font-size: 1.5em;
196
- margin-top: 0;
197
- margin-bottom: 20px;
198
- padding-bottom: 10px;
199
- border-bottom: 1px solid var(--border-color)
304
+ font-size: 1.25rem;
305
+ font-weight: 700;
306
+ margin-bottom: var(--space-4);
307
+ padding-bottom: var(--space-3);
308
+ border-bottom: 1px solid var(--border-color);
200
309
  }
201
310
 
202
311
  .sidebar nav ul {
@@ -207,17 +316,23 @@ a:any-link {
207
316
 
208
317
  .sidebar nav li a,
209
318
  .sidebar nav li .nav-label {
210
- display: block;
211
- padding: .4em .5em;
212
- margin: .15em 0;
319
+ display: flex;
320
+ align-items: center;
321
+ padding: var(--space-2) var(--space-3);
213
322
  text-decoration: none;
214
323
  color: var(--sidebar-text);
215
- border-radius: 4px;
216
- transition: background-color .2s;
217
- font-size: .9em;
324
+ border-radius: var(--radius-md);
325
+ font-size: 0.9375rem;
326
+ line-height: 1.4;
218
327
  }
219
328
 
220
- .sidebar nav li a {
329
+ .sidebar nav li.nav-group {
330
+ border-radius: 6px;
331
+ background-color: var(--sidebar-group-bg);
332
+ border: 1px solid var(--sidebar-group-border);
333
+ }
334
+
335
+ .sidebar nav li.collapsible {
221
336
  cursor: pointer;
222
337
  }
223
338
 
@@ -245,8 +360,6 @@ a:any-link {
245
360
  }
246
361
 
247
362
  .sidebar nav li .nav-label {
248
- cursor: default;
249
- padding: 0.25em .5em;
250
363
  color: var(--text-color);
251
364
  font-weight: 600;
252
365
  }
@@ -276,7 +389,7 @@ a:any-link {
276
389
 
277
390
  .collapse-icon-wrapper {
278
391
  display: inline-flex;
279
- float: right;
392
+ margin-left: auto;
280
393
  align-items: center;
281
394
  justify-content: center;
282
395
  cursor: pointer;
@@ -293,7 +406,7 @@ span.collapse-icon-wrapper .collapse-icon {
293
406
  .sidebar nav li a.active,
294
407
  .sidebar nav li a:hover,
295
408
  .theme-toggle-button:hover {
296
- background-color: var(--sidebar-link-active-bg)
409
+ background-color: var(--sidebar-link-active-bg);
297
410
  }
298
411
 
299
412
  .sidebar nav li a.active {
@@ -303,7 +416,7 @@ span.collapse-icon-wrapper .collapse-icon {
303
416
 
304
417
  .copy-code-button:hover,
305
418
  div:hover>.copy-code-button {
306
- opacity: 1
419
+ opacity: .8;
307
420
  }
308
421
 
309
422
  .sidebar-toggle-button {
@@ -352,26 +465,26 @@ img {
352
465
  position: relative;
353
466
  display: flex;
354
467
  align-items: center;
355
- scroll-margin-top: 80px;
468
+ scroll-margin-top: calc(var(--sticky-top-offset) + var(--space-8));
356
469
  }
357
470
 
358
471
  .heading-anchor {
359
472
  position: absolute;
360
- left: -2rem;
361
- width: 1.5rem;
362
- height: 1.5rem;
473
+ left: calc(-1 * var(--space-8));
474
+ width: var(--space-6);
475
+ height: var(--space-6);
363
476
  display: inline-flex;
364
477
  align-items: center;
365
478
  justify-content: center;
366
479
  color: var(--text-muted);
367
480
  opacity: 0;
368
- transition: opacity 0.2s ease, color 0.2s ease;
481
+ transition: all 0.2s ease;
369
482
  text-decoration: none !important;
370
483
  }
371
484
 
372
485
  .heading-anchor svg {
373
- width: 1.25em;
374
- height: 1.25em;
486
+ width: 1.1em;
487
+ height: 1.1em;
375
488
  }
376
489
 
377
490
  .docmd-heading:hover .heading-anchor,
@@ -386,7 +499,7 @@ img {
386
499
  @media (max-width: 768px) {
387
500
  .heading-anchor {
388
501
  position: static;
389
- margin-right: 0.5rem;
502
+ margin-right: var(--space-2);
390
503
  opacity: 1;
391
504
  color: var(--border-color);
392
505
  }
@@ -402,16 +515,27 @@ body.sidebar-collapsed .main-content-wrapper {
402
515
  margin-left: 0
403
516
  }
404
517
 
405
- .main-content-wrapper,
406
- .sidebar {
407
- transition: transform .3s, margin-left .3s, visibility .3s
408
- }
409
-
410
518
  .main-content-wrapper {
411
- margin-left: 260px;
519
+ margin-left: var(--sidebar-width);
412
520
  flex-grow: 1;
413
521
  display: flex;
414
- flex-direction: column
522
+ flex-direction: column;
523
+ min-width: 0;
524
+ }
525
+
526
+ .content-area {
527
+ padding: var(--space-8) 5%;
528
+ max-width: 1216px;
529
+ /* 1200 + 16 for some wiggle room */
530
+ margin: 0 auto;
531
+ width: 100%;
532
+ box-sizing: border-box;
533
+ }
534
+
535
+ @media (max-width: 768px) {
536
+ .content-area {
537
+ padding: var(--space-6) var(--space-4);
538
+ }
415
539
  }
416
540
 
417
541
  .header-left,
@@ -423,7 +547,7 @@ body.sidebar-collapsed .main-content-wrapper {
423
547
 
424
548
  .page-header {
425
549
  justify-content: space-between;
426
- padding: 0.75rem 2rem;
550
+ padding: var(--space-3) var(--space-8);
427
551
  background-color: var(--header-bg);
428
552
  border-bottom: 1px solid var(--header-border);
429
553
  position: sticky;
@@ -441,11 +565,11 @@ body.sidebar-collapsed .main-content-wrapper {
441
565
  }
442
566
 
443
567
  .header-left {
444
- gap: 15px
568
+ gap: var(--space-4);
445
569
  }
446
570
 
447
571
  .header-right {
448
- gap: 5px
572
+ gap: var(--space-2);
449
573
  }
450
574
 
451
575
  :root {
@@ -499,7 +623,6 @@ html {
499
623
  -webkit-backdrop-filter: blur(8px);
500
624
  width: 100%;
501
625
  box-sizing: border-box;
502
- transition: background-color 0.3s;
503
626
  }
504
627
 
505
628
  .menubar-options {
@@ -528,29 +651,28 @@ body.has-menubar-header .docmd-menubar {
528
651
  align-items: center;
529
652
  justify-content: space-between;
530
653
  height: 100%;
531
- padding: 0 1.5rem;
532
- gap: 1rem;
654
+ padding: 0 var(--space-6);
655
+ gap: var(--space-4);
533
656
  }
534
657
 
535
658
  .menubar-left,
536
659
  .menubar-right {
537
660
  display: flex;
538
661
  align-items: center;
539
- gap: 0.25rem;
662
+ gap: var(--space-1);
540
663
  flex-shrink: 0;
541
664
  }
542
665
 
543
666
  .menubar-brand {
544
667
  display: inline-flex;
545
668
  align-items: center;
546
- gap: 0.5rem;
669
+ gap: var(--space-2);
547
670
  text-decoration: none;
548
671
  color: var(--text-heading);
549
672
  font-weight: 700;
550
673
  font-size: 1rem;
551
- padding: 0.25rem 0.5rem;
552
- border-radius: var(--ui-border-radius);
553
- transition: opacity 0.2s;
674
+ padding: var(--space-1) var(--space-2);
675
+ border-radius: var(--radius-md);
554
676
  }
555
677
 
556
678
  .menubar-brand:hover {
@@ -565,13 +687,12 @@ body.has-menubar-header .docmd-menubar {
565
687
  .menubar-link {
566
688
  display: inline-flex;
567
689
  align-items: center;
568
- gap: 0.35rem;
569
- padding: 0.35rem 0.65rem;
570
- border-radius: var(--ui-border-radius);
690
+ gap: var(--space-1);
691
+ padding: var(--space-1) var(--space-3);
692
+ border-radius: var(--radius-md);
571
693
  font-size: 0.875rem;
572
694
  color: var(--menubar-text);
573
695
  text-decoration: none;
574
- transition: background-color 0.15s, color 0.15s;
575
696
  white-space: nowrap;
576
697
  }
577
698
 
@@ -582,8 +703,8 @@ body.has-menubar-header .docmd-menubar {
582
703
  }
583
704
 
584
705
  .menubar-icon {
585
- width: 1em;
586
- height: 1em;
706
+ width: 1.1em;
707
+ height: 1.1em;
587
708
  flex-shrink: 0;
588
709
  }
589
710
 
@@ -601,16 +722,15 @@ body.has-menubar-header .docmd-menubar {
601
722
  .menubar-dropdown-toggle {
602
723
  display: inline-flex;
603
724
  align-items: center;
604
- gap: 0.35rem;
605
- padding: 0.35rem 0.65rem;
606
- border-radius: var(--ui-border-radius);
725
+ gap: var(--space-1);
726
+ padding: var(--space-1) var(--space-3);
727
+ border-radius: var(--radius-md);
607
728
  font-size: 0.875rem;
608
729
  color: var(--menubar-text);
609
730
  background: none;
610
731
  border: none;
611
732
  cursor: pointer;
612
733
  font-family: inherit;
613
- transition: background-color 0.15s, color 0.15s;
614
734
  white-space: nowrap;
615
735
  }
616
736
 
@@ -623,7 +743,6 @@ body.has-menubar-header .docmd-menubar {
623
743
  width: 0.85em;
624
744
  height: 0.85em;
625
745
  opacity: 0.7;
626
- transition: transform 0.2s ease;
627
746
  }
628
747
 
629
748
  .menubar-dropdown:hover .menubar-chevron,
@@ -641,13 +760,12 @@ body.has-menubar-header .docmd-menubar {
641
760
  list-style: none;
642
761
  background-color: var(--bg-color);
643
762
  border: 1px solid var(--border-color);
644
- border-radius: var(--ui-border-radius);
763
+ border-radius: var(--radius-md);
645
764
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.05);
646
765
  z-index: 300;
647
766
  opacity: 0;
648
767
  visibility: hidden;
649
768
  transform: translateY(-4px);
650
- transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
651
769
  }
652
770
 
653
771
  .menubar-dropdown-menu.menubar-dropdown-right {
@@ -671,7 +789,6 @@ body.has-menubar-header .docmd-menubar {
671
789
  color: var(--text-color);
672
790
  text-decoration: none;
673
791
  border-radius: 4px;
674
- transition: background-color 0.15s, color 0.15s;
675
792
  }
676
793
 
677
794
  .menubar-dropdown-menu li a:hover {
@@ -724,7 +841,7 @@ body.has-menubar-header .docmd-menubar {
724
841
  padding: 0;
725
842
  background-color: transparent;
726
843
  border: 1px solid var(--border-color);
727
- border-radius: var(--ui-border-radius);
844
+ border-radius: var(--radius-md);
728
845
  color: var(--text-muted);
729
846
  cursor: pointer;
730
847
  transition: all 0.2s ease;
@@ -757,7 +874,7 @@ body.has-menubar-header .docmd-menubar {
757
874
  .docmd-options-menu button:hover:not(.sponsor-link-button) {
758
875
  background-color: var(--sidebar-link-active-bg);
759
876
  color: var(--text-heading);
760
- border-color: var(--text-muted);
877
+ border-color: var(--border-color-hover);
761
878
  }
762
879
 
763
880
  .docmd-search-trigger .search-label {
@@ -818,7 +935,7 @@ body.has-menubar-header .docmd-menubar {
818
935
  padding: 0.5rem 0.75rem;
819
936
  background-color: var(--bg-color);
820
937
  border: 1px solid var(--border-color);
821
- border-radius: var(--ui-border-radius);
938
+ border-radius: var(--radius-md);
822
939
  color: var(--text-heading);
823
940
  font-size: 0.85rem;
824
941
  font-weight: 500;
@@ -839,7 +956,7 @@ body.has-menubar-header .docmd-menubar {
839
956
  padding: 0.25rem;
840
957
  background-color: var(--bg-color);
841
958
  border: 1px solid var(--border-color);
842
- border-radius: var(--ui-border-radius);
959
+ border-radius: var(--radius-md);
843
960
  box-shadow: var(--shadow-md);
844
961
  list-style: none;
845
962
  z-index: 100;
@@ -859,12 +976,13 @@ body.has-menubar-header .docmd-menubar {
859
976
  display: flex;
860
977
  align-items: center;
861
978
  justify-content: space-between;
862
- padding: 0.4rem 0.5rem;
979
+ padding: 0.4rem .6rem;
863
980
  color: var(--text-color);
864
981
  font-size: 0.85rem;
865
982
  text-decoration: none;
866
- border-radius: 4px;
983
+ border-radius: var(--radius-sm);
867
984
  transition: background-color 0.2s;
985
+ margin: .25em;
868
986
  }
869
987
 
870
988
  .version-dropdown-item:hover {
@@ -921,69 +1039,65 @@ body.has-menubar-header .docmd-menubar {
921
1039
  }
922
1040
 
923
1041
  pre {
924
- font-size: .9em;
925
1042
  color: var(--code-text);
926
- padding: 1em;
927
- border-radius: 4px;
1043
+ padding: var(--space-4);
928
1044
  overflow-x: auto;
929
1045
  position: relative;
930
- margin: 1.5em 0;
931
- border-radius: 8px;
932
- box-shadow: var(--shadow-sm);
1046
+ margin: var(--space-6) 0;
933
1047
  background-color: var(--code-bg);
934
- padding: 1.25em;
935
- color: var(--code-text);
936
- overflow-x: auto;
937
- position: relative;
1048
+ border: 1px solid var(--border-color-codeblock);
1049
+ box-shadow: var(--shadow-sm);
938
1050
  white-space: pre;
939
- }
940
-
941
- code {
942
- padding: .2em .4em;
943
- border-radius: 3px;
944
- font-size: .9em
1051
+ line-height: 1.5;
1052
+ font-size: .85em;
945
1053
  }
946
1054
 
947
1055
  pre code {
948
1056
  background-color: transparent;
949
1057
  padding: 0;
950
- font-size: inherit
1058
+ font-size: inherit;
1059
+ border-radius: 0;
1060
+ border: none;
951
1061
  }
952
1062
 
953
1063
  .table-wrapper {
954
1064
  display: block;
955
1065
  width: 100%;
956
1066
  overflow-x: auto;
957
- margin: 1.5em 0;
958
- border-radius: 8px;
959
- box-shadow: var(--shadow-sm)
1067
+ margin: var(--space-6) 0;
1068
+ border-radius: var(--radius-lg);
1069
+ border: 1px solid var(--border-color);
1070
+ box-shadow: var(--shadow-sm);
960
1071
  }
961
1072
 
962
1073
  table {
963
1074
  width: 100%;
964
- border-collapse: separate;
965
- border-spacing: 0;
966
- margin: 0
1075
+ border-collapse: collapse;
1076
+ margin: 0;
967
1077
  }
968
1078
 
969
1079
  th {
970
1080
  text-align: left;
971
1081
  font-weight: 600;
972
- padding: .75rem 1rem;
1082
+ padding: var(--space-3) var(--space-4);
973
1083
  border-bottom: 1px solid var(--border-color);
974
1084
  background-color: var(--sidebar-bg);
975
- white-space: nowrap
1085
+ color: var(--text-heading);
1086
+ white-space: nowrap;
976
1087
  }
977
1088
 
978
1089
  td {
979
- padding: .75rem 1rem;
980
- border-bottom: 1px solid var(--border-color)
1090
+ padding: var(--space-3) var(--space-4);
1091
+ border-bottom: 1px solid var(--border-color);
1092
+ color: var(--text-color);
981
1093
  }
982
1094
 
983
1095
  tr:last-child td {
984
- border-bottom-width: medium;
985
- border-bottom-style: none;
986
- border-bottom-color: currentcolor
1096
+ border-bottom: none;
1097
+ }
1098
+
1099
+ tr:hover td {
1100
+ background-color: var(--sidebar-link-active-bg);
987
1101
  }
988
1102
 
989
1103
  .sidebar-header {
@@ -1054,7 +1168,7 @@ html[data-theme=dark] .theme-toggle-button .icon-sun {
1054
1168
  .docmd-container> :first-child,
1055
1169
  .step-content> :first-child,
1056
1170
  .step-title {
1057
- margin-top: 0
1171
+ margin-top: 0;
1058
1172
  }
1059
1173
 
1060
1174
  .theme-toggle-button .lucide-icon {
@@ -1063,56 +1177,65 @@ html[data-theme=dark] .theme-toggle-button .icon-sun {
1063
1177
  }
1064
1178
 
1065
1179
  .docmd-container {
1066
- padding: 1rem 1.5rem;
1067
- margin-bottom: 1.5rem;
1068
- border-radius: 6px;
1180
+ padding: var(--space-4) var(--space-6);
1181
+ margin-bottom: var(--space-6);
1182
+ border-radius: var(--radius-lg);
1069
1183
  border: 1px solid var(--border-color);
1070
- background-color: var(--code-bg)
1071
- }
1072
-
1073
- .callout .callout-content> :last-child,
1074
- .card .card-content> :last-child,
1075
- .docmd-container> :last-child,
1076
- .step-content> :last-child {
1077
- margin-bottom: 0
1184
+ background-color: var(--bg-color);
1185
+ box-shadow: var(--shadow-sm);
1186
+ overflow: hidden;
1078
1187
  }
1079
1188
 
1080
1189
  .callout {
1081
- border-left-width: 5px;
1082
- background-color: transparent
1190
+ border: 1px solid transparent;
1191
+ background-color: var(--code-bg);
1083
1192
  }
1084
1193
 
1085
1194
  .callout-title {
1086
1195
  font-weight: 700;
1087
- margin-bottom: .5em
1196
+ margin-bottom: var(--space-2);
1197
+ display: flex;
1198
+ align-items: center;
1199
+ gap: var(--space-2);
1088
1200
  }
1089
1201
 
1090
1202
  .callout-info {
1091
- border-left-color: #3498db;
1092
- background-color: #3498db12
1203
+ border: 1px solid #3498db;
1204
+ background-color: rgba(52, 152, 219, 0.08);
1093
1205
  }
1094
1206
 
1095
1207
  .callout-warning {
1096
- border-left-color: #f39c12;
1097
- background-color: #f39c1212
1208
+ border: 1px solid #f39c12;
1209
+ background-color: rgba(243, 156, 18, 0.08);
1098
1210
  }
1099
1211
 
1100
1212
  .callout-success,
1101
1213
  .callout-tip {
1102
- border-left-color: #2ecc71;
1103
- background-color: #2ecc7112
1214
+ border: 1px solid #2ecc7178;
1215
+ background-color: rgba(46, 204, 113, 0.08);
1104
1216
  }
1105
1217
 
1106
1218
  .callout-danger {
1107
- border-left-color: #e74c3c;
1108
- background-color: #e74c3c12
1219
+ border: 1px solid #e74c3c;
1220
+ background-color: rgba(231, 76, 60, 0.08);
1221
+ }
1222
+
1223
+ .card {
1224
+ transition: all 0.2s ease;
1225
+ }
1226
+
1227
+ .card:hover {
1228
+ box-shadow: var(--shadow-md);
1229
+ transform: translateY(-2px);
1109
1230
  }
1110
1231
 
1111
1232
  .card .card-title {
1112
1233
  font-weight: 700;
1113
- font-size: 1.1em;
1114
- margin: -1rem -1.5rem 1rem;
1115
- padding: .75rem 1.5rem
1234
+ font-size: 1.125rem;
1235
+ margin: calc(-1 * var(--space-4)) calc(-1 * var(--space-6)) var(--space-4);
1236
+ padding: var(--space-3) var(--space-6);
1237
+ background-color: var(--sidebar-bg);
1238
+ border-bottom: 1px solid var(--border-color);
1116
1239
  }
1117
1240
 
1118
1241
  .docmd-container.steps {
@@ -1476,7 +1599,6 @@ details[open]>.collapsible-summary .collapsible-arrow svg {
1476
1599
  text-decoration: none;
1477
1600
  border-left: 2px solid transparent;
1478
1601
  margin-left: 1em;
1479
- transition: all .2s ease;
1480
1602
  white-space: nowrap;
1481
1603
  overflow: hidden;
1482
1604
  text-overflow: ellipsis
@@ -1749,8 +1871,8 @@ img.lightbox {
1749
1871
 
1750
1872
  .docmd-button:hover {
1751
1873
  text-decoration: none;
1752
- filter: brightness(90%);
1753
- transform: translateY(-1px)
1874
+ filter: brightness(110%);
1875
+ transform: translateY(-1px);
1754
1876
  }
1755
1877
 
1756
1878
  .copy-code-button {
@@ -1758,8 +1880,8 @@ img.lightbox {
1758
1880
  top: .75rem;
1759
1881
  right: .75rem;
1760
1882
  padding: .5rem;
1761
- background-color: var(--code-bg);
1762
- border: 1px solid var(--border-color);
1883
+ background-color: transparent;
1884
+ border: 0;
1763
1885
  border-radius: 6px;
1764
1886
  cursor: pointer;
1765
1887
  opacity: 0;
@@ -1778,8 +1900,11 @@ img.lightbox {
1778
1900
  }
1779
1901
 
1780
1902
  hr {
1781
- color: #f5f5f545;
1782
- border-top-width: 1px
1903
+ border-top: 1px solid var(--border-color);
1904
+ border-bottom: 0;
1905
+ border-left: 0;
1906
+ border-right: 0;
1907
+ margin: 1em;
1783
1908
  }
1784
1909
 
1785
1910
  .edit-link {
@@ -1788,7 +1913,6 @@ hr {
1788
1913
  gap: .5rem;
1789
1914
  color: var(--text-light);
1790
1915
  text-decoration: none;
1791
- transition: color .2s
1792
1916
  }
1793
1917
 
1794
1918
  .edit-link:hover {
@@ -1824,8 +1948,8 @@ hr {
1824
1948
  max-width: 600px;
1825
1949
  background-color: var(--bg-color);
1826
1950
  border: 1px solid var(--border-color);
1827
- border-radius: 12px;
1828
- box-shadow: #0000004d 0 20px 50px -12px;
1951
+ border-radius: var(--radius-xl);
1952
+ box-shadow: var(--shadow-lg);
1829
1953
  display: flex;
1830
1954
  flex-direction: column;
1831
1955
  overflow: hidden;
@@ -1975,7 +2099,7 @@ hr {
1975
2099
  .footer-complete {
1976
2100
  background-color: var(--sidebar-bg);
1977
2101
  border-top: 1px solid var(--border-color);
1978
- padding: 3rem 2rem 1.5rem 2rem;
2102
+ padding: var(--space-12) var(--space-8) var(--space-6);
1979
2103
  margin-top: auto;
1980
2104
  }
1981
2105
 
@@ -2052,7 +2176,6 @@ hr {
2052
2176
  color: var(--text-muted);
2053
2177
  text-decoration: none;
2054
2178
  font-size: 0.9rem;
2055
- transition: color 0.2s;
2056
2179
  }
2057
2180
 
2058
2181
  .footer-column ul a:hover {
@@ -2110,7 +2233,7 @@ hr {
2110
2233
 
2111
2234
  .page-footer-actions {
2112
2235
  margin-top: 1.5rem;
2113
- padding-top: 1.5rem;
2236
+ padding: 1.5rem .5em .75em;
2114
2237
  border-top: 1px solid var(--border-color);
2115
2238
  display: flex;
2116
2239
  justify-content: flex-end;
@@ -2360,4 +2483,20 @@ hr {
2360
2483
  padding-left: 1.5rem;
2361
2484
  margin-left: .5rem
2362
2485
  }
2486
+ }
2487
+
2488
+ .sidebar nav li {
2489
+ margin: .25em;
2490
+ }
2491
+
2492
+ .callout-content p {
2493
+ margin: 0;
2494
+ }
2495
+
2496
+ .edit-link:hover {
2497
+ text-decoration: underline;
2498
+ }
2499
+
2500
+ code {
2501
+ padding: .15em .5em;
2363
2502
  }