@vaneui/ui 0.3.1-alpha.20251001144233.cfeb345 → 0.3.1-alpha.20251002075149.f5b5fd6
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/components/ui/theme/size/lineHeightTheme.d.ts.map +1 -1
- package/dist/index.esm.js +30 -30
- package/dist/index.js +30 -30
- package/dist/ui.css +29 -30
- package/dist/vars.css +7 -8
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lineHeightTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/theme/size/lineHeightTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,qBAAa,eAAgB,SAAQ,SAAU,YAAW,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC;IAC/E,oEAAoE;IACpE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"lineHeightTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/theme/size/lineHeightTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,qBAAa,eAAgB,SAAQ,SAAU,YAAW,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC;IAC/E,oEAAoE;IACpE,EAAE,EAAE,MAAM,CAAkB;IAC5B,8DAA8D;IAC9D,EAAE,EAAE,MAAM,CAAkB;IAC5B,iEAAiE;IACjE,EAAE,EAAE,MAAM,CAAgB;IAC1B,8DAA8D;IAC9D,EAAE,EAAE,MAAM,CAAkB;IAC5B,oEAAoE;IACpE,EAAE,EAAE,MAAM,CAAgB;gBAEd,aAAa,CAAC,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC;IAWnD,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,EAAE;IAQlD,MAAM,CAAC,aAAa,IAAI,eAAe;IAKvC,MAAM,CAAC,qBAAqB,IAAI,eAAe;IAU/C,MAAM,CAAC,kBAAkB,IAAI,eAAe;IAU5C,MAAM,CAAC,cAAc,IAAI,eAAe;CASzC"}
|
package/dist/index.esm.js
CHANGED
|
@@ -3707,15 +3707,15 @@ class LineHeightTheme extends BaseTheme {
|
|
|
3707
3707
|
constructor(customMapping) {
|
|
3708
3708
|
super();
|
|
3709
3709
|
/** Extra-small line height - matches text-xs default line height */
|
|
3710
|
-
this.xs = "[--lh
|
|
3710
|
+
this.xs = "[--lh:1.333]"; // calc(1 / 0.75) ≈ 1.333
|
|
3711
3711
|
/** Small line height - matches text-sm default line height */
|
|
3712
|
-
this.sm = "[--lh
|
|
3712
|
+
this.sm = "[--lh:1.429]"; // calc(1.25 / 0.875) ≈ 1.429
|
|
3713
3713
|
/** Medium line height - matches text-base default line height */
|
|
3714
|
-
this.md = "[--lh
|
|
3714
|
+
this.md = "[--lh:1.5]"; // calc(1.5 / 1) = 1.5
|
|
3715
3715
|
/** Large line height - matches text-lg default line height */
|
|
3716
|
-
this.lg = "[--lh
|
|
3716
|
+
this.lg = "[--lh:1.556]"; // calc(1.75 / 1.125) ≈ 1.556
|
|
3717
3717
|
/** Extra-large line height - matches text-xl default line height */
|
|
3718
|
-
this.xl = "[--lh
|
|
3718
|
+
this.xl = "[--lh:1.4]"; // calc(1.75 / 1.25) = 1.4
|
|
3719
3719
|
if (customMapping) {
|
|
3720
3720
|
this.xs = customMapping.xs || this.xs;
|
|
3721
3721
|
this.sm = customMapping.sm || this.sm;
|
|
@@ -3737,29 +3737,29 @@ class LineHeightTheme extends BaseTheme {
|
|
|
3737
3737
|
// Static factory methods for different text size ranges
|
|
3738
3738
|
static createForSectionTitle() {
|
|
3739
3739
|
return new LineHeightTheme({
|
|
3740
|
-
xs: "[--lh
|
|
3741
|
-
sm: "[--lh
|
|
3742
|
-
md: "[--lh
|
|
3743
|
-
lg: "[--lh
|
|
3744
|
-
xl: "[--lh
|
|
3740
|
+
xs: "[--lh:1.333]", // text-2xl: calc(2 / 1.5) ≈ 1.333
|
|
3741
|
+
sm: "[--lh:1.2]", // text-3xl: calc(2.25 / 1.875) = 1.2
|
|
3742
|
+
md: "[--lh:1.111]", // text-4xl: calc(2.5 / 2.25) ≈ 1.111
|
|
3743
|
+
lg: "[--lh:1]", // text-5xl: 1
|
|
3744
|
+
xl: "[--lh:1]" // text-6xl+: 1
|
|
3745
3745
|
});
|
|
3746
3746
|
}
|
|
3747
3747
|
static createForPageTitle() {
|
|
3748
3748
|
return new LineHeightTheme({
|
|
3749
|
-
xs: "[--lh
|
|
3750
|
-
sm: "[--lh
|
|
3751
|
-
md: "[--lh
|
|
3752
|
-
lg: "[--lh
|
|
3753
|
-
xl: "[--lh
|
|
3749
|
+
xs: "[--lh:1.2]", // text-3xl: calc(2.25 / 1.875) = 1.2
|
|
3750
|
+
sm: "[--lh:1.111]", // text-4xl: calc(2.5 / 2.25) ≈ 1.111
|
|
3751
|
+
md: "[--lh:1]", // text-5xl: 1
|
|
3752
|
+
lg: "[--lh:1]", // text-6xl: 1
|
|
3753
|
+
xl: "[--lh:1]" // text-7xl: 1
|
|
3754
3754
|
});
|
|
3755
3755
|
}
|
|
3756
3756
|
static createForTitle() {
|
|
3757
3757
|
return new LineHeightTheme({
|
|
3758
|
-
xs: "[--lh
|
|
3759
|
-
sm: "[--lh
|
|
3760
|
-
md: "[--lh
|
|
3761
|
-
lg: "[--lh
|
|
3762
|
-
xl: "[--lh
|
|
3758
|
+
xs: "[--lh:1.556]", // text-lg: calc(1.75 / 1.125) ≈ 1.556
|
|
3759
|
+
sm: "[--lh:1.4]", // text-xl: calc(1.75 / 1.25) = 1.4
|
|
3760
|
+
md: "[--lh:1.333]", // text-2xl: calc(2 / 1.5) ≈ 1.333
|
|
3761
|
+
lg: "[--lh:1.2]", // text-3xl: calc(2.25 / 1.875) = 1.2
|
|
3762
|
+
xl: "[--lh:1.111]" // text-4xl: calc(2.5 / 2.25) ≈ 1.111
|
|
3763
3763
|
});
|
|
3764
3764
|
}
|
|
3765
3765
|
}
|
|
@@ -4878,11 +4878,11 @@ const defaultButtonTheme = new ComponentTheme("button", "w-fit h-fit cursor-poin
|
|
|
4878
4878
|
gap: new GapTheme(true),
|
|
4879
4879
|
text: new FontSizeTheme(),
|
|
4880
4880
|
lineHeight: new LineHeightTheme({
|
|
4881
|
-
xs: "[--lh
|
|
4882
|
-
sm: "[--lh
|
|
4883
|
-
md: "[--lh
|
|
4884
|
-
lg: "[--lh
|
|
4885
|
-
xl: "[--lh
|
|
4881
|
+
xs: "[--lh:1.3]",
|
|
4882
|
+
sm: "[--lh:1.3]",
|
|
4883
|
+
md: "[--lh:1.3]",
|
|
4884
|
+
lg: "[--lh:1.3]",
|
|
4885
|
+
xl: "[--lh:1.3]"
|
|
4886
4886
|
}),
|
|
4887
4887
|
},
|
|
4888
4888
|
appearance: {
|
|
@@ -5488,11 +5488,11 @@ const defaultCheckTheme = new ComponentTheme("span", "invisible col-start-1 row-
|
|
|
5488
5488
|
const defaultCheckboxWrapperTheme = new ComponentTheme("span", "", {
|
|
5489
5489
|
size: {
|
|
5490
5490
|
height: new SizeTheme({
|
|
5491
|
-
xs: 'h-
|
|
5492
|
-
sm: 'h-
|
|
5493
|
-
md: 'h-
|
|
5494
|
-
lg: 'h-
|
|
5495
|
-
xl: 'h-
|
|
5491
|
+
xs: 'h-[calc(var(--lh)*var(--fs))]',
|
|
5492
|
+
sm: 'h-[calc(var(--lh)*var(--fs))]',
|
|
5493
|
+
md: 'h-[calc(var(--lh)*var(--fs))]',
|
|
5494
|
+
lg: 'h-[calc(var(--lh)*var(--fs))]',
|
|
5495
|
+
xl: 'h-[calc(var(--lh)*var(--fs))]'
|
|
5496
5496
|
})
|
|
5497
5497
|
},
|
|
5498
5498
|
layout: {
|
package/dist/index.js
CHANGED
|
@@ -3709,15 +3709,15 @@ class LineHeightTheme extends BaseTheme {
|
|
|
3709
3709
|
constructor(customMapping) {
|
|
3710
3710
|
super();
|
|
3711
3711
|
/** Extra-small line height - matches text-xs default line height */
|
|
3712
|
-
this.xs = "[--lh
|
|
3712
|
+
this.xs = "[--lh:1.333]"; // calc(1 / 0.75) ≈ 1.333
|
|
3713
3713
|
/** Small line height - matches text-sm default line height */
|
|
3714
|
-
this.sm = "[--lh
|
|
3714
|
+
this.sm = "[--lh:1.429]"; // calc(1.25 / 0.875) ≈ 1.429
|
|
3715
3715
|
/** Medium line height - matches text-base default line height */
|
|
3716
|
-
this.md = "[--lh
|
|
3716
|
+
this.md = "[--lh:1.5]"; // calc(1.5 / 1) = 1.5
|
|
3717
3717
|
/** Large line height - matches text-lg default line height */
|
|
3718
|
-
this.lg = "[--lh
|
|
3718
|
+
this.lg = "[--lh:1.556]"; // calc(1.75 / 1.125) ≈ 1.556
|
|
3719
3719
|
/** Extra-large line height - matches text-xl default line height */
|
|
3720
|
-
this.xl = "[--lh
|
|
3720
|
+
this.xl = "[--lh:1.4]"; // calc(1.75 / 1.25) = 1.4
|
|
3721
3721
|
if (customMapping) {
|
|
3722
3722
|
this.xs = customMapping.xs || this.xs;
|
|
3723
3723
|
this.sm = customMapping.sm || this.sm;
|
|
@@ -3739,29 +3739,29 @@ class LineHeightTheme extends BaseTheme {
|
|
|
3739
3739
|
// Static factory methods for different text size ranges
|
|
3740
3740
|
static createForSectionTitle() {
|
|
3741
3741
|
return new LineHeightTheme({
|
|
3742
|
-
xs: "[--lh
|
|
3743
|
-
sm: "[--lh
|
|
3744
|
-
md: "[--lh
|
|
3745
|
-
lg: "[--lh
|
|
3746
|
-
xl: "[--lh
|
|
3742
|
+
xs: "[--lh:1.333]", // text-2xl: calc(2 / 1.5) ≈ 1.333
|
|
3743
|
+
sm: "[--lh:1.2]", // text-3xl: calc(2.25 / 1.875) = 1.2
|
|
3744
|
+
md: "[--lh:1.111]", // text-4xl: calc(2.5 / 2.25) ≈ 1.111
|
|
3745
|
+
lg: "[--lh:1]", // text-5xl: 1
|
|
3746
|
+
xl: "[--lh:1]" // text-6xl+: 1
|
|
3747
3747
|
});
|
|
3748
3748
|
}
|
|
3749
3749
|
static createForPageTitle() {
|
|
3750
3750
|
return new LineHeightTheme({
|
|
3751
|
-
xs: "[--lh
|
|
3752
|
-
sm: "[--lh
|
|
3753
|
-
md: "[--lh
|
|
3754
|
-
lg: "[--lh
|
|
3755
|
-
xl: "[--lh
|
|
3751
|
+
xs: "[--lh:1.2]", // text-3xl: calc(2.25 / 1.875) = 1.2
|
|
3752
|
+
sm: "[--lh:1.111]", // text-4xl: calc(2.5 / 2.25) ≈ 1.111
|
|
3753
|
+
md: "[--lh:1]", // text-5xl: 1
|
|
3754
|
+
lg: "[--lh:1]", // text-6xl: 1
|
|
3755
|
+
xl: "[--lh:1]" // text-7xl: 1
|
|
3756
3756
|
});
|
|
3757
3757
|
}
|
|
3758
3758
|
static createForTitle() {
|
|
3759
3759
|
return new LineHeightTheme({
|
|
3760
|
-
xs: "[--lh
|
|
3761
|
-
sm: "[--lh
|
|
3762
|
-
md: "[--lh
|
|
3763
|
-
lg: "[--lh
|
|
3764
|
-
xl: "[--lh
|
|
3760
|
+
xs: "[--lh:1.556]", // text-lg: calc(1.75 / 1.125) ≈ 1.556
|
|
3761
|
+
sm: "[--lh:1.4]", // text-xl: calc(1.75 / 1.25) = 1.4
|
|
3762
|
+
md: "[--lh:1.333]", // text-2xl: calc(2 / 1.5) ≈ 1.333
|
|
3763
|
+
lg: "[--lh:1.2]", // text-3xl: calc(2.25 / 1.875) = 1.2
|
|
3764
|
+
xl: "[--lh:1.111]" // text-4xl: calc(2.5 / 2.25) ≈ 1.111
|
|
3765
3765
|
});
|
|
3766
3766
|
}
|
|
3767
3767
|
}
|
|
@@ -4880,11 +4880,11 @@ const defaultButtonTheme = new ComponentTheme("button", "w-fit h-fit cursor-poin
|
|
|
4880
4880
|
gap: new GapTheme(true),
|
|
4881
4881
|
text: new FontSizeTheme(),
|
|
4882
4882
|
lineHeight: new LineHeightTheme({
|
|
4883
|
-
xs: "[--lh
|
|
4884
|
-
sm: "[--lh
|
|
4885
|
-
md: "[--lh
|
|
4886
|
-
lg: "[--lh
|
|
4887
|
-
xl: "[--lh
|
|
4883
|
+
xs: "[--lh:1.3]",
|
|
4884
|
+
sm: "[--lh:1.3]",
|
|
4885
|
+
md: "[--lh:1.3]",
|
|
4886
|
+
lg: "[--lh:1.3]",
|
|
4887
|
+
xl: "[--lh:1.3]"
|
|
4888
4888
|
}),
|
|
4889
4889
|
},
|
|
4890
4890
|
appearance: {
|
|
@@ -5490,11 +5490,11 @@ const defaultCheckTheme = new ComponentTheme("span", "invisible col-start-1 row-
|
|
|
5490
5490
|
const defaultCheckboxWrapperTheme = new ComponentTheme("span", "", {
|
|
5491
5491
|
size: {
|
|
5492
5492
|
height: new SizeTheme({
|
|
5493
|
-
xs: 'h-
|
|
5494
|
-
sm: 'h-
|
|
5495
|
-
md: 'h-
|
|
5496
|
-
lg: 'h-
|
|
5497
|
-
xl: 'h-
|
|
5493
|
+
xs: 'h-[calc(var(--lh)*var(--fs))]',
|
|
5494
|
+
sm: 'h-[calc(var(--lh)*var(--fs))]',
|
|
5495
|
+
md: 'h-[calc(var(--lh)*var(--fs))]',
|
|
5496
|
+
lg: 'h-[calc(var(--lh)*var(--fs))]',
|
|
5497
|
+
xl: 'h-[calc(var(--lh)*var(--fs))]'
|
|
5498
5498
|
})
|
|
5499
5499
|
},
|
|
5500
5500
|
layout: {
|
package/dist/ui.css
CHANGED
|
@@ -252,6 +252,12 @@
|
|
|
252
252
|
--br-base: var(--spacing);
|
|
253
253
|
--ui-br-base: calc(var(--spacing) * 0.5);
|
|
254
254
|
--fs-base: calc(var(--spacing) * 0.5);
|
|
255
|
+
--lh: 1;
|
|
256
|
+
--fs-unit: 8;
|
|
257
|
+
--gap-unit: 1;
|
|
258
|
+
--aspect-ratio: 1;
|
|
259
|
+
--py-unit: 1;
|
|
260
|
+
--br-unit: 1;
|
|
255
261
|
}
|
|
256
262
|
}
|
|
257
263
|
@layer base {
|
|
@@ -499,6 +505,9 @@
|
|
|
499
505
|
.table-cell {
|
|
500
506
|
display: table-cell;
|
|
501
507
|
}
|
|
508
|
+
.aspect-ratio {
|
|
509
|
+
aspect-ratio: var(--aspect-ratio);
|
|
510
|
+
}
|
|
502
511
|
.h-3 {
|
|
503
512
|
height: calc(var(--spacing) * 3);
|
|
504
513
|
}
|
|
@@ -514,11 +523,8 @@
|
|
|
514
523
|
.h-5 {
|
|
515
524
|
height: calc(var(--spacing) * 5);
|
|
516
525
|
}
|
|
517
|
-
.h
|
|
518
|
-
height: calc(var(--
|
|
519
|
-
}
|
|
520
|
-
.h-7 {
|
|
521
|
-
height: calc(var(--spacing) * 7);
|
|
526
|
+
.h-\[calc\(var\(--lh\)\*var\(--fs\)\)\] {
|
|
527
|
+
height: calc(var(--lh) * var(--fs));
|
|
522
528
|
}
|
|
523
529
|
.h-fit {
|
|
524
530
|
height: fit-content;
|
|
@@ -1644,32 +1650,32 @@
|
|
|
1644
1650
|
.\[--gap-unit\:6\] {
|
|
1645
1651
|
--gap-unit: 6;
|
|
1646
1652
|
}
|
|
1647
|
-
.\[--lh
|
|
1648
|
-
--lh
|
|
1653
|
+
.\[--lh\:1\.2\] {
|
|
1654
|
+
--lh: 1.2;
|
|
1649
1655
|
}
|
|
1650
|
-
.\[--lh
|
|
1651
|
-
--lh
|
|
1656
|
+
.\[--lh\:1\.3\] {
|
|
1657
|
+
--lh: 1.3;
|
|
1652
1658
|
}
|
|
1653
|
-
.\[--lh
|
|
1654
|
-
--lh
|
|
1659
|
+
.\[--lh\:1\.4\] {
|
|
1660
|
+
--lh: 1.4;
|
|
1655
1661
|
}
|
|
1656
|
-
.\[--lh
|
|
1657
|
-
--lh
|
|
1662
|
+
.\[--lh\:1\.5\] {
|
|
1663
|
+
--lh: 1.5;
|
|
1658
1664
|
}
|
|
1659
|
-
.\[--lh
|
|
1660
|
-
--lh
|
|
1665
|
+
.\[--lh\:1\.111\] {
|
|
1666
|
+
--lh: 1.111;
|
|
1661
1667
|
}
|
|
1662
|
-
.\[--lh
|
|
1663
|
-
--lh
|
|
1668
|
+
.\[--lh\:1\.333\] {
|
|
1669
|
+
--lh: 1.333;
|
|
1664
1670
|
}
|
|
1665
|
-
.\[--lh
|
|
1666
|
-
--lh
|
|
1671
|
+
.\[--lh\:1\.429\] {
|
|
1672
|
+
--lh: 1.429;
|
|
1667
1673
|
}
|
|
1668
|
-
.\[--lh
|
|
1669
|
-
--lh
|
|
1674
|
+
.\[--lh\:1\.556\] {
|
|
1675
|
+
--lh: 1.556;
|
|
1670
1676
|
}
|
|
1671
|
-
.\[--lh
|
|
1672
|
-
--lh
|
|
1677
|
+
.\[--lh\:1\] {
|
|
1678
|
+
--lh: 1;
|
|
1673
1679
|
}
|
|
1674
1680
|
.\[--py-unit\:0\.5\] {
|
|
1675
1681
|
--py-unit: 0.5;
|
|
@@ -2598,21 +2604,14 @@
|
|
|
2598
2604
|
@layer theme {
|
|
2599
2605
|
@layer base {
|
|
2600
2606
|
:where(*) {
|
|
2601
|
-
--gap-unit: 1;
|
|
2602
2607
|
--gap: calc(var(--gap-unit) * var(--layout-spacing));
|
|
2603
2608
|
--ui-gap: calc(var(--gap-unit) * var(--ui-spacing));
|
|
2604
|
-
--aspect-ratio: 1;
|
|
2605
|
-
--py-unit: 1;
|
|
2606
2609
|
--px: calc(var(--aspect-ratio) * var(--py-unit) * var(--layout-spacing));
|
|
2607
2610
|
--ui-px: calc(var(--aspect-ratio) * var(--py-unit) * var(--ui-spacing));
|
|
2608
2611
|
--py: calc(var(--py-unit) * var(--layout-spacing));
|
|
2609
2612
|
--ui-py: calc(var(--py-unit) * var(--ui-spacing));
|
|
2610
|
-
--br-unit: 1;
|
|
2611
2613
|
--br: calc(var(--br-unit) * var(--br-base));
|
|
2612
2614
|
--ui-br: calc(var(--br-unit) * var(--ui-br-base));
|
|
2613
|
-
--lh-unit: 1.5;
|
|
2614
|
-
--lh: var(--lh-unit);
|
|
2615
|
-
--fs-unit: 8;
|
|
2616
2615
|
--fs: calc(var(--fs-unit) * var(--fs-base));
|
|
2617
2616
|
}
|
|
2618
2617
|
}
|
package/dist/vars.css
CHANGED
|
@@ -156,29 +156,28 @@
|
|
|
156
156
|
--breakpoint-tablet: 48rem;
|
|
157
157
|
--breakpoint-laptop: 64rem;
|
|
158
158
|
--breakpoint-desktop: 80rem;
|
|
159
|
+
|
|
160
|
+
--lh: 1;
|
|
161
|
+
--fs-unit: 8; /* Default to text-base (1rem = 8 * 0.125rem) */
|
|
162
|
+
--gap-unit: 1;
|
|
163
|
+
--aspect-ratio: 1;
|
|
164
|
+
--py-unit: 1;
|
|
165
|
+
--br-unit: 1;
|
|
159
166
|
}
|
|
160
167
|
|
|
161
168
|
@layer base {
|
|
162
169
|
:where(*) {
|
|
163
|
-
--gap-unit: 1;
|
|
164
170
|
--gap: calc(var(--gap-unit) * var(--layout-spacing));
|
|
165
171
|
--ui-gap: calc(var(--gap-unit) * var(--ui-spacing));
|
|
166
172
|
|
|
167
|
-
--aspect-ratio: 1;
|
|
168
|
-
--py-unit: 1;
|
|
169
173
|
--px: calc(var(--aspect-ratio) * var(--py-unit) * var(--layout-spacing));
|
|
170
174
|
--ui-px: calc(var(--aspect-ratio) * var(--py-unit) * var(--ui-spacing));
|
|
171
175
|
--py: calc(var(--py-unit) * var(--layout-spacing));
|
|
172
176
|
--ui-py: calc(var(--py-unit) * var(--ui-spacing));
|
|
173
177
|
|
|
174
|
-
--br-unit: 1;
|
|
175
178
|
--br: calc(var(--br-unit) * var(--br-base));
|
|
176
179
|
--ui-br: calc(var(--br-unit) * var(--ui-br-base));
|
|
177
180
|
|
|
178
|
-
--lh-unit: 1.5;
|
|
179
|
-
--lh: var(--lh-unit);
|
|
180
|
-
|
|
181
|
-
--fs-unit: 8; /* Default to text-base (1rem = 8 * 0.125rem) */
|
|
182
181
|
--fs: calc(var(--fs-unit) * var(--fs-base));
|
|
183
182
|
}
|
|
184
183
|
}
|
package/package.json
CHANGED