@fumadocs/base-ui 16.11.2 → 16.11.3
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/dist/style.css +10 -9
- package/package.json +4 -4
package/dist/style.css
CHANGED
|
@@ -476,10 +476,11 @@
|
|
|
476
476
|
margin-inline-end: auto;
|
|
477
477
|
}
|
|
478
478
|
.prose {
|
|
479
|
+
--tw-prose-size: 1;
|
|
479
480
|
color: var(--tw-prose-body);
|
|
480
481
|
max-width: none;
|
|
481
|
-
font-size: 1rem;
|
|
482
|
-
line-height: 1.75rem;
|
|
482
|
+
font-size: calc(1rem * var(--tw-prose-size));
|
|
483
|
+
line-height: calc(1.75rem * var(--tw-prose-size));
|
|
483
484
|
:where([class~="lead"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
484
485
|
font-size: 1.25em;
|
|
485
486
|
line-height: 1.6;
|
|
@@ -488,7 +489,7 @@
|
|
|
488
489
|
color: var(--tw-prose-lead);
|
|
489
490
|
}
|
|
490
491
|
:where(ul):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
491
|
-
padding-inline-start: 1rem;
|
|
492
|
+
padding-inline-start: calc(1rem * var(--tw-prose-size));
|
|
492
493
|
list-style-type: disc;
|
|
493
494
|
margin-top: 1.25em;
|
|
494
495
|
margin-bottom: 1.25em;
|
|
@@ -619,7 +620,7 @@
|
|
|
619
620
|
:where(h1):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
620
621
|
color: var(--tw-prose-headings);
|
|
621
622
|
font-weight: 800;
|
|
622
|
-
font-size: var(--text-3xl);
|
|
623
|
+
font-size: calc(var(--text-3xl) * var(--tw-prose-size));
|
|
623
624
|
margin-top: 0;
|
|
624
625
|
margin-bottom: 0.8888889em;
|
|
625
626
|
line-height: 1.1111111;
|
|
@@ -705,9 +706,9 @@
|
|
|
705
706
|
box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);
|
|
706
707
|
}
|
|
707
708
|
:where(code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
708
|
-
padding: 3px;
|
|
709
|
+
padding: calc(3px * var(--tw-prose-size));
|
|
709
710
|
border: solid 1px;
|
|
710
|
-
font-size: 13px;
|
|
711
|
+
font-size: calc(13px * var(--tw-prose-size));
|
|
711
712
|
border-color: var(--color-fd-border);
|
|
712
713
|
border-radius: 5px;
|
|
713
714
|
font-weight: 400;
|
|
@@ -719,7 +720,7 @@
|
|
|
719
720
|
}
|
|
720
721
|
:where(h1 code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
721
722
|
color: inherit;
|
|
722
|
-
font-size: var(--text-2xl);
|
|
723
|
+
font-size: calc(var(--text-2xl) * var(--tw-prose-size));
|
|
723
724
|
}
|
|
724
725
|
:where(h2 code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
725
726
|
color: inherit;
|
|
@@ -812,7 +813,7 @@
|
|
|
812
813
|
}
|
|
813
814
|
:where(th):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
814
815
|
text-align: start;
|
|
815
|
-
padding: calc(var(--spacing) * 2.5);
|
|
816
|
+
padding: calc(var(--spacing) * 2.5 * var(--tw-prose-size));
|
|
816
817
|
border-inline-start: 1px solid var(--color-fd-border);
|
|
817
818
|
background: var(--color-fd-muted);
|
|
818
819
|
}
|
|
@@ -825,7 +826,7 @@
|
|
|
825
826
|
:where(td):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
826
827
|
text-align: start;
|
|
827
828
|
border-inline-start: 1px solid var(--color-fd-border);
|
|
828
|
-
padding: calc(var(--spacing) * 2.5);
|
|
829
|
+
padding: calc(var(--spacing) * 2.5 * var(--tw-prose-size));
|
|
829
830
|
}
|
|
830
831
|
:where(td:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
831
832
|
border-inline-start: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fumadocs/base-ui",
|
|
3
|
-
"version": "16.11.
|
|
3
|
+
"version": "16.11.3",
|
|
4
4
|
"description": "The Base UI version of Fumadocs UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
132
132
|
"shiki": "^4.3.1",
|
|
133
133
|
"unist-util-visit": "^5.1.0",
|
|
134
|
-
"@fumadocs/tailwind": "0.1.
|
|
134
|
+
"@fumadocs/tailwind": "0.1.1"
|
|
135
135
|
},
|
|
136
136
|
"devDependencies": {
|
|
137
137
|
"@tailwindcss/cli": "^4.3.2",
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"tsdown": "0.22.4",
|
|
149
149
|
"unified": "^11.0.5",
|
|
150
150
|
"@fumadocs/cli": "1.4.1",
|
|
151
|
-
"fumadocs-core": "16.11.
|
|
151
|
+
"fumadocs-core": "16.11.3",
|
|
152
152
|
"tsconfig": "0.0.0"
|
|
153
153
|
},
|
|
154
154
|
"peerDependencies": {
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"react": "^19.2.0",
|
|
159
159
|
"react-dom": "^19.2.0",
|
|
160
160
|
"takumi-js": "*",
|
|
161
|
-
"fumadocs-core": "16.11.
|
|
161
|
+
"fumadocs-core": "16.11.3"
|
|
162
162
|
},
|
|
163
163
|
"peerDependenciesMeta": {
|
|
164
164
|
"next": {
|