@ieu-ui/core 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/types.d.ts +8 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +3 -0
- package/dist/config/types.js.map +1 -0
- package/dist/context/IeuProvider.d.ts +11 -0
- package/dist/context/IeuProvider.d.ts.map +1 -0
- package/dist/context/IeuProvider.js +77 -0
- package/dist/context/IeuProvider.js.map +1 -0
- package/dist/context/ThemeContext.d.ts +12 -0
- package/dist/context/ThemeContext.d.ts.map +1 -0
- package/dist/context/ThemeContext.js +17 -0
- package/dist/context/ThemeContext.js.map +1 -0
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +16 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/useColorMode.d.ts +10 -0
- package/dist/hooks/useColorMode.d.ts.map +1 -0
- package/dist/hooks/useColorMode.js +38 -0
- package/dist/hooks/useColorMode.js.map +1 -0
- package/dist/hooks/useResponsive.d.ts +23 -0
- package/dist/hooks/useResponsive.d.ts.map +1 -0
- package/dist/hooks/useResponsive.js +71 -0
- package/dist/hooks/useResponsive.js.map +1 -0
- package/dist/hooks/useTheme.d.ts +49 -0
- package/dist/hooks/useTheme.d.ts.map +1 -0
- package/dist/hooks/useTheme.js +42 -0
- package/dist/hooks/useTheme.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -0
- package/dist/theme/animations.d.ts +69 -0
- package/dist/theme/animations.d.ts.map +1 -0
- package/dist/theme/animations.js +63 -0
- package/dist/theme/animations.js.map +1 -0
- package/dist/theme/borderRadius.d.ts +13 -0
- package/dist/theme/borderRadius.d.ts.map +1 -0
- package/dist/theme/borderRadius.js +15 -0
- package/dist/theme/borderRadius.js.map +1 -0
- package/dist/theme/breakpoints.d.ts +23 -0
- package/dist/theme/breakpoints.d.ts.map +1 -0
- package/dist/theme/breakpoints.js +24 -0
- package/dist/theme/breakpoints.js.map +1 -0
- package/dist/theme/colors.d.ts +41 -0
- package/dist/theme/colors.d.ts.map +1 -0
- package/dist/theme/colors.js +206 -0
- package/dist/theme/colors.js.map +1 -0
- package/dist/theme/index.d.ts +32 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/index.js +60 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/theme/shadows.d.ts +13 -0
- package/dist/theme/shadows.d.ts.map +1 -0
- package/dist/theme/shadows.js +55 -0
- package/dist/theme/shadows.js.map +1 -0
- package/dist/theme/spacing.d.ts +49 -0
- package/dist/theme/spacing.d.ts.map +1 -0
- package/dist/theme/spacing.js +50 -0
- package/dist/theme/spacing.js.map +1 -0
- package/dist/theme/typography.d.ts +57 -0
- package/dist/theme/typography.d.ts.map +1 -0
- package/dist/theme/typography.js +151 -0
- package/dist/theme/typography.js.map +1 -0
- package/dist/utils/platform.d.ts +20 -0
- package/dist/utils/platform.d.ts.map +1 -0
- package/dist/utils/platform.js +31 -0
- package/dist/utils/platform.js.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const borderRadius: {
|
|
2
|
+
readonly none: 0;
|
|
3
|
+
readonly xs: 2;
|
|
4
|
+
readonly sm: 4;
|
|
5
|
+
readonly md: 6;
|
|
6
|
+
readonly lg: 8;
|
|
7
|
+
readonly xl: 12;
|
|
8
|
+
readonly '2xl': 16;
|
|
9
|
+
readonly '3xl': 24;
|
|
10
|
+
readonly full: 9999;
|
|
11
|
+
};
|
|
12
|
+
export type BorderRadius = keyof typeof borderRadius;
|
|
13
|
+
//# sourceMappingURL=borderRadius.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"borderRadius.d.ts","sourceRoot":"","sources":["../../src/theme/borderRadius.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;CAUf,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.borderRadius = void 0;
|
|
4
|
+
exports.borderRadius = {
|
|
5
|
+
none: 0,
|
|
6
|
+
xs: 2,
|
|
7
|
+
sm: 4,
|
|
8
|
+
md: 6,
|
|
9
|
+
lg: 8,
|
|
10
|
+
xl: 12,
|
|
11
|
+
'2xl': 16,
|
|
12
|
+
'3xl': 24,
|
|
13
|
+
full: 9999,
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=borderRadius.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"borderRadius.js","sourceRoot":"","sources":["../../src/theme/borderRadius.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,IAAI,EAAE,CAAC;IACP,EAAE,EAAE,CAAC;IACL,EAAE,EAAE,CAAC;IACL,EAAE,EAAE,CAAC;IACL,EAAE,EAAE,CAAC;IACL,EAAE,EAAE,EAAE;IACN,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,IAAI;CACF,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const breakpoints: {
|
|
2
|
+
readonly base: 0;
|
|
3
|
+
readonly xs: 375;
|
|
4
|
+
readonly sm: 414;
|
|
5
|
+
readonly md: 768;
|
|
6
|
+
readonly lg: 1024;
|
|
7
|
+
readonly xl: 1280;
|
|
8
|
+
readonly '2xl': 1536;
|
|
9
|
+
};
|
|
10
|
+
export type Breakpoint = keyof typeof breakpoints;
|
|
11
|
+
export declare const zIndex: {
|
|
12
|
+
readonly hide: -1;
|
|
13
|
+
readonly base: 0;
|
|
14
|
+
readonly dropdown: 1000;
|
|
15
|
+
readonly sticky: 1100;
|
|
16
|
+
readonly overlay: 1200;
|
|
17
|
+
readonly modal: 1300;
|
|
18
|
+
readonly popover: 1400;
|
|
19
|
+
readonly toast: 1500;
|
|
20
|
+
readonly tooltip: 1600;
|
|
21
|
+
};
|
|
22
|
+
export type ZIndex = keyof typeof zIndex;
|
|
23
|
+
//# sourceMappingURL=breakpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoints.d.ts","sourceRoot":"","sources":["../../src/theme/breakpoints.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;CAQd,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,WAAW,CAAC;AAElD,eAAO,MAAM,MAAM;;;;;;;;;;CAUT,CAAC;AAEX,MAAM,MAAM,MAAM,GAAG,MAAM,OAAO,MAAM,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.zIndex = exports.breakpoints = void 0;
|
|
4
|
+
exports.breakpoints = {
|
|
5
|
+
base: 0,
|
|
6
|
+
xs: 375,
|
|
7
|
+
sm: 414,
|
|
8
|
+
md: 768,
|
|
9
|
+
lg: 1024,
|
|
10
|
+
xl: 1280,
|
|
11
|
+
'2xl': 1536,
|
|
12
|
+
};
|
|
13
|
+
exports.zIndex = {
|
|
14
|
+
hide: -1,
|
|
15
|
+
base: 0,
|
|
16
|
+
dropdown: 1000,
|
|
17
|
+
sticky: 1100,
|
|
18
|
+
overlay: 1200,
|
|
19
|
+
modal: 1300,
|
|
20
|
+
popover: 1400,
|
|
21
|
+
toast: 1500,
|
|
22
|
+
tooltip: 1600,
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=breakpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoints.js","sourceRoot":"","sources":["../../src/theme/breakpoints.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,CAAC;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,KAAK,EAAE,IAAI;CACH,CAAC;AAIE,QAAA,MAAM,GAAG;IACpB,IAAI,EAAE,CAAC,CAAC;IACR,IAAI,EAAE,CAAC;IACP,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,IAAI;IACb,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,IAAI;CACL,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export interface ColorScale {
|
|
2
|
+
50: string;
|
|
3
|
+
100: string;
|
|
4
|
+
200: string;
|
|
5
|
+
300: string;
|
|
6
|
+
400: string;
|
|
7
|
+
500: string;
|
|
8
|
+
600: string;
|
|
9
|
+
700: string;
|
|
10
|
+
800: string;
|
|
11
|
+
900: string;
|
|
12
|
+
}
|
|
13
|
+
export interface TextColors {
|
|
14
|
+
primary: string;
|
|
15
|
+
secondary: string;
|
|
16
|
+
muted: string;
|
|
17
|
+
disabled: string;
|
|
18
|
+
inverse: string;
|
|
19
|
+
}
|
|
20
|
+
export interface BorderColors {
|
|
21
|
+
default: string;
|
|
22
|
+
muted: string;
|
|
23
|
+
strong: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ColorSystem {
|
|
26
|
+
primary: ColorScale;
|
|
27
|
+
secondary: ColorScale;
|
|
28
|
+
success: ColorScale;
|
|
29
|
+
error: ColorScale;
|
|
30
|
+
warning: ColorScale;
|
|
31
|
+
info: ColorScale;
|
|
32
|
+
gray: ColorScale;
|
|
33
|
+
background: string;
|
|
34
|
+
surface: string;
|
|
35
|
+
surfaceElevated: string;
|
|
36
|
+
text: TextColors;
|
|
37
|
+
border: BorderColors;
|
|
38
|
+
}
|
|
39
|
+
export declare const lightColors: ColorSystem;
|
|
40
|
+
export declare const darkColors: ColorSystem;
|
|
41
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/theme/colors.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,UAAU,CAAC;IACpB,SAAS,EAAE,UAAU,CAAC;IACtB,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,EAAE,UAAU,CAAC;IACpB,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,UAAU,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,EAAE,YAAY,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,EAAE,WAoGzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,WAoGxB,CAAC"}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.darkColors = exports.lightColors = void 0;
|
|
4
|
+
exports.lightColors = {
|
|
5
|
+
primary: {
|
|
6
|
+
50: '#E6F7FF',
|
|
7
|
+
100: '#BAE7FF',
|
|
8
|
+
200: '#91D5FF',
|
|
9
|
+
300: '#69C0FF',
|
|
10
|
+
400: '#40A9FF',
|
|
11
|
+
500: '#1890FF',
|
|
12
|
+
600: '#096DD9',
|
|
13
|
+
700: '#0050B3',
|
|
14
|
+
800: '#003A8C',
|
|
15
|
+
900: '#002766',
|
|
16
|
+
},
|
|
17
|
+
secondary: {
|
|
18
|
+
50: '#F9F0FF',
|
|
19
|
+
100: '#EFD3FF',
|
|
20
|
+
200: '#D3ADF7',
|
|
21
|
+
300: '#B37FEB',
|
|
22
|
+
400: '#9254DE',
|
|
23
|
+
500: '#722ED1',
|
|
24
|
+
600: '#531DAB',
|
|
25
|
+
700: '#391085',
|
|
26
|
+
800: '#22075E',
|
|
27
|
+
900: '#120338',
|
|
28
|
+
},
|
|
29
|
+
success: {
|
|
30
|
+
50: '#F6FFED',
|
|
31
|
+
100: '#D9F7BE',
|
|
32
|
+
200: '#B7EB8F',
|
|
33
|
+
300: '#95DE64',
|
|
34
|
+
400: '#73D13D',
|
|
35
|
+
500: '#52C41A',
|
|
36
|
+
600: '#389E0D',
|
|
37
|
+
700: '#237804',
|
|
38
|
+
800: '#135200',
|
|
39
|
+
900: '#092B00',
|
|
40
|
+
},
|
|
41
|
+
error: {
|
|
42
|
+
50: '#FFF1F0',
|
|
43
|
+
100: '#FFCCC7',
|
|
44
|
+
200: '#FFA39E',
|
|
45
|
+
300: '#FF7875',
|
|
46
|
+
400: '#FF4D4F',
|
|
47
|
+
500: '#F5222D',
|
|
48
|
+
600: '#CF1322',
|
|
49
|
+
700: '#A8071A',
|
|
50
|
+
800: '#820014',
|
|
51
|
+
900: '#5C0011',
|
|
52
|
+
},
|
|
53
|
+
warning: {
|
|
54
|
+
50: '#FFFBE6',
|
|
55
|
+
100: '#FFF1B8',
|
|
56
|
+
200: '#FFE58F',
|
|
57
|
+
300: '#FFD666',
|
|
58
|
+
400: '#FFC53D',
|
|
59
|
+
500: '#FAAD14',
|
|
60
|
+
600: '#D48806',
|
|
61
|
+
700: '#AD6800',
|
|
62
|
+
800: '#874D00',
|
|
63
|
+
900: '#613400',
|
|
64
|
+
},
|
|
65
|
+
info: {
|
|
66
|
+
50: '#E6FFFB',
|
|
67
|
+
100: '#B5F5EC',
|
|
68
|
+
200: '#87E8DE',
|
|
69
|
+
300: '#5CDBD3',
|
|
70
|
+
400: '#36CFC9',
|
|
71
|
+
500: '#13C2C2',
|
|
72
|
+
600: '#08979C',
|
|
73
|
+
700: '#006D75',
|
|
74
|
+
800: '#00474F',
|
|
75
|
+
900: '#002329',
|
|
76
|
+
},
|
|
77
|
+
gray: {
|
|
78
|
+
50: '#FAFAFA',
|
|
79
|
+
100: '#F5F5F5',
|
|
80
|
+
200: '#E8E8E8',
|
|
81
|
+
300: '#D9D9D9',
|
|
82
|
+
400: '#BFBFBF',
|
|
83
|
+
500: '#8C8C8C',
|
|
84
|
+
600: '#595959',
|
|
85
|
+
700: '#434343',
|
|
86
|
+
800: '#262626',
|
|
87
|
+
900: '#141414',
|
|
88
|
+
},
|
|
89
|
+
background: '#FFFFFF',
|
|
90
|
+
surface: '#FAFAFA',
|
|
91
|
+
surfaceElevated: '#FFFFFF',
|
|
92
|
+
text: {
|
|
93
|
+
primary: '#000000E0',
|
|
94
|
+
secondary: '#00000099',
|
|
95
|
+
muted: '#00000061',
|
|
96
|
+
disabled: '#00000042',
|
|
97
|
+
inverse: '#FFFFFF',
|
|
98
|
+
},
|
|
99
|
+
border: {
|
|
100
|
+
default: '#D9D9D9',
|
|
101
|
+
muted: '#F0F0F0',
|
|
102
|
+
strong: '#BFBFBF',
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
exports.darkColors = {
|
|
106
|
+
primary: {
|
|
107
|
+
50: '#002766',
|
|
108
|
+
100: '#003A8C',
|
|
109
|
+
200: '#0050B3',
|
|
110
|
+
300: '#096DD9',
|
|
111
|
+
400: '#1890FF',
|
|
112
|
+
500: '#40A9FF',
|
|
113
|
+
600: '#69C0FF',
|
|
114
|
+
700: '#91D5FF',
|
|
115
|
+
800: '#BAE7FF',
|
|
116
|
+
900: '#E6F7FF',
|
|
117
|
+
},
|
|
118
|
+
secondary: {
|
|
119
|
+
50: '#120338',
|
|
120
|
+
100: '#22075E',
|
|
121
|
+
200: '#391085',
|
|
122
|
+
300: '#531DAB',
|
|
123
|
+
400: '#722ED1',
|
|
124
|
+
500: '#9254DE',
|
|
125
|
+
600: '#B37FEB',
|
|
126
|
+
700: '#D3ADF7',
|
|
127
|
+
800: '#EFD3FF',
|
|
128
|
+
900: '#F9F0FF',
|
|
129
|
+
},
|
|
130
|
+
success: {
|
|
131
|
+
50: '#092B00',
|
|
132
|
+
100: '#135200',
|
|
133
|
+
200: '#237804',
|
|
134
|
+
300: '#389E0D',
|
|
135
|
+
400: '#52C41A',
|
|
136
|
+
500: '#73D13D',
|
|
137
|
+
600: '#95DE64',
|
|
138
|
+
700: '#B7EB8F',
|
|
139
|
+
800: '#D9F7BE',
|
|
140
|
+
900: '#F6FFED',
|
|
141
|
+
},
|
|
142
|
+
error: {
|
|
143
|
+
50: '#5C0011',
|
|
144
|
+
100: '#820014',
|
|
145
|
+
200: '#A8071A',
|
|
146
|
+
300: '#CF1322',
|
|
147
|
+
400: '#F5222D',
|
|
148
|
+
500: '#FF4D4F',
|
|
149
|
+
600: '#FF7875',
|
|
150
|
+
700: '#FFA39E',
|
|
151
|
+
800: '#FFCCC7',
|
|
152
|
+
900: '#FFF1F0',
|
|
153
|
+
},
|
|
154
|
+
warning: {
|
|
155
|
+
50: '#613400',
|
|
156
|
+
100: '#874D00',
|
|
157
|
+
200: '#AD6800',
|
|
158
|
+
300: '#D48806',
|
|
159
|
+
400: '#FAAD14',
|
|
160
|
+
500: '#FFC53D',
|
|
161
|
+
600: '#FFD666',
|
|
162
|
+
700: '#FFE58F',
|
|
163
|
+
800: '#FFF1B8',
|
|
164
|
+
900: '#FFFBE6',
|
|
165
|
+
},
|
|
166
|
+
info: {
|
|
167
|
+
50: '#002329',
|
|
168
|
+
100: '#00474F',
|
|
169
|
+
200: '#006D75',
|
|
170
|
+
300: '#08979C',
|
|
171
|
+
400: '#13C2C2',
|
|
172
|
+
500: '#36CFC9',
|
|
173
|
+
600: '#5CDBD3',
|
|
174
|
+
700: '#87E8DE',
|
|
175
|
+
800: '#B5F5EC',
|
|
176
|
+
900: '#E6FFFB',
|
|
177
|
+
},
|
|
178
|
+
gray: {
|
|
179
|
+
50: '#141414',
|
|
180
|
+
100: '#1F1F1F',
|
|
181
|
+
200: '#2A2A2A',
|
|
182
|
+
300: '#3A3A3A',
|
|
183
|
+
400: '#4A4A4A',
|
|
184
|
+
500: '#5A5A5A',
|
|
185
|
+
600: '#7A7A7A',
|
|
186
|
+
700: '#9A9A9A',
|
|
187
|
+
800: '#CACACA',
|
|
188
|
+
900: '#FAFAFA',
|
|
189
|
+
},
|
|
190
|
+
background: '#000000',
|
|
191
|
+
surface: '#141414',
|
|
192
|
+
surfaceElevated: '#1F1F1F',
|
|
193
|
+
text: {
|
|
194
|
+
primary: '#FFFFFFE0',
|
|
195
|
+
secondary: '#FFFFFF99',
|
|
196
|
+
muted: '#FFFFFF61',
|
|
197
|
+
disabled: '#FFFFFF42',
|
|
198
|
+
inverse: '#000000',
|
|
199
|
+
},
|
|
200
|
+
border: {
|
|
201
|
+
default: '#3A3A3A',
|
|
202
|
+
muted: '#2A2A2A',
|
|
203
|
+
strong: '#4A4A4A',
|
|
204
|
+
},
|
|
205
|
+
};
|
|
206
|
+
//# sourceMappingURL=colors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../src/theme/colors.ts"],"names":[],"mappings":";;;AA0Ca,QAAA,WAAW,GAAgB;IACtC,OAAO,EAAE;QACP,EAAE,EAAE,SAAS;QACb,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;KACf;IACD,SAAS,EAAE;QACT,EAAE,EAAE,SAAS;QACb,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;KACf;IACD,OAAO,EAAE;QACP,EAAE,EAAE,SAAS;QACb,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;KACf;IACD,KAAK,EAAE;QACL,EAAE,EAAE,SAAS;QACb,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;KACf;IACD,OAAO,EAAE;QACP,EAAE,EAAE,SAAS;QACb,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd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;QACd,GAAG,EAAE,SAAS;KACf;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,SAAS;QACb,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,SAAS;KACf;IACD,UAAU,EAAE,SAAS;IACrB,OAAO,EAAE,SAAS;IAClB,eAAe,EAAE,SAAS;IAC1B,IAAI,EAAE;QACJ,OAAO,EAAE,WAAW;QACpB,SAAS,EAAE,WAAW;QACtB,KAAK,EAAE,WAAW;QAClB,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,SAAS;KACnB;IACD,MAAM,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,SAAS;KAClB;CACF,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export * from './colors';
|
|
2
|
+
export * from './typography';
|
|
3
|
+
export * from './spacing';
|
|
4
|
+
export * from './shadows';
|
|
5
|
+
export * from './borderRadius';
|
|
6
|
+
export * from './breakpoints';
|
|
7
|
+
export * from './animations';
|
|
8
|
+
import { ColorSystem } from './colors';
|
|
9
|
+
import { defaultFontStack, TypographySystem, TextVariant } from './typography';
|
|
10
|
+
import { spacing, namedSpacing, Spacing, NamedSpacing } from './spacing';
|
|
11
|
+
import { Shadow, ShadowSize } from './shadows';
|
|
12
|
+
import { borderRadius, BorderRadius } from './borderRadius';
|
|
13
|
+
import { breakpoints, zIndex, Breakpoint, ZIndex } from './breakpoints';
|
|
14
|
+
import { animations, ComponentSize, ComponentSizeValue } from './animations';
|
|
15
|
+
export interface Theme {
|
|
16
|
+
colors: ColorSystem;
|
|
17
|
+
typography: TypographySystem;
|
|
18
|
+
textVariants: Record<string, TextVariant>;
|
|
19
|
+
fontStack: typeof defaultFontStack;
|
|
20
|
+
spacing: typeof spacing;
|
|
21
|
+
namedSpacing: typeof namedSpacing;
|
|
22
|
+
shadows: Record<string, Shadow>;
|
|
23
|
+
borderRadius: typeof borderRadius;
|
|
24
|
+
breakpoints: typeof breakpoints;
|
|
25
|
+
zIndex: typeof zIndex;
|
|
26
|
+
animations: typeof animations;
|
|
27
|
+
componentSizes: Record<ComponentSize, ComponentSizeValue>;
|
|
28
|
+
}
|
|
29
|
+
export declare const lightTheme: Theme;
|
|
30
|
+
export declare const darkTheme: Theme;
|
|
31
|
+
export type { ColorSystem, TypographySystem, TextVariant, Spacing, NamedSpacing, Shadow, ShadowSize, BorderRadius, Breakpoint, ZIndex, ComponentSize, ComponentSizeValue, };
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAE7B,OAAO,EAA2B,WAAW,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,EAGL,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzE,OAAO,EAAW,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,UAAU,EAAkB,aAAa,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAE7F,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAC1C,SAAS,EAAE,OAAO,gBAAgB,CAAC;IACnC,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,YAAY,EAAE,OAAO,YAAY,CAAC;IAClC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,YAAY,EAAE,OAAO,YAAY,CAAC;IAClC,WAAW,EAAE,OAAO,WAAW,CAAC;IAChC,MAAM,EAAE,OAAO,MAAM,CAAC;IACtB,UAAU,EAAE,OAAO,UAAU,CAAC;IAC9B,cAAc,EAAE,MAAM,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAAC;CAC3D;AAED,eAAO,MAAM,UAAU,EAAE,KAaxB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAavB,CAAC;AAEF,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,OAAO,EACP,YAAY,EACZ,MAAM,EACN,UAAU,EACV,YAAY,EACZ,UAAU,EACV,MAAM,EACN,aAAa,EACb,kBAAkB,GACnB,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.darkTheme = exports.lightTheme = void 0;
|
|
18
|
+
__exportStar(require("./colors"), exports);
|
|
19
|
+
__exportStar(require("./typography"), exports);
|
|
20
|
+
__exportStar(require("./spacing"), exports);
|
|
21
|
+
__exportStar(require("./shadows"), exports);
|
|
22
|
+
__exportStar(require("./borderRadius"), exports);
|
|
23
|
+
__exportStar(require("./breakpoints"), exports);
|
|
24
|
+
__exportStar(require("./animations"), exports);
|
|
25
|
+
const colors_1 = require("./colors");
|
|
26
|
+
const typography_1 = require("./typography");
|
|
27
|
+
const spacing_1 = require("./spacing");
|
|
28
|
+
const shadows_1 = require("./shadows");
|
|
29
|
+
const borderRadius_1 = require("./borderRadius");
|
|
30
|
+
const breakpoints_1 = require("./breakpoints");
|
|
31
|
+
const animations_1 = require("./animations");
|
|
32
|
+
exports.lightTheme = {
|
|
33
|
+
colors: colors_1.lightColors,
|
|
34
|
+
typography: typography_1.typography,
|
|
35
|
+
textVariants: typography_1.textVariants,
|
|
36
|
+
fontStack: typography_1.defaultFontStack,
|
|
37
|
+
spacing: spacing_1.spacing,
|
|
38
|
+
namedSpacing: spacing_1.namedSpacing,
|
|
39
|
+
shadows: shadows_1.shadows,
|
|
40
|
+
borderRadius: borderRadius_1.borderRadius,
|
|
41
|
+
breakpoints: breakpoints_1.breakpoints,
|
|
42
|
+
zIndex: breakpoints_1.zIndex,
|
|
43
|
+
animations: animations_1.animations,
|
|
44
|
+
componentSizes: animations_1.componentSizes,
|
|
45
|
+
};
|
|
46
|
+
exports.darkTheme = {
|
|
47
|
+
colors: colors_1.darkColors,
|
|
48
|
+
typography: typography_1.typography,
|
|
49
|
+
textVariants: typography_1.textVariants,
|
|
50
|
+
fontStack: typography_1.defaultFontStack,
|
|
51
|
+
spacing: spacing_1.spacing,
|
|
52
|
+
namedSpacing: spacing_1.namedSpacing,
|
|
53
|
+
shadows: shadows_1.shadows,
|
|
54
|
+
borderRadius: borderRadius_1.borderRadius,
|
|
55
|
+
breakpoints: breakpoints_1.breakpoints,
|
|
56
|
+
zIndex: breakpoints_1.zIndex,
|
|
57
|
+
animations: animations_1.animations,
|
|
58
|
+
componentSizes: animations_1.componentSizes,
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,iDAA+B;AAC/B,gDAA8B;AAC9B,+CAA6B;AAE7B,qCAAgE;AAChE,6CAMsB;AACtB,uCAAyE;AACzE,uCAAwD;AACxD,iDAA4D;AAC5D,+CAAwE;AACxE,6CAA6F;AAiBhF,QAAA,UAAU,GAAU;IAC/B,MAAM,EAAE,oBAAW;IACnB,UAAU,EAAV,uBAAU;IACV,YAAY,EAAZ,yBAAY;IACZ,SAAS,EAAE,6BAAgB;IAC3B,OAAO,EAAP,iBAAO;IACP,YAAY,EAAZ,sBAAY;IACZ,OAAO,EAAP,iBAAO;IACP,YAAY,EAAZ,2BAAY;IACZ,WAAW,EAAX,yBAAW;IACX,MAAM,EAAN,oBAAM;IACN,UAAU,EAAV,uBAAU;IACV,cAAc,EAAd,2BAAc;CACf,CAAC;AAEW,QAAA,SAAS,GAAU;IAC9B,MAAM,EAAE,mBAAU;IAClB,UAAU,EAAV,uBAAU;IACV,YAAY,EAAZ,yBAAY;IACZ,SAAS,EAAE,6BAAgB;IAC3B,OAAO,EAAP,iBAAO;IACP,YAAY,EAAZ,sBAAY;IACZ,OAAO,EAAP,iBAAO;IACP,YAAY,EAAZ,2BAAY;IACZ,WAAW,EAAX,yBAAW;IACX,MAAM,EAAN,oBAAM;IACN,UAAU,EAAV,uBAAU;IACV,cAAc,EAAd,2BAAc;CACf,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface Shadow {
|
|
2
|
+
shadowColor: string;
|
|
3
|
+
shadowOffset: {
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
};
|
|
7
|
+
shadowOpacity: number;
|
|
8
|
+
shadowRadius: number;
|
|
9
|
+
elevation: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const shadows: Record<string, Shadow>;
|
|
12
|
+
export type ShadowSize = keyof typeof shadows;
|
|
13
|
+
//# sourceMappingURL=shadows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../../src/theme/shadows.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,MAAM;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAkD1C,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.shadows = void 0;
|
|
4
|
+
exports.shadows = {
|
|
5
|
+
none: {
|
|
6
|
+
shadowColor: '#000',
|
|
7
|
+
shadowOffset: { width: 0, height: 0 },
|
|
8
|
+
shadowOpacity: 0,
|
|
9
|
+
shadowRadius: 0,
|
|
10
|
+
elevation: 0,
|
|
11
|
+
},
|
|
12
|
+
xs: {
|
|
13
|
+
shadowColor: '#000',
|
|
14
|
+
shadowOffset: { width: 0, height: 1 },
|
|
15
|
+
shadowOpacity: 0.05,
|
|
16
|
+
shadowRadius: 2,
|
|
17
|
+
elevation: 1,
|
|
18
|
+
},
|
|
19
|
+
sm: {
|
|
20
|
+
shadowColor: '#000',
|
|
21
|
+
shadowOffset: { width: 0, height: 2 },
|
|
22
|
+
shadowOpacity: 0.1,
|
|
23
|
+
shadowRadius: 4,
|
|
24
|
+
elevation: 2,
|
|
25
|
+
},
|
|
26
|
+
md: {
|
|
27
|
+
shadowColor: '#000',
|
|
28
|
+
shadowOffset: { width: 0, height: 4 },
|
|
29
|
+
shadowOpacity: 0.15,
|
|
30
|
+
shadowRadius: 8,
|
|
31
|
+
elevation: 4,
|
|
32
|
+
},
|
|
33
|
+
lg: {
|
|
34
|
+
shadowColor: '#000',
|
|
35
|
+
shadowOffset: { width: 0, height: 8 },
|
|
36
|
+
shadowOpacity: 0.2,
|
|
37
|
+
shadowRadius: 16,
|
|
38
|
+
elevation: 8,
|
|
39
|
+
},
|
|
40
|
+
xl: {
|
|
41
|
+
shadowColor: '#000',
|
|
42
|
+
shadowOffset: { width: 0, height: 16 },
|
|
43
|
+
shadowOpacity: 0.25,
|
|
44
|
+
shadowRadius: 24,
|
|
45
|
+
elevation: 12,
|
|
46
|
+
},
|
|
47
|
+
'2xl': {
|
|
48
|
+
shadowColor: '#000',
|
|
49
|
+
shadowOffset: { width: 0, height: 24 },
|
|
50
|
+
shadowOpacity: 0.3,
|
|
51
|
+
shadowRadius: 32,
|
|
52
|
+
elevation: 16,
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=shadows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadows.js","sourceRoot":"","sources":["../../src/theme/shadows.ts"],"names":[],"mappings":";;;AAUa,QAAA,OAAO,GAA2B;IAC7C,IAAI,EAAE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aAAa,EAAE,GAAG;QAClB,YAAY,EAAE,EAAE;QAChB,SAAS,EAAE,EAAE;KACd;CACF,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export declare const spacing: {
|
|
2
|
+
readonly 0: 0;
|
|
3
|
+
readonly 0.5: 2;
|
|
4
|
+
readonly 1: 4;
|
|
5
|
+
readonly 1.5: 6;
|
|
6
|
+
readonly 2: 8;
|
|
7
|
+
readonly 2.5: 10;
|
|
8
|
+
readonly 3: 12;
|
|
9
|
+
readonly 3.5: 14;
|
|
10
|
+
readonly 4: 16;
|
|
11
|
+
readonly 5: 20;
|
|
12
|
+
readonly 6: 24;
|
|
13
|
+
readonly 7: 28;
|
|
14
|
+
readonly 8: 32;
|
|
15
|
+
readonly 9: 36;
|
|
16
|
+
readonly 10: 40;
|
|
17
|
+
readonly 11: 44;
|
|
18
|
+
readonly 12: 48;
|
|
19
|
+
readonly 14: 56;
|
|
20
|
+
readonly 16: 64;
|
|
21
|
+
readonly 20: 80;
|
|
22
|
+
readonly 24: 96;
|
|
23
|
+
readonly 28: 112;
|
|
24
|
+
readonly 32: 128;
|
|
25
|
+
readonly 36: 144;
|
|
26
|
+
readonly 40: 160;
|
|
27
|
+
readonly 44: 176;
|
|
28
|
+
readonly 48: 192;
|
|
29
|
+
readonly 52: 208;
|
|
30
|
+
readonly 56: 224;
|
|
31
|
+
readonly 60: 240;
|
|
32
|
+
readonly 64: 256;
|
|
33
|
+
readonly 72: 288;
|
|
34
|
+
readonly 80: 320;
|
|
35
|
+
readonly 96: 384;
|
|
36
|
+
};
|
|
37
|
+
export declare const namedSpacing: {
|
|
38
|
+
readonly xs: 4;
|
|
39
|
+
readonly sm: 8;
|
|
40
|
+
readonly md: 16;
|
|
41
|
+
readonly lg: 24;
|
|
42
|
+
readonly xl: 32;
|
|
43
|
+
readonly '2xl': 48;
|
|
44
|
+
readonly '3xl': 64;
|
|
45
|
+
readonly '4xl': 96;
|
|
46
|
+
};
|
|
47
|
+
export type Spacing = keyof typeof spacing;
|
|
48
|
+
export type NamedSpacing = keyof typeof namedSpacing;
|
|
49
|
+
//# sourceMappingURL=spacing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../src/theme/spacing.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCV,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;CASf,CAAC;AAEX,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,OAAO,CAAC;AAC3C,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.namedSpacing = exports.spacing = void 0;
|
|
4
|
+
exports.spacing = {
|
|
5
|
+
0: 0,
|
|
6
|
+
0.5: 2,
|
|
7
|
+
1: 4,
|
|
8
|
+
1.5: 6,
|
|
9
|
+
2: 8,
|
|
10
|
+
2.5: 10,
|
|
11
|
+
3: 12,
|
|
12
|
+
3.5: 14,
|
|
13
|
+
4: 16,
|
|
14
|
+
5: 20,
|
|
15
|
+
6: 24,
|
|
16
|
+
7: 28,
|
|
17
|
+
8: 32,
|
|
18
|
+
9: 36,
|
|
19
|
+
10: 40,
|
|
20
|
+
11: 44,
|
|
21
|
+
12: 48,
|
|
22
|
+
14: 56,
|
|
23
|
+
16: 64,
|
|
24
|
+
20: 80,
|
|
25
|
+
24: 96,
|
|
26
|
+
28: 112,
|
|
27
|
+
32: 128,
|
|
28
|
+
36: 144,
|
|
29
|
+
40: 160,
|
|
30
|
+
44: 176,
|
|
31
|
+
48: 192,
|
|
32
|
+
52: 208,
|
|
33
|
+
56: 224,
|
|
34
|
+
60: 240,
|
|
35
|
+
64: 256,
|
|
36
|
+
72: 288,
|
|
37
|
+
80: 320,
|
|
38
|
+
96: 384,
|
|
39
|
+
};
|
|
40
|
+
exports.namedSpacing = {
|
|
41
|
+
xs: exports.spacing[1],
|
|
42
|
+
sm: exports.spacing[2],
|
|
43
|
+
md: exports.spacing[4],
|
|
44
|
+
lg: exports.spacing[6],
|
|
45
|
+
xl: exports.spacing[8],
|
|
46
|
+
'2xl': exports.spacing[12],
|
|
47
|
+
'3xl': exports.spacing[16],
|
|
48
|
+
'4xl': exports.spacing[24],
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=spacing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacing.js","sourceRoot":"","sources":["../../src/theme/spacing.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG;IACrB,CAAC,EAAE,CAAC;IACJ,GAAG,EAAE,CAAC;IACN,CAAC,EAAE,CAAC;IACJ,GAAG,EAAE,CAAC;IACN,CAAC,EAAE,CAAC;IACJ,GAAG,EAAE,EAAE;IACP,CAAC,EAAE,EAAE;IACL,GAAG,EAAE,EAAE;IACP,CAAC,EAAE,EAAE;IACL,CAAC,EAAE,EAAE;IACL,CAAC,EAAE,EAAE;IACL,CAAC,EAAE,EAAE;IACL,CAAC,EAAE,EAAE;IACL,CAAC,EAAE,EAAE;IACL,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EA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