linkedunion-design-kit 0.1.2 → 0.1.4
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/.next/types/app/page.d.ts +8 -0
- package/dist/.next/types/app/page.js +22 -0
- package/dist/app/layout.d.ts +6 -0
- package/dist/app/layout.jsx +13 -0
- package/dist/app/page.d.ts +1 -0
- package/dist/app/page.jsx +71 -0
- package/dist/components/Border/BorderRadius/BorderRadius.d.ts +2 -0
- package/dist/components/Border/BorderRadius/BorderRadius.jsx +12 -0
- package/dist/components/Border/BorderRadius/BorderRadius.stories.d.ts +4 -0
- package/dist/components/Border/BorderRadius/BorderRadius.stories.jsx +17 -0
- package/dist/components/Border/BorderRadius/BorderRadiusTable.d.ts +1 -0
- package/dist/components/Border/BorderRadius/BorderRadiusTable.jsx +61 -0
- package/dist/components/Border/BorderRadius/BorderRadiusView.d.ts +2 -0
- package/dist/components/Border/BorderRadius/BorderRadiusView.jsx +8 -0
- package/dist/components/Border/BorderWidth/BorderWidth.d.ts +2 -0
- package/dist/components/Border/BorderWidth/BorderWidth.jsx +12 -0
- package/dist/components/Border/BorderWidth/BorderWidth.stories.d.ts +4 -0
- package/dist/components/Border/BorderWidth/BorderWidth.stories.jsx +17 -0
- package/dist/components/Border/BorderWidth/BorderWidthTable.d.ts +1 -0
- package/dist/components/Border/BorderWidth/BorderWidthTable.jsx +36 -0
- package/dist/components/Border/BorderWidth/ViewBorderWidth.d.ts +2 -0
- package/dist/components/Border/BorderWidth/ViewBorderWidth.jsx +8 -0
- package/dist/components/Button/Button.d.ts +2 -0
- package/dist/components/Button/Button.jsx +16 -0
- package/dist/components/Button/Button.stories.d.ts +4 -0
- package/dist/components/Button/Button.stories.jsx +109 -0
- package/dist/components/Color/Color.d.ts +3 -0
- package/dist/components/Color/Color.jsx +16 -0
- package/dist/components/Color/Color.stories.d.ts +10 -0
- package/dist/components/Color/Color.stories.jsx +76 -0
- package/dist/components/Icons/IconView.d.ts +1 -0
- package/dist/components/Icons/IconView.jsx +23 -0
- package/dist/components/Icons/IconView.stories.d.ts +4 -0
- package/dist/components/Icons/IconView.stories.jsx +8 -0
- package/dist/components/Icons/LUIcon.d.ts +2 -0
- package/dist/components/Icons/LUIcon.jsx +20 -0
- package/dist/components/Icons/LUIcon.stories.d.ts +4 -0
- package/dist/components/Icons/LUIcon.stories.jsx +29 -0
- package/dist/components/Images/LuImage.d.ts +2 -0
- package/dist/components/Images/LuImage.jsx +6 -0
- package/dist/components/Images/LuImage.stories.d.ts +4 -0
- package/dist/components/Images/LuImage.stories.jsx +37 -0
- package/dist/components/Size/MinWidthHeight.d.ts +2 -0
- package/dist/components/Size/MinWidthHeight.jsx +8 -0
- package/dist/components/Size/MinWidthHeight.stories.d.ts +5 -0
- package/dist/components/Size/MinWidthHeight.stories.jsx +22 -0
- package/dist/components/Size/Size.d.ts +2 -0
- package/dist/components/Size/Size.jsx +6 -0
- package/dist/components/Size/Size.stories.d.ts +5 -0
- package/dist/components/Size/Size.stories.jsx +22 -0
- package/dist/components/Size/WidthHeight.d.ts +2 -0
- package/dist/components/Size/WidthHeight.jsx +8 -0
- package/dist/components/Size/WidthHeight.stories.d.ts +5 -0
- package/dist/components/Size/WidthHeight.stories.jsx +22 -0
- package/dist/components/Spacing/Margin/Margin.d.ts +1 -0
- package/dist/components/Spacing/Margin/Margin.jsx +86 -0
- package/dist/components/Spacing/Margin/MarginBottom.d.ts +1 -0
- package/dist/components/Spacing/Margin/MarginBottom.jsx +86 -0
- package/dist/components/Spacing/Margin/MarginLeft.d.ts +1 -0
- package/dist/components/Spacing/Margin/MarginLeft.jsx +86 -0
- package/dist/components/Spacing/Margin/MarginRight.d.ts +1 -0
- package/dist/components/Spacing/Margin/MarginRight.jsx +86 -0
- package/dist/components/Spacing/Margin/MarginToken.d.ts +1 -0
- package/dist/components/Spacing/Margin/MarginToken.jsx +27 -0
- package/dist/components/Spacing/Margin/MarginToken.stories.d.ts +4 -0
- package/dist/components/Spacing/Margin/MarginToken.stories.jsx +7 -0
- package/dist/components/Spacing/Margin/MarginTop.d.ts +1 -0
- package/dist/components/Spacing/Margin/MarginTop.jsx +87 -0
- package/dist/components/Spacing/Padding/Padding.d.ts +1 -0
- package/dist/components/Spacing/Padding/Padding.jsx +87 -0
- package/dist/components/Spacing/Padding/PaddingBottom.d.ts +1 -0
- package/dist/components/Spacing/Padding/PaddingBottom.jsx +86 -0
- package/dist/components/Spacing/Padding/PaddingLeft.d.ts +1 -0
- package/dist/components/Spacing/Padding/PaddingLeft.jsx +86 -0
- package/dist/components/Spacing/Padding/PaddingRight.d.ts +1 -0
- package/dist/components/Spacing/Padding/PaddingRight.jsx +87 -0
- package/dist/components/Spacing/Padding/PaddingToken.d.ts +1 -0
- package/dist/components/Spacing/Padding/PaddingToken.jsx +27 -0
- package/dist/components/Spacing/Padding/PaddingToken.stories.d.ts +4 -0
- package/dist/components/Spacing/Padding/PaddingToken.stories.jsx +7 -0
- package/dist/components/Spacing/Padding/PaddingTop.d.ts +1 -0
- package/dist/components/Spacing/Padding/PaddingTop.jsx +87 -0
- package/dist/components/Typography/Typography.d.ts +2 -0
- package/dist/components/Typography/Typography.jsx +8 -0
- package/dist/components/Typography/Typography.stories.d.ts +5 -0
- package/dist/components/Typography/Typography.stories.jsx +51 -0
- package/dist/global.css +10817 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +3 -2
- package/dist/tailwind.config.d.ts +3 -0
- package/dist/tailwind.config.js +138 -0
- package/dist/utils/enum.d.ts +13 -0
- package/dist/utils/enum.js +13 -0
- package/dist/utils/iconList.d.ts +5 -0
- package/dist/utils/iconList.js +807 -0
- package/dist/utils/index.d.ts +1358 -0
- package/dist/utils/index.js +1496 -0
- package/package.json +9 -3
- package/.eslintrc.json +0 -6
- package/.storybook/main.ts +0 -20
- package/.storybook/preview.ts +0 -15
- package/_test_/Color.test.js +0 -42
- package/_test_/Size.test.js +0 -21
- package/_test_/Typography.test.js +0 -32
- package/app/favicon.ico +0 -0
- package/app/globals.css +0 -58
- package/app/layout.tsx +0 -22
- package/app/page.tsx +0 -113
- package/components/Color/Color.stories.tsx +0 -87
- package/components/Color/Color.tsx +0 -19
- package/components/Size/Resizable.stories.tsx +0 -30
- package/components/Size/Resizable.tsx +0 -10
- package/components/Size/Size.stories.tsx +0 -30
- package/components/Size/Size.tsx +0 -8
- package/components/Typography/Typography.stories.tsx +0 -59
- package/components/Typography/Typography.tsx +0 -10
- package/index.ts +0 -5
- package/jest.config.js +0 -23
- package/jest.setup.js +0 -25
- package/next.config.js +0 -4
- package/package-lock.json +0 -12682
- package/postcss.config.js +0 -6
- package/public/next.svg +0 -1
- package/public/vercel.svg +0 -1
- package/tailwind.config.ts +0 -127
- package/tsconfig.json +0 -50
- package/types/interface.d.ts +0 -27
- package/utils/index.ts +0 -488
package/utils/index.ts
DELETED
|
@@ -1,488 +0,0 @@
|
|
|
1
|
-
//************Used for typography and color utilities Storybook************
|
|
2
|
-
export const text = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.";
|
|
3
|
-
|
|
4
|
-
export const colorGroups = {
|
|
5
|
-
primary: [
|
|
6
|
-
"bg-primary-0",
|
|
7
|
-
"bg-primary-100",
|
|
8
|
-
"bg-primary-200",
|
|
9
|
-
"bg-primary-300",
|
|
10
|
-
"bg-primary-400",
|
|
11
|
-
"bg-primary-500",
|
|
12
|
-
"bg-primary-600",
|
|
13
|
-
"bg-primary-700",
|
|
14
|
-
"bg-primary-800",
|
|
15
|
-
"bg-primary-900",
|
|
16
|
-
"bg-primary-1000",
|
|
17
|
-
],
|
|
18
|
-
gray: [
|
|
19
|
-
"bg-gray-0",
|
|
20
|
-
"bg-gray-100",
|
|
21
|
-
"bg-gray-200",
|
|
22
|
-
"bg-gray-300",
|
|
23
|
-
"bg-gray-400",
|
|
24
|
-
"bg-gray-500",
|
|
25
|
-
"bg-gray-600",
|
|
26
|
-
"bg-gray-700",
|
|
27
|
-
"bg-gray-800",
|
|
28
|
-
"bg-gray-900",
|
|
29
|
-
"bg-gray-1000",
|
|
30
|
-
],
|
|
31
|
-
success: [
|
|
32
|
-
"bg-success-0",
|
|
33
|
-
"bg-success-100",
|
|
34
|
-
"bg-success-200",
|
|
35
|
-
"bg-success-300",
|
|
36
|
-
"bg-success-400",
|
|
37
|
-
"bg-success-500",
|
|
38
|
-
"bg-success-600",
|
|
39
|
-
"bg-success-700",
|
|
40
|
-
"bg-success-800",
|
|
41
|
-
"bg-success-900",
|
|
42
|
-
"bg-success-1000",
|
|
43
|
-
],
|
|
44
|
-
warning: [
|
|
45
|
-
"bg-warning-0",
|
|
46
|
-
"bg-warning-100",
|
|
47
|
-
"bg-warning-200",
|
|
48
|
-
"bg-warning-300",
|
|
49
|
-
"bg-warning-400",
|
|
50
|
-
"bg-warning-500",
|
|
51
|
-
"bg-warning-600",
|
|
52
|
-
"bg-warning-700",
|
|
53
|
-
"bg-warning-800",
|
|
54
|
-
"bg-warning-900",
|
|
55
|
-
"bg-warning-1000",
|
|
56
|
-
],
|
|
57
|
-
danger: [
|
|
58
|
-
"bg-danger-0",
|
|
59
|
-
"bg-danger-100",
|
|
60
|
-
"bg-danger-200",
|
|
61
|
-
"bg-danger-300",
|
|
62
|
-
"bg-danger-400",
|
|
63
|
-
"bg-danger-500",
|
|
64
|
-
"bg-danger-600",
|
|
65
|
-
"bg-danger-700",
|
|
66
|
-
"bg-danger-800",
|
|
67
|
-
"bg-danger-900",
|
|
68
|
-
"bg-danger-1000",
|
|
69
|
-
],
|
|
70
|
-
info: [
|
|
71
|
-
"bg-info-0",
|
|
72
|
-
"bg-info-100",
|
|
73
|
-
"bg-info-200",
|
|
74
|
-
"bg-info-300",
|
|
75
|
-
"bg-info-400",
|
|
76
|
-
"bg-info-500",
|
|
77
|
-
"bg-info-600",
|
|
78
|
-
"bg-info-700",
|
|
79
|
-
"bg-info-800",
|
|
80
|
-
"bg-info-900",
|
|
81
|
-
"bg-info-1000",
|
|
82
|
-
]
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
export const fontSizes = [
|
|
86
|
-
{ key: 'lu-base-font-size', label: 'lu-base-font-size: 16px' },
|
|
87
|
-
{ key: 'lu-font-size-x-small', label: 'lu-font-size-x-small: 12px' },
|
|
88
|
-
{ key: 'lu-font-size-small', label: 'lu-font-size-small: 14px' },
|
|
89
|
-
{ key: 'lu-font-size-medium', label: 'lu-font-size-medium: 16px' },
|
|
90
|
-
{ key: 'lu-font-size-large', label: 'lu-font-size-large: 18px' },
|
|
91
|
-
{ key: 'lu-font-size-x-large', label: 'lu-font-size-x-large: 20px' },
|
|
92
|
-
{ key: 'lu-font-size-2x-large', label: 'lu-font-size-2x-large: 24px' },
|
|
93
|
-
{ key: 'lu-font-size-3x-large', label: 'lu-font-size-3x-large: 28px' },
|
|
94
|
-
{ key: 'lu-font-size-4x-large', label: 'lu-font-size-4x-large: 32px' },
|
|
95
|
-
{ key: 'lu-font-size-5x-large', label: 'lu-font-size-5x-large: 36px' },
|
|
96
|
-
{ key: 'lu-font-size-6x-large', label: 'lu-font-size-6x-large: 40px' },
|
|
97
|
-
{ key: 'lu-font-size-7x-large', label: 'lu-font-size-7x-large: 48px' },
|
|
98
|
-
{ key: 'lu-font-size-huge', label: 'lu-font-size-huge: 64px' },
|
|
99
|
-
];
|
|
100
|
-
|
|
101
|
-
export const fontWeights = [
|
|
102
|
-
{ key: 'lu-font-weight-thin', label: 'lu-font-weight-thin: 100' },
|
|
103
|
-
{ key: 'lu-font-weight-extra-light', label: 'lu-font-weight-extra-light: 200' },
|
|
104
|
-
{ key: 'lu-font-weight-light', label: 'lu-font-weight-light: 300' },
|
|
105
|
-
{ key: 'lu-font-weight-regular', label: 'lu-font-weight-regular: 400' },
|
|
106
|
-
{ key: 'lu-font-weight-medium', label: 'lu-font-weight-medium: 500' },
|
|
107
|
-
{ key: 'lu-font-weight-semibold', label: 'lu-font-weight-semibold: 600' },
|
|
108
|
-
{ key: 'lu-font-weight-bold', label: 'lu-font-weight-bold: 700' },
|
|
109
|
-
{ key: 'lu-font-weight-extra-bold', label: 'lu-font-weight-extra-bold: 800' },
|
|
110
|
-
{ key: 'lu-font-weight-black', label: 'lu-font-weight-black: 900' },
|
|
111
|
-
]
|
|
112
|
-
|
|
113
|
-
export const lineHeights = [
|
|
114
|
-
{ key: 'lu-line-height-xs', label: 'lu-line-height-xs: 1' },
|
|
115
|
-
{ key: 'lu-line-height-sm', label: 'lu-line-height-sm: 1.25' },
|
|
116
|
-
{ key: 'lu-line-height-base', label: 'lu-line-height-base: 1.5' },
|
|
117
|
-
{ key: 'lu-line-height-lg', label: 'lu-line-height-lg: 2' }
|
|
118
|
-
]
|
|
119
|
-
|
|
120
|
-
export const textAlignment = [
|
|
121
|
-
{key: 'lu-text-left', label: 'lu-text-left: left'},
|
|
122
|
-
{key: 'lu-text-center', label: 'lu-text-center: center'},
|
|
123
|
-
{key: 'lu-text-right', label: 'lu-text-right: right'},
|
|
124
|
-
{key: 'lu-text-justify', label: 'lu-text-justify: justify'},
|
|
125
|
-
{key: 'lu-text-space-between', label: 'lu-text-space-between: space-between'},
|
|
126
|
-
]
|
|
127
|
-
|
|
128
|
-
export const textTransform = [
|
|
129
|
-
{key: 'lu-text-lowercase', label: 'lu-text-lowercase: lowercase'},
|
|
130
|
-
{key: 'lu-text-uppercase', label: 'lu-text-uppercase: uppercase'},
|
|
131
|
-
{key: 'lu-text-capitalize', label: 'lu-text-capitalize: capitalize'},
|
|
132
|
-
]
|
|
133
|
-
export const textDecorations = [
|
|
134
|
-
{key: 'lu-text-decoration-none', label: 'lu-text-decoration-none: none'},
|
|
135
|
-
{key: 'lu-text-decoration-underline', label: 'lu-text-decoration-underline: underline'},
|
|
136
|
-
{key: 'lu-text-decoration-linethrough', label: 'lu-text-decoration-linethrough: linethrough'},
|
|
137
|
-
]
|
|
138
|
-
export const textWraps = [
|
|
139
|
-
{key: 'lu-text-wrap', label: 'lu-text-wrap: normal'},
|
|
140
|
-
{key: 'lu-text-nowrap', label: 'lu-text-nowrap: nowrap'},
|
|
141
|
-
]
|
|
142
|
-
|
|
143
|
-
export const sizes = [
|
|
144
|
-
{key: 'lu-size-050', label: 'lu-size-050: 4px'},
|
|
145
|
-
{key: 'lu-size-100', label: 'lu-size-100: 8px'},
|
|
146
|
-
{key: 'lu-size-200', label: 'lu-size-200: 16px'},
|
|
147
|
-
{key: 'lu-size-300', label: 'lu-size-300: 24px'},
|
|
148
|
-
{key: 'lu-size-400', label: 'lu-size-400: 32px'},
|
|
149
|
-
{key: 'lu-size-500', label: 'lu-size-500: 40px'},
|
|
150
|
-
{key: 'lu-size-600', label: 'lu-size-600: 48px'},
|
|
151
|
-
{key: 'lu-size-800', label: 'lu-size-800: 64px'},
|
|
152
|
-
{key: 'lu-size-1000', label: 'lu-size-1000: 80px'},
|
|
153
|
-
{key: 'lu-size-1500', label: 'lu-size-1500: 120px'},
|
|
154
|
-
{key: 'lu-size-2000', label: 'lu-size-2000: 160px'},
|
|
155
|
-
{key: 'lu-size-2500', label: 'lu-size-2500: 200px'}
|
|
156
|
-
]
|
|
157
|
-
|
|
158
|
-
export const widths = [
|
|
159
|
-
{key: 'lu-width-10', label: 'lu-width-10: 10%'},
|
|
160
|
-
{key: 'lu-width-25', label: 'lu-width-25: 25%'},
|
|
161
|
-
{key: 'lu-width-50', label: 'lu-width-50: 50%'},
|
|
162
|
-
{key: 'lu-width-75', label: 'lu-width-75: 75%'},
|
|
163
|
-
{key: 'lu-width-100', label: 'lu-width-100: 100%'}
|
|
164
|
-
]
|
|
165
|
-
|
|
166
|
-
export const heights = [
|
|
167
|
-
{key: 'lu-height-10', label: 'lu-height-10: 10%'},
|
|
168
|
-
{key: 'lu-height-25', label: 'lu-height-25: 25%'},
|
|
169
|
-
{key: 'lu-height-50', label: 'lu-height-50: 50%'},
|
|
170
|
-
{key: 'lu-height-75', label: 'lu-height-75: 75%'},
|
|
171
|
-
{key: 'lu-height-100', label: 'lu-height-100: 100%'}
|
|
172
|
-
]
|
|
173
|
-
|
|
174
|
-
export const spacings = [
|
|
175
|
-
{key: 'lu-space-0', label: 'lu-space-0: 0px'},
|
|
176
|
-
{key: 'lu-space-050', label: 'lu-space-050: 4px'},
|
|
177
|
-
{key: 'lu-space-100', label: 'lu-space-100: 8px'},
|
|
178
|
-
{key: 'lu-space-150', label: 'lu-space-150: 12px'},
|
|
179
|
-
{key: 'lu-space-200', label: 'lu-space-200: 16px'},
|
|
180
|
-
{key: 'lu-space-250', label: 'lu-space-250: 20px'},
|
|
181
|
-
{key: 'lu-space-300', label: 'lu-space-300: 24px'},
|
|
182
|
-
{key: 'lu-space-400', label: 'lu-space-400: 32px'},
|
|
183
|
-
{key: 'lu-space-500', label: 'lu-space-500: 40px'},
|
|
184
|
-
{key: 'lu-space-600', label: 'lu-space-600: 48px'},
|
|
185
|
-
{key: 'lu-space-800', label: 'lu-space-800: 64px'},
|
|
186
|
-
{key: 'lu-space-1000', label: 'lu-space-1000: 80px'},
|
|
187
|
-
{key: 'lu-space-1500', label: 'lu-space-1500: 120px'},
|
|
188
|
-
{key: 'lu-space-2000', label: 'lu-space-2000: 160px'},
|
|
189
|
-
{key: 'lu-space-2500', label: 'lu-space-2500: 200px'},
|
|
190
|
-
{key: 'lu-space-3000', label: 'lu-space-3000: 240px'}
|
|
191
|
-
]
|
|
192
|
-
|
|
193
|
-
//Plugin for generating utilities (Used in tailwind.config.js)
|
|
194
|
-
export default function generateUtilities(property: string, theme: (property: string) => Record<string, string>) {
|
|
195
|
-
const utilities = theme(property);
|
|
196
|
-
const newUtilities = Object.keys(utilities).reduce((acc: Record<string, Record<string, string>>, key) => {
|
|
197
|
-
acc[`.${key}`] = { [property]: utilities[key] };
|
|
198
|
-
return acc;
|
|
199
|
-
}, {});
|
|
200
|
-
return newUtilities;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
//************Used for tailwind configuration************
|
|
204
|
-
export const customColors = {
|
|
205
|
-
white: '#FEFEFE',
|
|
206
|
-
black: '#0F0F0F',
|
|
207
|
-
primary: {
|
|
208
|
-
0: '#FBFCFE',
|
|
209
|
-
100: '#E2EDF9',
|
|
210
|
-
200: '#B8D3EF',
|
|
211
|
-
300: '#8EB9E6',
|
|
212
|
-
400: '#649EDD',
|
|
213
|
-
500: '#3A84D4',
|
|
214
|
-
600: '#276AB3',
|
|
215
|
-
700: '#1E528A',
|
|
216
|
-
800: '#153960',
|
|
217
|
-
900: '#0C2036',
|
|
218
|
-
1000: '#03080D'
|
|
219
|
-
},
|
|
220
|
-
gray: {
|
|
221
|
-
0: '#FCFCFD',
|
|
222
|
-
100: '#ECEDEE',
|
|
223
|
-
200: '#D2D4D5',
|
|
224
|
-
300: '#B7BABD',
|
|
225
|
-
400: '#9DA1A5',
|
|
226
|
-
500: '#82878C',
|
|
227
|
-
600: '#696E72',
|
|
228
|
-
700: '#515458',
|
|
229
|
-
800: '#383B3D',
|
|
230
|
-
900: '#202122',
|
|
231
|
-
1000: '#070808'
|
|
232
|
-
},
|
|
233
|
-
success: {
|
|
234
|
-
0: '#FCFDFC',
|
|
235
|
-
100: '#EBF5F0',
|
|
236
|
-
200: '#D1E7DD',
|
|
237
|
-
300: '#A3CFBB',
|
|
238
|
-
400: '#75B798',
|
|
239
|
-
500: '#479F76',
|
|
240
|
-
600: '#198653',
|
|
241
|
-
700: '#146C43',
|
|
242
|
-
800: '#0F5132',
|
|
243
|
-
900: '#0A3622',
|
|
244
|
-
1000: '#051B11'
|
|
245
|
-
},
|
|
246
|
-
warning: {
|
|
247
|
-
0: '#FFFDF5',
|
|
248
|
-
100: '#FFF9E5',
|
|
249
|
-
200: '#FFF4CC',
|
|
250
|
-
300: '#FFE999',
|
|
251
|
-
400: '#FFDE66',
|
|
252
|
-
500: '#FFD333',
|
|
253
|
-
600: '#FFC700',
|
|
254
|
-
700: '#DBAC00',
|
|
255
|
-
800: '#8A6C00',
|
|
256
|
-
900: '#665000',
|
|
257
|
-
1000: '#473800'
|
|
258
|
-
},
|
|
259
|
-
danger: {
|
|
260
|
-
0: '#FFFAFA',
|
|
261
|
-
100: '#FFE0E4',
|
|
262
|
-
200: '#FEC6CB',
|
|
263
|
-
300: '#FD9EA7',
|
|
264
|
-
400: '#FC7784',
|
|
265
|
-
500: '#FA4F5F',
|
|
266
|
-
600: '#E0061B',
|
|
267
|
-
700: '#B30515',
|
|
268
|
-
800: '#73030E',
|
|
269
|
-
900: '#460208',
|
|
270
|
-
1000: '#230104'
|
|
271
|
-
},
|
|
272
|
-
info: {
|
|
273
|
-
0: '#FBFBFE',
|
|
274
|
-
100: '#ECE9FB',
|
|
275
|
-
200: '#D5CFF6',
|
|
276
|
-
300: '#C3BAF2',
|
|
277
|
-
400: '#ADA0EE',
|
|
278
|
-
500: '#8976E6',
|
|
279
|
-
600: '#6249DE',
|
|
280
|
-
700: '#4226CF',
|
|
281
|
-
800: '#341EA4',
|
|
282
|
-
900: '#261679',
|
|
283
|
-
1000: '#190E4E'
|
|
284
|
-
},
|
|
285
|
-
}
|
|
286
|
-
export const customFontSize = {
|
|
287
|
-
'lu-base-font-size': '16px',
|
|
288
|
-
'lu-font-size-x-small': '12px',
|
|
289
|
-
'lu-font-size-small': '14px',
|
|
290
|
-
'lu-font-size-medium': '16px',
|
|
291
|
-
'lu-font-size-large': '18px',
|
|
292
|
-
'lu-font-size-x-large': '20px',
|
|
293
|
-
'lu-font-size-2x-large': '24px',
|
|
294
|
-
'lu-font-size-3x-large': '28px',
|
|
295
|
-
'lu-font-size-4x-large': '32px',
|
|
296
|
-
'lu-font-size-5x-large': '36px',
|
|
297
|
-
'lu-font-size-6x-large': '40px',
|
|
298
|
-
'lu-font-size-7x-large': '48px',
|
|
299
|
-
'lu-font-size-huge': '64px',
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
export const customFontWeight = {
|
|
303
|
-
'lu-font-weight-thin': '100',
|
|
304
|
-
'lu-font-weight-extra-light': '200',
|
|
305
|
-
'lu-font-weight-light': '300',
|
|
306
|
-
'lu-font-weight-regular': '400',
|
|
307
|
-
'lu-font-weight-medium': '500',
|
|
308
|
-
'lu-font-weight-semibold': '600',
|
|
309
|
-
'lu-font-weight-bold': '700',
|
|
310
|
-
'lu-font-weight-extra-bold': '800',
|
|
311
|
-
'lu-font-weight-black': '900',
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
export const customLineHeight = {
|
|
315
|
-
'lu-line-height-xs': '1',
|
|
316
|
-
'lu-line-height-sm': '1.25',
|
|
317
|
-
'lu-line-height-base': '1.5',
|
|
318
|
-
'lu-line-height-lg': '2',
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
export const customTextAlignment = {
|
|
322
|
-
'lu-text-left': 'left',
|
|
323
|
-
'lu-text-center': 'center',
|
|
324
|
-
'lu-text-right': 'right',
|
|
325
|
-
'lu-text-justify': 'justify',
|
|
326
|
-
'lu-text-space-between': 'space-between',
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
export const customTextTransform = {
|
|
330
|
-
'lu-text-lowercase': 'lowercase',
|
|
331
|
-
'lu-text-uppercase': 'uppercase',
|
|
332
|
-
'lu-text-capitalize': 'capitalize',
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
export const customTextDecoration = {
|
|
336
|
-
'lu-text-decoration-none': 'none',
|
|
337
|
-
'lu-text-decoration-underline': 'underline',
|
|
338
|
-
'lu-text-decoration-linethrough': 'line-through',
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
export const customTextWrap = {
|
|
342
|
-
'lu-text-wrap': 'normal',
|
|
343
|
-
'lu-text-nowrap': 'nowrap',
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
export const customSize = {
|
|
347
|
-
'lu-size-050': '4px',
|
|
348
|
-
'lu-size-100': '8px',
|
|
349
|
-
'lu-size-200': '16px',
|
|
350
|
-
'lu-size-300': '24px',
|
|
351
|
-
'lu-size-400': '32px',
|
|
352
|
-
'lu-size-500': '40px',
|
|
353
|
-
'lu-size-600': '48px',
|
|
354
|
-
'lu-size-800': '64px',
|
|
355
|
-
'lu-size-1000': '80px',
|
|
356
|
-
'lu-size-1500': '120px',
|
|
357
|
-
'lu-size-2000': '160px',
|
|
358
|
-
'lu-size-2500': '200px',
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
export const customWidth = {
|
|
362
|
-
'lu-width-10': '10%',
|
|
363
|
-
'lu-width-25': '25%',
|
|
364
|
-
'lu-width-50': '50%',
|
|
365
|
-
'lu-width-75': '75%',
|
|
366
|
-
'lu-width-100': '100%'
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
export const customHeight = {
|
|
370
|
-
'lu-height-10': '10%',
|
|
371
|
-
'lu-height-25': '25%',
|
|
372
|
-
'lu-height-50': '50%',
|
|
373
|
-
'lu-height-75': '75%',
|
|
374
|
-
'lu-height-100': '100%'
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
export const customMinWidth = {
|
|
378
|
-
'lu-min-width-400': '32px',
|
|
379
|
-
'lu-min-width-500': '40px',
|
|
380
|
-
'lu-min-width-600': '48px',
|
|
381
|
-
'lu-min-width-800': '64px',
|
|
382
|
-
'lu-min-width-1000': '80px',
|
|
383
|
-
'lu-min-width-1500': '120px',
|
|
384
|
-
'lu-min-width-2000': '160px',
|
|
385
|
-
'lu-min-width-2500': '200px',
|
|
386
|
-
'lu-min-width-3000': '240px',
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
export const customMinHeight = {
|
|
390
|
-
'lu-min-height-400': '32px',
|
|
391
|
-
'lu-min-height-500': '40px',
|
|
392
|
-
'lu-min-height-600': '48px',
|
|
393
|
-
'lu-min-height-800': '64px',
|
|
394
|
-
'lu-min-height-1000': '80px',
|
|
395
|
-
'lu-min-height-1500': '120px',
|
|
396
|
-
'lu-min-height-2000': '160px',
|
|
397
|
-
'lu-min-height-2500': '200px',
|
|
398
|
-
'lu-min-height-3000': '240px',
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
export const customLogoSize = {
|
|
402
|
-
'lu-primary-logo': '75px',
|
|
403
|
-
'lu-secondary-logo': '32px',
|
|
404
|
-
'lu-favicon-logo': '32px'
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
export const customSpacing = {
|
|
408
|
-
'lu-space-0': '0px',
|
|
409
|
-
'lu-space-050': '4px',
|
|
410
|
-
'lu-space-100': '8px',
|
|
411
|
-
'lu-space-150': '12px',
|
|
412
|
-
'lu-space-200': '16px',
|
|
413
|
-
'lu-space-250': '20px',
|
|
414
|
-
'lu-space-300': '24px',
|
|
415
|
-
'lu-space-400': '32px',
|
|
416
|
-
'lu-space-500': '40px',
|
|
417
|
-
'lu-space-600': '48px',
|
|
418
|
-
'lu-space-800': '64px',
|
|
419
|
-
'lu-space-1000': '80px',
|
|
420
|
-
'lu-space-1500': '120px',
|
|
421
|
-
'lu-space-2000': '160px',
|
|
422
|
-
'lu-space-2500': '200px',
|
|
423
|
-
'lu-space-3000': '240px'
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
export const customOpacity = {
|
|
427
|
-
'lu-opacity-0': '0.0',
|
|
428
|
-
'lu-opacity-5': '0.05',
|
|
429
|
-
'lu-opacity-10': '0.1',
|
|
430
|
-
'lu-opacity-15': '0.15',
|
|
431
|
-
'lu-opacity-20': '0.2',
|
|
432
|
-
'lu-opacity-25': '0.25',
|
|
433
|
-
'lu-opacity-30': '0.3',
|
|
434
|
-
'lu-opacity-40': '0.4',
|
|
435
|
-
'lu-opacity-50': '0.5',
|
|
436
|
-
'lu-opacity-60': '0.6',
|
|
437
|
-
'lu-opacity-70': '0.7',
|
|
438
|
-
'lu-opacity-75': '0.75',
|
|
439
|
-
'lu-opacity-80': '0.8',
|
|
440
|
-
'lu-opacity-90': '0.9',
|
|
441
|
-
'lu-opacity-95': '0.95',
|
|
442
|
-
'lu-opacity-100': '1',
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
export const customBorderWidth = {
|
|
446
|
-
'lu-border-width-0125': '1px',
|
|
447
|
-
'lu-border-width-025': '2px',
|
|
448
|
-
'lu-border-width-050': '4px',
|
|
449
|
-
'lu-border-width-100': '8px',
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
export const customBorderRadius = {
|
|
453
|
-
'lu-border-rounded-none': '0px',
|
|
454
|
-
'lu-border-rounded-xs': '2px',
|
|
455
|
-
'lu-border-rounded-sm': '4px',
|
|
456
|
-
'lu-border-rounded-md': '6px',
|
|
457
|
-
'lu-border-rounded-lg': '8px',
|
|
458
|
-
'lu-border-rounded-xl': '12px',
|
|
459
|
-
'lu-border-rounded-2xl': '16px',
|
|
460
|
-
'lu-border-rounded-3xl': '24px',
|
|
461
|
-
'lu-border-rounded-full': '9999px',
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
export const customAspectRatio = {
|
|
465
|
-
'lu-aspect-square': '1 / 1',
|
|
466
|
-
'lu-aspect-2/1-landsc': '2 / 1',
|
|
467
|
-
'lu-aspect-1/2-por': '1 / 2',
|
|
468
|
-
'lu-aspect-3/2-landsc': '3 / 2',
|
|
469
|
-
'lu-aspect-2/3-por': '2 / 3',
|
|
470
|
-
'lu-aspect-4/3-landsc': '4/3',
|
|
471
|
-
'lu-aspect-3/4-por': '3 / 4',
|
|
472
|
-
'lu-aspect-5/4-landsc': '5 / 4',
|
|
473
|
-
'lu-aspect-4/5-por': '4 / 5',
|
|
474
|
-
'lu-aspect-7/5-landsc': '7 / 5',
|
|
475
|
-
'lu-aspect-5/7-por': '5 / 7',
|
|
476
|
-
'lu-aspect-16/9-landsc': '16 / 9',
|
|
477
|
-
'lu-aspect-9/16-por': '9 / 16',
|
|
478
|
-
'lu-aspect-21/9-landscape': '21 / 9',
|
|
479
|
-
'lu-aspect-9/21-por': '9 / 21',
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
export const customBoxShadow = {
|
|
483
|
-
'lu-shadow-xs': '0px 4px 4px 0 rgba(52, 52, 52, 0.05)',
|
|
484
|
-
'lu-shadow-sm': '0px 4px 8px 0 rgba(52, 52, 52, 0.1)',
|
|
485
|
-
'lu-shadow-md': '0px 4px 12px 0 rgba(52, 52, 52, 0.15)',
|
|
486
|
-
'lu-shadow-lg': '0px 4px 18px 0 rgba(52, 52, 52, 0.15)',
|
|
487
|
-
'lu-shadow-xl': '0px 8px 24px 0 rgba(52, 52, 52, 0.15)',
|
|
488
|
-
}
|