@alveole/theme 0.4.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.
Files changed (90) hide show
  1. package/README.md +109 -0
  2. package/assets/fonts/Barlow/Barlow-Bold.ttf +0 -0
  3. package/assets/fonts/Barlow/Barlow-Light.ttf +0 -0
  4. package/assets/fonts/Barlow/Barlow-Medium.ttf +0 -0
  5. package/assets/fonts/Barlow/Barlow-Regular.ttf +0 -0
  6. package/assets/fonts/Barlow/Barlow-SemiBold.ttf +0 -0
  7. package/assets/fonts/Inter/Inter-Bold.ttf +0 -0
  8. package/assets/fonts/Inter/Inter-Light.ttf +0 -0
  9. package/assets/fonts/Inter/Inter-Medium.ttf +0 -0
  10. package/assets/fonts/Inter/Inter-Regular.ttf +0 -0
  11. package/assets/fonts/Inter/Inter-SemiBold.ttf +0 -0
  12. package/dist/ThemeProvider.d.ts +8 -0
  13. package/dist/ThemeProvider.d.ts.map +1 -0
  14. package/dist/ThemeProvider.js +32 -0
  15. package/dist/ThemeProviderLoader.d.ts +2 -0
  16. package/dist/ThemeProviderLoader.d.ts.map +1 -0
  17. package/dist/ThemeProviderLoader.js +5 -0
  18. package/dist/constants/Breakpoint.d.ts +10 -0
  19. package/dist/constants/Breakpoint.d.ts.map +1 -0
  20. package/dist/constants/Breakpoint.js +14 -0
  21. package/dist/constants/Color.d.ts +357 -0
  22. package/dist/constants/Color.d.ts.map +1 -0
  23. package/dist/constants/Color.js +352 -0
  24. package/dist/constants/Elevation.d.ts +81 -0
  25. package/dist/constants/Elevation.d.ts.map +1 -0
  26. package/dist/constants/Elevation.js +53 -0
  27. package/dist/constants/Font.d.ts +15 -0
  28. package/dist/constants/Font.d.ts.map +1 -0
  29. package/dist/constants/Font.js +15 -0
  30. package/dist/constants/Palette.d.ts +187 -0
  31. package/dist/constants/Palette.d.ts.map +1 -0
  32. package/dist/constants/Palette.js +180 -0
  33. package/dist/constants/Radius.d.ts +9 -0
  34. package/dist/constants/Radius.d.ts.map +1 -0
  35. package/dist/constants/Radius.js +6 -0
  36. package/dist/constants/Sizes.d.ts +35 -0
  37. package/dist/constants/Sizes.d.ts.map +1 -0
  38. package/dist/constants/Sizes.js +30 -0
  39. package/dist/constants/Spacing.d.ts +24 -0
  40. package/dist/constants/Spacing.d.ts.map +1 -0
  41. package/dist/constants/Spacing.js +21 -0
  42. package/dist/constants/Typography.d.ts +189 -0
  43. package/dist/constants/Typography.d.ts.map +1 -0
  44. package/dist/constants/Typography.js +190 -0
  45. package/dist/constants/UnsupportedCSSProperties.d.ts +4 -0
  46. package/dist/constants/UnsupportedCSSProperties.d.ts.map +1 -0
  47. package/dist/constants/UnsupportedCSSProperties.js +3 -0
  48. package/dist/constants/Variant.d.ts +8 -0
  49. package/dist/constants/Variant.d.ts.map +1 -0
  50. package/dist/constants/Variant.js +5 -0
  51. package/dist/constants/index.d.ts +11 -0
  52. package/dist/constants/index.d.ts.map +1 -0
  53. package/dist/constants/index.js +10 -0
  54. package/dist/helpers/alphaColor.d.ts +12 -0
  55. package/dist/helpers/alphaColor.d.ts.map +1 -0
  56. package/dist/helpers/alphaColor.js +20 -0
  57. package/dist/helpers/deepMerge.d.ts +6 -0
  58. package/dist/helpers/deepMerge.d.ts.map +1 -0
  59. package/dist/helpers/deepMerge.js +17 -0
  60. package/dist/helpers/elevationStyle.d.ts +19 -0
  61. package/dist/helpers/elevationStyle.d.ts.map +1 -0
  62. package/dist/helpers/elevationStyle.js +16 -0
  63. package/dist/helpers/injectVariableCSS.d.ts +3 -0
  64. package/dist/helpers/injectVariableCSS.d.ts.map +1 -0
  65. package/dist/helpers/injectVariableCSS.js +27 -0
  66. package/dist/helpers/isSpacingKey.d.ts +3 -0
  67. package/dist/helpers/isSpacingKey.d.ts.map +1 -0
  68. package/dist/helpers/isSpacingKey.js +2 -0
  69. package/dist/helpers/makeStyles.d.ts +15 -0
  70. package/dist/helpers/makeStyles.d.ts.map +1 -0
  71. package/dist/helpers/makeStyles.js +14 -0
  72. package/dist/helpers/removeUnsupportedCSSProperties.d.ts +8 -0
  73. package/dist/helpers/removeUnsupportedCSSProperties.d.ts.map +1 -0
  74. package/dist/helpers/removeUnsupportedCSSProperties.js +20 -0
  75. package/dist/helpers/useThemeBuilder.d.ts +9 -0
  76. package/dist/helpers/useThemeBuilder.d.ts.map +1 -0
  77. package/dist/helpers/useThemeBuilder.js +38 -0
  78. package/dist/index.d.ts +6 -0
  79. package/dist/index.d.ts.map +1 -0
  80. package/dist/index.js +5 -0
  81. package/dist/type/Theme.d.ts +21 -0
  82. package/dist/type/Theme.d.ts.map +1 -0
  83. package/dist/type/Theme.js +1 -0
  84. package/dist/type/Typography.d.ts +8 -0
  85. package/dist/type/Typography.d.ts.map +1 -0
  86. package/dist/type/Typography.js +1 -0
  87. package/dist/type/index.d.ts +2 -0
  88. package/dist/type/index.d.ts.map +1 -0
  89. package/dist/type/index.js +1 -0
  90. package/package.json +26 -0
