fumadocs-ui 15.0.6 → 15.0.7
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.
- package/css/preset.css +46 -1
- package/dist/components/banner.d.ts.map +1 -1
- package/dist/components/banner.js +6 -7
- package/dist/components/callout.d.ts.map +1 -1
- package/dist/components/callout.js +13 -1
- package/dist/components/codeblock.d.ts.map +1 -1
- package/dist/components/codeblock.js +1 -2
- package/dist/components/dialog/search.d.ts.map +1 -1
- package/dist/components/dialog/search.js +7 -9
- package/dist/components/layout/root-toggle.js +1 -1
- package/dist/components/layout/theme-toggle.d.ts.map +1 -1
- package/dist/components/layout/theme-toggle.js +4 -4
- package/dist/components/layout/toc-clerk.d.ts +1 -1
- package/dist/components/layout/toc-clerk.d.ts.map +1 -1
- package/dist/components/layout/toc-clerk.js +3 -3
- package/dist/components/layout/toc-thumb.d.ts +2 -2
- package/dist/components/layout/toc-thumb.d.ts.map +1 -1
- package/dist/components/layout/toc-thumb.js +8 -9
- package/dist/components/layout/toc.d.ts +7 -2
- package/dist/components/layout/toc.d.ts.map +1 -1
- package/dist/components/layout/toc.js +18 -11
- package/dist/components/tabs.d.ts.map +1 -1
- package/dist/components/tabs.js +5 -7
- package/dist/components/ui/navigation-menu.js +1 -1
- package/dist/i18n.d.ts.map +1 -1
- package/dist/i18n.js +3 -6
- package/dist/layouts/docs/sidebar.d.ts.map +1 -1
- package/dist/layouts/docs/sidebar.js +9 -13
- package/dist/layouts/docs.client.d.ts +0 -6
- package/dist/layouts/docs.client.d.ts.map +1 -1
- package/dist/layouts/docs.client.js +1 -13
- package/dist/layouts/docs.d.ts.map +1 -1
- package/dist/layouts/docs.js +18 -19
- package/dist/layouts/home/navbar.js +1 -1
- package/dist/layouts/notebook.client.js +1 -1
- package/dist/layouts/notebook.d.ts.map +1 -1
- package/dist/layouts/notebook.js +10 -4
- package/dist/page.client.d.ts +1 -1
- package/dist/page.client.d.ts.map +1 -1
- package/dist/page.client.js +27 -9
- package/dist/page.d.ts.map +1 -1
- package/dist/page.js +5 -5
- package/dist/style.css +176 -131
- package/dist/theme/typography/styles.js +4 -3
- package/package.json +3 -3
- package/dist/theme/docs-ui.d.ts +0 -23
- package/dist/theme/docs-ui.d.ts.map +0 -1
- package/dist/theme/docs-ui.js +0 -58
package/dist/style.css
CHANGED
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
--text-3xl--line-height: calc(2.25 / 1.875);
|
|
25
25
|
--font-weight-medium: 500;
|
|
26
26
|
--font-weight-semibold: 600;
|
|
27
|
-
--font-weight-bold: 700;
|
|
28
27
|
--radius-md: 0.375rem;
|
|
29
28
|
--radius-lg: 0.5rem;
|
|
30
29
|
--radius-xl: 0.75rem;
|
|
@@ -80,6 +79,16 @@
|
|
|
80
79
|
--animate-fd-exitToLeft: fd-exitToLeft 250ms ease;
|
|
81
80
|
--animate-fd-exitToRight: fd-exitToRight 250ms ease;
|
|
82
81
|
--spacing-fd-container: 1400px;
|
|
82
|
+
--fd-sidebar-width: 0px;
|
|
83
|
+
--fd-toc-width: 0px;
|
|
84
|
+
--fd-layout-width: 100vw;
|
|
85
|
+
--fd-banner-height: 0px;
|
|
86
|
+
--fd-nav-height: 0px;
|
|
87
|
+
--fd-tocnav-height: 0px;
|
|
88
|
+
--fd-diff-remove-color: rgba(200, 10, 100, 0.12);
|
|
89
|
+
--fd-diff-remove-symbol-color: rgb(230, 10, 100);
|
|
90
|
+
--fd-diff-add-color: rgba(14, 180, 100, 0.12);
|
|
91
|
+
--fd-diff-add-symbol-color: rgb(10, 200, 100);
|
|
83
92
|
}
|
|
84
93
|
}
|
|
85
94
|
@layer base {
|
|
@@ -227,31 +236,6 @@
|
|
|
227
236
|
.collapse {
|
|
228
237
|
visibility: collapse;
|
|
229
238
|
}
|
|
230
|
-
.fd-step {
|
|
231
|
-
&:before {
|
|
232
|
-
background-color: var(--color-fd-secondary);
|
|
233
|
-
color: var(--color-fd-secondary-foreground);
|
|
234
|
-
content: counter(step);
|
|
235
|
-
counter-increment: step;
|
|
236
|
-
border-radius: 9999px;
|
|
237
|
-
justify-content: center;
|
|
238
|
-
align-items: center;
|
|
239
|
-
width: 2rem;
|
|
240
|
-
height: 2rem;
|
|
241
|
-
font-size: .875rem;
|
|
242
|
-
line-height: 1.25rem;
|
|
243
|
-
display: flex;
|
|
244
|
-
position: absolute;
|
|
245
|
-
left: -1rem;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
.fd-steps {
|
|
249
|
-
counter-reset: step;
|
|
250
|
-
border-left-width: 1px;
|
|
251
|
-
margin-left: 1rem;
|
|
252
|
-
padding-left: 1.75rem;
|
|
253
|
-
position: relative;
|
|
254
|
-
}
|
|
255
239
|
.absolute {
|
|
256
240
|
position: absolute;
|
|
257
241
|
}
|
|
@@ -291,6 +275,9 @@
|
|
|
291
275
|
.-top-1\.5 {
|
|
292
276
|
top: calc(var(--spacing) * -1.5);
|
|
293
277
|
}
|
|
278
|
+
.top-\(--fd-banner-height\) {
|
|
279
|
+
top: var(--fd-banner-height);
|
|
280
|
+
}
|
|
294
281
|
.top-0 {
|
|
295
282
|
top: calc(var(--spacing) * 0);
|
|
296
283
|
}
|
|
@@ -309,18 +296,12 @@
|
|
|
309
296
|
.top-\[calc\(var\(--fd-banner-height\)\+var\(--fd-nav-height\)\)\] {
|
|
310
297
|
top: calc(var(--fd-banner-height) + var(--fd-nav-height));
|
|
311
298
|
}
|
|
312
|
-
.top-\[var\(--fd-banner-height\)\] {
|
|
313
|
-
top: var(--fd-banner-height);
|
|
314
|
-
}
|
|
315
299
|
.right-2 {
|
|
316
300
|
right: calc(var(--spacing) * 2);
|
|
317
301
|
}
|
|
318
302
|
.bottom-1\.5 {
|
|
319
303
|
bottom: calc(var(--spacing) * 1.5);
|
|
320
304
|
}
|
|
321
|
-
.bottom-3 {
|
|
322
|
-
bottom: calc(var(--spacing) * 3);
|
|
323
|
-
}
|
|
324
305
|
.left-1\/2 {
|
|
325
306
|
left: calc(1/2 * 100%);
|
|
326
307
|
}
|
|
@@ -370,12 +351,12 @@
|
|
|
370
351
|
max-width: 1400px;
|
|
371
352
|
}
|
|
372
353
|
}
|
|
373
|
-
.-mx-1\.5 {
|
|
374
|
-
margin-inline: calc(var(--spacing) * -1.5);
|
|
375
|
-
}
|
|
376
354
|
.-mx-2 {
|
|
377
355
|
margin-inline: calc(var(--spacing) * -2);
|
|
378
356
|
}
|
|
357
|
+
.mx-4 {
|
|
358
|
+
margin-inline: calc(var(--spacing) * 4);
|
|
359
|
+
}
|
|
379
360
|
.mx-auto {
|
|
380
361
|
margin-inline: auto;
|
|
381
362
|
}
|
|
@@ -388,18 +369,12 @@
|
|
|
388
369
|
.my-6 {
|
|
389
370
|
margin-block: calc(var(--spacing) * 6);
|
|
390
371
|
}
|
|
391
|
-
.-ms-0\.5 {
|
|
392
|
-
margin-inline-start: calc(var(--spacing) * -0.5);
|
|
393
|
-
}
|
|
394
372
|
.-ms-1 {
|
|
395
373
|
margin-inline-start: calc(var(--spacing) * -1);
|
|
396
374
|
}
|
|
397
375
|
.-ms-1\.5 {
|
|
398
376
|
margin-inline-start: calc(var(--spacing) * -1.5);
|
|
399
377
|
}
|
|
400
|
-
.-ms-3 {
|
|
401
|
-
margin-inline-start: calc(var(--spacing) * -3);
|
|
402
|
-
}
|
|
403
378
|
.ms-1 {
|
|
404
379
|
margin-inline-start: calc(var(--spacing) * 1);
|
|
405
380
|
}
|
|
@@ -720,14 +695,15 @@
|
|
|
720
695
|
}
|
|
721
696
|
:where(a:not([data-card])):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
722
697
|
color: var(--tw-prose-links);
|
|
723
|
-
transition: text-decoration
|
|
698
|
+
transition: text-decoration .2s;
|
|
724
699
|
font-weight: 500;
|
|
725
700
|
text-decoration: underline;
|
|
726
701
|
text-underline-offset: 3.5px;
|
|
727
|
-
text-decoration-color:
|
|
702
|
+
text-decoration-color: var(--color-fd-primary);
|
|
703
|
+
text-decoration-thickness: 1.5px;
|
|
728
704
|
}
|
|
729
705
|
:where(a:not([data-card]):hover):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
|
|
730
|
-
text-decoration-
|
|
706
|
+
text-decoration-thickness: 3px;
|
|
731
707
|
}
|
|
732
708
|
--tw-prose-body: color-mix(in oklab, var(--color-fd-foreground) 90%, transparent);
|
|
733
709
|
--tw-prose-headings: var(--color-fd-foreground);
|
|
@@ -780,31 +756,26 @@
|
|
|
780
756
|
border-bottom-color: var(--tw-prose-th-borders);
|
|
781
757
|
}
|
|
782
758
|
}
|
|
783
|
-
.
|
|
784
|
-
& > :first-child {
|
|
785
|
-
margin-top: 0;
|
|
786
|
-
}
|
|
787
|
-
& > :last-child {
|
|
788
|
-
margin-bottom: 0;
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
.mt-8 {
|
|
792
|
-
margin-top: calc(var(--spacing) * 8);
|
|
793
|
-
}
|
|
794
|
-
.mt-\[var\(--fd-nav-height\)\] {
|
|
759
|
+
.mt-\(--fd-nav-height\) {
|
|
795
760
|
margin-top: var(--fd-nav-height);
|
|
796
761
|
}
|
|
797
|
-
.mt-\
|
|
762
|
+
.mt-\(--fd-top\) {
|
|
798
763
|
margin-top: var(--fd-top);
|
|
799
764
|
}
|
|
765
|
+
.mt-2 {
|
|
766
|
+
margin-top: calc(var(--spacing) * 2);
|
|
767
|
+
}
|
|
768
|
+
.mt-8 {
|
|
769
|
+
margin-top: calc(var(--spacing) * 8);
|
|
770
|
+
}
|
|
800
771
|
.mt-auto {
|
|
801
772
|
margin-top: auto;
|
|
802
773
|
}
|
|
803
774
|
.-mb-1 {
|
|
804
775
|
margin-bottom: calc(var(--spacing) * -1);
|
|
805
776
|
}
|
|
806
|
-
.-mb-
|
|
807
|
-
margin-bottom: calc(var(--spacing) * -
|
|
777
|
+
.-mb-1\.5 {
|
|
778
|
+
margin-bottom: calc(var(--spacing) * -1.5);
|
|
808
779
|
}
|
|
809
780
|
.mb-1 {
|
|
810
781
|
margin-bottom: calc(var(--spacing) * 1);
|
|
@@ -858,32 +829,38 @@
|
|
|
858
829
|
width: calc(var(--spacing) * 5);
|
|
859
830
|
height: calc(var(--spacing) * 5);
|
|
860
831
|
}
|
|
861
|
-
.size-
|
|
862
|
-
width: calc(var(--spacing) *
|
|
863
|
-
height: calc(var(--spacing) *
|
|
832
|
+
.size-6\.5 {
|
|
833
|
+
width: calc(var(--spacing) * 6.5);
|
|
834
|
+
height: calc(var(--spacing) * 6.5);
|
|
864
835
|
}
|
|
865
836
|
.size-full {
|
|
866
837
|
width: 100%;
|
|
867
838
|
height: 100%;
|
|
868
839
|
}
|
|
869
|
-
.h-
|
|
870
|
-
height: calc(var(--spacing) * 1.5);
|
|
871
|
-
}
|
|
872
|
-
.h-14 {
|
|
873
|
-
height: calc(var(--spacing) * 14);
|
|
874
|
-
}
|
|
875
|
-
.h-\[var\(--fd-height\)\] {
|
|
840
|
+
.h-\(--fd-height\) {
|
|
876
841
|
height: var(--fd-height);
|
|
877
842
|
}
|
|
878
|
-
.h-\
|
|
843
|
+
.h-\(--fd-toc-height\) {
|
|
879
844
|
height: var(--fd-toc-height);
|
|
880
845
|
}
|
|
881
|
-
.h-\
|
|
846
|
+
.h-\(--radix-navigation-menu-viewport-height\) {
|
|
882
847
|
height: var(--radix-navigation-menu-viewport-height);
|
|
883
848
|
}
|
|
849
|
+
.h-1\.5 {
|
|
850
|
+
height: calc(var(--spacing) * 1.5);
|
|
851
|
+
}
|
|
852
|
+
.h-8 {
|
|
853
|
+
height: calc(var(--spacing) * 8);
|
|
854
|
+
}
|
|
855
|
+
.h-14 {
|
|
856
|
+
height: calc(var(--spacing) * 14);
|
|
857
|
+
}
|
|
884
858
|
.h-full {
|
|
885
859
|
height: 100%;
|
|
886
860
|
}
|
|
861
|
+
.max-h-\[50vh\] {
|
|
862
|
+
max-height: 50vh;
|
|
863
|
+
}
|
|
887
864
|
.max-h-\[400px\] {
|
|
888
865
|
max-height: 400px;
|
|
889
866
|
}
|
|
@@ -893,15 +870,18 @@
|
|
|
893
870
|
.max-h-\[600px\] {
|
|
894
871
|
max-height: 600px;
|
|
895
872
|
}
|
|
896
|
-
.max-h-\[var\(--radix-popover-content-available-height\)\] {
|
|
897
|
-
max-height: var(--radix-popover-content-available-height);
|
|
898
|
-
}
|
|
899
873
|
.min-h-0 {
|
|
900
874
|
min-height: calc(var(--spacing) * 0);
|
|
901
875
|
}
|
|
902
876
|
.min-h-10 {
|
|
903
877
|
min-height: calc(var(--spacing) * 10);
|
|
904
878
|
}
|
|
879
|
+
.w-\(--fd-toc-width\) {
|
|
880
|
+
width: var(--fd-toc-width);
|
|
881
|
+
}
|
|
882
|
+
.w-\(--radix-popover-trigger-width\) {
|
|
883
|
+
width: var(--radix-popover-trigger-width);
|
|
884
|
+
}
|
|
905
885
|
.w-0 {
|
|
906
886
|
width: calc(var(--spacing) * 0);
|
|
907
887
|
}
|
|
@@ -920,15 +900,6 @@
|
|
|
920
900
|
.w-\[98vw\] {
|
|
921
901
|
width: 98vw;
|
|
922
902
|
}
|
|
923
|
-
.w-\[260px\] {
|
|
924
|
-
width: 260px;
|
|
925
|
-
}
|
|
926
|
-
.w-\[var\(--fd-toc-width\)\] {
|
|
927
|
-
width: var(--fd-toc-width);
|
|
928
|
-
}
|
|
929
|
-
.w-\[var\(--radix-popover-trigger-width\)\] {
|
|
930
|
-
width: var(--radix-popover-trigger-width);
|
|
931
|
-
}
|
|
932
903
|
.w-fit {
|
|
933
904
|
width: fit-content;
|
|
934
905
|
}
|
|
@@ -997,6 +968,9 @@
|
|
|
997
968
|
.-rotate-90 {
|
|
998
969
|
rotate: calc(90deg * -1);
|
|
999
970
|
}
|
|
971
|
+
.rotate-90 {
|
|
972
|
+
rotate: 90deg;
|
|
973
|
+
}
|
|
1000
974
|
.transform {
|
|
1001
975
|
transform: var(--tw-rotate-x) var(--tw-rotate-y) var(--tw-rotate-z) var(--tw-skew-x) var(--tw-skew-y);
|
|
1002
976
|
}
|
|
@@ -1094,6 +1068,9 @@
|
|
|
1094
1068
|
.overflow-hidden {
|
|
1095
1069
|
overflow: hidden;
|
|
1096
1070
|
}
|
|
1071
|
+
.overflow-visible {
|
|
1072
|
+
overflow: visible;
|
|
1073
|
+
}
|
|
1097
1074
|
.overflow-x-auto {
|
|
1098
1075
|
overflow-x: auto;
|
|
1099
1076
|
}
|
|
@@ -1115,6 +1092,10 @@
|
|
|
1115
1092
|
.rounded-xl {
|
|
1116
1093
|
border-radius: var(--radius-xl);
|
|
1117
1094
|
}
|
|
1095
|
+
.rounded-s-none {
|
|
1096
|
+
border-start-start-radius: 0;
|
|
1097
|
+
border-end-start-radius: 0;
|
|
1098
|
+
}
|
|
1118
1099
|
.border {
|
|
1119
1100
|
border-style: var(--tw-border-style);
|
|
1120
1101
|
border-width: 1px;
|
|
@@ -1123,6 +1104,14 @@
|
|
|
1123
1104
|
border-inline-start-style: var(--tw-border-style);
|
|
1124
1105
|
border-inline-start-width: 1px;
|
|
1125
1106
|
}
|
|
1107
|
+
.border-s-0 {
|
|
1108
|
+
border-inline-start-style: var(--tw-border-style);
|
|
1109
|
+
border-inline-start-width: 0px;
|
|
1110
|
+
}
|
|
1111
|
+
.border-s-2 {
|
|
1112
|
+
border-inline-start-style: var(--tw-border-style);
|
|
1113
|
+
border-inline-start-width: 2px;
|
|
1114
|
+
}
|
|
1126
1115
|
.border-t {
|
|
1127
1116
|
border-top-style: var(--tw-border-style);
|
|
1128
1117
|
border-top-width: 1px;
|
|
@@ -1141,7 +1130,16 @@
|
|
|
1141
1130
|
.border-transparent {
|
|
1142
1131
|
border-color: transparent;
|
|
1143
1132
|
}
|
|
1144
|
-
.
|
|
1133
|
+
.border-s-blue-500\/50 {
|
|
1134
|
+
border-inline-start-color: color-mix(in oklab, var(--color-blue-500) 50%, transparent);
|
|
1135
|
+
}
|
|
1136
|
+
.border-s-orange-500\/50 {
|
|
1137
|
+
border-inline-start-color: color-mix(in oklab, var(--color-orange-500) 50%, transparent);
|
|
1138
|
+
}
|
|
1139
|
+
.border-s-red-500\/50 {
|
|
1140
|
+
border-inline-start-color: color-mix(in oklab, var(--color-red-500) 50%, transparent);
|
|
1141
|
+
}
|
|
1142
|
+
.bg-\(--shiki-light-bg\) {
|
|
1145
1143
|
background-color: var(--shiki-light-bg);
|
|
1146
1144
|
}
|
|
1147
1145
|
.bg-black\/30 {
|
|
@@ -1219,9 +1217,6 @@
|
|
|
1219
1217
|
.p-4 {
|
|
1220
1218
|
padding: calc(var(--spacing) * 4);
|
|
1221
1219
|
}
|
|
1222
|
-
.p-\[3px\] {
|
|
1223
|
-
padding: 3px;
|
|
1224
|
-
}
|
|
1225
1220
|
.px-1\.5 {
|
|
1226
1221
|
padding-inline: calc(var(--spacing) * 1.5);
|
|
1227
1222
|
}
|
|
@@ -1261,11 +1256,8 @@
|
|
|
1261
1256
|
.ps-2 {
|
|
1262
1257
|
padding-inline-start: calc(var(--spacing) * 2);
|
|
1263
1258
|
}
|
|
1264
|
-
.ps-3
|
|
1265
|
-
padding-inline-start: calc(var(--spacing) * 3
|
|
1266
|
-
}
|
|
1267
|
-
.ps-4 {
|
|
1268
|
-
padding-inline-start: calc(var(--spacing) * 4);
|
|
1259
|
+
.ps-3 {
|
|
1260
|
+
padding-inline-start: calc(var(--spacing) * 3);
|
|
1269
1261
|
}
|
|
1270
1262
|
.ps-6 {
|
|
1271
1263
|
padding-inline-start: calc(var(--spacing) * 6);
|
|
@@ -1273,15 +1265,15 @@
|
|
|
1273
1265
|
.ps-8 {
|
|
1274
1266
|
padding-inline-start: calc(var(--spacing) * 8);
|
|
1275
1267
|
}
|
|
1276
|
-
.
|
|
1277
|
-
padding-inline-
|
|
1268
|
+
.ps-px {
|
|
1269
|
+
padding-inline-start: 1px;
|
|
1270
|
+
}
|
|
1271
|
+
.pe-\(--fd-layout-offset\) {
|
|
1272
|
+
padding-inline-end: var(--fd-layout-offset);
|
|
1278
1273
|
}
|
|
1279
1274
|
.pe-4 {
|
|
1280
1275
|
padding-inline-end: calc(var(--spacing) * 4);
|
|
1281
1276
|
}
|
|
1282
|
-
.pe-\[var\(--fd-layout-offset\)\] {
|
|
1283
|
-
padding-inline-end: var(--fd-layout-offset);
|
|
1284
|
-
}
|
|
1285
1277
|
.pt-0 {
|
|
1286
1278
|
padding-top: calc(var(--spacing) * 0);
|
|
1287
1279
|
}
|
|
@@ -1338,9 +1330,8 @@
|
|
|
1338
1330
|
.text-\[13px\] {
|
|
1339
1331
|
font-size: 13px;
|
|
1340
1332
|
}
|
|
1341
|
-
.
|
|
1342
|
-
|
|
1343
|
-
font-weight: var(--font-weight-bold);
|
|
1333
|
+
.text-\[15px\] {
|
|
1334
|
+
font-size: 15px;
|
|
1344
1335
|
}
|
|
1345
1336
|
.font-medium {
|
|
1346
1337
|
--tw-font-weight: var(--font-weight-medium);
|
|
@@ -1371,6 +1362,9 @@
|
|
|
1371
1362
|
.text-fd-foreground {
|
|
1372
1363
|
color: var(--color-fd-foreground);
|
|
1373
1364
|
}
|
|
1365
|
+
.text-fd-foreground\/30 {
|
|
1366
|
+
color: color-mix(in oklab, var(--color-fd-foreground) 30%, transparent);
|
|
1367
|
+
}
|
|
1374
1368
|
.text-fd-muted-foreground {
|
|
1375
1369
|
color: var(--color-fd-muted-foreground);
|
|
1376
1370
|
}
|
|
@@ -1582,6 +1576,13 @@
|
|
|
1582
1576
|
}
|
|
1583
1577
|
}
|
|
1584
1578
|
}
|
|
1579
|
+
.hover\:opacity-80 {
|
|
1580
|
+
&:hover {
|
|
1581
|
+
@media (hover: hover) {
|
|
1582
|
+
opacity: 80%;
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1585
1586
|
.hover\:transition-none {
|
|
1586
1587
|
&:hover {
|
|
1587
1588
|
@media (hover: hover) {
|
|
@@ -1821,9 +1822,9 @@
|
|
|
1821
1822
|
position: sticky;
|
|
1822
1823
|
}
|
|
1823
1824
|
}
|
|
1824
|
-
.md\:
|
|
1825
|
+
.md\:mx-6 {
|
|
1825
1826
|
@media (width >= 48rem) {
|
|
1826
|
-
|
|
1827
|
+
margin-inline: calc(var(--spacing) * 6);
|
|
1827
1828
|
}
|
|
1828
1829
|
}
|
|
1829
1830
|
.md\:ms-auto {
|
|
@@ -1831,7 +1832,7 @@
|
|
|
1831
1832
|
margin-inline-start: auto;
|
|
1832
1833
|
}
|
|
1833
1834
|
}
|
|
1834
|
-
.md\:-me-\
|
|
1835
|
+
.md\:-me-\(--fd-sidebar-width\) {
|
|
1835
1836
|
@media (width >= 48rem) {
|
|
1836
1837
|
margin-inline-end: calc(var(--fd-sidebar-width) * -1);
|
|
1837
1838
|
}
|
|
@@ -1841,12 +1842,12 @@
|
|
|
1841
1842
|
display: none;
|
|
1842
1843
|
}
|
|
1843
1844
|
}
|
|
1844
|
-
.md\:h-\
|
|
1845
|
+
.md\:h-\(--fd-sidebar-height\) {
|
|
1845
1846
|
@media (width >= 48rem) {
|
|
1846
1847
|
height: var(--fd-sidebar-height);
|
|
1847
1848
|
}
|
|
1848
1849
|
}
|
|
1849
|
-
.md\:w-\
|
|
1850
|
+
.md\:w-\(--fd-sidebar-width\) {
|
|
1850
1851
|
@media (width >= 48rem) {
|
|
1851
1852
|
width: var(--fd-sidebar-width);
|
|
1852
1853
|
}
|
|
@@ -1884,16 +1885,31 @@
|
|
|
1884
1885
|
padding-inline: calc(var(--spacing) * 2);
|
|
1885
1886
|
}
|
|
1886
1887
|
}
|
|
1888
|
+
.md\:px-6 {
|
|
1889
|
+
@media (width >= 48rem) {
|
|
1890
|
+
padding-inline: calc(var(--spacing) * 6);
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1887
1893
|
.md\:py-1\.5 {
|
|
1888
1894
|
@media (width >= 48rem) {
|
|
1889
1895
|
padding-block: calc(var(--spacing) * 1.5);
|
|
1890
1896
|
}
|
|
1891
1897
|
}
|
|
1892
|
-
.md\:
|
|
1898
|
+
.md\:py-3 {
|
|
1899
|
+
@media (width >= 48rem) {
|
|
1900
|
+
padding-block: calc(var(--spacing) * 3);
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
.md\:ps-\(--fd-layout-offset\) {
|
|
1893
1904
|
@media (width >= 48rem) {
|
|
1894
1905
|
padding-inline-start: var(--fd-layout-offset);
|
|
1895
1906
|
}
|
|
1896
1907
|
}
|
|
1908
|
+
.md\:ps-5 {
|
|
1909
|
+
@media (width >= 48rem) {
|
|
1910
|
+
padding-inline-start: calc(var(--spacing) * 5);
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1897
1913
|
.md\:pt-4 {
|
|
1898
1914
|
@media (width >= 48rem) {
|
|
1899
1915
|
padding-top: calc(var(--spacing) * 4);
|
|
@@ -1962,9 +1978,9 @@
|
|
|
1962
1978
|
border-width: 1px;
|
|
1963
1979
|
}
|
|
1964
1980
|
}
|
|
1965
|
-
.lg\:
|
|
1981
|
+
.lg\:\[--fd-sidebar-width\:286px\] {
|
|
1966
1982
|
@media (width >= 64rem) {
|
|
1967
|
-
|
|
1983
|
+
--fd-sidebar-width: 286px;
|
|
1968
1984
|
}
|
|
1969
1985
|
}
|
|
1970
1986
|
.xl\:mx-auto {
|
|
@@ -1977,6 +1993,11 @@
|
|
|
1977
1993
|
display: none;
|
|
1978
1994
|
}
|
|
1979
1995
|
}
|
|
1996
|
+
.xl\:px-12 {
|
|
1997
|
+
@media (width >= 80rem) {
|
|
1998
|
+
padding-inline: calc(var(--spacing) * 12);
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
1980
2001
|
.xl\:\[--fd-toc-width\:268px\] {
|
|
1981
2002
|
@media (width >= 80rem) {
|
|
1982
2003
|
--fd-toc-width: 268px;
|
|
@@ -1992,13 +2013,6 @@
|
|
|
1992
2013
|
--fd-tocnav-height: 0px;
|
|
1993
2014
|
}
|
|
1994
2015
|
}
|
|
1995
|
-
.xl\:md\:\[--fd-sidebar-width\:286px\] {
|
|
1996
|
-
@media (width >= 80rem) {
|
|
1997
|
-
@media (width >= 48rem) {
|
|
1998
|
-
--fd-sidebar-width: 286px;
|
|
1999
|
-
}
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
2016
|
.rtl\:-scale-x-100 {
|
|
2003
2017
|
&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
|
|
2004
2018
|
--tw-scale-x: calc(100% * -1);
|
|
@@ -2010,7 +2024,7 @@
|
|
|
2010
2024
|
rotate: 180deg;
|
|
2011
2025
|
}
|
|
2012
2026
|
}
|
|
2013
|
-
.rtl\:md\:translate-x-\
|
|
2027
|
+
.rtl\:md\:translate-x-\(--fd-sidebar-offset\) {
|
|
2014
2028
|
&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
|
|
2015
2029
|
@media (width >= 48rem) {
|
|
2016
2030
|
--tw-translate-x: var(--fd-sidebar-offset);
|
|
@@ -2018,7 +2032,7 @@
|
|
|
2018
2032
|
}
|
|
2019
2033
|
}
|
|
2020
2034
|
}
|
|
2021
|
-
.dark\:bg-\
|
|
2035
|
+
.dark\:bg-\(--shiki-dark-bg\) {
|
|
2022
2036
|
&:where(.dark, .dark *) {
|
|
2023
2037
|
background-color: var(--shiki-dark-bg);
|
|
2024
2038
|
}
|
|
@@ -2035,6 +2049,12 @@
|
|
|
2035
2049
|
height: calc(var(--spacing) * 4);
|
|
2036
2050
|
}
|
|
2037
2051
|
}
|
|
2052
|
+
.\[\&_svg\]\:size-4\.5 {
|
|
2053
|
+
& svg {
|
|
2054
|
+
width: calc(var(--spacing) * 4.5);
|
|
2055
|
+
height: calc(var(--spacing) * 4.5);
|
|
2056
|
+
}
|
|
2057
|
+
}
|
|
2038
2058
|
.\[\&_svg\]\:size-5 {
|
|
2039
2059
|
& svg {
|
|
2040
2060
|
width: calc(var(--spacing) * 5);
|
|
@@ -2046,6 +2066,14 @@
|
|
|
2046
2066
|
flex-shrink: 0;
|
|
2047
2067
|
}
|
|
2048
2068
|
}
|
|
2069
|
+
.md\:\[\&_svg\]\:size-4\.5 {
|
|
2070
|
+
@media (width >= 48rem) {
|
|
2071
|
+
& svg {
|
|
2072
|
+
width: calc(var(--spacing) * 4.5);
|
|
2073
|
+
height: calc(var(--spacing) * 4.5);
|
|
2074
|
+
}
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2049
2077
|
.\[\&\>figure\:only-child\]\:-m-4 {
|
|
2050
2078
|
&>figure:only-child {
|
|
2051
2079
|
margin: calc(var(--spacing) * -4);
|
|
@@ -2149,6 +2177,37 @@
|
|
|
2149
2177
|
background-color: var(--color-fd-background);
|
|
2150
2178
|
}
|
|
2151
2179
|
}
|
|
2180
|
+
@layer utilities {
|
|
2181
|
+
.fd-steps {
|
|
2182
|
+
counter-reset: step;
|
|
2183
|
+
border-left-width: 1px;
|
|
2184
|
+
margin-left: 1rem;
|
|
2185
|
+
padding-left: 1.75rem;
|
|
2186
|
+
position: relative;
|
|
2187
|
+
}
|
|
2188
|
+
.fd-step:before {
|
|
2189
|
+
background-color: var(--color-fd-secondary);
|
|
2190
|
+
color: var(--color-fd-secondary-foreground);
|
|
2191
|
+
content: counter(step);
|
|
2192
|
+
counter-increment: step;
|
|
2193
|
+
border-radius: 9999px;
|
|
2194
|
+
justify-content: center;
|
|
2195
|
+
align-items: center;
|
|
2196
|
+
width: 2rem;
|
|
2197
|
+
height: 2rem;
|
|
2198
|
+
font-size: 0.875rem;
|
|
2199
|
+
line-height: 1.25rem;
|
|
2200
|
+
display: flex;
|
|
2201
|
+
position: absolute;
|
|
2202
|
+
left: -1rem;
|
|
2203
|
+
}
|
|
2204
|
+
.prose-no-margin > :first-child {
|
|
2205
|
+
margin-top: 0;
|
|
2206
|
+
}
|
|
2207
|
+
.prose-no-margin > :last-child {
|
|
2208
|
+
margin-bottom: 0;
|
|
2209
|
+
}
|
|
2210
|
+
}
|
|
2152
2211
|
@layer base {
|
|
2153
2212
|
body {
|
|
2154
2213
|
display: flex;
|
|
@@ -2159,20 +2218,6 @@
|
|
|
2159
2218
|
cursor: pointer;
|
|
2160
2219
|
}
|
|
2161
2220
|
}
|
|
2162
|
-
@layer base {
|
|
2163
|
-
:root {
|
|
2164
|
-
--fd-sidebar-width: 0px;
|
|
2165
|
-
--fd-toc-width: 0px;
|
|
2166
|
-
--fd-layout-width: 100vw;
|
|
2167
|
-
--fd-banner-height: 0px;
|
|
2168
|
-
--fd-nav-height: 0px;
|
|
2169
|
-
--fd-tocnav-height: 0px;
|
|
2170
|
-
--fd-diff-remove-color: rgba(200,10,100,0.12);
|
|
2171
|
-
--fd-diff-remove-symbol-color: rgb(230,10,100);
|
|
2172
|
-
--fd-diff-add-color: rgba(14,180,100,0.12);
|
|
2173
|
-
--fd-diff-add-symbol-color: rgb(10,200,100);
|
|
2174
|
-
}
|
|
2175
|
-
}
|
|
2176
2221
|
@keyframes spin {
|
|
2177
2222
|
to {
|
|
2178
2223
|
transform: rotate(360deg);
|
|
@@ -408,14 +408,15 @@ export const DEFAULT = {
|
|
|
408
408
|
},
|
|
409
409
|
'a:not([data-card])': {
|
|
410
410
|
color: 'var(--tw-prose-links)',
|
|
411
|
-
transition: 'text-decoration
|
|
411
|
+
transition: 'text-decoration .2s',
|
|
412
412
|
fontWeight: '500',
|
|
413
413
|
textDecoration: 'underline',
|
|
414
414
|
textUnderlineOffset: '3.5px',
|
|
415
|
-
textDecorationColor: '
|
|
415
|
+
textDecorationColor: 'var(--color-fd-primary)',
|
|
416
|
+
textDecorationThickness: '1.5px',
|
|
416
417
|
},
|
|
417
418
|
'a:not([data-card]):hover': {
|
|
418
|
-
|
|
419
|
+
textDecorationThickness: '3px',
|
|
419
420
|
},
|
|
420
421
|
},
|
|
421
422
|
colors,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-ui",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.7",
|
|
4
4
|
"description": "The framework for building a documentation website in Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"tsc-alias": "^1.8.10",
|
|
82
82
|
"@fumadocs/cli": "0.0.8",
|
|
83
83
|
"eslint-config-custom": "0.0.0",
|
|
84
|
-
"fumadocs-core": "15.0.
|
|
84
|
+
"fumadocs-core": "15.0.7",
|
|
85
85
|
"tsconfig": "0.0.0"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"react": "18.x.x || 19.x.x",
|
|
90
90
|
"react-dom": "18.x.x || 19.x.x",
|
|
91
91
|
"tailwindcss": "^3.4.14 || ^4.0.0",
|
|
92
|
-
"fumadocs-core": "15.0.
|
|
92
|
+
"fumadocs-core": "15.0.7"
|
|
93
93
|
},
|
|
94
94
|
"peerDependenciesMeta": {
|
|
95
95
|
"tailwindcss": {
|
package/dist/theme/docs-ui.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface DocsUIOptions {
|
|
2
|
-
/**
|
|
3
|
-
* Prefix to the variable name of colors
|
|
4
|
-
*
|
|
5
|
-
* @defaultValue 'fd'
|
|
6
|
-
*/
|
|
7
|
-
cssPrefix?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Add Fumadocs UI `fd-*` colors to global colors
|
|
10
|
-
*
|
|
11
|
-
* @defaultValue false
|
|
12
|
-
*/
|
|
13
|
-
addGlobalColors?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Max width of docs layout
|
|
16
|
-
*
|
|
17
|
-
* @defaultValue '100vw'
|
|
18
|
-
*/
|
|
19
|
-
layoutWidth?: string;
|
|
20
|
-
}
|
|
21
|
-
export declare const docsUi: unknown;
|
|
22
|
-
export default docsUi;
|
|
23
|
-
//# sourceMappingURL=docs-ui.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"docs-ui.d.ts","sourceRoot":"","sources":["../../src/theme/docs-ui.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AA4CD,eAAO,MAAM,MAAM,EAAE,OAuBpB,CAAC;AAEF,eAAe,MAAM,CAAC"}
|