lism-css 0.22.1 → 0.23.0-beta.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/components/atomic/Icon/presets.js +2 -1
- package/dist/config/default-config.d.ts +134 -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 +18 -30
- package/dist/config/defaults/props.js +30 -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 +103 -24
- package/dist/config/index.d.ts +279 -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 +5 -5
- 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 +1316 -0
- package/src/scss/{_prop-config.scss → _prop-config.gen.scss} +36 -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 +36 -35
- 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,25 @@ 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;
|
|
72
46
|
};
|
|
73
47
|
readonly lts: {
|
|
74
48
|
readonly prop: "letterSpacing";
|
|
75
49
|
readonly token: "lts";
|
|
76
50
|
readonly tokenClass: 1;
|
|
77
|
-
readonly bp: 0;
|
|
78
51
|
};
|
|
79
52
|
readonly ta: {
|
|
80
53
|
readonly prop: "textAlign";
|
|
@@ -96,7 +69,7 @@ export declare const CONFIG: {
|
|
|
96
69
|
readonly d: {
|
|
97
70
|
readonly prop: "display";
|
|
98
71
|
readonly presets: readonly ["none", "block", "flex", "inline-flex", "grid", "inline-grid", "inline", "inline-block"];
|
|
99
|
-
readonly bp:
|
|
72
|
+
readonly bp: 1;
|
|
100
73
|
};
|
|
101
74
|
readonly o: {
|
|
102
75
|
readonly prop: "opacity";
|
|
@@ -206,7 +179,6 @@ export declare const CONFIG: {
|
|
|
206
179
|
};
|
|
207
180
|
readonly bg: {
|
|
208
181
|
readonly prop: "background";
|
|
209
|
-
readonly bp: 0;
|
|
210
182
|
};
|
|
211
183
|
readonly bgi: {
|
|
212
184
|
readonly prop: "backgroundImage";
|
|
@@ -465,22 +437,18 @@ export declare const CONFIG: {
|
|
|
465
437
|
readonly pl: {
|
|
466
438
|
readonly prop: "paddingLeft";
|
|
467
439
|
readonly token: "space";
|
|
468
|
-
readonly bp: 0;
|
|
469
440
|
};
|
|
470
441
|
readonly pr: {
|
|
471
442
|
readonly prop: "paddingRight";
|
|
472
443
|
readonly token: "space";
|
|
473
|
-
readonly bp: 0;
|
|
474
444
|
};
|
|
475
445
|
readonly pt: {
|
|
476
446
|
readonly prop: "paddingTop";
|
|
477
447
|
readonly token: "space";
|
|
478
|
-
readonly bp: 0;
|
|
479
448
|
};
|
|
480
449
|
readonly pb: {
|
|
481
450
|
readonly prop: "paddingBottom";
|
|
482
451
|
readonly token: "space";
|
|
483
|
-
readonly bp: 0;
|
|
484
452
|
};
|
|
485
453
|
readonly m: {
|
|
486
454
|
readonly prop: "margin";
|
|
@@ -532,22 +500,18 @@ export declare const CONFIG: {
|
|
|
532
500
|
readonly ml: {
|
|
533
501
|
readonly prop: "marginLeft";
|
|
534
502
|
readonly token: "space";
|
|
535
|
-
readonly bp: 0;
|
|
536
503
|
};
|
|
537
504
|
readonly mr: {
|
|
538
505
|
readonly prop: "marginRight";
|
|
539
506
|
readonly token: "space";
|
|
540
|
-
readonly bp: 0;
|
|
541
507
|
};
|
|
542
508
|
readonly mt: {
|
|
543
509
|
readonly prop: "marginTop";
|
|
544
510
|
readonly token: "space";
|
|
545
|
-
readonly bp: 0;
|
|
546
511
|
};
|
|
547
512
|
readonly mb: {
|
|
548
513
|
readonly prop: "marginBottom";
|
|
549
514
|
readonly token: "space";
|
|
550
|
-
readonly bp: 0;
|
|
551
515
|
};
|
|
552
516
|
readonly g: {
|
|
553
517
|
readonly prop: "gap";
|
|
@@ -559,21 +523,19 @@ export declare const CONFIG: {
|
|
|
559
523
|
};
|
|
560
524
|
readonly token: "space";
|
|
561
525
|
readonly tokenClass: 1;
|
|
562
|
-
readonly bp:
|
|
526
|
+
readonly bp: 1;
|
|
563
527
|
};
|
|
564
528
|
readonly cg: {
|
|
565
529
|
readonly prop: "columnGap";
|
|
566
530
|
readonly token: "space";
|
|
567
|
-
readonly bp: 0;
|
|
568
531
|
};
|
|
569
532
|
readonly rg: {
|
|
570
533
|
readonly prop: "rowGap";
|
|
571
534
|
readonly token: "space";
|
|
572
|
-
readonly bp: 0;
|
|
573
535
|
};
|
|
574
536
|
readonly cols: {
|
|
575
537
|
readonly isVar: 1;
|
|
576
|
-
readonly bp:
|
|
538
|
+
readonly bp: 1;
|
|
577
539
|
};
|
|
578
540
|
readonly rows: {
|
|
579
541
|
readonly isVar: 1;
|
|
@@ -615,17 +577,17 @@ export declare const CONFIG: {
|
|
|
615
577
|
};
|
|
616
578
|
readonly gta: {
|
|
617
579
|
readonly prop: "gridTemplateAreas";
|
|
618
|
-
readonly bp:
|
|
580
|
+
readonly bp: 1;
|
|
619
581
|
};
|
|
620
582
|
readonly gtc: {
|
|
621
583
|
readonly prop: "gridTemplateColumns";
|
|
622
584
|
readonly presets: readonly ["subgrid"];
|
|
623
|
-
readonly bp:
|
|
585
|
+
readonly bp: 1;
|
|
624
586
|
};
|
|
625
587
|
readonly gtr: {
|
|
626
588
|
readonly prop: "gridTemplateRows";
|
|
627
589
|
readonly presets: readonly ["subgrid"];
|
|
628
|
-
readonly bp:
|
|
590
|
+
readonly bp: 1;
|
|
629
591
|
};
|
|
630
592
|
readonly gaf: {
|
|
631
593
|
readonly prop: "gridAutoFlow";
|
|
@@ -643,21 +605,21 @@ export declare const CONFIG: {
|
|
|
643
605
|
readonly utils: {
|
|
644
606
|
readonly '1/1': "1 / 1";
|
|
645
607
|
};
|
|
646
|
-
readonly bp:
|
|
608
|
+
readonly bp: 1;
|
|
647
609
|
};
|
|
648
610
|
readonly gc: {
|
|
649
611
|
readonly prop: "gridColumn";
|
|
650
612
|
readonly utils: {
|
|
651
613
|
readonly '1/-1': "1 / -1";
|
|
652
614
|
};
|
|
653
|
-
readonly bp:
|
|
615
|
+
readonly bp: 1;
|
|
654
616
|
};
|
|
655
617
|
readonly gr: {
|
|
656
618
|
readonly prop: "gridRow";
|
|
657
619
|
readonly utils: {
|
|
658
620
|
readonly '1/-1': "1 / -1";
|
|
659
621
|
};
|
|
660
|
-
readonly bp:
|
|
622
|
+
readonly bp: 1;
|
|
661
623
|
};
|
|
662
624
|
readonly gcs: {
|
|
663
625
|
readonly prop: "gridColumnStart";
|
|
@@ -790,6 +752,122 @@ export declare const CONFIG: {
|
|
|
790
752
|
readonly bp: 1;
|
|
791
753
|
};
|
|
792
754
|
};
|
|
755
|
+
tokens: {
|
|
756
|
+
readonly color: {
|
|
757
|
+
readonly base: "-";
|
|
758
|
+
readonly 'base-2': "-";
|
|
759
|
+
readonly text: "-";
|
|
760
|
+
readonly 'text-2': "-";
|
|
761
|
+
readonly divider: "-";
|
|
762
|
+
readonly link: "-";
|
|
763
|
+
readonly brand: "-";
|
|
764
|
+
readonly accent: "-";
|
|
765
|
+
readonly neutral: "-";
|
|
766
|
+
};
|
|
767
|
+
readonly palette: {
|
|
768
|
+
readonly red: "-";
|
|
769
|
+
readonly blue: "-";
|
|
770
|
+
readonly green: "-";
|
|
771
|
+
readonly yellow: "-";
|
|
772
|
+
readonly purple: "-";
|
|
773
|
+
readonly orange: "-";
|
|
774
|
+
readonly pink: "-";
|
|
775
|
+
readonly gray: "-";
|
|
776
|
+
readonly white: "#fff";
|
|
777
|
+
readonly black: "#000";
|
|
778
|
+
readonly keycolor: "-";
|
|
779
|
+
};
|
|
780
|
+
readonly fz: {
|
|
781
|
+
readonly base: "1rem";
|
|
782
|
+
readonly '5xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 6))";
|
|
783
|
+
readonly '4xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 5))";
|
|
784
|
+
readonly '3xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 4))";
|
|
785
|
+
readonly '2xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 3))";
|
|
786
|
+
readonly xl: "calc(1em * var(--fz-mol) / (var(--fz-mol) - 2))";
|
|
787
|
+
readonly l: "calc(1em * var(--fz-mol) / (var(--fz-mol) - 1))";
|
|
788
|
+
readonly m: "1em";
|
|
789
|
+
readonly s: "calc(1em * var(--fz-mol) / (var(--fz-mol) + 1))";
|
|
790
|
+
readonly xs: "calc(1em * var(--fz-mol) / (var(--fz-mol) + 2))";
|
|
791
|
+
readonly '2xs': "calc(1em * var(--fz-mol) / (var(--fz-mol) + 3))";
|
|
792
|
+
};
|
|
793
|
+
readonly lh: {
|
|
794
|
+
readonly base: "-";
|
|
795
|
+
readonly xs: "-";
|
|
796
|
+
readonly s: "-";
|
|
797
|
+
readonly l: "-";
|
|
798
|
+
};
|
|
799
|
+
readonly hl: {
|
|
800
|
+
readonly base: "calc(var(--hl-unit) * 3)";
|
|
801
|
+
readonly xs: "var(--hl-unit)";
|
|
802
|
+
readonly s: "calc(var(--hl-unit) * 2)";
|
|
803
|
+
readonly l: "calc(var(--hl-unit) * 4)";
|
|
804
|
+
};
|
|
805
|
+
readonly lts: {
|
|
806
|
+
readonly base: "normal";
|
|
807
|
+
readonly s: "-0.025em";
|
|
808
|
+
readonly l: "0.05em";
|
|
809
|
+
readonly xl: "0.1em";
|
|
810
|
+
};
|
|
811
|
+
readonly ff: {
|
|
812
|
+
readonly base: "-apple-system, 'BlinkMacSystemFont', 'Hiragino Sans', sans-serif, 'Segoe UI Emoji'";
|
|
813
|
+
readonly accent: "'Garamond', 'Baskerville', 'Times New Roman', serif";
|
|
814
|
+
readonly mono: "ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace";
|
|
815
|
+
};
|
|
816
|
+
readonly fw: {
|
|
817
|
+
readonly light: "300";
|
|
818
|
+
readonly normal: "400";
|
|
819
|
+
readonly bold: "600";
|
|
820
|
+
};
|
|
821
|
+
readonly o: {
|
|
822
|
+
readonly mp: "0.9";
|
|
823
|
+
readonly p: "0.75";
|
|
824
|
+
readonly pp: "0.5";
|
|
825
|
+
readonly ppp: "0.25";
|
|
826
|
+
};
|
|
827
|
+
readonly bdrs: {
|
|
828
|
+
readonly '10': "0.25rem";
|
|
829
|
+
readonly '20': "0.5rem";
|
|
830
|
+
readonly '30': "1rem";
|
|
831
|
+
readonly '40': "1.5rem";
|
|
832
|
+
readonly '99': "99rem";
|
|
833
|
+
readonly inner: "-";
|
|
834
|
+
};
|
|
835
|
+
readonly bxsh: {
|
|
836
|
+
readonly '10': "var(--shsz--10) var(--shc)";
|
|
837
|
+
readonly '20': "var(--shsz--20) var(--shc)";
|
|
838
|
+
readonly '30': "var(--shsz--30) var(--shc)";
|
|
839
|
+
readonly '40': "var(--shsz--40) var(--shc)";
|
|
840
|
+
readonly '50': "var(--shsz--50) var(--shc)";
|
|
841
|
+
};
|
|
842
|
+
readonly space: {
|
|
843
|
+
readonly '5': "calc(var(--s-unit) * 0.5)";
|
|
844
|
+
readonly '10': "var(--s-unit)";
|
|
845
|
+
readonly '15': "calc(var(--s-unit) * 1.5)";
|
|
846
|
+
readonly '20': "calc(var(--s-unit) * 2)";
|
|
847
|
+
readonly '25': "calc(var(--s-unit) * 2.5)";
|
|
848
|
+
readonly '30': "calc(var(--s-unit) * 3)";
|
|
849
|
+
readonly '35': "calc(var(--s-unit) * 4)";
|
|
850
|
+
readonly '40': "calc(var(--s-unit) * 5)";
|
|
851
|
+
readonly '50': "calc(var(--s-unit) * 8)";
|
|
852
|
+
readonly '60': "calc(var(--s-unit) * 13)";
|
|
853
|
+
readonly '70': "calc(var(--s-unit) * 21)";
|
|
854
|
+
readonly '80': "calc(var(--s-unit) * 34)";
|
|
855
|
+
};
|
|
856
|
+
readonly flow: {
|
|
857
|
+
readonly s: "-";
|
|
858
|
+
readonly l: "-";
|
|
859
|
+
};
|
|
860
|
+
readonly sz: {
|
|
861
|
+
readonly xs: "400px";
|
|
862
|
+
readonly s: "640px";
|
|
863
|
+
readonly m: "880px";
|
|
864
|
+
readonly l: "1200px";
|
|
865
|
+
readonly xl: "1600px";
|
|
866
|
+
};
|
|
867
|
+
readonly ar: {
|
|
868
|
+
readonly og: "1.91/1";
|
|
869
|
+
};
|
|
870
|
+
};
|
|
793
871
|
traits: {
|
|
794
872
|
readonly isContainer: "is--container";
|
|
795
873
|
readonly isWrapper: "is--wrapper";
|
|
@@ -803,34 +881,140 @@ export declare const CONFIG: {
|
|
|
803
881
|
readonly hasSnap: "has--snap";
|
|
804
882
|
readonly hasMask: "has--mask";
|
|
805
883
|
};
|
|
884
|
+
breakpoints: {
|
|
885
|
+
readonly xs: 0;
|
|
886
|
+
readonly sm: "480px";
|
|
887
|
+
readonly md: "800px";
|
|
888
|
+
readonly lg: "1120px";
|
|
889
|
+
readonly xl: 0;
|
|
890
|
+
};
|
|
806
891
|
};
|
|
807
892
|
export declare const TOKENS: {
|
|
808
|
-
readonly
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
893
|
+
readonly color: {
|
|
894
|
+
readonly red: "-";
|
|
895
|
+
readonly blue: "-";
|
|
896
|
+
readonly green: "-";
|
|
897
|
+
readonly yellow: "-";
|
|
898
|
+
readonly purple: "-";
|
|
899
|
+
readonly orange: "-";
|
|
900
|
+
readonly pink: "-";
|
|
901
|
+
readonly gray: "-";
|
|
902
|
+
readonly white: "#fff";
|
|
903
|
+
readonly black: "#000";
|
|
904
|
+
readonly keycolor: "-";
|
|
905
|
+
readonly base: "-";
|
|
906
|
+
readonly 'base-2': "-";
|
|
907
|
+
readonly text: "-";
|
|
908
|
+
readonly 'text-2': "-";
|
|
909
|
+
readonly divider: "-";
|
|
910
|
+
readonly link: "-";
|
|
911
|
+
readonly brand: "-";
|
|
912
|
+
readonly accent: "-";
|
|
913
|
+
readonly neutral: "-";
|
|
914
|
+
};
|
|
915
|
+
readonly palette: {
|
|
916
|
+
readonly red: "-";
|
|
917
|
+
readonly blue: "-";
|
|
918
|
+
readonly green: "-";
|
|
919
|
+
readonly yellow: "-";
|
|
920
|
+
readonly purple: "-";
|
|
921
|
+
readonly orange: "-";
|
|
922
|
+
readonly pink: "-";
|
|
923
|
+
readonly gray: "-";
|
|
924
|
+
readonly white: "#fff";
|
|
925
|
+
readonly black: "#000";
|
|
926
|
+
readonly keycolor: "-";
|
|
927
|
+
};
|
|
928
|
+
readonly fz: {
|
|
929
|
+
readonly base: "1rem";
|
|
930
|
+
readonly '5xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 6))";
|
|
931
|
+
readonly '4xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 5))";
|
|
932
|
+
readonly '3xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 4))";
|
|
933
|
+
readonly '2xl': "calc(1em * var(--fz-mol) / (var(--fz-mol) - 3))";
|
|
934
|
+
readonly xl: "calc(1em * var(--fz-mol) / (var(--fz-mol) - 2))";
|
|
935
|
+
readonly l: "calc(1em * var(--fz-mol) / (var(--fz-mol) - 1))";
|
|
936
|
+
readonly m: "1em";
|
|
937
|
+
readonly s: "calc(1em * var(--fz-mol) / (var(--fz-mol) + 1))";
|
|
938
|
+
readonly xs: "calc(1em * var(--fz-mol) / (var(--fz-mol) + 2))";
|
|
939
|
+
readonly '2xs': "calc(1em * var(--fz-mol) / (var(--fz-mol) + 3))";
|
|
940
|
+
};
|
|
941
|
+
readonly lh: {
|
|
942
|
+
readonly base: "-";
|
|
943
|
+
readonly xs: "-";
|
|
944
|
+
readonly s: "-";
|
|
945
|
+
readonly l: "-";
|
|
946
|
+
};
|
|
947
|
+
readonly hl: {
|
|
948
|
+
readonly base: "calc(var(--hl-unit) * 3)";
|
|
949
|
+
readonly xs: "var(--hl-unit)";
|
|
950
|
+
readonly s: "calc(var(--hl-unit) * 2)";
|
|
951
|
+
readonly l: "calc(var(--hl-unit) * 4)";
|
|
952
|
+
};
|
|
953
|
+
readonly lts: {
|
|
954
|
+
readonly base: "normal";
|
|
955
|
+
readonly s: "-0.025em";
|
|
956
|
+
readonly l: "0.05em";
|
|
957
|
+
readonly xl: "0.1em";
|
|
958
|
+
};
|
|
959
|
+
readonly ff: {
|
|
960
|
+
readonly base: "-apple-system, 'BlinkMacSystemFont', 'Hiragino Sans', sans-serif, 'Segoe UI Emoji'";
|
|
961
|
+
readonly accent: "'Garamond', 'Baskerville', 'Times New Roman', serif";
|
|
962
|
+
readonly mono: "ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace";
|
|
963
|
+
};
|
|
964
|
+
readonly fw: {
|
|
965
|
+
readonly light: "300";
|
|
966
|
+
readonly normal: "400";
|
|
967
|
+
readonly bold: "600";
|
|
968
|
+
};
|
|
969
|
+
readonly o: {
|
|
970
|
+
readonly mp: "0.9";
|
|
971
|
+
readonly p: "0.75";
|
|
972
|
+
readonly pp: "0.5";
|
|
973
|
+
readonly ppp: "0.25";
|
|
974
|
+
};
|
|
975
|
+
readonly bdrs: {
|
|
976
|
+
readonly '10': "0.25rem";
|
|
977
|
+
readonly '20': "0.5rem";
|
|
978
|
+
readonly '30': "1rem";
|
|
979
|
+
readonly '40': "1.5rem";
|
|
980
|
+
readonly '99': "99rem";
|
|
981
|
+
readonly inner: "-";
|
|
982
|
+
};
|
|
983
|
+
readonly bxsh: {
|
|
984
|
+
readonly '10': "var(--shsz--10) var(--shc)";
|
|
985
|
+
readonly '20': "var(--shsz--20) var(--shc)";
|
|
986
|
+
readonly '30': "var(--shsz--30) var(--shc)";
|
|
987
|
+
readonly '40': "var(--shsz--40) var(--shc)";
|
|
988
|
+
readonly '50': "var(--shsz--50) var(--shc)";
|
|
989
|
+
};
|
|
819
990
|
readonly space: {
|
|
820
|
-
readonly
|
|
821
|
-
readonly
|
|
991
|
+
readonly '5': "calc(var(--s-unit) * 0.5)";
|
|
992
|
+
readonly '10': "var(--s-unit)";
|
|
993
|
+
readonly '15': "calc(var(--s-unit) * 1.5)";
|
|
994
|
+
readonly '20': "calc(var(--s-unit) * 2)";
|
|
995
|
+
readonly '25': "calc(var(--s-unit) * 2.5)";
|
|
996
|
+
readonly '30': "calc(var(--s-unit) * 3)";
|
|
997
|
+
readonly '35': "calc(var(--s-unit) * 4)";
|
|
998
|
+
readonly '40': "calc(var(--s-unit) * 5)";
|
|
999
|
+
readonly '50': "calc(var(--s-unit) * 8)";
|
|
1000
|
+
readonly '60': "calc(var(--s-unit) * 13)";
|
|
1001
|
+
readonly '70': "calc(var(--s-unit) * 21)";
|
|
1002
|
+
readonly '80': "calc(var(--s-unit) * 34)";
|
|
1003
|
+
};
|
|
1004
|
+
readonly flow: {
|
|
1005
|
+
readonly s: "-";
|
|
1006
|
+
readonly l: "-";
|
|
822
1007
|
};
|
|
823
|
-
readonly
|
|
824
|
-
readonly
|
|
825
|
-
readonly
|
|
1008
|
+
readonly sz: {
|
|
1009
|
+
readonly xs: "400px";
|
|
1010
|
+
readonly s: "640px";
|
|
1011
|
+
readonly m: "880px";
|
|
1012
|
+
readonly l: "1200px";
|
|
1013
|
+
readonly xl: "1600px";
|
|
826
1014
|
};
|
|
827
|
-
readonly
|
|
828
|
-
readonly
|
|
829
|
-
readonly values: readonly ["red", "blue", "green", "yellow", "purple", "orange", "pink", "gray", "white", "black", "keycolor"];
|
|
1015
|
+
readonly ar: {
|
|
1016
|
+
readonly og: "1.91/1";
|
|
830
1017
|
};
|
|
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
1018
|
};
|
|
835
1019
|
export declare const PROPS: {
|
|
836
1020
|
readonly f: {
|
|
@@ -862,25 +1046,25 @@ export declare const PROPS: {
|
|
|
862
1046
|
};
|
|
863
1047
|
};
|
|
864
1048
|
readonly lh: {
|
|
865
|
-
readonly prop: "
|
|
866
|
-
readonly
|
|
1049
|
+
readonly prop: "--hl";
|
|
1050
|
+
readonly isVar: 1;
|
|
867
1051
|
readonly token: "hl";
|
|
868
|
-
readonly tokenClass:
|
|
869
|
-
readonly
|
|
870
|
-
readonly 1: "";
|
|
1052
|
+
readonly tokenClass: 1;
|
|
1053
|
+
readonly utils: {
|
|
1054
|
+
readonly '1': "0px";
|
|
871
1055
|
};
|
|
872
1056
|
};
|
|
873
1057
|
readonly hl: {
|
|
1058
|
+
readonly prop: "--hl";
|
|
874
1059
|
readonly isVar: 1;
|
|
875
1060
|
readonly token: "hl";
|
|
876
|
-
readonly tokenClass:
|
|
877
|
-
readonly bp:
|
|
1061
|
+
readonly tokenClass: 1;
|
|
1062
|
+
readonly bp: 1;
|
|
878
1063
|
};
|
|
879
1064
|
readonly lts: {
|
|
880
1065
|
readonly prop: "letterSpacing";
|
|
881
1066
|
readonly token: "lts";
|
|
882
1067
|
readonly tokenClass: 1;
|
|
883
|
-
readonly bp: 0;
|
|
884
1068
|
};
|
|
885
1069
|
readonly ta: {
|
|
886
1070
|
readonly prop: "textAlign";
|
|
@@ -902,7 +1086,7 @@ export declare const PROPS: {
|
|
|
902
1086
|
readonly d: {
|
|
903
1087
|
readonly prop: "display";
|
|
904
1088
|
readonly presets: readonly ["none", "block", "flex", "inline-flex", "grid", "inline-grid", "inline", "inline-block"];
|
|
905
|
-
readonly bp:
|
|
1089
|
+
readonly bp: 1;
|
|
906
1090
|
};
|
|
907
1091
|
readonly o: {
|
|
908
1092
|
readonly prop: "opacity";
|
|
@@ -1012,7 +1196,6 @@ export declare const PROPS: {
|
|
|
1012
1196
|
};
|
|
1013
1197
|
readonly bg: {
|
|
1014
1198
|
readonly prop: "background";
|
|
1015
|
-
readonly bp: 0;
|
|
1016
1199
|
};
|
|
1017
1200
|
readonly bgi: {
|
|
1018
1201
|
readonly prop: "backgroundImage";
|
|
@@ -1271,22 +1454,18 @@ export declare const PROPS: {
|
|
|
1271
1454
|
readonly pl: {
|
|
1272
1455
|
readonly prop: "paddingLeft";
|
|
1273
1456
|
readonly token: "space";
|
|
1274
|
-
readonly bp: 0;
|
|
1275
1457
|
};
|
|
1276
1458
|
readonly pr: {
|
|
1277
1459
|
readonly prop: "paddingRight";
|
|
1278
1460
|
readonly token: "space";
|
|
1279
|
-
readonly bp: 0;
|
|
1280
1461
|
};
|
|
1281
1462
|
readonly pt: {
|
|
1282
1463
|
readonly prop: "paddingTop";
|
|
1283
1464
|
readonly token: "space";
|
|
1284
|
-
readonly bp: 0;
|
|
1285
1465
|
};
|
|
1286
1466
|
readonly pb: {
|
|
1287
1467
|
readonly prop: "paddingBottom";
|
|
1288
1468
|
readonly token: "space";
|
|
1289
|
-
readonly bp: 0;
|
|
1290
1469
|
};
|
|
1291
1470
|
readonly m: {
|
|
1292
1471
|
readonly prop: "margin";
|
|
@@ -1338,22 +1517,18 @@ export declare const PROPS: {
|
|
|
1338
1517
|
readonly ml: {
|
|
1339
1518
|
readonly prop: "marginLeft";
|
|
1340
1519
|
readonly token: "space";
|
|
1341
|
-
readonly bp: 0;
|
|
1342
1520
|
};
|
|
1343
1521
|
readonly mr: {
|
|
1344
1522
|
readonly prop: "marginRight";
|
|
1345
1523
|
readonly token: "space";
|
|
1346
|
-
readonly bp: 0;
|
|
1347
1524
|
};
|
|
1348
1525
|
readonly mt: {
|
|
1349
1526
|
readonly prop: "marginTop";
|
|
1350
1527
|
readonly token: "space";
|
|
1351
|
-
readonly bp: 0;
|
|
1352
1528
|
};
|
|
1353
1529
|
readonly mb: {
|
|
1354
1530
|
readonly prop: "marginBottom";
|
|
1355
1531
|
readonly token: "space";
|
|
1356
|
-
readonly bp: 0;
|
|
1357
1532
|
};
|
|
1358
1533
|
readonly g: {
|
|
1359
1534
|
readonly prop: "gap";
|
|
@@ -1365,21 +1540,19 @@ export declare const PROPS: {
|
|
|
1365
1540
|
};
|
|
1366
1541
|
readonly token: "space";
|
|
1367
1542
|
readonly tokenClass: 1;
|
|
1368
|
-
readonly bp:
|
|
1543
|
+
readonly bp: 1;
|
|
1369
1544
|
};
|
|
1370
1545
|
readonly cg: {
|
|
1371
1546
|
readonly prop: "columnGap";
|
|
1372
1547
|
readonly token: "space";
|
|
1373
|
-
readonly bp: 0;
|
|
1374
1548
|
};
|
|
1375
1549
|
readonly rg: {
|
|
1376
1550
|
readonly prop: "rowGap";
|
|
1377
1551
|
readonly token: "space";
|
|
1378
|
-
readonly bp: 0;
|
|
1379
1552
|
};
|
|
1380
1553
|
readonly cols: {
|
|
1381
1554
|
readonly isVar: 1;
|
|
1382
|
-
readonly bp:
|
|
1555
|
+
readonly bp: 1;
|
|
1383
1556
|
};
|
|
1384
1557
|
readonly rows: {
|
|
1385
1558
|
readonly isVar: 1;
|
|
@@ -1421,17 +1594,17 @@ export declare const PROPS: {
|
|
|
1421
1594
|
};
|
|
1422
1595
|
readonly gta: {
|
|
1423
1596
|
readonly prop: "gridTemplateAreas";
|
|
1424
|
-
readonly bp:
|
|
1597
|
+
readonly bp: 1;
|
|
1425
1598
|
};
|
|
1426
1599
|
readonly gtc: {
|
|
1427
1600
|
readonly prop: "gridTemplateColumns";
|
|
1428
1601
|
readonly presets: readonly ["subgrid"];
|
|
1429
|
-
readonly bp:
|
|
1602
|
+
readonly bp: 1;
|
|
1430
1603
|
};
|
|
1431
1604
|
readonly gtr: {
|
|
1432
1605
|
readonly prop: "gridTemplateRows";
|
|
1433
1606
|
readonly presets: readonly ["subgrid"];
|
|
1434
|
-
readonly bp:
|
|
1607
|
+
readonly bp: 1;
|
|
1435
1608
|
};
|
|
1436
1609
|
readonly gaf: {
|
|
1437
1610
|
readonly prop: "gridAutoFlow";
|
|
@@ -1449,21 +1622,21 @@ export declare const PROPS: {
|
|
|
1449
1622
|
readonly utils: {
|
|
1450
1623
|
readonly '1/1': "1 / 1";
|
|
1451
1624
|
};
|
|
1452
|
-
readonly bp:
|
|
1625
|
+
readonly bp: 1;
|
|
1453
1626
|
};
|
|
1454
1627
|
readonly gc: {
|
|
1455
1628
|
readonly prop: "gridColumn";
|
|
1456
1629
|
readonly utils: {
|
|
1457
1630
|
readonly '1/-1': "1 / -1";
|
|
1458
1631
|
};
|
|
1459
|
-
readonly bp:
|
|
1632
|
+
readonly bp: 1;
|
|
1460
1633
|
};
|
|
1461
1634
|
readonly gr: {
|
|
1462
1635
|
readonly prop: "gridRow";
|
|
1463
1636
|
readonly utils: {
|
|
1464
1637
|
readonly '1/-1': "1 / -1";
|
|
1465
1638
|
};
|
|
1466
|
-
readonly bp:
|
|
1639
|
+
readonly bp: 1;
|
|
1467
1640
|
};
|
|
1468
1641
|
readonly gcs: {
|
|
1469
1642
|
readonly prop: "gridColumnStart";
|
|
@@ -1611,3 +1784,4 @@ export declare const TRAITS: {
|
|
|
1611
1784
|
};
|
|
1612
1785
|
export declare const BREAK_POINTS: readonly ["sm", "md", "lg", "xl"];
|
|
1613
1786
|
export declare const BREAK_POINTS_ALL: readonly ["base", "sm", "md", "lg", "xl"];
|
|
1787
|
+
export declare const BREAK_POINTS_OBJ: readonly ["base", "xs", "sm", "md", "lg", "xl"];
|