@@ -0,0 +1,187 @@
1
+ export declare const CustomPalette: {
2
+ readonly primary: "#D9127C";
3
+ readonly transparent: "transparent";
4
+ readonly danger: "#C62416";
5
+ readonly info: "#1070CA";
6
+ readonly success: "#1C7F54";
7
+ readonly warning: "#BA461C";
8
+ readonly link: "#076D8A";
9
+ readonly text: {
10
+ readonly 'default-grey': "#373A3F";
11
+ readonly 'title-grey': "#151617";
12
+ readonly mention: "#5F6571";
13
+ readonly 'disabled-grey': "#8D97AC";
14
+ readonly 'action-high-blue-captive': "#012448";
15
+ readonly 'title-blue-captive': "#012448";
16
+ readonly 'label-grey': "#151617";
17
+ readonly 'inverted-blue-captive': "#FFFFFF";
18
+ readonly 'default-success': "#1B7440";
19
+ readonly 'default-error': "#C62416";
20
+ readonly 'default-info': "#31B5DA";
21
+ readonly 'action-high-grey': "#151617";
22
+ readonly inverse: {
23
+ readonly base: "#FFFFFF";
24
+ readonly title: "#FFFFFF";
25
+ readonly muted: "#8D97AC";
26
+ readonly accent: "#E4F40E";
27
+ };
28
+ readonly badge: {
29
+ readonly info: "#0E6398";
30
+ readonly success: "#166645";
31
+ readonly default: "#323439";
32
+ readonly warning: "#BA461C";
33
+ readonly error: "#C62416";
34
+ readonly new: "#7F4214";
35
+ };
36
+ readonly button: {
37
+ readonly primary: {
38
+ readonly default: "#FFFFFF";
39
+ readonly hover: "#FFFFFF";
40
+ readonly disabled: "#8D97AC";
41
+ };
42
+ readonly secondary: {
43
+ readonly default: "#151617";
44
+ readonly hover: "#151617";
45
+ readonly disabled: "#8D97AC";
46
+ };
47
+ readonly tertiary: {
48
+ readonly default: "#373A3F";
49
+ readonly hover: "#373A3F";
50
+ readonly disabled: "#8D97AC";
51
+ };
52
+ readonly danger: {
53
+ readonly default: "#AF051A";
54
+ readonly hover: "#FFFFFF";
55
+ readonly disabled: "#8D97AC";
56
+ };
57
+ };
58
+ readonly tag: {
59
+ readonly default: "#2D3339";
60
+ };
61
+ readonly link: {
62
+ readonly default: "#076D8A";
63
+ readonly hover: "#076D8A";
64
+ };
65
+ readonly nav: {
66
+ readonly link: {
67
+ readonly default: "#5F6571";
68
+ readonly current: "#151617";
69
+ };
70
+ };
71
+ };
72
+ readonly border: {
73
+ readonly base: "#8D97AC";
74
+ readonly 'default-grey': "#DEE3EC";
75
+ readonly action: "#012448";
76
+ readonly 'disabled-grey': "#E6EAF1";
77
+ readonly 'plain-grey': "#373A3F";
78
+ readonly 'plain-success': "#1B7440";
79
+ readonly 'plain-error': "#C62416";
80
+ readonly 'default-bleu-captive': "#0379EF";
81
+ readonly 'contrast-grey': "#DEE3EC";
82
+ readonly button: {
83
+ readonly secondary: {
84
+ readonly default: "#373A3F";
85
+ readonly hover: "#373A3F";
86
+ readonly disabled: "#DEE3EC";
87
+ };
88
+ readonly danger: {
89
+ readonly default: "#8197AA";
90
+ readonly hover: "#AF051A";
91
+ readonly disabled: "#C5D6DC";
92
+ };
93
+ };
94
+ readonly alert: {
95
+ readonly info: "#1070CA";
96
+ readonly success: "#1C7F54";
97
+ readonly warning: "#BA461C";
98
+ readonly error: "#C62416";
99
+ readonly link: "#076D8A";
100
+ };
101
+ readonly link: {
102
+ readonly default: "#076D8A";
103
+ };
104
+ readonly quote: {
105
+ readonly default: "#DEE3EC";
106
+ };
107
+ readonly nav: {
108
+ readonly link: {
109
+ readonly active: "#D2E8FE";
110
+ };
111
+ };
112
+ };
113
+ readonly background: {
114
+ readonly default: "#FFFFFF";
115
+ readonly 'default-active': "#EFF1F6";
116
+ readonly 'alt-grey': "#F4F6FA";
117
+ readonly inverse: "#012448";
118
+ readonly action: "#012448";
119
+ readonly 'disabled-grey': "#E6EAF1";
120
+ readonly 'default-hover': "#F4F6FA";
121
+ readonly 'open-bleu-captive': "#D2E8FE";
122
+ readonly 'contrast-grey': "#E6EAF1";
123
+ readonly 'alt-bleu-captive': "#F2F9FF";
124
+ readonly 'action-low-bleu-captive': "#D2E8FE";
125
+ readonly 'default-success': "#87FCB8";
126
+ readonly alert: {
127
+ readonly info: "#1070CA";
128
+ readonly success: "#1C7F54";
129
+ readonly warning: "#BA461C";
130
+ readonly error: "#C62416";
131
+ };
132
+ readonly button: {
133
+ readonly primary: {
134
+ readonly default: "#D9127C";
135
+ readonly hover: "#BC0A6F";
136
+ readonly disabled: "#E6EBF3";
137
+ };
138
+ readonly secondary: {
139
+ readonly default: "transparent";
140
+ readonly hover: "#F4F6FA";
141
+ readonly disabled: "transparent";
142
+ };
143
+ readonly tertiary: {
144
+ readonly default: "transparent";
145
+ readonly hover: "#F4F6FA";
146
+ readonly disabled: "transparent";
147
+ };
148
+ readonly danger: {
149
+ readonly default: "transparent";
150
+ readonly hover: "#C62416";
151
+ readonly disabled: "transparent";
152
+ };
153
+ };
154
+ readonly tag: {
155
+ readonly default: "#EBF2F4";
156
+ };
157
+ readonly badge: {
158
+ readonly info: "#D6F3FD";
159
+ readonly success: "#D7F4E1";
160
+ readonly warning: "#FFE9E1";
161
+ readonly error: "#FFE5E9";
162
+ readonly new: "#FBF2C6";
163
+ readonly default: "#EFF1F6";
164
+ };
165
+ readonly nav: {
166
+ readonly link: {
167
+ readonly hover: "#F4F6FA";
168
+ };
169
+ };
170
+ readonly stepper: {
171
+ readonly default: "#373A3F";
172
+ readonly current: "#A8E4FA";
173
+ readonly success: "#E8368F";
174
+ };
175
+ };
176
+ readonly system: {
177
+ readonly focus: "#0A76F6";
178
+ };
179
+ };
180
+ export type LeafStrings<T> = T extends string ? string : {
181
+ [K in keyof T]: LeafStrings<T[K]>;
182
+ };
183
+ export type Palette = LeafStrings<typeof CustomPalette>;
184
+ export type DeepPartial<T> = {
185
+ [K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> : T[K];
186
+ };
187
+ //# sourceMappingURL=Palette.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Palette.d.ts","sourceRoot":"","sources":["../../src/constants/Palette.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuMhB,CAAC;AAEX,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,CAAC;AAE/F,MAAM,MAAM,OAAO,GAAG,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;AACxD,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAChE,CAAC"}
@@ -0,0 +1,180 @@
1
+ import { Colors } from './Color';
2
+ export const CustomPalette = {
3
+ primary: Colors['PinkVivid']['500'],
4
+ transparent: 'transparent',
5
+ danger: Colors['RougeErreur']['425'],
6
+ info: Colors['Mariner']['600'],
7
+ success: Colors['MountainMeadow']['600'],
8
+ warning: Colors['Watusi']['700'],
9
+ link: Colors['BleuCiel']['425'],
10
+ text: {
11
+ 'default-grey': Colors['Neutre']['200'],
12
+ 'title-grey': Colors['Neutre']['50'],
13
+ mention: Colors['Neutre']['425'],
14
+ 'disabled-grey': Colors['Neutre']['625'],
15
+ 'action-high-blue-captive': Colors['BleuCaptive']['sun-100'],
16
+ 'title-blue-captive': Colors['BleuCaptive']['sun-100'],
17
+ 'label-grey': Colors['Neutre']['50'],
18
+ 'inverted-blue-captive': Colors['Neutre']['1000'],
19
+ 'default-success': Colors['VertSuccess']['425'],
20
+ 'default-error': Colors['RougeErreur']['425'],
21
+ 'default-info': Colors['BleuCiel']['main-686'],
22
+ 'action-high-grey': Colors['Neutre']['50'],
23
+ inverse: {
24
+ base: Colors['Neutre']['1000'],
25
+ title: Colors['Neutre']['1000'],
26
+ muted: Colors['Neutre']['625'],
27
+ accent: Colors['GoldenFizz']['400'],
28
+ },
29
+ badge: {
30
+ info: Colors['LightBlueVivid']['700'],
31
+ success: Colors['MountainMeadow']['700'],
32
+ default: Colors['Neutre']['175'],
33
+ warning: Colors['Watusi']['700'],
34
+ error: Colors['RougeErreur']['425'],
35
+ new: Colors['Sunshade']['800'],
36
+ },
37
+ button: {
38
+ primary: {
39
+ default: Colors['Neutre']['1000'],
40
+ hover: Colors['Neutre']['1000'],
41
+ disabled: Colors['Neutre']['625'],
42
+ },
43
+ secondary: {
44
+ default: Colors['Neutre']['50'],
45
+ hover: Colors['Neutre']['50'],
46
+ disabled: Colors['Neutre']['625'],
47
+ },
48
+ tertiary: {
49
+ default: Colors['Neutre']['200'],
50
+ hover: Colors['Neutre']['200'],
51
+ disabled: Colors['Neutre']['625'],
52
+ },
53
+ danger: {
54
+ default: Colors['Monza']['800'],
55
+ hover: Colors['Neutre']['1000'],
56
+ disabled: Colors['Neutre']['625'],
57
+ },
58
+ },
59
+ tag: {
60
+ default: Colors['SlateGrey']['950'],
61
+ },
62
+ link: {
63
+ default: Colors['BleuCiel']['425'],
64
+ hover: Colors['BleuCiel']['425'],
65
+ },
66
+ nav: {
67
+ link: {
68
+ default: Colors['Neutre']['425'],
69
+ current: Colors['Neutre']['50'],
70
+ },
71
+ },
72
+ },
73
+ border: {
74
+ base: Colors['Neutre']['625'],
75
+ 'default-grey': Colors['Neutre']['900'],
76
+ action: Colors['BleuCaptive']['sun-100'],
77
+ 'disabled-grey': Colors['Neutre']['925'],
78
+ 'plain-grey': Colors['Neutre']['200'],
79
+ 'plain-success': Colors['VertSuccess']['425'],
80
+ 'plain-error': Colors['RougeErreur']['425'],
81
+ 'default-bleu-captive': Colors['BleuCaptive']['main-525'],
82
+ 'contrast-grey': Colors['Neutre']['900'],
83
+ button: {
84
+ secondary: {
85
+ default: Colors['Neutre']['200'],
86
+ hover: Colors['Neutre']['200'],
87
+ disabled: Colors['Neutre']['900'],
88
+ },
89
+ danger: {
90
+ default: Colors['SlateGrey']['600'],
91
+ hover: Colors['Monza']['800'],
92
+ disabled: Colors['SlateGrey']['300'],
93
+ },
94
+ },
95
+ alert: {
96
+ info: Colors['Mariner']['600'],
97
+ success: Colors['MountainMeadow']['600'],
98
+ warning: Colors['Watusi']['700'],
99
+ error: Colors['RougeErreur']['425'],
100
+ link: Colors['BleuCiel']['425'],
101
+ },
102
+ link: {
103
+ default: Colors['BleuCiel']['425'],
104
+ },
105
+ quote: {
106
+ default: Colors['Neutre']['900'],
107
+ },
108
+ nav: {
109
+ link: {
110
+ active: Colors['BleuCaptive']['925'],
111
+ },
112
+ },
113
+ },
114
+ background: {
115
+ default: Colors['Neutre']['1000'],
116
+ 'default-active': Colors['Neutre']['950'],
117
+ 'alt-grey': Colors['Neutre']['975'],
118
+ inverse: Colors['BleuCaptive']['sun-100'],
119
+ action: Colors['BleuCaptive']['sun-100'],
120
+ 'disabled-grey': Colors['Neutre']['925'],
121
+ 'default-hover': Colors['Neutre']['975'],
122
+ 'open-bleu-captive': Colors['BleuCaptive']['925'],
123
+ 'contrast-grey': Colors['Neutre']['925'],
124
+ 'alt-bleu-captive': Colors['BleuCaptive']['975'],
125
+ 'action-low-bleu-captive': Colors['BleuCaptive']['925'],
126
+ 'default-success': Colors['VertSuccess']['925'],
127
+ alert: {
128
+ info: Colors['Mariner']['600'],
129
+ success: Colors['MountainMeadow']['600'],
130
+ warning: Colors['Watusi']['700'],
131
+ error: Colors['RougeErreur']['425'],
132
+ },
133
+ button: {
134
+ primary: {
135
+ default: Colors['PinkVivid']['500'],
136
+ hover: Colors['PinkVivid']['600'],
137
+ disabled: Colors['GrisPolaire']['100'],
138
+ },
139
+ secondary: {
140
+ default: 'transparent',
141
+ hover: Colors['Neutre']['975'],
142
+ disabled: 'transparent',
143
+ },
144
+ tertiary: {
145
+ default: 'transparent',
146
+ hover: Colors['Neutre']['975'],
147
+ disabled: 'transparent',
148
+ },
149
+ danger: {
150
+ default: 'transparent',
151
+ hover: Colors['RougeErreur']['425'],
152
+ disabled: 'transparent',
153
+ },
154
+ },
155
+ tag: {
156
+ default: Colors['SlateGrey']['100'],
157
+ },
158
+ badge: {
159
+ info: Colors['LightBlueVivid']['100'],
160
+ success: Colors['MountainMeadow']['100'],
161
+ warning: Colors['Watusi']['100'],
162
+ error: Colors['Monza']['100'],
163
+ new: Colors['Sunshade']['100'],
164
+ default: Colors['Neutre']['950'],
165
+ },
166
+ nav: {
167
+ link: {
168
+ hover: Colors['Neutre']['975'],
169
+ },
170
+ },
171
+ stepper: {
172
+ default: Colors['Neutre']['200'],
173
+ current: Colors['LightBlueVivid']['200'],
174
+ success: Colors['PinkVivid']['400'],
175
+ },
176
+ },
177
+ system: {
178
+ focus: '#0A76F6',
179
+ },
180
+ };
@@ -0,0 +1,9 @@
1
+ export declare const RadiusList: {
2
+ readonly sm: 4;
3
+ readonly md: 6;
4
+ readonly lg: 10;
5
+ readonly full: 99999;
6
+ };
7
+ export type RadiusKey = keyof typeof RadiusList;
8
+ export type Radius = (typeof RadiusList)[RadiusKey];
9
+ //# sourceMappingURL=Radius.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Radius.d.ts","sourceRoot":"","sources":["../../src/constants/Radius.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;CAKb,CAAC;AAGX,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,UAAU,CAAC;AAChD,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export const RadiusList = {
2
+ sm: 4,
3
+ md: 6,
4
+ lg: 10,
5
+ full: 99999,
6
+ };
@@ -0,0 +1,35 @@
1
+ export declare const Sizes: {
2
+ readonly xs: 12;
3
+ readonly sm: 14;
4
+ readonly md: 16;
5
+ readonly lg: 18;
6
+ readonly xl: 20;
7
+ readonly '2xl': 24;
8
+ readonly '3xl': 30;
9
+ readonly '4xl': 36;
10
+ readonly '5xl': 48;
11
+ readonly '6xl': 60;
12
+ readonly '7xl': 72;
13
+ readonly '8xl': 96;
14
+ readonly '9xl': 128;
15
+ };
16
+ export declare const Heights: {
17
+ readonly xs: 16;
18
+ readonly sm: 20;
19
+ readonly md: 24;
20
+ readonly lg: 28;
21
+ readonly xl: 28;
22
+ readonly '2xl': 32;
23
+ readonly '3xl': 36;
24
+ readonly '4xl': 40;
25
+ readonly '5xl': "100%";
26
+ readonly '6xl': "100%";
27
+ readonly '7xl': "100%";
28
+ readonly '8xl': "100%";
29
+ readonly '9xl': "100%";
30
+ };
31
+ export type SizeKey = keyof typeof Sizes;
32
+ export type Size = (typeof Sizes)[SizeKey];
33
+ export type HeightKey = keyof typeof Heights;
34
+ export type Height = (typeof Heights)[HeightKey];
35
+ //# sourceMappingURL=Sizes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sizes.d.ts","sourceRoot":"","sources":["../../src/constants/Sizes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;CAcR,CAAC;AAEX,eAAO,MAAM,OAAO;;;;;;;;;;;;;;CAcV,CAAC;AAGX,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,KAAK,CAAC;AACzC,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;AAC3C,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,OAAO,CAAC;AAC7C,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC"}
@@ -0,0 +1,30 @@
1
+ export const Sizes = {
2
+ xs: 12,
3
+ sm: 14,
4
+ md: 16,
5
+ lg: 18,
6
+ xl: 20,
7
+ '2xl': 24,
8
+ '3xl': 30,
9
+ '4xl': 36,
10
+ '5xl': 48,
11
+ '6xl': 60,
12
+ '7xl': 72,
13
+ '8xl': 96,
14
+ '9xl': 128,
15
+ };
16
+ export const Heights = {
17
+ xs: 16,
18
+ sm: 20,
19
+ md: 24,
20
+ lg: 28,
21
+ xl: 28,
22
+ '2xl': 32,
23
+ '3xl': 36,
24
+ '4xl': 40,
25
+ '5xl': '100%',
26
+ '6xl': '100%',
27
+ '7xl': '100%',
28
+ '8xl': '100%',
29
+ '9xl': '100%',
30
+ };
@@ -0,0 +1,24 @@
1
+ export declare const Spacings: {
2
+ readonly '000': 0;
3
+ readonly '025': 4;
4
+ readonly '0375': 6;
5
+ readonly '050': 8;
6
+ readonly '075': 12;
7
+ readonly '100': 16;
8
+ readonly '150': 24;
9
+ readonly '200': 32;
10
+ readonly '300': 48;
11
+ readonly '400': 64;
12
+ readonly '500': 80;
13
+ readonly '600': 96;
14
+ readonly '800': 128;
15
+ readonly '1200': 193;
16
+ readonly '1600': 256;
17
+ readonly '2400': 384;
18
+ readonly '3200': 512;
19
+ readonly '4000': 640;
20
+ readonly '4800': 768;
21
+ };
22
+ export type SpacingKey = keyof typeof Spacings;
23
+ export type Spacing = (typeof Spacings)[SpacingKey];
24
+ //# sourceMappingURL=Spacing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Spacing.d.ts","sourceRoot":"","sources":["../../src/constants/Spacing.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;CAoBX,CAAC;AAGX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,QAAQ,CAAC;AAC/C,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC"}
@@ -0,0 +1,21 @@
1
+ export const Spacings = {
2
+ '000': 0,
3
+ '025': 4,
4
+ '0375': 6,
5
+ '050': 8,
6
+ '075': 12,
7
+ '100': 16,
8
+ '150': 24,
9
+ '200': 32,
10
+ '300': 48,
11
+ '400': 64,
12
+ '500': 80,
13
+ '600': 96,
14
+ '800': 128,
15
+ '1200': 193,
16
+ '1600': 256,
17
+ '2400': 384,
18
+ '3200': 512,
19
+ '4000': 640,
20
+ '4800': 768,
21
+ };