@zenkigen-inc/component-theme 1.0.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/README.md +5 -0
- package/dist/colors.d.ts +76 -0
- package/dist/form.d.ts +6 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.esm.js +114 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +114 -0
- package/dist/index.js.map +1 -0
- package/dist/typography.d.ts +27 -0
- package/package.json +23 -0
package/README.md
ADDED
package/dist/colors.d.ts
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export declare const userColors: readonly ["bg-user-red", "bg-user-pink", "bg-user-purple", "bg-user-turquoise", "bg-user-royalBlue", "bg-user-blue", "bg-user-aquamarine", "bg-user-yellowGreen", "bg-user-yellow", "bg-user-orange"];
|
|
2
|
+
export declare const buttonColors: {
|
|
3
|
+
readonly fill: {
|
|
4
|
+
readonly base: "border border-interactive-interactive01 bg-interactive-interactive01 text-text-textOnColor fill-text-textOnColor";
|
|
5
|
+
readonly hover: "hover:bg-hover-hover01 hover:border-hover-hover01";
|
|
6
|
+
readonly active: "active:bg-active-active01 active:border-active-active01";
|
|
7
|
+
readonly disabled: "disabled:bg-disabled-disabled01 disabled:border-disabled-disabled01";
|
|
8
|
+
readonly selected: "border border-transparent bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01";
|
|
9
|
+
};
|
|
10
|
+
readonly fillDanger: {
|
|
11
|
+
readonly base: "border border-support-supportDanger bg-support-supportDanger text-text-textOnColor fill-text-textOnColor";
|
|
12
|
+
readonly hover: "hover:bg-hover-hoverDanger hover:border-hover-hoverDanger";
|
|
13
|
+
readonly active: "active:bg-active-activeDanger active:border-active-activeDanger";
|
|
14
|
+
readonly disabled: "disabled:bg-disabled-disabled01 disabled:border-disabled-disabled01";
|
|
15
|
+
readonly selected: "border border-transparent bg-support-supportDangerLight text-support-supportDanger fill-support-supportDanger";
|
|
16
|
+
};
|
|
17
|
+
readonly outline: {
|
|
18
|
+
readonly base: "border border-border-uiBorder02 text-interactive-interactive02 fill-interactive-interactive02";
|
|
19
|
+
readonly hover: "hover:bg-hover-hover02";
|
|
20
|
+
readonly active: "active:bg-active-active02";
|
|
21
|
+
readonly disabled: "disabled:border-border-uiBorder01 disabled:text-disabled-disabled01 disabled:fill-disabled-disabled01";
|
|
22
|
+
readonly selected: "border border-interactive-interactive01 bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01";
|
|
23
|
+
};
|
|
24
|
+
readonly text: {
|
|
25
|
+
readonly base: "border border-transparent text-interactive-interactive02 fill-interactive-interactive02";
|
|
26
|
+
readonly hover: "hover:bg-hover-hover02 hover:border-hover-hover02";
|
|
27
|
+
readonly active: "active:bg-active-active02 active:border-active-active02";
|
|
28
|
+
readonly disabled: "disabled:text-disabled-disabled01 disabled:fill-disabled-disabled01";
|
|
29
|
+
readonly selected: "border border-transparent bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01";
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export declare const iconColors: {
|
|
33
|
+
readonly icon01: "fill-icon-icon01";
|
|
34
|
+
readonly icon01Dark: "fill-icon-icon01Dark";
|
|
35
|
+
readonly icon02: "fill-icon-icon02";
|
|
36
|
+
readonly icon02Dark: "fill-icon-icon02Dark";
|
|
37
|
+
readonly icon03: "fill-icon-icon03";
|
|
38
|
+
readonly icon03Dark: "fill-icon-icon03Dark";
|
|
39
|
+
readonly iconOnColor: "fill-icon-iconOnColor";
|
|
40
|
+
};
|
|
41
|
+
export declare const tagColors: {
|
|
42
|
+
readonly supportError: "text-text-textOnColor bg-support-supportError";
|
|
43
|
+
readonly supportSuccess: "text-text-textOnColor bg-support-supportSuccess";
|
|
44
|
+
readonly supportWarning: "text-text-textOnColor bg-support-supportWarning";
|
|
45
|
+
readonly supportDanger: "text-text-textOnColor bg-support-supportDanger";
|
|
46
|
+
readonly userRed: "text-text-textOnColor bg-user-red";
|
|
47
|
+
readonly userPink: "text-text-textOnColor bg-user-pink";
|
|
48
|
+
readonly userPurple: "text-text-textOnColor bg-user-purple";
|
|
49
|
+
readonly userTurquoise: "text-text-textOnColor bg-user-turquoise";
|
|
50
|
+
readonly userRoyalBlue: "text-text-textOnColor bg-user-royalBlue";
|
|
51
|
+
readonly userBlue: "text-text-textOnColor bg-user-blue";
|
|
52
|
+
readonly userAquamarine: "text-text-textOnColor bg-user-aquamarine";
|
|
53
|
+
readonly userYellowGreen: "text-text-textOnColor bg-user-yellowGreen";
|
|
54
|
+
readonly userYellow: "text-text-textOnColor bg-user-yellow";
|
|
55
|
+
readonly userOrange: "text-text-textOnColor bg-user-orange";
|
|
56
|
+
readonly default: "text-text-textOnColor bg-support-supportInfo";
|
|
57
|
+
readonly gray: "text-text-text02 bg-gray-gray10";
|
|
58
|
+
};
|
|
59
|
+
export declare const tagLightColors: {
|
|
60
|
+
readonly supportError: "text-text-text01 bg-support-supportErrorLight";
|
|
61
|
+
readonly supportSuccess: "text-text-text01 bg-support-supportSuccessLight";
|
|
62
|
+
readonly supportWarning: "text-text-text01 bg-support-supportWarningLight";
|
|
63
|
+
readonly supportDanger: "text-text-text01 bg-support-supportDangerLight";
|
|
64
|
+
readonly userRed: "text-text-text01 bg-user-redLight";
|
|
65
|
+
readonly userPink: "text-text-text01 bg-user-pinkLight";
|
|
66
|
+
readonly userPurple: "text-text-text01 bg-user-purpleLight";
|
|
67
|
+
readonly userTurquoise: "text-text-text01 bg-user-turquoiseLight";
|
|
68
|
+
readonly userRoyalBlue: "text-text-text01 bg-user-royalBlueLight";
|
|
69
|
+
readonly userBlue: "text-text-text01 bg-user-blueLight";
|
|
70
|
+
readonly userAquamarine: "text-text-text01 bg-user-aquamarineLight";
|
|
71
|
+
readonly userYellowGreen: "text-text-text01 bg-user-yellowGreenLight";
|
|
72
|
+
readonly userYellow: "text-text-text01 bg-user-yellowLight";
|
|
73
|
+
readonly userOrange: "text-text-text01 bg-user-orangeLight";
|
|
74
|
+
readonly default: "text-text-text01 bg-support-supportInfoLight";
|
|
75
|
+
readonly gray: "text-text-text01 bg-gray-gray10";
|
|
76
|
+
};
|
package/dist/form.d.ts
ADDED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
var userColors = ['bg-user-red', 'bg-user-pink', 'bg-user-purple', 'bg-user-turquoise', 'bg-user-royalBlue', 'bg-user-blue', 'bg-user-aquamarine', 'bg-user-yellowGreen', 'bg-user-yellow', 'bg-user-orange'];
|
|
2
|
+
var buttonColors = {
|
|
3
|
+
fill: {
|
|
4
|
+
base: 'border border-interactive-interactive01 bg-interactive-interactive01 text-text-textOnColor fill-text-textOnColor',
|
|
5
|
+
hover: 'hover:bg-hover-hover01 hover:border-hover-hover01',
|
|
6
|
+
active: 'active:bg-active-active01 active:border-active-active01',
|
|
7
|
+
disabled: 'disabled:bg-disabled-disabled01 disabled:border-disabled-disabled01',
|
|
8
|
+
selected: 'border border-transparent bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01'
|
|
9
|
+
},
|
|
10
|
+
fillDanger: {
|
|
11
|
+
base: 'border border-support-supportDanger bg-support-supportDanger text-text-textOnColor fill-text-textOnColor',
|
|
12
|
+
hover: 'hover:bg-hover-hoverDanger hover:border-hover-hoverDanger',
|
|
13
|
+
active: 'active:bg-active-activeDanger active:border-active-activeDanger',
|
|
14
|
+
disabled: 'disabled:bg-disabled-disabled01 disabled:border-disabled-disabled01',
|
|
15
|
+
selected: 'border border-transparent bg-support-supportDangerLight text-support-supportDanger fill-support-supportDanger'
|
|
16
|
+
},
|
|
17
|
+
outline: {
|
|
18
|
+
base: 'border border-border-uiBorder02 text-interactive-interactive02 fill-interactive-interactive02',
|
|
19
|
+
hover: 'hover:bg-hover-hover02',
|
|
20
|
+
active: 'active:bg-active-active02',
|
|
21
|
+
disabled: 'disabled:border-border-uiBorder01 disabled:text-disabled-disabled01 disabled:fill-disabled-disabled01',
|
|
22
|
+
selected: 'border border-interactive-interactive01 bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01'
|
|
23
|
+
},
|
|
24
|
+
text: {
|
|
25
|
+
base: 'border border-transparent text-interactive-interactive02 fill-interactive-interactive02',
|
|
26
|
+
hover: 'hover:bg-hover-hover02 hover:border-hover-hover02',
|
|
27
|
+
active: 'active:bg-active-active02 active:border-active-active02',
|
|
28
|
+
disabled: 'disabled:text-disabled-disabled01 disabled:fill-disabled-disabled01',
|
|
29
|
+
selected: 'border border-transparent bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01'
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
var iconColors = {
|
|
33
|
+
icon01: 'fill-icon-icon01',
|
|
34
|
+
icon01Dark: 'fill-icon-icon01Dark',
|
|
35
|
+
icon02: 'fill-icon-icon02',
|
|
36
|
+
icon02Dark: 'fill-icon-icon02Dark',
|
|
37
|
+
icon03: 'fill-icon-icon03',
|
|
38
|
+
icon03Dark: 'fill-icon-icon03Dark',
|
|
39
|
+
iconOnColor: 'fill-icon-iconOnColor'
|
|
40
|
+
};
|
|
41
|
+
var tagColors = {
|
|
42
|
+
supportError: 'text-text-textOnColor bg-support-supportError',
|
|
43
|
+
supportSuccess: 'text-text-textOnColor bg-support-supportSuccess',
|
|
44
|
+
supportWarning: 'text-text-textOnColor bg-support-supportWarning',
|
|
45
|
+
supportDanger: 'text-text-textOnColor bg-support-supportDanger',
|
|
46
|
+
userRed: 'text-text-textOnColor bg-user-red',
|
|
47
|
+
userPink: 'text-text-textOnColor bg-user-pink',
|
|
48
|
+
userPurple: 'text-text-textOnColor bg-user-purple',
|
|
49
|
+
userTurquoise: 'text-text-textOnColor bg-user-turquoise',
|
|
50
|
+
userRoyalBlue: 'text-text-textOnColor bg-user-royalBlue',
|
|
51
|
+
userBlue: 'text-text-textOnColor bg-user-blue',
|
|
52
|
+
userAquamarine: 'text-text-textOnColor bg-user-aquamarine',
|
|
53
|
+
userYellowGreen: 'text-text-textOnColor bg-user-yellowGreen',
|
|
54
|
+
userYellow: 'text-text-textOnColor bg-user-yellow',
|
|
55
|
+
userOrange: 'text-text-textOnColor bg-user-orange',
|
|
56
|
+
"default": 'text-text-textOnColor bg-support-supportInfo',
|
|
57
|
+
gray: 'text-text-text02 bg-gray-gray10'
|
|
58
|
+
};
|
|
59
|
+
var tagLightColors = {
|
|
60
|
+
supportError: 'text-text-text01 bg-support-supportErrorLight',
|
|
61
|
+
supportSuccess: 'text-text-text01 bg-support-supportSuccessLight',
|
|
62
|
+
supportWarning: 'text-text-text01 bg-support-supportWarningLight',
|
|
63
|
+
supportDanger: 'text-text-text01 bg-support-supportDangerLight',
|
|
64
|
+
userRed: 'text-text-text01 bg-user-redLight',
|
|
65
|
+
userPink: 'text-text-text01 bg-user-pinkLight',
|
|
66
|
+
userPurple: 'text-text-text01 bg-user-purpleLight',
|
|
67
|
+
userTurquoise: 'text-text-text01 bg-user-turquoiseLight',
|
|
68
|
+
userRoyalBlue: 'text-text-text01 bg-user-royalBlueLight',
|
|
69
|
+
userBlue: 'text-text-text01 bg-user-blueLight',
|
|
70
|
+
userAquamarine: 'text-text-text01 bg-user-aquamarineLight',
|
|
71
|
+
userYellowGreen: 'text-text-text01 bg-user-yellowGreenLight',
|
|
72
|
+
userYellow: 'text-text-text01 bg-user-yellowLight',
|
|
73
|
+
userOrange: 'text-text-text01 bg-user-orangeLight',
|
|
74
|
+
"default": 'text-text-text01 bg-support-supportInfoLight',
|
|
75
|
+
gray: 'text-text-text01 bg-gray-gray10'
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
var focusVisible = {
|
|
79
|
+
normal: 'focus-visible:outline focus-visible:outline-2 focus-visible:outline-focus-focus focus-visible:outline-offset-1',
|
|
80
|
+
inset: 'focus-visible:outline focus-visible:outline-2 focus-visible:outline-focus-focus focus-visible:outline-offset-[-2px]',
|
|
81
|
+
normalPeer: 'peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-1 peer-focus-visible:outline-focus-focus',
|
|
82
|
+
insetPeer: 'peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-[-2px] peer-focus-visible:outline-focus-focus'
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
var typography = {
|
|
86
|
+
heading: {
|
|
87
|
+
h1: 'font-bold leading-0 text-7 tracking-normal text-decoration-none',
|
|
88
|
+
h2: 'font-bold leading-1 text-6 tracking-normal text-decoration-none',
|
|
89
|
+
h3: 'font-bold leading-2 text-5 tracking-normal text-decoration-none',
|
|
90
|
+
h4: 'font-bold leading-3 text-4 tracking-normal text-decoration-none',
|
|
91
|
+
h5: 'font-bold leading-4 text-3 tracking-normal text-decoration-none'
|
|
92
|
+
},
|
|
93
|
+
body: {
|
|
94
|
+
body1bold: 'font-bold leading-4 text-3 tracking-normal text-decoration-none',
|
|
95
|
+
body1regular: 'font-normal leading-4 text-3 tracking-normal text-decoration-none',
|
|
96
|
+
body2bold: 'font-bold leading-5 text-2 tracking-normal text-decoration-none',
|
|
97
|
+
body2regular: 'font-normal leading-5 text-2 tracking-normal text-decoration-none',
|
|
98
|
+
body3bold: 'font-bold leading-1 text-1 tracking-normal text-decoration-none',
|
|
99
|
+
body3regular: 'font-normal leading-1 text-1 tracking-normal text-decoration-none'
|
|
100
|
+
},
|
|
101
|
+
label: {
|
|
102
|
+
label1bold: 'font-bold leading-6 text-4 tracking-normal text-decoration-none',
|
|
103
|
+
label1regular: 'font-normal leading-6 text-4 tracking-normal text-decoration-none',
|
|
104
|
+
label2bold: 'font-bold leading-6 text-3 tracking-normal text-decoration-none',
|
|
105
|
+
label2regular: 'font-normal leading-6 text-3 tracking-normal text-decoration-none',
|
|
106
|
+
label3bold: 'font-bold leading-6 text-1 tracking-normal text-decoration-none',
|
|
107
|
+
label3regular: 'font-normal leading-6 text-1 tracking-normal text-decoration-none',
|
|
108
|
+
label4bold: 'font-bold leading-6 text-0 tracking-normal text-decoration-none',
|
|
109
|
+
label4regular: 'font-normal leading-6 text-0 tracking-normal text-decoration-none'
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
export { buttonColors, focusVisible, iconColors, tagColors, tagLightColors, typography, userColors };
|
|
114
|
+
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../src/colors.ts","../src/form.ts","../src/typography.ts"],"sourcesContent":["export const userColors = [\n 'bg-user-red',\n 'bg-user-pink',\n 'bg-user-purple',\n 'bg-user-turquoise',\n 'bg-user-royalBlue',\n 'bg-user-blue',\n 'bg-user-aquamarine',\n 'bg-user-yellowGreen',\n 'bg-user-yellow',\n 'bg-user-orange',\n] as const;\n\nexport const buttonColors = {\n fill: {\n base: 'border border-interactive-interactive01 bg-interactive-interactive01 text-text-textOnColor fill-text-textOnColor',\n hover: 'hover:bg-hover-hover01 hover:border-hover-hover01',\n active: 'active:bg-active-active01 active:border-active-active01',\n disabled: 'disabled:bg-disabled-disabled01 disabled:border-disabled-disabled01',\n selected:\n 'border border-transparent bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01',\n },\n fillDanger: {\n base: 'border border-support-supportDanger bg-support-supportDanger text-text-textOnColor fill-text-textOnColor',\n hover: 'hover:bg-hover-hoverDanger hover:border-hover-hoverDanger',\n active: 'active:bg-active-activeDanger active:border-active-activeDanger',\n disabled: 'disabled:bg-disabled-disabled01 disabled:border-disabled-disabled01',\n selected:\n 'border border-transparent bg-support-supportDangerLight text-support-supportDanger fill-support-supportDanger',\n },\n outline: {\n base: 'border border-border-uiBorder02 text-interactive-interactive02 fill-interactive-interactive02',\n hover: 'hover:bg-hover-hover02',\n active: 'active:bg-active-active02',\n disabled: 'disabled:border-border-uiBorder01 disabled:text-disabled-disabled01 disabled:fill-disabled-disabled01',\n selected:\n 'border border-interactive-interactive01 bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01',\n },\n text: {\n base: 'border border-transparent text-interactive-interactive02 fill-interactive-interactive02',\n hover: 'hover:bg-hover-hover02 hover:border-hover-hover02',\n active: 'active:bg-active-active02 active:border-active-active02',\n disabled: 'disabled:text-disabled-disabled01 disabled:fill-disabled-disabled01',\n selected:\n 'border border-transparent bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01',\n },\n} as const;\n\nexport const iconColors = {\n icon01: 'fill-icon-icon01',\n icon01Dark: 'fill-icon-icon01Dark',\n icon02: 'fill-icon-icon02',\n icon02Dark: 'fill-icon-icon02Dark',\n icon03: 'fill-icon-icon03',\n icon03Dark: 'fill-icon-icon03Dark',\n iconOnColor: 'fill-icon-iconOnColor',\n} as const;\n\nexport const tagColors = {\n supportError: 'text-text-textOnColor bg-support-supportError',\n supportSuccess: 'text-text-textOnColor bg-support-supportSuccess',\n supportWarning: 'text-text-textOnColor bg-support-supportWarning',\n supportDanger: 'text-text-textOnColor bg-support-supportDanger',\n userRed: 'text-text-textOnColor bg-user-red',\n userPink: 'text-text-textOnColor bg-user-pink',\n userPurple: 'text-text-textOnColor bg-user-purple',\n userTurquoise: 'text-text-textOnColor bg-user-turquoise',\n userRoyalBlue: 'text-text-textOnColor bg-user-royalBlue',\n userBlue: 'text-text-textOnColor bg-user-blue',\n userAquamarine: 'text-text-textOnColor bg-user-aquamarine',\n userYellowGreen: 'text-text-textOnColor bg-user-yellowGreen',\n userYellow: 'text-text-textOnColor bg-user-yellow',\n userOrange: 'text-text-textOnColor bg-user-orange',\n default: 'text-text-textOnColor bg-support-supportInfo',\n gray: 'text-text-text02 bg-gray-gray10',\n} as const;\n\nexport const tagLightColors = {\n supportError: 'text-text-text01 bg-support-supportErrorLight',\n supportSuccess: 'text-text-text01 bg-support-supportSuccessLight',\n supportWarning: 'text-text-text01 bg-support-supportWarningLight',\n supportDanger: 'text-text-text01 bg-support-supportDangerLight',\n userRed: 'text-text-text01 bg-user-redLight',\n userPink: 'text-text-text01 bg-user-pinkLight',\n userPurple: 'text-text-text01 bg-user-purpleLight',\n userTurquoise: 'text-text-text01 bg-user-turquoiseLight',\n userRoyalBlue: 'text-text-text01 bg-user-royalBlueLight',\n userBlue: 'text-text-text01 bg-user-blueLight',\n userAquamarine: 'text-text-text01 bg-user-aquamarineLight',\n userYellowGreen: 'text-text-text01 bg-user-yellowGreenLight',\n userYellow: 'text-text-text01 bg-user-yellowLight',\n userOrange: 'text-text-text01 bg-user-orangeLight',\n default: 'text-text-text01 bg-support-supportInfoLight',\n gray: 'text-text-text01 bg-gray-gray10',\n} as const;\n","export const focusVisible = {\n normal:\n 'focus-visible:outline focus-visible:outline-2 focus-visible:outline-focus-focus focus-visible:outline-offset-1',\n inset:\n 'focus-visible:outline focus-visible:outline-2 focus-visible:outline-focus-focus focus-visible:outline-offset-[-2px]',\n normalPeer:\n 'peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-1 peer-focus-visible:outline-focus-focus',\n insetPeer:\n 'peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-[-2px] peer-focus-visible:outline-focus-focus',\n};\n","export const typography = {\n heading: {\n h1: 'font-bold leading-0 text-7 tracking-normal text-decoration-none',\n h2: 'font-bold leading-1 text-6 tracking-normal text-decoration-none',\n h3: 'font-bold leading-2 text-5 tracking-normal text-decoration-none',\n h4: 'font-bold leading-3 text-4 tracking-normal text-decoration-none',\n h5: 'font-bold leading-4 text-3 tracking-normal text-decoration-none',\n },\n body: {\n body1bold: 'font-bold leading-4 text-3 tracking-normal text-decoration-none',\n body1regular: 'font-normal leading-4 text-3 tracking-normal text-decoration-none',\n body2bold: 'font-bold leading-5 text-2 tracking-normal text-decoration-none',\n body2regular: 'font-normal leading-5 text-2 tracking-normal text-decoration-none',\n body3bold: 'font-bold leading-1 text-1 tracking-normal text-decoration-none',\n body3regular: 'font-normal leading-1 text-1 tracking-normal text-decoration-none',\n },\n label: {\n label1bold: 'font-bold leading-6 text-4 tracking-normal text-decoration-none',\n label1regular: 'font-normal leading-6 text-4 tracking-normal text-decoration-none',\n label2bold: 'font-bold leading-6 text-3 tracking-normal text-decoration-none',\n label2regular: 'font-normal leading-6 text-3 tracking-normal text-decoration-none',\n label3bold: 'font-bold leading-6 text-1 tracking-normal text-decoration-none',\n label3regular: 'font-normal leading-6 text-1 tracking-normal text-decoration-none',\n label4bold: 'font-bold leading-6 text-0 tracking-normal text-decoration-none',\n label4regular: 'font-normal leading-6 text-0 tracking-normal text-decoration-none',\n },\n} as const;\n"],"names":["userColors","buttonColors","fill","base","hover","active","disabled","selected","fillDanger","outline","text","iconColors","icon01","icon01Dark","icon02","icon02Dark","icon03","icon03Dark","iconOnColor","tagColors","supportError","supportSuccess","supportWarning","supportDanger","userRed","userPink","userPurple","userTurquoise","userRoyalBlue","userBlue","userAquamarine","userYellowGreen","userYellow","userOrange","gray","tagLightColors","focusVisible","normal","inset","normalPeer","insetPeer","typography","heading","h1","h2","h3","h4","h5","body","body1bold","body1regular","body2bold","body2regular","body3bold","body3regular","label","label1bold","label1regular","label2bold","label2regular","label3bold","label3regular","label4bold","label4regular"],"mappings":"AAAO,IAAMA,UAAU,GAAG,CACxB,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EACR;AAEH,IAAMC,YAAY,GAAG;AAC1BC,EAAAA,IAAI,EAAE;AACJC,IAAAA,IAAI,EAAE,kHAAkH;AACxHC,IAAAA,KAAK,EAAE,mDAAmD;AAC1DC,IAAAA,MAAM,EAAE,yDAAyD;AACjEC,IAAAA,QAAQ,EAAE,qEAAqE;AAC/EC,IAAAA,QAAQ,EACN,gHAAA;GACH;AACDC,EAAAA,UAAU,EAAE;AACVL,IAAAA,IAAI,EAAE,0GAA0G;AAChHC,IAAAA,KAAK,EAAE,2DAA2D;AAClEC,IAAAA,MAAM,EAAE,iEAAiE;AACzEC,IAAAA,QAAQ,EAAE,qEAAqE;AAC/EC,IAAAA,QAAQ,EACN,+GAAA;GACH;AACDE,EAAAA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EAAiE;AAC5EC,IAAAA,YAAY,EAAE,mEAAA;GACf;AACDC,EAAAA,KAAK,EAAE;AACLC,IAAAA,UAAU,EAAE,iEAAiE;AAC7EC,IAAAA,aAAa,EAAE,mEAAmE;AAClFC,IAAAA,UAAU,EAAE,iEAAiE;AAC7EC,IAAAA,aAAa,EAAE,mEAAmE;AAClFC,IAAAA,UAAU,EAAE,iEAAiE;AAC7EC,IAAAA,aAAa,EAAE,mEAAmE;AAClFC,IAAAA,UAAU,EAAE,iEAAiE;AAC7EC,IAAAA,aAAa,EAAE,mEAAA;AAChB,GAAA;;;;;"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
const userColors = ['bg-user-red', 'bg-user-pink', 'bg-user-purple', 'bg-user-turquoise', 'bg-user-royalBlue', 'bg-user-blue', 'bg-user-aquamarine', 'bg-user-yellowGreen', 'bg-user-yellow', 'bg-user-orange'];
|
|
2
|
+
const buttonColors = {
|
|
3
|
+
fill: {
|
|
4
|
+
base: 'border border-interactive-interactive01 bg-interactive-interactive01 text-text-textOnColor fill-text-textOnColor',
|
|
5
|
+
hover: 'hover:bg-hover-hover01 hover:border-hover-hover01',
|
|
6
|
+
active: 'active:bg-active-active01 active:border-active-active01',
|
|
7
|
+
disabled: 'disabled:bg-disabled-disabled01 disabled:border-disabled-disabled01',
|
|
8
|
+
selected: 'border border-transparent bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01'
|
|
9
|
+
},
|
|
10
|
+
fillDanger: {
|
|
11
|
+
base: 'border border-support-supportDanger bg-support-supportDanger text-text-textOnColor fill-text-textOnColor',
|
|
12
|
+
hover: 'hover:bg-hover-hoverDanger hover:border-hover-hoverDanger',
|
|
13
|
+
active: 'active:bg-active-activeDanger active:border-active-activeDanger',
|
|
14
|
+
disabled: 'disabled:bg-disabled-disabled01 disabled:border-disabled-disabled01',
|
|
15
|
+
selected: 'border border-transparent bg-support-supportDangerLight text-support-supportDanger fill-support-supportDanger'
|
|
16
|
+
},
|
|
17
|
+
outline: {
|
|
18
|
+
base: 'border border-border-uiBorder02 text-interactive-interactive02 fill-interactive-interactive02',
|
|
19
|
+
hover: 'hover:bg-hover-hover02',
|
|
20
|
+
active: 'active:bg-active-active02',
|
|
21
|
+
disabled: 'disabled:border-border-uiBorder01 disabled:text-disabled-disabled01 disabled:fill-disabled-disabled01',
|
|
22
|
+
selected: 'border border-interactive-interactive01 bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01'
|
|
23
|
+
},
|
|
24
|
+
text: {
|
|
25
|
+
base: 'border border-transparent text-interactive-interactive02 fill-interactive-interactive02',
|
|
26
|
+
hover: 'hover:bg-hover-hover02 hover:border-hover-hover02',
|
|
27
|
+
active: 'active:bg-active-active02 active:border-active-active02',
|
|
28
|
+
disabled: 'disabled:text-disabled-disabled01 disabled:fill-disabled-disabled01',
|
|
29
|
+
selected: 'border border-transparent bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01'
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
const iconColors = {
|
|
33
|
+
icon01: 'fill-icon-icon01',
|
|
34
|
+
icon01Dark: 'fill-icon-icon01Dark',
|
|
35
|
+
icon02: 'fill-icon-icon02',
|
|
36
|
+
icon02Dark: 'fill-icon-icon02Dark',
|
|
37
|
+
icon03: 'fill-icon-icon03',
|
|
38
|
+
icon03Dark: 'fill-icon-icon03Dark',
|
|
39
|
+
iconOnColor: 'fill-icon-iconOnColor'
|
|
40
|
+
};
|
|
41
|
+
const tagColors = {
|
|
42
|
+
supportError: 'text-text-textOnColor bg-support-supportError',
|
|
43
|
+
supportSuccess: 'text-text-textOnColor bg-support-supportSuccess',
|
|
44
|
+
supportWarning: 'text-text-textOnColor bg-support-supportWarning',
|
|
45
|
+
supportDanger: 'text-text-textOnColor bg-support-supportDanger',
|
|
46
|
+
userRed: 'text-text-textOnColor bg-user-red',
|
|
47
|
+
userPink: 'text-text-textOnColor bg-user-pink',
|
|
48
|
+
userPurple: 'text-text-textOnColor bg-user-purple',
|
|
49
|
+
userTurquoise: 'text-text-textOnColor bg-user-turquoise',
|
|
50
|
+
userRoyalBlue: 'text-text-textOnColor bg-user-royalBlue',
|
|
51
|
+
userBlue: 'text-text-textOnColor bg-user-blue',
|
|
52
|
+
userAquamarine: 'text-text-textOnColor bg-user-aquamarine',
|
|
53
|
+
userYellowGreen: 'text-text-textOnColor bg-user-yellowGreen',
|
|
54
|
+
userYellow: 'text-text-textOnColor bg-user-yellow',
|
|
55
|
+
userOrange: 'text-text-textOnColor bg-user-orange',
|
|
56
|
+
default: 'text-text-textOnColor bg-support-supportInfo',
|
|
57
|
+
gray: 'text-text-text02 bg-gray-gray10'
|
|
58
|
+
};
|
|
59
|
+
const tagLightColors = {
|
|
60
|
+
supportError: 'text-text-text01 bg-support-supportErrorLight',
|
|
61
|
+
supportSuccess: 'text-text-text01 bg-support-supportSuccessLight',
|
|
62
|
+
supportWarning: 'text-text-text01 bg-support-supportWarningLight',
|
|
63
|
+
supportDanger: 'text-text-text01 bg-support-supportDangerLight',
|
|
64
|
+
userRed: 'text-text-text01 bg-user-redLight',
|
|
65
|
+
userPink: 'text-text-text01 bg-user-pinkLight',
|
|
66
|
+
userPurple: 'text-text-text01 bg-user-purpleLight',
|
|
67
|
+
userTurquoise: 'text-text-text01 bg-user-turquoiseLight',
|
|
68
|
+
userRoyalBlue: 'text-text-text01 bg-user-royalBlueLight',
|
|
69
|
+
userBlue: 'text-text-text01 bg-user-blueLight',
|
|
70
|
+
userAquamarine: 'text-text-text01 bg-user-aquamarineLight',
|
|
71
|
+
userYellowGreen: 'text-text-text01 bg-user-yellowGreenLight',
|
|
72
|
+
userYellow: 'text-text-text01 bg-user-yellowLight',
|
|
73
|
+
userOrange: 'text-text-text01 bg-user-orangeLight',
|
|
74
|
+
default: 'text-text-text01 bg-support-supportInfoLight',
|
|
75
|
+
gray: 'text-text-text01 bg-gray-gray10'
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
const focusVisible = {
|
|
79
|
+
normal: 'focus-visible:outline focus-visible:outline-2 focus-visible:outline-focus-focus focus-visible:outline-offset-1',
|
|
80
|
+
inset: 'focus-visible:outline focus-visible:outline-2 focus-visible:outline-focus-focus focus-visible:outline-offset-[-2px]',
|
|
81
|
+
normalPeer: 'peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-1 peer-focus-visible:outline-focus-focus',
|
|
82
|
+
insetPeer: 'peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-[-2px] peer-focus-visible:outline-focus-focus'
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
const typography = {
|
|
86
|
+
heading: {
|
|
87
|
+
h1: 'font-bold leading-0 text-7 tracking-normal text-decoration-none',
|
|
88
|
+
h2: 'font-bold leading-1 text-6 tracking-normal text-decoration-none',
|
|
89
|
+
h3: 'font-bold leading-2 text-5 tracking-normal text-decoration-none',
|
|
90
|
+
h4: 'font-bold leading-3 text-4 tracking-normal text-decoration-none',
|
|
91
|
+
h5: 'font-bold leading-4 text-3 tracking-normal text-decoration-none'
|
|
92
|
+
},
|
|
93
|
+
body: {
|
|
94
|
+
body1bold: 'font-bold leading-4 text-3 tracking-normal text-decoration-none',
|
|
95
|
+
body1regular: 'font-normal leading-4 text-3 tracking-normal text-decoration-none',
|
|
96
|
+
body2bold: 'font-bold leading-5 text-2 tracking-normal text-decoration-none',
|
|
97
|
+
body2regular: 'font-normal leading-5 text-2 tracking-normal text-decoration-none',
|
|
98
|
+
body3bold: 'font-bold leading-1 text-1 tracking-normal text-decoration-none',
|
|
99
|
+
body3regular: 'font-normal leading-1 text-1 tracking-normal text-decoration-none'
|
|
100
|
+
},
|
|
101
|
+
label: {
|
|
102
|
+
label1bold: 'font-bold leading-6 text-4 tracking-normal text-decoration-none',
|
|
103
|
+
label1regular: 'font-normal leading-6 text-4 tracking-normal text-decoration-none',
|
|
104
|
+
label2bold: 'font-bold leading-6 text-3 tracking-normal text-decoration-none',
|
|
105
|
+
label2regular: 'font-normal leading-6 text-3 tracking-normal text-decoration-none',
|
|
106
|
+
label3bold: 'font-bold leading-6 text-1 tracking-normal text-decoration-none',
|
|
107
|
+
label3regular: 'font-normal leading-6 text-1 tracking-normal text-decoration-none',
|
|
108
|
+
label4bold: 'font-bold leading-6 text-0 tracking-normal text-decoration-none',
|
|
109
|
+
label4regular: 'font-normal leading-6 text-0 tracking-normal text-decoration-none'
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
export { buttonColors, focusVisible, iconColors, tagColors, tagLightColors, typography, userColors };
|
|
114
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/colors.ts","../src/form.ts","../src/typography.ts"],"sourcesContent":["export const userColors = [\n 'bg-user-red',\n 'bg-user-pink',\n 'bg-user-purple',\n 'bg-user-turquoise',\n 'bg-user-royalBlue',\n 'bg-user-blue',\n 'bg-user-aquamarine',\n 'bg-user-yellowGreen',\n 'bg-user-yellow',\n 'bg-user-orange',\n] as const;\n\nexport const buttonColors = {\n fill: {\n base: 'border border-interactive-interactive01 bg-interactive-interactive01 text-text-textOnColor fill-text-textOnColor',\n hover: 'hover:bg-hover-hover01 hover:border-hover-hover01',\n active: 'active:bg-active-active01 active:border-active-active01',\n disabled: 'disabled:bg-disabled-disabled01 disabled:border-disabled-disabled01',\n selected:\n 'border border-transparent bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01',\n },\n fillDanger: {\n base: 'border border-support-supportDanger bg-support-supportDanger text-text-textOnColor fill-text-textOnColor',\n hover: 'hover:bg-hover-hoverDanger hover:border-hover-hoverDanger',\n active: 'active:bg-active-activeDanger active:border-active-activeDanger',\n disabled: 'disabled:bg-disabled-disabled01 disabled:border-disabled-disabled01',\n selected:\n 'border border-transparent bg-support-supportDangerLight text-support-supportDanger fill-support-supportDanger',\n },\n outline: {\n base: 'border border-border-uiBorder02 text-interactive-interactive02 fill-interactive-interactive02',\n hover: 'hover:bg-hover-hover02',\n active: 'active:bg-active-active02',\n disabled: 'disabled:border-border-uiBorder01 disabled:text-disabled-disabled01 disabled:fill-disabled-disabled01',\n selected:\n 'border border-interactive-interactive01 bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01',\n },\n text: {\n base: 'border border-transparent text-interactive-interactive02 fill-interactive-interactive02',\n hover: 'hover:bg-hover-hover02 hover:border-hover-hover02',\n active: 'active:bg-active-active02 active:border-active-active02',\n disabled: 'disabled:text-disabled-disabled01 disabled:fill-disabled-disabled01',\n selected:\n 'border border-transparent bg-selected-selectedUi text-interactive-interactive01 fill-interactive-interactive01',\n },\n} as const;\n\nexport const iconColors = {\n icon01: 'fill-icon-icon01',\n icon01Dark: 'fill-icon-icon01Dark',\n icon02: 'fill-icon-icon02',\n icon02Dark: 'fill-icon-icon02Dark',\n icon03: 'fill-icon-icon03',\n icon03Dark: 'fill-icon-icon03Dark',\n iconOnColor: 'fill-icon-iconOnColor',\n} as const;\n\nexport const tagColors = {\n supportError: 'text-text-textOnColor bg-support-supportError',\n supportSuccess: 'text-text-textOnColor bg-support-supportSuccess',\n supportWarning: 'text-text-textOnColor bg-support-supportWarning',\n supportDanger: 'text-text-textOnColor bg-support-supportDanger',\n userRed: 'text-text-textOnColor bg-user-red',\n userPink: 'text-text-textOnColor bg-user-pink',\n userPurple: 'text-text-textOnColor bg-user-purple',\n userTurquoise: 'text-text-textOnColor bg-user-turquoise',\n userRoyalBlue: 'text-text-textOnColor bg-user-royalBlue',\n userBlue: 'text-text-textOnColor bg-user-blue',\n userAquamarine: 'text-text-textOnColor bg-user-aquamarine',\n userYellowGreen: 'text-text-textOnColor bg-user-yellowGreen',\n userYellow: 'text-text-textOnColor bg-user-yellow',\n userOrange: 'text-text-textOnColor bg-user-orange',\n default: 'text-text-textOnColor bg-support-supportInfo',\n gray: 'text-text-text02 bg-gray-gray10',\n} as const;\n\nexport const tagLightColors = {\n supportError: 'text-text-text01 bg-support-supportErrorLight',\n supportSuccess: 'text-text-text01 bg-support-supportSuccessLight',\n supportWarning: 'text-text-text01 bg-support-supportWarningLight',\n supportDanger: 'text-text-text01 bg-support-supportDangerLight',\n userRed: 'text-text-text01 bg-user-redLight',\n userPink: 'text-text-text01 bg-user-pinkLight',\n userPurple: 'text-text-text01 bg-user-purpleLight',\n userTurquoise: 'text-text-text01 bg-user-turquoiseLight',\n userRoyalBlue: 'text-text-text01 bg-user-royalBlueLight',\n userBlue: 'text-text-text01 bg-user-blueLight',\n userAquamarine: 'text-text-text01 bg-user-aquamarineLight',\n userYellowGreen: 'text-text-text01 bg-user-yellowGreenLight',\n userYellow: 'text-text-text01 bg-user-yellowLight',\n userOrange: 'text-text-text01 bg-user-orangeLight',\n default: 'text-text-text01 bg-support-supportInfoLight',\n gray: 'text-text-text01 bg-gray-gray10',\n} as const;\n","export const focusVisible = {\n normal:\n 'focus-visible:outline focus-visible:outline-2 focus-visible:outline-focus-focus focus-visible:outline-offset-1',\n inset:\n 'focus-visible:outline focus-visible:outline-2 focus-visible:outline-focus-focus focus-visible:outline-offset-[-2px]',\n normalPeer:\n 'peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-1 peer-focus-visible:outline-focus-focus',\n insetPeer:\n 'peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-[-2px] peer-focus-visible:outline-focus-focus',\n};\n","export const typography = {\n heading: {\n h1: 'font-bold leading-0 text-7 tracking-normal text-decoration-none',\n h2: 'font-bold leading-1 text-6 tracking-normal text-decoration-none',\n h3: 'font-bold leading-2 text-5 tracking-normal text-decoration-none',\n h4: 'font-bold leading-3 text-4 tracking-normal text-decoration-none',\n h5: 'font-bold leading-4 text-3 tracking-normal text-decoration-none',\n },\n body: {\n body1bold: 'font-bold leading-4 text-3 tracking-normal text-decoration-none',\n body1regular: 'font-normal leading-4 text-3 tracking-normal text-decoration-none',\n body2bold: 'font-bold leading-5 text-2 tracking-normal text-decoration-none',\n body2regular: 'font-normal leading-5 text-2 tracking-normal text-decoration-none',\n body3bold: 'font-bold leading-1 text-1 tracking-normal text-decoration-none',\n body3regular: 'font-normal leading-1 text-1 tracking-normal text-decoration-none',\n },\n label: {\n label1bold: 'font-bold leading-6 text-4 tracking-normal text-decoration-none',\n label1regular: 'font-normal leading-6 text-4 tracking-normal text-decoration-none',\n label2bold: 'font-bold leading-6 text-3 tracking-normal text-decoration-none',\n label2regular: 'font-normal leading-6 text-3 tracking-normal text-decoration-none',\n label3bold: 'font-bold leading-6 text-1 tracking-normal text-decoration-none',\n label3regular: 'font-normal leading-6 text-1 tracking-normal text-decoration-none',\n label4bold: 'font-bold leading-6 text-0 tracking-normal text-decoration-none',\n label4regular: 'font-normal leading-6 text-0 tracking-normal text-decoration-none',\n },\n} as const;\n"],"names":["userColors","buttonColors","fill","base","hover","active","disabled","selected","fillDanger","outline","text","iconColors","icon01","icon01Dark","icon02","icon02Dark","icon03","icon03Dark","iconOnColor","tagColors","supportError","supportSuccess","supportWarning","supportDanger","userRed","userPink","userPurple","userTurquoise","userRoyalBlue","userBlue","userAquamarine","userYellowGreen","userYellow","userOrange","default","gray","tagLightColors","focusVisible","normal","inset","normalPeer","insetPeer","typography","heading","h1","h2","h3","h4","h5","body","body1bold","body1regular","body2bold","body2regular","body3bold","body3regular","label","label1bold","label1regular","label2bold","label2regular","label3bold","label3regular","label4bold","label4regular"],"mappings":"AAAO,MAAMA,UAAU,GAAG,CACxB,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EACR;AAEH,MAAMC,YAAY,GAAG;AAC1BC,EAAAA,IAAI,EAAE;AACJC,IAAAA,IAAI,EAAE,kHAAkH;AACxHC,IAAAA,KAAK,EAAE,mDAAmD;AAC1DC,IAAAA,MAAM,EAAE,yDAAyD;AACjEC,IAAAA,QAAQ,EAAE,qEAAqE;A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IAAAA,EAAE,EAAE,iEAAiE;AACrEC,IAAAA,EAAE,EAAE,iEAAA;GACL;AACDC,EAAAA,IAAI,EAAE;AACJC,IAAAA,SAAS,EAAE,iEAAiE;AAC5EC,IAAAA,YAAY,EAAE,mEAAmE;AACjFC,IAAAA,SAAS,EAAE,iEAAiE;AAC5EC,IAAAA,YAAY,EAAE,mEAAmE;AACjFC,IAAAA,SAAS,EAAE,iEAAiE;AAC5EC,IAAAA,YAAY,EAAE,mEAAA;GACf;AACDC,EAAAA,KAAK,EAAE;AACLC,IAAAA,UAAU,EAAE,iEAAiE;AAC7EC,IAAAA,aAAa,EAAE,mEAAmE;AAClFC,IAAAA,UAAU,EAAE,iEAAiE;AAC7EC,IAAAA,aAAa,EAAE,mEAAmE;AAClFC,IAAAA,UAAU,EAAE,iEAAiE;AAC7EC,IAAAA,aAAa,EAAE,mEAAmE;AAClFC,IAAAA,UAAU,EAAE,iEAAiE;AAC7EC,IAAAA,aAAa,EAAE,mEAAA;AAChB,GAAA;;;;;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const typography: {
|
|
2
|
+
readonly heading: {
|
|
3
|
+
readonly h1: "font-bold leading-0 text-7 tracking-normal text-decoration-none";
|
|
4
|
+
readonly h2: "font-bold leading-1 text-6 tracking-normal text-decoration-none";
|
|
5
|
+
readonly h3: "font-bold leading-2 text-5 tracking-normal text-decoration-none";
|
|
6
|
+
readonly h4: "font-bold leading-3 text-4 tracking-normal text-decoration-none";
|
|
7
|
+
readonly h5: "font-bold leading-4 text-3 tracking-normal text-decoration-none";
|
|
8
|
+
};
|
|
9
|
+
readonly body: {
|
|
10
|
+
readonly body1bold: "font-bold leading-4 text-3 tracking-normal text-decoration-none";
|
|
11
|
+
readonly body1regular: "font-normal leading-4 text-3 tracking-normal text-decoration-none";
|
|
12
|
+
readonly body2bold: "font-bold leading-5 text-2 tracking-normal text-decoration-none";
|
|
13
|
+
readonly body2regular: "font-normal leading-5 text-2 tracking-normal text-decoration-none";
|
|
14
|
+
readonly body3bold: "font-bold leading-1 text-1 tracking-normal text-decoration-none";
|
|
15
|
+
readonly body3regular: "font-normal leading-1 text-1 tracking-normal text-decoration-none";
|
|
16
|
+
};
|
|
17
|
+
readonly label: {
|
|
18
|
+
readonly label1bold: "font-bold leading-6 text-4 tracking-normal text-decoration-none";
|
|
19
|
+
readonly label1regular: "font-normal leading-6 text-4 tracking-normal text-decoration-none";
|
|
20
|
+
readonly label2bold: "font-bold leading-6 text-3 tracking-normal text-decoration-none";
|
|
21
|
+
readonly label2regular: "font-normal leading-6 text-3 tracking-normal text-decoration-none";
|
|
22
|
+
readonly label3bold: "font-bold leading-6 text-1 tracking-normal text-decoration-none";
|
|
23
|
+
readonly label3regular: "font-normal leading-6 text-1 tracking-normal text-decoration-none";
|
|
24
|
+
readonly label4bold: "font-bold leading-6 text-0 tracking-normal text-decoration-none";
|
|
25
|
+
readonly label4regular: "font-normal leading-6 text-0 tracking-normal text-decoration-none";
|
|
26
|
+
};
|
|
27
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zenkigen-inc/component-theme",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"repository": "https://github.com/zenkigen/zenkigen-component",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"source": "./src/index.ts",
|
|
10
|
+
"main": "./dist/index.js",
|
|
11
|
+
"module": "./dist/index.esm.js",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"exports": "./dist/index.js",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"type-check": "tsc --noEmit",
|
|
16
|
+
"build": "rimraf dist && microbundle --no-compress -f modern,esm,cjs"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"microbundle": "0.15.1",
|
|
20
|
+
"tailwindcss": "3.3.3",
|
|
21
|
+
"typescript": "5.1.6"
|
|
22
|
+
}
|
|
23
|
+
}
|