lism-css 0.22.2 → 0.23.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.
- package/dist/config/default-config.d.ts +137 -49
- package/dist/config/default-config.js +8 -6
- package/dist/config/defaults/breakpoints.d.ts +15 -0
- package/dist/config/defaults/breakpoints.js +10 -0
- package/dist/config/defaults/props.d.ts +21 -30
- package/dist/config/defaults/props.js +33 -29
- package/dist/config/defaults/token-scope.d.ts +9 -0
- package/dist/config/defaults/token-scope.js +7 -0
- package/dist/config/defaults/token-var-prefix.d.ts +11 -0
- package/dist/config/defaults/token-var-prefix.js +11 -0
- package/dist/config/defaults/tokens.d.ts +118 -21
- package/dist/config/defaults/tokens.js +112 -24
- package/dist/config/index.d.ts +285 -105
- package/dist/config/index.js +18 -15
- package/dist/config/presets/props-full.d.ts +20 -0
- package/dist/config/presets/props-full.js +28 -0
- package/dist/css/base/set.css +1 -1
- package/dist/css/base.css +1 -1
- package/dist/css/full.css +1 -0
- package/dist/css/full_no_layer.css +1 -0
- package/dist/css/main.css +1 -1
- package/dist/css/main_no_layer.css +1 -1
- package/dist/css/props.css +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -0
- package/dist/lib/getBpData.d.ts +2 -2
- package/dist/lib/getBpData.js +7 -7
- package/dist/lib/getLismProps.d.ts +5 -3
- package/dist/lib/getLismProps.js +59 -54
- package/dist/lib/getMaybeTokenValue.d.ts +1 -7
- package/dist/lib/getMaybeTokenValue.js +10 -22
- package/dist/lib/getTokenVarName.d.ts +13 -0
- package/dist/lib/getTokenVarName.js +8 -0
- package/dist/lib/getTokenVarName.test.d.ts +1 -0
- package/dist/lib/isTokenValue.js +11 -22
- package/dist/lib/types/CustomPropRegistry.d.ts +9 -0
- package/dist/lib/types/CustomTraitRegistry.d.ts +9 -0
- package/dist/lib/types/FullModeRegistry.d.ts +26 -0
- package/dist/lib/types/PropValueTypes.d.ts +45 -13
- package/dist/lib/types/ResponsiveProps.d.ts +57 -13
- package/dist/lib/types/ResponsiveProps.module-augmentation.test.d.ts +1 -0
- package/dist/lib/warnUnsupportedBp.js +1 -1
- package/dist/scss/auto_output.test.d.ts +1 -0
- package/package.json +23 -33
- package/src/scss/_auto_output.scss +54 -42
- package/src/scss/_prop-config-full.gen.scss +1317 -0
- package/src/scss/{_prop-config.scss → _prop-config.gen.scss} +37 -13
- package/src/scss/_setting.scss +6 -11
- package/src/scss/auto_output.test.ts +91 -0
- package/src/scss/base/index.scss +1 -3
- package/src/scss/base/set/index.scss +5 -0
- package/src/scss/base/tokens/_tokens.gen.scss +69 -0
- package/src/scss/base/tokens/_tokens.scss +31 -30
- package/src/scss/full.scss +12 -0
- package/src/scss/full_no_layer.scss +32 -0
- package/src/scss/props/index.scss +0 -1
- package/src/scss/trait/is/_wrapper.scss +1 -1
- package/bin/__build-css.cjs +0 -92
- package/bin/build-config.js +0 -155
- package/bin/build-css.js +0 -90
- package/bin/cli.mjs +0 -79
- package/bin/script-build-css.js +0 -6
- package/src/scss/base/tokens/_shadow.scss +0 -23
- package/src/scss/base/tokens/_space.scss +0 -30
- package/src/scss/base/tokens/_typography.scss +0 -69
- package/src/scss/props/_lh.scss +0 -16
package/dist/config/index.d.ts
CHANGED
|
@@ -1,31 +1,4 @@
|
|
|
1
1
|
export declare const CONFIG: {
|
|
2
|
-
tokens: {
|
|
3
|
-
readonly fz: readonly ["root", "base", "5xl", "4xl", "3xl", "2xl", "xl", "l", "m", "s", "xs", "2xs"];
|
|
4
|
-
readonly lh: readonly ["base", "xs", "s", "l"];
|
|
5
|
-
readonly hl: readonly ["base", "xs", "s", "l"];
|
|
6
|
-
readonly lts: readonly ["base", "s", "l", "xl"];
|
|
7
|
-
readonly ff: readonly ["base", "accent", "mono"];
|
|
8
|
-
readonly fw: readonly ["light", "normal", "bold"];
|
|
9
|
-
readonly o: readonly ["mp", "p", "pp", "ppp"];
|
|
10
|
-
readonly bdrs: readonly ["10", "20", "30", "40", "99", "inner"];
|
|
11
|
-
readonly bxsh: readonly ["10", "20", "30", "40", "50"];
|
|
12
|
-
readonly sz: readonly ["xs", "s", "m", "l", "xl"];
|
|
13
|
-
readonly ar: readonly ["og"];
|
|
14
|
-
readonly space: {
|
|
15
|
-
readonly pre: "--s";
|
|
16
|
-
readonly values: readonly ["5", "10", "15", "20", "25", "30", "35", "40", "50", "60", "70", "80"];
|
|
17
|
-
};
|
|
18
|
-
readonly c: {
|
|
19
|
-
readonly pre: "--";
|
|
20
|
-
readonly values: readonly ["base", "base-2", "text", "text-2", "divider", "link", "brand", "accent", "neutral"];
|
|
21
|
-
};
|
|
22
|
-
readonly palette: {
|
|
23
|
-
readonly pre: "--";
|
|
24
|
-
readonly values: readonly ["red", "blue", "green", "yellow", "purple", "orange", "pink", "gray", "white", "black", "keycolor"];
|
|
25
|
-
};
|
|
26
|
-
readonly writing: readonly ["vertical"];
|
|
27
|
-
readonly flow: readonly ["s", "l"];
|
|
28
|
-
};
|
|
29
2
|
props: {
|
|
30
3
|
readonly f: {
|
|
31
4
|
readonly prop: "font";
|
|
@@ -56,25 +29,28 @@ export declare const CONFIG: {
|
|
|
56
29
|
};
|
|
57
30
|
};
|
|
58
31
|
readonly lh: {
|
|
59
|
-
readonly prop: "
|
|
60
|
-
readonly
|
|
32
|
+
readonly prop: "--hl";
|
|
33
|
+
readonly isVar: 1;
|
|
61
34
|
readonly token: "hl";
|
|
62
|
-
readonly tokenClass:
|
|
63
|
-
readonly
|
|
64
|
-
readonly 1: "";
|
|
35
|
+
readonly tokenClass: 1;
|
|
36
|
+
readonly utils: {
|
|
37
|
+
readonly '1': "0px";
|
|
65
38
|
};
|
|
66
39
|
};
|
|
67
40
|
readonly hl: {
|
|
41
|
+
readonly prop: "--hl";
|
|
68
42
|
readonly isVar: 1;
|
|
69
43
|
readonly token: "hl";
|
|
70
|
-
readonly tokenClass:
|
|
71
|
-
readonly bp:
|
|
44
|
+
readonly tokenClass: 1;
|
|
45
|
+
readonly bp: 1;
|
|
46
|
+
readonly utils: {
|
|
47
|
+
readonly '0': "0px";
|
|
48
|
+
};
|
|
72
49
|
};
|
|
73
50
|
readonly lts: {
|
|
74
51
|
readonly prop: "letterSpacing";
|
|
75
52
|
readonly token: "lts";
|
|
76
53
|
readonly tokenClass: 1;
|
|
77
|
-
readonly bp: 0;
|
|
78
54
|
};
|
|
79
55
|
readonly ta: {
|
|
80
56
|
readonly prop: "textAlign";
|
|
@@ -96,7 +72,7 @@ export declare const CONFIG: {
|
|
|
96
72
|
readonly d: {
|
|
97
73
|
readonly prop: "display";
|
|
98
74
|
readonly presets: readonly ["none", "block", "flex", "inline-flex", "grid", "inline-grid", "inline", "inline-block"];
|
|
99
|
-
readonly bp:
|
|
75
|
+
readonly bp: 1;
|
|
100
76
|
};
|
|
101
77
|
readonly o: {
|
|
102
78
|
readonly prop: "opacity";
|
|
@@ -206,7 +182,6 @@ export declare const CONFIG: {
|
|
|
206
182
|
};
|
|
207
183
|
readonly bg: {
|
|
208
184
|
readonly prop: "background";
|
|
209
|
-
readonly bp: 0;
|
|
210
185
|
};
|
|
211
186
|
readonly bgi: {
|
|
212
187
|
readonly prop: "backgroundImage";
|
|
@@ -465,22 +440,18 @@ export declare const CONFIG: {
|
|
|
465
440
|
readonly pl: {
|
|
466
441
|
readonly prop: "paddingLeft";
|
|
467
442
|
readonly token: "space";
|
|
468
|
-
readonly bp: 0;
|
|
469
443
|
};
|
|
470
444
|
readonly pr: {
|
|
471
445
|
readonly prop: "paddingRight";
|
|
472
446
|
readonly token: "space";
|
|
473
|
-
readonly bp: 0;
|
|
474
447
|
};
|
|
475
448
|
readonly pt: {
|
|
476
449
|
readonly prop: "paddingTop";
|
|
477
450
|
readonly token: "space";
|
|
478
|
-
readonly bp: 0;
|
|
479
451
|
};
|
|
480
452
|
readonly pb: {
|
|
481
453
|
readonly prop: "paddingBottom";
|
|
482
454
|
readonly token: "space";
|
|
483
|
-
readonly bp: 0;
|
|
484
455
|
};
|
|
485
456
|
readonly m: {
|
|
486
457
|
readonly prop: "margin";
|
|
@@ -532,22 +503,18 @@ export declare const CONFIG: {
|
|
|
532
503
|
readonly ml: {
|
|
533
504
|
readonly prop: "marginLeft";
|
|
534
505
|
readonly token: "space";
|
|
535
|
-
readonly bp: 0;
|
|
536
506
|
};
|
|
537
507
|
readonly mr: {
|
|
538
508
|
readonly prop: "marginRight";
|
|
539
509
|
readonly token: "space";
|
|
540
|
-
readonly bp: 0;
|
|
541
510
|
};
|
|
542
511
|
readonly mt: {
|
|
543
512
|
readonly prop: "marginTop";
|
|
544
513
|
readonly token: "space";
|
|
545
|
-
readonly bp: 0;
|
|
546
514
|
};
|
|
547
515
|
readonly mb: {
|
|
548
516
|
readonly prop: "marginBottom";
|
|
549
517
|
readonly token: "space";
|
|
550
|
-
readonly bp: 0;
|
|
551
518
|
};
|
|
552
519
|
readonly g: {
|
|
553
520
|
readonly prop: "gap";
|
|
@@ -559,21 +526,19 @@ export declare const CONFIG: {
|
|
|
559
526
|
};
|
|
560
527
|
readonly token: "space";
|
|
561
528
|
readonly tokenClass: 1;
|
|
562
|
-
readonly bp:
|
|
529
|
+
readonly bp: 1;
|
|
563
530
|
};
|
|
564
531
|
readonly cg: {
|
|
565
532
|
readonly prop: "columnGap";
|
|
566
533
|
readonly token: "space";
|
|
567
|
-
readonly bp: 0;
|
|
568
534
|
};
|
|
569
535
|
readonly rg: {
|
|
570
536
|
readonly prop: "rowGap";
|
|
571
537
|
readonly token: "space";
|
|
572
|
-
readonly bp: 0;
|
|
573
538
|
};
|
|
574
539
|
readonly cols: {
|
|
575
540
|
readonly isVar: 1;
|
|
576
|
-
readonly bp:
|
|
541
|
+
readonly bp: 1;
|
|
577
542
|
};
|
|
578
543
|
readonly rows: {
|
|
579
544
|
readonly isVar: 1;
|
|
@@ -615,17 +580,17 @@ export declare const CONFIG: {
|
|
|
615
580
|
};
|
|
616
581
|
readonly gta: {
|
|
617
582
|
readonly prop: "gridTemplateAreas";
|
|
618
|
-
readonly bp:
|
|
583
|
+
readonly bp: 1;
|
|
619
584
|
};
|
|
620
585
|
readonly gtc: {
|
|
621
586
|
readonly prop: "gridTemplateColumns";
|
|
622
587
|
readonly presets: readonly ["subgrid"];
|
|
623
|
-
readonly bp:
|
|
588
|
+
readonly bp: 1;
|
|
624
589
|
};
|
|
625
590
|
readonly gtr: {
|
|
626
591
|
readonly prop: "gridTemplateRows";
|
|
627
592
|
readonly presets: readonly ["subgrid"];
|
|
628
|
-
readonly bp:
|
|
593
|
+
readonly bp: 1;
|
|
629
594
|
};
|
|
630
595
|
readonly gaf: {
|
|
631
596
|
readonly prop: "gridAutoFlow";
|
|
@@ -643,21 +608,21 @@ export declare const CONFIG: {
|
|
|
643
608
|
readonly utils: {
|
|
644
609
|
readonly '1/1': "1 / 1";
|
|
645
610
|
};
|
|
646
|
-
readonly bp:
|
|
611
|
+
readonly bp: 1;
|
|
647
612
|
};
|
|
648
613
|
readonly gc: {
|
|
649
614
|
readonly prop: "gridColumn";
|
|
650
615
|
readonly utils: {
|
|
651
616
|
readonly '1/-1': "1 / -1";
|
|
652
617
|
};
|
|
653
|
-
readonly bp:
|
|
618
|
+
readonly bp: 1;
|
|
654
619
|
};
|
|
655
620
|
readonly gr: {
|
|
656
621
|
readonly prop: "gridRow";
|
|
657
622
|
readonly utils: {
|
|
658
623
|
readonly '1/-1': "1 / -1";
|
|
659
624
|
};
|
|
660
|
-
readonly bp:
|
|
625
|
+
readonly bp: 1;
|
|
661
626
|
};
|
|
662
627
|
readonly gcs: {
|
|
663
628
|
readonly prop: "gridColumnStart";
|
|
@@ -790,6 +755,122 @@ export declare const CONFIG: {
|
|
|
790
755
|
readonly bp: 1;
|
|
791
756
|
};
|
|
792
757
|
};
|
|
758
|
+
tokens: {
|
|
759
|
+
readonly color: {
|
|
760
|
+
readonly base: "-";
|
|
761
|
+
readonly 'base-2': "-";
|
|
762
|
+
readonly text: "-";
|
|
763
|
+
readonly 'text-2': "-";
|
|
764
|
+
readonly divider: "-";
|
|
765
|
+
readonly link: "-";
|
|
766
|
+
readonly brand: "-";
|
|
767
|
+
readonly accent: "-";
|
|
768
|
+
readonly neutral: "-";
|
|
769
|
+
};
|
|
770
|
+
readonly palette: {
|
|
771
|
+
readonly red: "-";
|
|
772
|
+
readonly blue: "-";
|
|
773
|
+
readonly green: "-";
|
|
774
|
+
readonly yellow: "-";
|
|
775
|
+
readonly purple: "-";
|
|
776
|
+
readonly orange: "-";
|
|
777
|
+
readonly pink: "-";
|
|
778
|
+
readonly gray: "-";
|
|
779
|
+
readonly white: "#fff";
|
|
780
|
+
readonly black: "#000";
|
|
781
|
+
readonly keycolor: "-";
|
|
782
|
+
};
|
|
783
|
+
readonly fz: {
|
|
784
|
+
readonly base: "1rem";
|
|
785
|
+
readonly '5xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 6))";
|
|
786
|
+
readonly '4xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 5))";
|
|
787
|
+
readonly '3xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 4))";
|
|
788
|
+
readonly '2xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 3))";
|
|
789
|
+
readonly xl: "calc(1em * var(--fz-mol) / (var(--fz-mol) - 2))";
|
|
790
|
+
readonly l: "calc(1em * var(--fz-mol) / (var(--fz-mol) - 1))";
|
|
791
|
+
readonly m: "1em";
|
|
792
|
+
readonly s: "calc(1em * var(--fz-mol) / (var(--fz-mol) + 1))";
|
|
793
|
+
readonly xs: "calc(1em * var(--fz-mol) / (var(--fz-mol) + 2))";
|
|
794
|
+
readonly '2xs': "calc(1em * var(--fz-mol) / (var(--fz-mol) + 3))";
|
|
795
|
+
};
|
|
796
|
+
readonly lh: {
|
|
797
|
+
readonly base: "-";
|
|
798
|
+
readonly xs: "-";
|
|
799
|
+
readonly s: "-";
|
|
800
|
+
readonly l: "-";
|
|
801
|
+
};
|
|
802
|
+
readonly hl: {
|
|
803
|
+
readonly base: "calc(var(--hl-unit) * 3)";
|
|
804
|
+
readonly xs: "var(--hl-unit)";
|
|
805
|
+
readonly s: "calc(var(--hl-unit) * 2)";
|
|
806
|
+
readonly l: "calc(var(--hl-unit) * 4)";
|
|
807
|
+
};
|
|
808
|
+
readonly lts: {
|
|
809
|
+
readonly base: "normal";
|
|
810
|
+
readonly s: "-0.025em";
|
|
811
|
+
readonly l: "0.05em";
|
|
812
|
+
readonly xl: "0.1em";
|
|
813
|
+
};
|
|
814
|
+
readonly ff: {
|
|
815
|
+
readonly base: "-apple-system, 'BlinkMacSystemFont', 'Hiragino Sans', sans-serif";
|
|
816
|
+
readonly accent: "Georgia, serif";
|
|
817
|
+
readonly mono: "ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace";
|
|
818
|
+
};
|
|
819
|
+
readonly fw: {
|
|
820
|
+
readonly light: "300";
|
|
821
|
+
readonly normal: "400";
|
|
822
|
+
readonly bold: "600";
|
|
823
|
+
};
|
|
824
|
+
readonly o: {
|
|
825
|
+
readonly mp: "0.9";
|
|
826
|
+
readonly p: "0.75";
|
|
827
|
+
readonly pp: "0.5";
|
|
828
|
+
readonly ppp: "0.25";
|
|
829
|
+
};
|
|
830
|
+
readonly bdrs: {
|
|
831
|
+
readonly '10': "0.25rem";
|
|
832
|
+
readonly '20': "0.5rem";
|
|
833
|
+
readonly '30': "1rem";
|
|
834
|
+
readonly '40': "1.5rem";
|
|
835
|
+
readonly '99': "99rem";
|
|
836
|
+
readonly inner: "-";
|
|
837
|
+
};
|
|
838
|
+
readonly bxsh: {
|
|
839
|
+
readonly '10': "var(--shsz--10) var(--shc)";
|
|
840
|
+
readonly '20': "var(--shsz--20) var(--shc)";
|
|
841
|
+
readonly '30': "var(--shsz--30) var(--shc)";
|
|
842
|
+
readonly '40': "var(--shsz--40) var(--shc)";
|
|
843
|
+
readonly '50': "var(--shsz--50) var(--shc)";
|
|
844
|
+
};
|
|
845
|
+
readonly space: {
|
|
846
|
+
readonly '5': "calc(var(--s-unit) * 0.5)";
|
|
847
|
+
readonly '10': "var(--s-unit)";
|
|
848
|
+
readonly '15': "calc(var(--s-unit) * 1.5)";
|
|
849
|
+
readonly '20': "calc(var(--s-unit) * 2)";
|
|
850
|
+
readonly '25': "calc(var(--s-unit) * 2.5)";
|
|
851
|
+
readonly '30': "calc(var(--s-unit) * 3)";
|
|
852
|
+
readonly '35': "calc(var(--s-unit) * 4)";
|
|
853
|
+
readonly '40': "calc(var(--s-unit) * 5)";
|
|
854
|
+
readonly '50': "calc(var(--s-unit) * 8)";
|
|
855
|
+
readonly '60': "calc(var(--s-unit) * 13)";
|
|
856
|
+
readonly '70': "calc(var(--s-unit) * 21)";
|
|
857
|
+
readonly '80': "calc(var(--s-unit) * 34)";
|
|
858
|
+
};
|
|
859
|
+
readonly flow: {
|
|
860
|
+
readonly s: "-";
|
|
861
|
+
readonly l: "-";
|
|
862
|
+
};
|
|
863
|
+
readonly sz: {
|
|
864
|
+
readonly xs: "400px";
|
|
865
|
+
readonly s: "640px";
|
|
866
|
+
readonly m: "880px";
|
|
867
|
+
readonly l: "1200px";
|
|
868
|
+
readonly xl: "1600px";
|
|
869
|
+
};
|
|
870
|
+
readonly ar: {
|
|
871
|
+
readonly og: "1.91/1";
|
|
872
|
+
};
|
|
873
|
+
};
|
|
793
874
|
traits: {
|
|
794
875
|
readonly isContainer: "is--container";
|
|
795
876
|
readonly isWrapper: "is--wrapper";
|
|
@@ -803,34 +884,140 @@ export declare const CONFIG: {
|
|
|
803
884
|
readonly hasSnap: "has--snap";
|
|
804
885
|
readonly hasMask: "has--mask";
|
|
805
886
|
};
|
|
887
|
+
breakpoints: {
|
|
888
|
+
readonly xs: 0;
|
|
889
|
+
readonly sm: "480px";
|
|
890
|
+
readonly md: "800px";
|
|
891
|
+
readonly lg: "1120px";
|
|
892
|
+
readonly xl: 0;
|
|
893
|
+
};
|
|
806
894
|
};
|
|
807
895
|
export declare const TOKENS: {
|
|
808
|
-
readonly
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
896
|
+
readonly color: {
|
|
897
|
+
readonly red: "-";
|
|
898
|
+
readonly blue: "-";
|
|
899
|
+
readonly green: "-";
|
|
900
|
+
readonly yellow: "-";
|
|
901
|
+
readonly purple: "-";
|
|
902
|
+
readonly orange: "-";
|
|
903
|
+
readonly pink: "-";
|
|
904
|
+
readonly gray: "-";
|
|
905
|
+
readonly white: "#fff";
|
|
906
|
+
readonly black: "#000";
|
|
907
|
+
readonly keycolor: "-";
|
|
908
|
+
readonly base: "-";
|
|
909
|
+
readonly 'base-2': "-";
|
|
910
|
+
readonly text: "-";
|
|
911
|
+
readonly 'text-2': "-";
|
|
912
|
+
readonly divider: "-";
|
|
913
|
+
readonly link: "-";
|
|
914
|
+
readonly brand: "-";
|
|
915
|
+
readonly accent: "-";
|
|
916
|
+
readonly neutral: "-";
|
|
917
|
+
};
|
|
918
|
+
readonly palette: {
|
|
919
|
+
readonly red: "-";
|
|
920
|
+
readonly blue: "-";
|
|
921
|
+
readonly green: "-";
|
|
922
|
+
readonly yellow: "-";
|
|
923
|
+
readonly purple: "-";
|
|
924
|
+
readonly orange: "-";
|
|
925
|
+
readonly pink: "-";
|
|
926
|
+
readonly gray: "-";
|
|
927
|
+
readonly white: "#fff";
|
|
928
|
+
readonly black: "#000";
|
|
929
|
+
readonly keycolor: "-";
|
|
930
|
+
};
|
|
931
|
+
readonly fz: {
|
|
932
|
+
readonly base: "1rem";
|
|
933
|
+
readonly '5xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 6))";
|
|
934
|
+
readonly '4xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 5))";
|
|
935
|
+
readonly '3xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 4))";
|
|
936
|
+
readonly '2xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 3))";
|
|
937
|
+
readonly xl: "calc(1em * var(--fz-mol) / (var(--fz-mol) - 2))";
|
|
938
|
+
readonly l: "calc(1em * var(--fz-mol) / (var(--fz-mol) - 1))";
|
|
939
|
+
readonly m: "1em";
|
|
940
|
+
readonly s: "calc(1em * var(--fz-mol) / (var(--fz-mol) + 1))";
|
|
941
|
+
readonly xs: "calc(1em * var(--fz-mol) / (var(--fz-mol) + 2))";
|
|
942
|
+
readonly '2xs': "calc(1em * var(--fz-mol) / (var(--fz-mol) + 3))";
|
|
943
|
+
};
|
|
944
|
+
readonly lh: {
|
|
945
|
+
readonly base: "-";
|
|
946
|
+
readonly xs: "-";
|
|
947
|
+
readonly s: "-";
|
|
948
|
+
readonly l: "-";
|
|
949
|
+
};
|
|
950
|
+
readonly hl: {
|
|
951
|
+
readonly base: "calc(var(--hl-unit) * 3)";
|
|
952
|
+
readonly xs: "var(--hl-unit)";
|
|
953
|
+
readonly s: "calc(var(--hl-unit) * 2)";
|
|
954
|
+
readonly l: "calc(var(--hl-unit) * 4)";
|
|
955
|
+
};
|
|
956
|
+
readonly lts: {
|
|
957
|
+
readonly base: "normal";
|
|
958
|
+
readonly s: "-0.025em";
|
|
959
|
+
readonly l: "0.05em";
|
|
960
|
+
readonly xl: "0.1em";
|
|
961
|
+
};
|
|
962
|
+
readonly ff: {
|
|
963
|
+
readonly base: "-apple-system, 'BlinkMacSystemFont', 'Hiragino Sans', sans-serif";
|
|
964
|
+
readonly accent: "Georgia, serif";
|
|
965
|
+
readonly mono: "ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace";
|
|
966
|
+
};
|
|
967
|
+
readonly fw: {
|
|
968
|
+
readonly light: "300";
|
|
969
|
+
readonly normal: "400";
|
|
970
|
+
readonly bold: "600";
|
|
971
|
+
};
|
|
972
|
+
readonly o: {
|
|
973
|
+
readonly mp: "0.9";
|
|
974
|
+
readonly p: "0.75";
|
|
975
|
+
readonly pp: "0.5";
|
|
976
|
+
readonly ppp: "0.25";
|
|
977
|
+
};
|
|
978
|
+
readonly bdrs: {
|
|
979
|
+
readonly '10': "0.25rem";
|
|
980
|
+
readonly '20': "0.5rem";
|
|
981
|
+
readonly '30': "1rem";
|
|
982
|
+
readonly '40': "1.5rem";
|
|
983
|
+
readonly '99': "99rem";
|
|
984
|
+
readonly inner: "-";
|
|
985
|
+
};
|
|
986
|
+
readonly bxsh: {
|
|
987
|
+
readonly '10': "var(--shsz--10) var(--shc)";
|
|
988
|
+
readonly '20': "var(--shsz--20) var(--shc)";
|
|
989
|
+
readonly '30': "var(--shsz--30) var(--shc)";
|
|
990
|
+
readonly '40': "var(--shsz--40) var(--shc)";
|
|
991
|
+
readonly '50': "var(--shsz--50) var(--shc)";
|
|
992
|
+
};
|
|
819
993
|
readonly space: {
|
|
820
|
-
readonly
|
|
821
|
-
readonly
|
|
994
|
+
readonly '5': "calc(var(--s-unit) * 0.5)";
|
|
995
|
+
readonly '10': "var(--s-unit)";
|
|
996
|
+
readonly '15': "calc(var(--s-unit) * 1.5)";
|
|
997
|
+
readonly '20': "calc(var(--s-unit) * 2)";
|
|
998
|
+
readonly '25': "calc(var(--s-unit) * 2.5)";
|
|
999
|
+
readonly '30': "calc(var(--s-unit) * 3)";
|
|
1000
|
+
readonly '35': "calc(var(--s-unit) * 4)";
|
|
1001
|
+
readonly '40': "calc(var(--s-unit) * 5)";
|
|
1002
|
+
readonly '50': "calc(var(--s-unit) * 8)";
|
|
1003
|
+
readonly '60': "calc(var(--s-unit) * 13)";
|
|
1004
|
+
readonly '70': "calc(var(--s-unit) * 21)";
|
|
1005
|
+
readonly '80': "calc(var(--s-unit) * 34)";
|
|
1006
|
+
};
|
|
1007
|
+
readonly flow: {
|
|
1008
|
+
readonly s: "-";
|
|
1009
|
+
readonly l: "-";
|
|
822
1010
|
};
|
|
823
|
-
readonly
|
|
824
|
-
readonly
|
|
825
|
-
readonly
|
|
1011
|
+
readonly sz: {
|
|
1012
|
+
readonly xs: "400px";
|
|
1013
|
+
readonly s: "640px";
|
|
1014
|
+
readonly m: "880px";
|
|
1015
|
+
readonly l: "1200px";
|
|
1016
|
+
readonly xl: "1600px";
|
|
826
1017
|
};
|
|
827
|
-
readonly
|
|
828
|
-
readonly
|
|
829
|
-
readonly values: readonly ["red", "blue", "green", "yellow", "purple", "orange", "pink", "gray", "white", "black", "keycolor"];
|
|
1018
|
+
readonly ar: {
|
|
1019
|
+
readonly og: "1.91/1";
|
|
830
1020
|
};
|
|
831
|
-
readonly writing: readonly ["vertical"];
|
|
832
|
-
readonly flow: readonly ["s", "l"];
|
|
833
|
-
readonly color: readonly ["base", "base-2", "text", "text-2", "divider", "link", "brand", "accent", "neutral", "red", "blue", "green", "yellow", "purple", "orange", "pink", "gray", "white", "black", "keycolor"];
|
|
834
1021
|
};
|
|
835
1022
|
export declare const PROPS: {
|
|
836
1023
|
readonly f: {
|
|
@@ -862,25 +1049,28 @@ export declare const PROPS: {
|
|
|
862
1049
|
};
|
|
863
1050
|
};
|
|
864
1051
|
readonly lh: {
|
|
865
|
-
readonly prop: "
|
|
866
|
-
readonly
|
|
1052
|
+
readonly prop: "--hl";
|
|
1053
|
+
readonly isVar: 1;
|
|
867
1054
|
readonly token: "hl";
|
|
868
|
-
readonly tokenClass:
|
|
869
|
-
readonly
|
|
870
|
-
readonly 1: "";
|
|
1055
|
+
readonly tokenClass: 1;
|
|
1056
|
+
readonly utils: {
|
|
1057
|
+
readonly '1': "0px";
|
|
871
1058
|
};
|
|
872
1059
|
};
|
|
873
1060
|
readonly hl: {
|
|
1061
|
+
readonly prop: "--hl";
|
|
874
1062
|
readonly isVar: 1;
|
|
875
1063
|
readonly token: "hl";
|
|
876
|
-
readonly tokenClass:
|
|
877
|
-
readonly bp:
|
|
1064
|
+
readonly tokenClass: 1;
|
|
1065
|
+
readonly bp: 1;
|
|
1066
|
+
readonly utils: {
|
|
1067
|
+
readonly '0': "0px";
|
|
1068
|
+
};
|
|
878
1069
|
};
|
|
879
1070
|
readonly lts: {
|
|
880
1071
|
readonly prop: "letterSpacing";
|
|
881
1072
|
readonly token: "lts";
|
|
882
1073
|
readonly tokenClass: 1;
|
|
883
|
-
readonly bp: 0;
|
|
884
1074
|
};
|
|
885
1075
|
readonly ta: {
|
|
886
1076
|
readonly prop: "textAlign";
|
|
@@ -902,7 +1092,7 @@ export declare const PROPS: {
|
|
|
902
1092
|
readonly d: {
|
|
903
1093
|
readonly prop: "display";
|
|
904
1094
|
readonly presets: readonly ["none", "block", "flex", "inline-flex", "grid", "inline-grid", "inline", "inline-block"];
|
|
905
|
-
readonly bp:
|
|
1095
|
+
readonly bp: 1;
|
|
906
1096
|
};
|
|
907
1097
|
readonly o: {
|
|
908
1098
|
readonly prop: "opacity";
|
|
@@ -1012,7 +1202,6 @@ export declare const PROPS: {
|
|
|
1012
1202
|
};
|
|
1013
1203
|
readonly bg: {
|
|
1014
1204
|
readonly prop: "background";
|
|
1015
|
-
readonly bp: 0;
|
|
1016
1205
|
};
|
|
1017
1206
|
readonly bgi: {
|
|
1018
1207
|
readonly prop: "backgroundImage";
|
|
@@ -1271,22 +1460,18 @@ export declare const PROPS: {
|
|
|
1271
1460
|
readonly pl: {
|
|
1272
1461
|
readonly prop: "paddingLeft";
|
|
1273
1462
|
readonly token: "space";
|
|
1274
|
-
readonly bp: 0;
|
|
1275
1463
|
};
|
|
1276
1464
|
readonly pr: {
|
|
1277
1465
|
readonly prop: "paddingRight";
|
|
1278
1466
|
readonly token: "space";
|
|
1279
|
-
readonly bp: 0;
|
|
1280
1467
|
};
|
|
1281
1468
|
readonly pt: {
|
|
1282
1469
|
readonly prop: "paddingTop";
|
|
1283
1470
|
readonly token: "space";
|
|
1284
|
-
readonly bp: 0;
|
|
1285
1471
|
};
|
|
1286
1472
|
readonly pb: {
|
|
1287
1473
|
readonly prop: "paddingBottom";
|
|
1288
1474
|
readonly token: "space";
|
|
1289
|
-
readonly bp: 0;
|
|
1290
1475
|
};
|
|
1291
1476
|
readonly m: {
|
|
1292
1477
|
readonly prop: "margin";
|
|
@@ -1338,22 +1523,18 @@ export declare const PROPS: {
|
|
|
1338
1523
|
readonly ml: {
|
|
1339
1524
|
readonly prop: "marginLeft";
|
|
1340
1525
|
readonly token: "space";
|
|
1341
|
-
readonly bp: 0;
|
|
1342
1526
|
};
|
|
1343
1527
|
readonly mr: {
|
|
1344
1528
|
readonly prop: "marginRight";
|
|
1345
1529
|
readonly token: "space";
|
|
1346
|
-
readonly bp: 0;
|
|
1347
1530
|
};
|
|
1348
1531
|
readonly mt: {
|
|
1349
1532
|
readonly prop: "marginTop";
|
|
1350
1533
|
readonly token: "space";
|
|
1351
|
-
readonly bp: 0;
|
|
1352
1534
|
};
|
|
1353
1535
|
readonly mb: {
|
|
1354
1536
|
readonly prop: "marginBottom";
|
|
1355
1537
|
readonly token: "space";
|
|
1356
|
-
readonly bp: 0;
|
|
1357
1538
|
};
|
|
1358
1539
|
readonly g: {
|
|
1359
1540
|
readonly prop: "gap";
|
|
@@ -1365,21 +1546,19 @@ export declare const PROPS: {
|
|
|
1365
1546
|
};
|
|
1366
1547
|
readonly token: "space";
|
|
1367
1548
|
readonly tokenClass: 1;
|
|
1368
|
-
readonly bp:
|
|
1549
|
+
readonly bp: 1;
|
|
1369
1550
|
};
|
|
1370
1551
|
readonly cg: {
|
|
1371
1552
|
readonly prop: "columnGap";
|
|
1372
1553
|
readonly token: "space";
|
|
1373
|
-
readonly bp: 0;
|
|
1374
1554
|
};
|
|
1375
1555
|
readonly rg: {
|
|
1376
1556
|
readonly prop: "rowGap";
|
|
1377
1557
|
readonly token: "space";
|
|
1378
|
-
readonly bp: 0;
|
|
1379
1558
|
};
|
|
1380
1559
|
readonly cols: {
|
|
1381
1560
|
readonly isVar: 1;
|
|
1382
|
-
readonly bp:
|
|
1561
|
+
readonly bp: 1;
|
|
1383
1562
|
};
|
|
1384
1563
|
readonly rows: {
|
|
1385
1564
|
readonly isVar: 1;
|
|
@@ -1421,17 +1600,17 @@ export declare const PROPS: {
|
|
|
1421
1600
|
};
|
|
1422
1601
|
readonly gta: {
|
|
1423
1602
|
readonly prop: "gridTemplateAreas";
|
|
1424
|
-
readonly bp:
|
|
1603
|
+
readonly bp: 1;
|
|
1425
1604
|
};
|
|
1426
1605
|
readonly gtc: {
|
|
1427
1606
|
readonly prop: "gridTemplateColumns";
|
|
1428
1607
|
readonly presets: readonly ["subgrid"];
|
|
1429
|
-
readonly bp:
|
|
1608
|
+
readonly bp: 1;
|
|
1430
1609
|
};
|
|
1431
1610
|
readonly gtr: {
|
|
1432
1611
|
readonly prop: "gridTemplateRows";
|
|
1433
1612
|
readonly presets: readonly ["subgrid"];
|
|
1434
|
-
readonly bp:
|
|
1613
|
+
readonly bp: 1;
|
|
1435
1614
|
};
|
|
1436
1615
|
readonly gaf: {
|
|
1437
1616
|
readonly prop: "gridAutoFlow";
|
|
@@ -1449,21 +1628,21 @@ export declare const PROPS: {
|
|
|
1449
1628
|
readonly utils: {
|
|
1450
1629
|
readonly '1/1': "1 / 1";
|
|
1451
1630
|
};
|
|
1452
|
-
readonly bp:
|
|
1631
|
+
readonly bp: 1;
|
|
1453
1632
|
};
|
|
1454
1633
|
readonly gc: {
|
|
1455
1634
|
readonly prop: "gridColumn";
|
|
1456
1635
|
readonly utils: {
|
|
1457
1636
|
readonly '1/-1': "1 / -1";
|
|
1458
1637
|
};
|
|
1459
|
-
readonly bp:
|
|
1638
|
+
readonly bp: 1;
|
|
1460
1639
|
};
|
|
1461
1640
|
readonly gr: {
|
|
1462
1641
|
readonly prop: "gridRow";
|
|
1463
1642
|
readonly utils: {
|
|
1464
1643
|
readonly '1/-1': "1 / -1";
|
|
1465
1644
|
};
|
|
1466
|
-
readonly bp:
|
|
1645
|
+
readonly bp: 1;
|
|
1467
1646
|
};
|
|
1468
1647
|
readonly gcs: {
|
|
1469
1648
|
readonly prop: "gridColumnStart";
|
|
@@ -1611,3 +1790,4 @@ export declare const TRAITS: {
|
|
|
1611
1790
|
};
|
|
1612
1791
|
export declare const BREAK_POINTS: readonly ["sm", "md", "lg", "xl"];
|
|
1613
1792
|
export declare const BREAK_POINTS_ALL: readonly ["base", "sm", "md", "lg", "xl"];
|
|
1793
|
+
export declare const BREAK_POINTS_OBJ: readonly ["base", "xs", "sm", "md", "lg", "xl"];
|