@primer/primitives 7.11.5 → 7.11.6-rc.2fe33f9
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/README.md +2 -0
- package/package.json +1 -2
- package/tokens-next-private/css/base/size/size.css +0 -5
- package/tokens-next-private/css/base/typography/typography.css +0 -5
- package/tokens-next-private/css/functional/size/border.css +5 -9
- package/tokens-next-private/css/functional/size/breakpoints.css +0 -5
- package/tokens-next-private/css/functional/size/size-coarse.css +0 -5
- package/tokens-next-private/css/functional/size/size-fine.css +0 -5
- package/tokens-next-private/css/functional/size/size.css +0 -5
- package/tokens-next-private/css/functional/size/viewport.css +0 -5
- package/tokens-next-private/css/functional/themes/dark-colorblind.css +188 -11
- package/tokens-next-private/css/functional/themes/dark-dimmed.css +188 -11
- package/tokens-next-private/css/functional/themes/dark-high-contrast.css +190 -13
- package/tokens-next-private/css/functional/themes/dark-tritanopia.css +188 -11
- package/tokens-next-private/css/functional/themes/dark.css +188 -11
- package/tokens-next-private/css/functional/themes/light-colorblind.css +188 -11
- package/tokens-next-private/css/functional/themes/light-high-contrast.css +198 -21
- package/tokens-next-private/css/functional/themes/light-tritanopia.css +188 -11
- package/tokens-next-private/css/functional/themes/light.css +188 -11
- package/tokens-next-private/css/functional/typography/typography.css +43 -43
- package/tokens-next-private/docs/base/size/size.json +220 -224
- package/tokens-next-private/docs/base/typography/typography.json +51 -57
- package/tokens-next-private/docs/functional/size/border.json +125 -122
- package/tokens-next-private/docs/functional/size/breakpoints.json +72 -74
- package/tokens-next-private/docs/functional/size/size-coarse.json +36 -50
- package/tokens-next-private/docs/functional/size/size-fine.json +36 -50
- package/tokens-next-private/docs/functional/size/size.json +600 -644
- package/tokens-next-private/docs/functional/size/viewport.json +70 -72
- package/tokens-next-private/docs/functional/themes/dark-colorblind.json +5520 -4443
- package/tokens-next-private/docs/functional/themes/dark-dimmed.json +5524 -4447
- package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +5524 -4447
- package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +5524 -4447
- package/tokens-next-private/docs/functional/themes/dark.json +5524 -4447
- package/tokens-next-private/docs/functional/themes/light-colorblind.json +5176 -4149
- package/tokens-next-private/docs/functional/themes/light-high-contrast.json +5170 -4143
- package/tokens-next-private/docs/functional/themes/light-tritanopia.json +5170 -4143
- package/tokens-next-private/docs/functional/themes/light.json +5170 -4143
- package/tokens-next-private/docs/functional/typography/typography.json +600 -562
- package/tokens-next-private/js/base/size/size.js +0 -5
- package/tokens-next-private/js/base/typography/typography.js +0 -5
- package/tokens-next-private/js/functional/size/border.js +3 -7
- package/tokens-next-private/js/functional/size/breakpoints.js +0 -5
- package/tokens-next-private/js/functional/size/size-coarse.js +0 -5
- package/tokens-next-private/js/functional/size/size-fine.js +0 -5
- package/tokens-next-private/js/functional/size/size.js +0 -5
- package/tokens-next-private/js/functional/size/viewport.js +0 -5
- package/tokens-next-private/js/functional/themes/dark-colorblind.js +116 -8
- package/tokens-next-private/js/functional/themes/dark-dimmed.js +116 -8
- package/tokens-next-private/js/functional/themes/dark-high-contrast.js +117 -9
- package/tokens-next-private/js/functional/themes/dark-tritanopia.js +116 -8
- package/tokens-next-private/js/functional/themes/dark.js +116 -8
- package/tokens-next-private/js/functional/themes/light-colorblind.js +114 -8
- package/tokens-next-private/js/functional/themes/light-high-contrast.js +119 -13
- package/tokens-next-private/js/functional/themes/light-tritanopia.js +114 -8
- package/tokens-next-private/js/functional/themes/light.js +114 -8
- package/tokens-next-private/js/functional/typography/typography.js +10 -8
- package/tokens-next-private/json/functional/size/border.json +3 -2
- package/tokens-next-private/json/functional/themes/dark-colorblind.json +117 -4
- package/tokens-next-private/json/functional/themes/dark-dimmed.json +117 -4
- package/tokens-next-private/json/functional/themes/dark-high-contrast.json +118 -5
- package/tokens-next-private/json/functional/themes/dark-tritanopia.json +117 -4
- package/tokens-next-private/json/functional/themes/dark.json +117 -4
- package/tokens-next-private/json/functional/themes/light-colorblind.json +115 -4
- package/tokens-next-private/json/functional/themes/light-high-contrast.json +120 -9
- package/tokens-next-private/json/functional/themes/light-tritanopia.json +115 -4
- package/tokens-next-private/json/functional/themes/light.json +115 -4
- package/tokens-next-private/json/functional/typography/typography.json +13 -6
- package/tokens-next-private/scss/base/size/size.scss +0 -5
- package/tokens-next-private/scss/base/typography/typography.scss +0 -5
- package/tokens-next-private/scss/functional/size/border.scss +5 -9
- package/tokens-next-private/scss/functional/size/breakpoints.scss +0 -5
- package/tokens-next-private/scss/functional/size/size-coarse.scss +0 -5
- package/tokens-next-private/scss/functional/size/size-fine.scss +0 -5
- package/tokens-next-private/scss/functional/size/size.scss +0 -5
- package/tokens-next-private/scss/functional/size/viewport.scss +0 -5
- package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +94 -8
- package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +94 -8
- package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +95 -9
- package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +94 -8
- package/tokens-next-private/scss/functional/themes/dark.scss +94 -8
- package/tokens-next-private/scss/functional/themes/light-colorblind.scss +94 -8
- package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +99 -13
- package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +94 -8
- package/tokens-next-private/scss/functional/themes/light.scss +94 -8
- package/tokens-next-private/scss/functional/typography/typography.scss +8 -8
- package/tokens-next-private/ts/base/size/size.ts +0 -5
- package/tokens-next-private/ts/base/typography/typography.ts +0 -5
- package/tokens-next-private/ts/functional/size/border.ts +3 -7
- package/tokens-next-private/ts/functional/size/breakpoints.ts +0 -5
- package/tokens-next-private/ts/functional/size/size-coarse.ts +0 -5
- package/tokens-next-private/ts/functional/size/size-fine.ts +0 -5
- package/tokens-next-private/ts/functional/size/size.ts +0 -5
- package/tokens-next-private/ts/functional/size/viewport.ts +0 -5
- package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +116 -8
- package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +116 -8
- package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +117 -9
- package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +116 -8
- package/tokens-next-private/ts/functional/themes/dark.ts +116 -8
- package/tokens-next-private/ts/functional/themes/light-colorblind.ts +114 -8
- package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +119 -13
- package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +114 -8
- package/tokens-next-private/ts/functional/themes/light.ts +114 -8
- package/tokens-next-private/ts/functional/typography/typography.ts +10 -8
- package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +113 -111
- package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +3 -2
- package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +1 -3
- package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +15 -3
- package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
- package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
- package/tokens-next-private/css/base/color/dark-colorblind.css +0 -198
- package/tokens-next-private/css/base/color/dark-dimmed.css +0 -198
- package/tokens-next-private/css/base/color/dark-high-contrast.css +0 -198
- package/tokens-next-private/css/base/color/dark-tritanopia.css +0 -198
- package/tokens-next-private/css/base/color/dark.css +0 -198
- package/tokens-next-private/css/base/color/light-colorblind.css +0 -198
- package/tokens-next-private/css/base/color/light-high-contrast.css +0 -198
- package/tokens-next-private/css/base/color/light-tritanopia.css +0 -198
- package/tokens-next-private/css/base/color/light.css +0 -198
- package/tokens-next-private/docs/base/color/dark-colorblind.json +0 -1419
- package/tokens-next-private/docs/base/color/dark-dimmed.json +0 -1419
- package/tokens-next-private/docs/base/color/dark-high-contrast.json +0 -1419
- package/tokens-next-private/docs/base/color/dark-tritanopia.json +0 -1419
- package/tokens-next-private/docs/base/color/dark.json +0 -1419
- package/tokens-next-private/docs/base/color/light-colorblind.json +0 -1419
- package/tokens-next-private/docs/base/color/light-high-contrast.json +0 -1419
- package/tokens-next-private/docs/base/color/light-tritanopia.json +0 -1419
- package/tokens-next-private/docs/base/color/light.json +0 -1419
- package/tokens-next-private/js/base/color/dark-colorblind.js +0 -122
- package/tokens-next-private/js/base/color/dark-dimmed.js +0 -122
- package/tokens-next-private/js/base/color/dark-high-contrast.js +0 -122
- package/tokens-next-private/js/base/color/dark-tritanopia.js +0 -122
- package/tokens-next-private/js/base/color/dark.js +0 -122
- package/tokens-next-private/js/base/color/light-colorblind.js +0 -122
- package/tokens-next-private/js/base/color/light-high-contrast.js +0 -122
- package/tokens-next-private/js/base/color/light-tritanopia.js +0 -122
- package/tokens-next-private/js/base/color/light.js +0 -122
- package/tokens-next-private/json/base/color/dark-colorblind.json +0 -117
- package/tokens-next-private/json/base/color/dark-dimmed.json +0 -117
- package/tokens-next-private/json/base/color/dark-high-contrast.json +0 -117
- package/tokens-next-private/json/base/color/dark-tritanopia.json +0 -117
- package/tokens-next-private/json/base/color/dark.json +0 -117
- package/tokens-next-private/json/base/color/light-colorblind.json +0 -117
- package/tokens-next-private/json/base/color/light-high-contrast.json +0 -117
- package/tokens-next-private/json/base/color/light-tritanopia.json +0 -117
- package/tokens-next-private/json/base/color/light.json +0 -117
- package/tokens-next-private/scss/base/color/dark-colorblind.scss +0 -102
- package/tokens-next-private/scss/base/color/dark-dimmed.scss +0 -102
- package/tokens-next-private/scss/base/color/dark-high-contrast.scss +0 -102
- package/tokens-next-private/scss/base/color/dark-tritanopia.scss +0 -102
- package/tokens-next-private/scss/base/color/dark.scss +0 -102
- package/tokens-next-private/scss/base/color/light-colorblind.scss +0 -102
- package/tokens-next-private/scss/base/color/light-high-contrast.scss +0 -102
- package/tokens-next-private/scss/base/color/light-tritanopia.scss +0 -102
- package/tokens-next-private/scss/base/color/light.scss +0 -102
- package/tokens-next-private/ts/base/color/dark-colorblind.ts +0 -122
- package/tokens-next-private/ts/base/color/dark-dimmed.ts +0 -122
- package/tokens-next-private/ts/base/color/dark-high-contrast.ts +0 -122
- package/tokens-next-private/ts/base/color/dark-tritanopia.ts +0 -122
- package/tokens-next-private/ts/base/color/dark.ts +0 -122
- package/tokens-next-private/ts/base/color/light-colorblind.ts +0 -122
- package/tokens-next-private/ts/base/color/light-high-contrast.ts +0 -122
- package/tokens-next-private/ts/base/color/light-tritanopia.ts +0 -122
- package/tokens-next-private/ts/base/color/light.ts +0 -122
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Wed, 05 Apr 2023 07:13:50 GMT
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
1
|
export default {
|
|
7
2
|
topicTag: {
|
|
8
3
|
borderColor: "#ffffff00",
|
|
@@ -101,8 +96,6 @@ export default {
|
|
|
101
96
|
fgColor: {
|
|
102
97
|
default: "#ffffffb3",
|
|
103
98
|
logo: "#ffffff",
|
|
104
|
-
text: "#ffffffb3",
|
|
105
|
-
borderColor: "#57606a",
|
|
106
99
|
},
|
|
107
100
|
bgColor: "#24292f",
|
|
108
101
|
borderColor: {
|
|
@@ -361,7 +354,7 @@ export default {
|
|
|
361
354
|
},
|
|
362
355
|
focus: {
|
|
363
356
|
outlineColor: "#0969da",
|
|
364
|
-
outline: "#0969da solid
|
|
357
|
+
outline: "#0969da solid 2px",
|
|
365
358
|
},
|
|
366
359
|
menu: {
|
|
367
360
|
bgColor: {
|
|
@@ -599,6 +592,119 @@ export default {
|
|
|
599
592
|
},
|
|
600
593
|
},
|
|
601
594
|
},
|
|
595
|
+
scale: {
|
|
596
|
+
black: "#1f2328",
|
|
597
|
+
transparent: "#ffffff00",
|
|
598
|
+
white: "#ffffff",
|
|
599
|
+
gray: {
|
|
600
|
+
"0": "#f6f8fa",
|
|
601
|
+
"1": "#eaeef2",
|
|
602
|
+
"2": "#d0d7de",
|
|
603
|
+
"3": "#afb8c1",
|
|
604
|
+
"4": "#8c959f",
|
|
605
|
+
"5": "#6e7781",
|
|
606
|
+
"6": "#57606a",
|
|
607
|
+
"7": "#424a53",
|
|
608
|
+
"8": "#32383f",
|
|
609
|
+
"9": "#24292f",
|
|
610
|
+
},
|
|
611
|
+
blue: {
|
|
612
|
+
"0": "#ddf4ff",
|
|
613
|
+
"1": "#b6e3ff",
|
|
614
|
+
"2": "#80ccff",
|
|
615
|
+
"3": "#54aeff",
|
|
616
|
+
"4": "#218bff",
|
|
617
|
+
"5": "#0969da",
|
|
618
|
+
"6": "#0550ae",
|
|
619
|
+
"7": "#033d8b",
|
|
620
|
+
"8": "#0a3069",
|
|
621
|
+
"9": "#002155",
|
|
622
|
+
},
|
|
623
|
+
green: {
|
|
624
|
+
"0": "#dafbe1",
|
|
625
|
+
"1": "#aceebb",
|
|
626
|
+
"2": "#6fdd8b",
|
|
627
|
+
"3": "#4ac26b",
|
|
628
|
+
"4": "#2da44e",
|
|
629
|
+
"5": "#1a7f37",
|
|
630
|
+
"6": "#116329",
|
|
631
|
+
"7": "#044f1e",
|
|
632
|
+
"8": "#003d16",
|
|
633
|
+
"9": "#002d11",
|
|
634
|
+
},
|
|
635
|
+
yellow: {
|
|
636
|
+
"0": "#fff8c5",
|
|
637
|
+
"1": "#fae17d",
|
|
638
|
+
"2": "#eac54f",
|
|
639
|
+
"3": "#d4a72c",
|
|
640
|
+
"4": "#bf8700",
|
|
641
|
+
"5": "#9a6700",
|
|
642
|
+
"6": "#7d4e00",
|
|
643
|
+
"7": "#633c01",
|
|
644
|
+
"8": "#4d2d00",
|
|
645
|
+
"9": "#3b2300",
|
|
646
|
+
},
|
|
647
|
+
orange: {
|
|
648
|
+
"0": "#fff1e5",
|
|
649
|
+
"1": "#ffd8b5",
|
|
650
|
+
"2": "#ffb77c",
|
|
651
|
+
"3": "#fb8f44",
|
|
652
|
+
"4": "#e16f24",
|
|
653
|
+
"5": "#bc4c00",
|
|
654
|
+
"6": "#953800",
|
|
655
|
+
"7": "#762c00",
|
|
656
|
+
"8": "#5c2200",
|
|
657
|
+
"9": "#471700",
|
|
658
|
+
},
|
|
659
|
+
red: {
|
|
660
|
+
"0": "#ffebe9",
|
|
661
|
+
"1": "#ffcecb",
|
|
662
|
+
"2": "#ffaba8",
|
|
663
|
+
"3": "#ff8182",
|
|
664
|
+
"4": "#fa4549",
|
|
665
|
+
"5": "#cf222e",
|
|
666
|
+
"6": "#a40e26",
|
|
667
|
+
"7": "#82071e",
|
|
668
|
+
"8": "#660018",
|
|
669
|
+
"9": "#4c0014",
|
|
670
|
+
},
|
|
671
|
+
purple: {
|
|
672
|
+
"0": "#fbefff",
|
|
673
|
+
"1": "#ecd8ff",
|
|
674
|
+
"2": "#d8b9ff",
|
|
675
|
+
"3": "#c297ff",
|
|
676
|
+
"4": "#a475f9",
|
|
677
|
+
"5": "#8250df",
|
|
678
|
+
"6": "#6639ba",
|
|
679
|
+
"7": "#512a97",
|
|
680
|
+
"8": "#3e1f79",
|
|
681
|
+
"9": "#2e1461",
|
|
682
|
+
},
|
|
683
|
+
pink: {
|
|
684
|
+
"0": "#ffeff7",
|
|
685
|
+
"1": "#ffd3eb",
|
|
686
|
+
"2": "#ffadda",
|
|
687
|
+
"3": "#ff80c8",
|
|
688
|
+
"4": "#e85aad",
|
|
689
|
+
"5": "#bf3989",
|
|
690
|
+
"6": "#99286e",
|
|
691
|
+
"7": "#772057",
|
|
692
|
+
"8": "#611347",
|
|
693
|
+
"9": "#4d0336",
|
|
694
|
+
},
|
|
695
|
+
coral: {
|
|
696
|
+
"0": "#fff0eb",
|
|
697
|
+
"1": "#ffd6cc",
|
|
698
|
+
"2": "#ffb4a1",
|
|
699
|
+
"3": "#fd8c73",
|
|
700
|
+
"4": "#ec6547",
|
|
701
|
+
"5": "#c4432b",
|
|
702
|
+
"6": "#9e2f1c",
|
|
703
|
+
"7": "#801f0f",
|
|
704
|
+
"8": "#691105",
|
|
705
|
+
"9": "#510901",
|
|
706
|
+
},
|
|
707
|
+
},
|
|
602
708
|
},
|
|
603
709
|
shadow: {
|
|
604
710
|
inset: "inset 0px 1px 0px 0px #1f23280d",
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Wed, 05 Apr 2023 07:13:55 GMT
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
1
|
export default {
|
|
7
2
|
fontStack: {
|
|
8
3
|
system: "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
@@ -21,15 +16,22 @@ export default {
|
|
|
21
16
|
size: {
|
|
22
17
|
large: "2rem",
|
|
23
18
|
medium: "1.25rem",
|
|
19
|
+
small: "1rem",
|
|
24
20
|
},
|
|
25
21
|
lineHeight: {
|
|
26
22
|
large: "calc(48/32)",
|
|
27
23
|
medium: "calc(32/20)",
|
|
24
|
+
small: "calc(24/16)",
|
|
25
|
+
},
|
|
26
|
+
weight: {
|
|
27
|
+
large: 600,
|
|
28
|
+
medium: 600,
|
|
29
|
+
small: 600,
|
|
28
30
|
},
|
|
29
|
-
weight: 600,
|
|
30
31
|
shorthand: {
|
|
31
32
|
large: "600 2rem/calc(48/32) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
32
33
|
medium: "600 1.25rem/calc(32/20) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
34
|
+
small: "600 1rem/calc(24/16) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
33
35
|
},
|
|
34
36
|
},
|
|
35
37
|
subtitle: {
|
|
@@ -69,9 +71,9 @@ export default {
|
|
|
69
71
|
shorthand: "400 0.8125rem/calc(20/13) ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
70
72
|
},
|
|
71
73
|
codeInline: {
|
|
72
|
-
size: "0.
|
|
74
|
+
size: "0.9285em",
|
|
73
75
|
weight: 400,
|
|
74
|
-
shorthand: "400 0.
|
|
76
|
+
shorthand: "400 0.9285em ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
75
77
|
},
|
|
76
78
|
},
|
|
77
79
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed,
|
|
3
|
+
* Generated on Wed, 19 Apr 2023 15:32:40 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -10,116 +10,118 @@ type ColorHex = string;
|
|
|
10
10
|
|
|
11
11
|
export type BaseColorDesignTokens = {
|
|
12
12
|
color: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
13
|
+
scale: {
|
|
14
|
+
black: ColorHex;
|
|
15
|
+
transparent: ColorHex;
|
|
16
|
+
white: ColorHex;
|
|
17
|
+
gray: {
|
|
18
|
+
"0": ColorHex;
|
|
19
|
+
"1": ColorHex;
|
|
20
|
+
"2": ColorHex;
|
|
21
|
+
"3": ColorHex;
|
|
22
|
+
"4": ColorHex;
|
|
23
|
+
"5": ColorHex;
|
|
24
|
+
"6": ColorHex;
|
|
25
|
+
"7": ColorHex;
|
|
26
|
+
"8": ColorHex;
|
|
27
|
+
"9": ColorHex;
|
|
28
|
+
};
|
|
29
|
+
blue: {
|
|
30
|
+
"0": ColorHex;
|
|
31
|
+
"1": ColorHex;
|
|
32
|
+
"2": ColorHex;
|
|
33
|
+
"3": ColorHex;
|
|
34
|
+
"4": ColorHex;
|
|
35
|
+
"5": ColorHex;
|
|
36
|
+
"6": ColorHex;
|
|
37
|
+
"7": ColorHex;
|
|
38
|
+
"8": ColorHex;
|
|
39
|
+
"9": ColorHex;
|
|
40
|
+
};
|
|
41
|
+
green: {
|
|
42
|
+
"0": ColorHex;
|
|
43
|
+
"1": ColorHex;
|
|
44
|
+
"2": ColorHex;
|
|
45
|
+
"3": ColorHex;
|
|
46
|
+
"4": ColorHex;
|
|
47
|
+
"5": ColorHex;
|
|
48
|
+
"6": ColorHex;
|
|
49
|
+
"7": ColorHex;
|
|
50
|
+
"8": ColorHex;
|
|
51
|
+
"9": ColorHex;
|
|
52
|
+
};
|
|
53
|
+
yellow: {
|
|
54
|
+
"0": ColorHex;
|
|
55
|
+
"1": ColorHex;
|
|
56
|
+
"2": ColorHex;
|
|
57
|
+
"3": ColorHex;
|
|
58
|
+
"4": ColorHex;
|
|
59
|
+
"5": ColorHex;
|
|
60
|
+
"6": ColorHex;
|
|
61
|
+
"7": ColorHex;
|
|
62
|
+
"8": ColorHex;
|
|
63
|
+
"9": ColorHex;
|
|
64
|
+
};
|
|
65
|
+
orange: {
|
|
66
|
+
"0": ColorHex;
|
|
67
|
+
"1": ColorHex;
|
|
68
|
+
"2": ColorHex;
|
|
69
|
+
"3": ColorHex;
|
|
70
|
+
"4": ColorHex;
|
|
71
|
+
"5": ColorHex;
|
|
72
|
+
"6": ColorHex;
|
|
73
|
+
"7": ColorHex;
|
|
74
|
+
"8": ColorHex;
|
|
75
|
+
"9": ColorHex;
|
|
76
|
+
};
|
|
77
|
+
red: {
|
|
78
|
+
"0": ColorHex;
|
|
79
|
+
"1": ColorHex;
|
|
80
|
+
"2": ColorHex;
|
|
81
|
+
"3": ColorHex;
|
|
82
|
+
"4": ColorHex;
|
|
83
|
+
"5": ColorHex;
|
|
84
|
+
"6": ColorHex;
|
|
85
|
+
"7": ColorHex;
|
|
86
|
+
"8": ColorHex;
|
|
87
|
+
"9": ColorHex;
|
|
88
|
+
};
|
|
89
|
+
purple: {
|
|
90
|
+
"0": ColorHex;
|
|
91
|
+
"1": ColorHex;
|
|
92
|
+
"2": ColorHex;
|
|
93
|
+
"3": ColorHex;
|
|
94
|
+
"4": ColorHex;
|
|
95
|
+
"5": ColorHex;
|
|
96
|
+
"6": ColorHex;
|
|
97
|
+
"7": ColorHex;
|
|
98
|
+
"8": ColorHex;
|
|
99
|
+
"9": ColorHex;
|
|
100
|
+
};
|
|
101
|
+
pink: {
|
|
102
|
+
"0": ColorHex;
|
|
103
|
+
"1": ColorHex;
|
|
104
|
+
"2": ColorHex;
|
|
105
|
+
"3": ColorHex;
|
|
106
|
+
"4": ColorHex;
|
|
107
|
+
"5": ColorHex;
|
|
108
|
+
"6": ColorHex;
|
|
109
|
+
"7": ColorHex;
|
|
110
|
+
"8": ColorHex;
|
|
111
|
+
"9": ColorHex;
|
|
112
|
+
};
|
|
113
|
+
coral: {
|
|
114
|
+
"0": ColorHex;
|
|
115
|
+
"1": ColorHex;
|
|
116
|
+
"2": ColorHex;
|
|
117
|
+
"3": ColorHex;
|
|
118
|
+
"4": ColorHex;
|
|
119
|
+
"5": ColorHex;
|
|
120
|
+
"6": ColorHex;
|
|
121
|
+
"7": ColorHex;
|
|
122
|
+
"8": ColorHex;
|
|
123
|
+
"9": ColorHex;
|
|
124
|
+
};
|
|
123
125
|
};
|
|
124
126
|
};
|
|
125
127
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed,
|
|
3
|
+
* Generated on Wed, 19 Apr 2023 15:32:40 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
type SizeRem = `${number}rem`;
|
|
10
10
|
|
|
11
11
|
export type SizeDesignTokens = {
|
|
12
|
-
|
|
12
|
+
boxShadow: {
|
|
13
13
|
thin: string;
|
|
14
14
|
thick: string;
|
|
15
15
|
thicker: string;
|
|
@@ -28,6 +28,7 @@ export type SizeDesignTokens = {
|
|
|
28
28
|
outline: {
|
|
29
29
|
focus: {
|
|
30
30
|
offset: SizeRem;
|
|
31
|
+
width: SizeRem;
|
|
31
32
|
};
|
|
32
33
|
};
|
|
33
34
|
breakpoint: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed,
|
|
3
|
+
* Generated on Wed, 19 Apr 2023 15:32:40 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -118,8 +118,6 @@ export type ThemeDesignTokens = {
|
|
|
118
118
|
fgColor: {
|
|
119
119
|
default: ColorHex;
|
|
120
120
|
logo: ColorHex;
|
|
121
|
-
text: ColorHex;
|
|
122
|
-
borderColor: ColorHex;
|
|
123
121
|
};
|
|
124
122
|
bgColor: ColorHex;
|
|
125
123
|
borderColor: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed,
|
|
3
|
+
* Generated on Wed, 19 Apr 2023 15:32:40 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
*/
|
|
9
9
|
type SizeRem = `${number}rem`;
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* @description size in em
|
|
13
|
+
*/
|
|
14
|
+
type SizeEm = `${number}em`;
|
|
15
|
+
|
|
11
16
|
export type TypographyDesignTokens = {
|
|
12
17
|
fontStack: {
|
|
13
18
|
system: string;
|
|
@@ -26,15 +31,22 @@ export type TypographyDesignTokens = {
|
|
|
26
31
|
size: {
|
|
27
32
|
large: SizeRem;
|
|
28
33
|
medium: SizeRem;
|
|
34
|
+
small: SizeRem;
|
|
29
35
|
};
|
|
30
36
|
lineHeight: {
|
|
31
37
|
large: string;
|
|
32
38
|
medium: string;
|
|
39
|
+
small: string;
|
|
40
|
+
};
|
|
41
|
+
weight: {
|
|
42
|
+
large: number;
|
|
43
|
+
medium: number;
|
|
44
|
+
small: number;
|
|
33
45
|
};
|
|
34
|
-
weight: number;
|
|
35
46
|
shorthand: {
|
|
36
47
|
large: string;
|
|
37
48
|
medium: string;
|
|
49
|
+
small: string;
|
|
38
50
|
};
|
|
39
51
|
};
|
|
40
52
|
subtitle: {
|
|
@@ -74,7 +86,7 @@ export type TypographyDesignTokens = {
|
|
|
74
86
|
shorthand: string;
|
|
75
87
|
};
|
|
76
88
|
codeInline: {
|
|
77
|
-
size:
|
|
89
|
+
size: SizeEm;
|
|
78
90
|
weight: number;
|
|
79
91
|
shorthand: string;
|
|
80
92
|
};
|