@bobbykim/manguito-theme 0.18.0 → 0.20.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 (68) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +12 -12
  3. package/dist/core.cjs +2 -0
  4. package/dist/core.d.ts +790 -0
  5. package/dist/core.js +2175 -0
  6. package/dist/mcl-theme.cjs +1 -0
  7. package/dist/mcl-theme.d.ts +12 -0
  8. package/dist/mcl-theme.js +608 -0
  9. package/package.json +28 -7
  10. package/CHANGELOG.md +0 -150
  11. package/index.d.ts +0 -14
  12. package/index.js +0 -19
  13. package/index.ts +0 -31
  14. package/lib/alert/Alert.vue +0 -92
  15. package/lib/alert/Alert.vue.d.ts +0 -65
  16. package/lib/collapse/Collapse.vue +0 -118
  17. package/lib/collapse/Collapse.vue.d.ts +0 -55
  18. package/lib/composables/index.d.ts +0 -1
  19. package/lib/composables/index.js +0 -1
  20. package/lib/composables/index.ts +0 -1
  21. package/lib/composables/observeVisible.d.ts +0 -6
  22. package/lib/composables/observeVisible.js +0 -24
  23. package/lib/composables/observeVisible.ts +0 -30
  24. package/lib/directives/index.d.ts +0 -6
  25. package/lib/directives/index.js +0 -186
  26. package/lib/directives/index.ts +0 -211
  27. package/lib/directives/index.types.d.ts +0 -14
  28. package/lib/directives/index.types.js +0 -1
  29. package/lib/directives/index.types.ts +0 -15
  30. package/lib/dropdown/DropdownContainer.vue +0 -50
  31. package/lib/dropdown/DropdownContainer.vue.d.ts +0 -19
  32. package/lib/dropdown/DropdownContent.vue +0 -69
  33. package/lib/dropdown/DropdownContent.vue.d.ts +0 -42
  34. package/lib/dropdown/index.types.d.ts +0 -4
  35. package/lib/dropdown/index.types.js +0 -1
  36. package/lib/dropdown/index.types.ts +0 -4
  37. package/lib/header/HeaderHorizontal.vue +0 -158
  38. package/lib/header/HeaderHorizontal.vue.d.ts +0 -84
  39. package/lib/header/HeaderVertical.vue +0 -116
  40. package/lib/header/HeaderVertical.vue.d.ts +0 -70
  41. package/lib/header/NavDrawer.vue +0 -121
  42. package/lib/header/NavDrawer.vue.d.ts +0 -43
  43. package/lib/header/index.types.d.ts +0 -1
  44. package/lib/header/index.types.js +0 -1
  45. package/lib/header/index.types.ts +0 -1
  46. package/lib/modal/Modal.vue +0 -213
  47. package/lib/modal/Modal.vue.d.ts +0 -108
  48. package/lib/sidebar/Sidebar.vue +0 -242
  49. package/lib/sidebar/Sidebar.vue.d.ts +0 -113
  50. package/lib/theme/generateClass.d.ts +0 -2
  51. package/lib/theme/generateClass.js +0 -18
  52. package/lib/theme/generateClass.ts +0 -25
  53. package/lib/theme/index.d.ts +0 -95
  54. package/lib/theme/index.js +0 -642
  55. package/lib/theme/index.ts +0 -676
  56. package/lib/theme/theme.d.ts +0 -89
  57. package/lib/theme/theme.js +0 -851
  58. package/lib/theme/theme.ts +0 -893
  59. package/lib/theme/theme.types.d.ts +0 -21
  60. package/lib/theme/theme.types.js +0 -1
  61. package/lib/theme/theme.types.ts +0 -68
  62. package/lib/tooltip/index.d.ts +0 -62
  63. package/lib/tooltip/index.js +0 -71
  64. package/lib/tooltip/index.ts +0 -76
  65. package/themeVariables.cjs +0 -607
  66. package/tsconfig.json +0 -5
  67. package/tsconfig.ts.json +0 -9
  68. package/tsconfig.vue.json +0 -9
@@ -1,851 +0,0 @@
1
- class MCLTheme {
2
- // bg color class
3
- static bgColor = {
4
- primary: 'bg-primary',
5
- secondary: 'bg-secondary',
6
- success: 'bg-success',
7
- danger: 'bg-danger',
8
- info: 'bg-info',
9
- warning: 'bg-warning',
10
- 'light-1': 'bg-light-1',
11
- 'light-2': 'bg-light-2',
12
- 'light-3': 'bg-light-3',
13
- 'light-4': 'bg-light-4',
14
- 'dark-1': 'bg-dark-1',
15
- 'dark-2': 'bg-dark-2',
16
- 'dark-3': 'bg-dark-3',
17
- 'dark-4': 'bg-dark-4',
18
- black: 'bg-black',
19
- white: 'bg-white',
20
- transparent: 'bg-transparent',
21
- };
22
- // hover: bg color class
23
- static hoverBgColor = {
24
- primary: 'hover:bg-primary',
25
- secondary: 'hover:bg-secondary',
26
- success: 'hover:bg-success',
27
- danger: 'hover:bg-danger',
28
- info: 'hover:bg-info',
29
- warning: 'hover:bg-warning',
30
- 'light-1': 'hover:bg-light-1',
31
- 'light-2': 'hover:bg-light-2',
32
- 'light-3': 'hover:bg-light-3',
33
- 'light-4': 'hover:bg-light-4',
34
- 'dark-1': 'hover:bg-dark-1',
35
- 'dark-2': 'hover:bg-dark-2',
36
- 'dark-3': 'hover:bg-dark-3',
37
- 'dark-4': 'hover:bg-dark-4',
38
- black: 'hover:bg-black',
39
- white: 'hover:bg-white',
40
- transparent: 'hover:bg-transparent',
41
- };
42
- // focus: bg color class
43
- static focusBgColor = {
44
- primary: 'focus:bg-primary',
45
- secondary: 'focus:bg-secondary',
46
- success: 'focus:bg-success',
47
- danger: 'focus:bg-danger',
48
- info: 'focus:bg-info',
49
- warning: 'focus:bg-warning',
50
- 'light-1': 'focus:bg-light-1',
51
- 'light-2': 'focus:bg-light-2',
52
- 'light-3': 'focus:bg-light-3',
53
- 'light-4': 'focus:bg-light-4',
54
- 'dark-1': 'focus:bg-dark-1',
55
- 'dark-2': 'focus:bg-dark-2',
56
- 'dark-3': 'focus:bg-dark-3',
57
- 'dark-4': 'focus:bg-dark-4',
58
- black: 'focus:bg-black',
59
- white: 'focus:bg-white',
60
- transparent: 'focus:bg-transparent',
61
- };
62
- // ::before bg color class
63
- static beforeBgColor = {
64
- primary: 'before:bg-primary',
65
- secondary: 'before:bg-secondary',
66
- success: 'before:bg-success',
67
- danger: 'before:bg-danger',
68
- info: 'before:bg-info',
69
- warning: 'before:bg-warning',
70
- 'light-1': 'before:bg-light-1',
71
- 'light-2': 'before:bg-light-2',
72
- 'light-3': 'before:bg-light-3',
73
- 'light-4': 'before:bg-light-4',
74
- 'dark-1': 'before:bg-dark-1',
75
- 'dark-2': 'before:bg-dark-2',
76
- 'dark-3': 'before:bg-dark-3',
77
- 'dark-4': 'before:bg-dark-4',
78
- black: 'before:bg-black',
79
- white: 'before:bg-white',
80
- transparent: 'before:bg-transparent',
81
- };
82
- // ::after bg color class
83
- static afterBgColor = {
84
- primary: 'after:bg-primary',
85
- secondary: 'after:bg-secondary',
86
- success: 'after:bg-success',
87
- danger: 'after:bg-danger',
88
- info: 'after:bg-info',
89
- warning: 'after:bg-warning',
90
- 'light-1': 'after:bg-light-1',
91
- 'light-2': 'after:bg-light-2',
92
- 'light-3': 'after:bg-light-3',
93
- 'light-4': 'after:bg-light-4',
94
- 'dark-1': 'after:bg-dark-1',
95
- 'dark-2': 'after:bg-dark-2',
96
- 'dark-3': 'after:bg-dark-3',
97
- 'dark-4': 'after:bg-dark-4',
98
- black: 'after:bg-black',
99
- white: 'after:bg-white',
100
- transparent: 'after:bg-transparent',
101
- };
102
- // active:bg color class
103
- static bgActiveColor = {
104
- primary: 'active:bg-primary',
105
- secondary: 'active:bg-secondary',
106
- success: 'active:bg-success',
107
- danger: 'active:bg-danger',
108
- info: 'active:bg-info',
109
- warning: 'active:bg-warning',
110
- 'light-1': 'active:bg-light-1',
111
- 'light-2': 'active:bg-light-2',
112
- 'light-3': 'active:bg-light-3',
113
- 'light-4': 'active:bg-light-4',
114
- 'dark-1': 'active:bg-dark-1',
115
- 'dark-2': 'active:bg-dark-2',
116
- 'dark-3': 'active:bg-dark-3',
117
- 'dark-4': 'active:bg-dark-4',
118
- black: 'active:bg-black',
119
- white: 'active:bg-white',
120
- transparent: 'active:bg-transparent',
121
- };
122
- // text color class
123
- static textColor = {
124
- primary: 'text-primary',
125
- secondary: 'text-secondary',
126
- success: 'text-success',
127
- danger: 'text-danger',
128
- info: 'text-info',
129
- warning: 'text-warning',
130
- 'light-1': 'text-light-1',
131
- 'light-2': 'text-light-2',
132
- 'light-3': 'text-light-3',
133
- 'light-4': 'text-light-4',
134
- 'dark-1': 'text-dark-1',
135
- 'dark-2': 'text-dark-2',
136
- 'dark-3': 'text-dark-3',
137
- 'dark-4': 'text-dark-4',
138
- black: 'text-black',
139
- white: 'text-white',
140
- transparent: 'text-transparent',
141
- };
142
- // hover text color class
143
- static hoverTextColor = {
144
- primary: 'hover:text-primary',
145
- secondary: 'hover:text-secondary',
146
- success: 'hover:text-success',
147
- danger: 'hover:text-danger',
148
- info: 'hover:text-info',
149
- warning: 'hover:text-warning',
150
- 'light-1': 'hover:text-light-1',
151
- 'light-2': 'hover:text-light-2',
152
- 'light-3': 'hover:text-light-3',
153
- 'light-4': 'hover:text-light-4',
154
- 'dark-1': 'hover:text-dark-1',
155
- 'dark-2': 'hover:text-dark-2',
156
- 'dark-3': 'hover:text-dark-3',
157
- 'dark-4': 'hover:text-dark-4',
158
- black: 'hover:text-black',
159
- white: 'hover:text-white',
160
- transparent: 'hover:text-transparent',
161
- };
162
- // focus text color class
163
- static focusTextColor = {
164
- primary: 'focus:text-primary',
165
- secondary: 'focus:text-secondary',
166
- success: 'focus:text-success',
167
- danger: 'focus:text-danger',
168
- info: 'focus:text-info',
169
- warning: 'focus:text-warning',
170
- 'light-1': 'focus:text-light-1',
171
- 'light-2': 'focus:text-light-2',
172
- 'light-3': 'focus:text-light-3',
173
- 'light-4': 'focus:text-light-4',
174
- 'dark-1': 'focus:text-dark-1',
175
- 'dark-2': 'focus:text-dark-2',
176
- 'dark-3': 'focus:text-dark-3',
177
- 'dark-4': 'focus:text-dark-4',
178
- black: 'focus:text-black',
179
- white: 'focus:text-white',
180
- transparent: 'focus:text-transparent',
181
- };
182
- // disabled text color class
183
- static disabledTextColor = {
184
- primary: 'disabled:text-primary',
185
- secondary: 'disabled:text-secondary',
186
- success: 'disabled:text-success',
187
- danger: 'disabled:text-danger',
188
- info: 'disabled:text-info',
189
- warning: 'disabled:text-warning',
190
- 'light-1': 'disabled:text-light-1',
191
- 'light-2': 'disabled:text-light-2',
192
- 'light-3': 'disabled:text-light-3',
193
- 'light-4': 'disabled:text-light-4',
194
- 'dark-1': 'disabled:text-dark-1',
195
- 'dark-2': 'disabled:text-dark-2',
196
- 'dark-3': 'disabled:text-dark-3',
197
- 'dark-4': 'disabled:text-dark-4',
198
- black: 'disabled:text-black',
199
- white: 'disabled:text-white',
200
- transparent: 'disabled:text-transparent',
201
- };
202
- // SVG fill color class
203
- static svgFillColor = {
204
- primary: 'fill-primary',
205
- secondary: 'fill-secondary',
206
- success: 'fill-success',
207
- danger: 'fill-danger',
208
- info: 'fill-info',
209
- warning: 'fill-warning',
210
- 'light-1': 'fill-light-1',
211
- 'light-2': 'fill-light-2',
212
- 'light-3': 'fill-light-3',
213
- 'light-4': 'fill-light-4',
214
- 'dark-1': 'fill-dark-1',
215
- 'dark-2': 'fill-dark-2',
216
- 'dark-3': 'fill-dark-3',
217
- 'dark-4': 'fill-dark-4',
218
- black: 'fill-black',
219
- white: 'fill-white',
220
- transparent: 'fill-transparent',
221
- };
222
- // ring color class
223
- static ringColor = {
224
- primary: 'ring-primary',
225
- secondary: 'ring-secondary',
226
- success: 'ring-success',
227
- danger: 'ring-danger',
228
- info: 'ring-info',
229
- warning: 'ring-warning',
230
- 'light-1': 'ring-light-1',
231
- 'light-2': 'ring-light-2',
232
- 'light-3': 'ring-light-3',
233
- 'light-4': 'ring-light-4',
234
- 'dark-1': 'ring-dark-1',
235
- 'dark-2': 'ring-dark-2',
236
- 'dark-3': 'ring-dark-3',
237
- 'dark-4': 'ring-dark-4',
238
- black: 'ring-black',
239
- white: 'ring-white',
240
- transparent: 'ring-transparent',
241
- };
242
- // focus:ring color class
243
- static ringFocusColor = {
244
- primary: 'focus:ring-primary',
245
- secondary: 'focus:ring-secondary',
246
- success: 'focus:ring-success',
247
- danger: 'focus:ring-danger',
248
- info: 'focus:ring-info',
249
- warning: 'focus:ring-warning',
250
- 'light-1': 'focus:ring-light-1',
251
- 'light-2': 'focus:ring-light-2',
252
- 'light-3': 'focus:ring-light-3',
253
- 'light-4': 'focus:ring-light-4',
254
- 'dark-1': 'focus:ring-dark-1',
255
- 'dark-2': 'focus:ring-dark-2',
256
- 'dark-3': 'focus:ring-dark-3',
257
- 'dark-4': 'focus:ring-dark-4',
258
- black: 'focus:ring-black',
259
- white: 'focus:ring-white',
260
- transparent: 'focus:ring-transparent',
261
- };
262
- // active:ring color class
263
- static ringActiveColor = {
264
- primary: 'active:ring-primary',
265
- secondary: 'active:ring-secondary',
266
- success: 'active:ring-success',
267
- danger: 'active:ring-danger',
268
- info: 'active:ring-info',
269
- warning: 'active:ring-warning',
270
- 'light-1': 'active:ring-light-1',
271
- 'light-2': 'active:ring-light-2',
272
- 'light-3': 'active:ring-light-3',
273
- 'light-4': 'active:ring-light-4',
274
- 'dark-1': 'active:ring-dark-1',
275
- 'dark-2': 'active:ring-dark-2',
276
- 'dark-3': 'active:ring-dark-3',
277
- 'dark-4': 'active:ring-dark-4',
278
- black: 'active:ring-black',
279
- white: 'active:ring-white',
280
- transparent: 'active:ring-transparent',
281
- };
282
- // ring-offset color class
283
- static ringOffsetColor = {
284
- primary: 'ring-offset-primary',
285
- secondary: 'ring-offset-secondary',
286
- success: 'ring-offset-success',
287
- danger: 'ring-offset-danger',
288
- info: 'ring-offset-info',
289
- warning: 'ring-offset-warning',
290
- 'light-1': 'ring-offset-light-1',
291
- 'light-2': 'ring-offset-light-2',
292
- 'light-3': 'ring-offset-light-3',
293
- 'light-4': 'ring-offset-light-4',
294
- 'dark-1': 'ring-offset-dark-1',
295
- 'dark-2': 'ring-offset-dark-2',
296
- 'dark-3': 'ring-offset-dark-3',
297
- 'dark-4': 'ring-offset-dark-4',
298
- black: 'ring-offset-black',
299
- white: 'ring-offset-white',
300
- transparent: 'ring-offset-transparent',
301
- };
302
- static dummyColor = {
303
- primary: 'ring-offset-primary',
304
- secondary: 'ring-offset-secondary',
305
- success: 'ring-offset-success',
306
- danger: 'ring-offset-danger',
307
- info: 'ring-offset-info',
308
- warning: 'ring-offset-warning',
309
- 'light-1': 'ring-offset-light-1',
310
- 'light-2': 'ring-offset-light-2',
311
- 'light-3': 'ring-offset-light-3',
312
- 'light-4': 'ring-offset-light-4',
313
- 'dark-1': 'ring-offset-dark-1',
314
- 'dark-2': 'ring-offset-dark-2',
315
- 'dark-3': 'ring-offset-dark-3',
316
- 'dark-4': 'ring-offset-dark-4',
317
- black: 'ring-offset-black',
318
- white: 'ring-offset-white',
319
- transparent: 'ring-offset-transparent',
320
- };
321
- // btn color class
322
- static btnColor = {
323
- primary: 'btn-primary',
324
- secondary: 'btn-secondary',
325
- success: 'btn-success',
326
- danger: 'btn-danger',
327
- info: 'btn-info',
328
- warning: 'btn-warning',
329
- 'light-1': 'btn-light-1',
330
- 'light-2': 'btn-light-2',
331
- 'light-3': 'btn-light-3',
332
- 'light-4': 'btn-light-4',
333
- 'dark-1': 'btn-dark-1',
334
- 'dark-2': 'btn-dark-2',
335
- 'dark-3': 'btn-dark-3',
336
- 'dark-4': 'btn-dark-4',
337
- black: 'btn-black',
338
- white: 'btn-white',
339
- transparent: 'btn-transparent',
340
- };
341
- // list color class
342
- static listColor = {
343
- primary: 'mcl-list-primary',
344
- secondary: 'mcl-list-secondary',
345
- success: 'mcl-list-success',
346
- danger: 'mcl-list-danger',
347
- info: 'mcl-list-info',
348
- warning: 'mcl-list-warning',
349
- 'light-1': 'mcl-list-light-1',
350
- 'light-2': 'mcl-list-light-2',
351
- 'light-3': 'mcl-list-light-3',
352
- 'light-4': 'mcl-list-light-4',
353
- 'dark-1': 'mcl-list-dark-1',
354
- 'dark-2': 'mcl-list-dark-2',
355
- 'dark-3': 'mcl-list-dark-3',
356
- 'dark-4': 'mcl-list-dark-4',
357
- black: 'mcl-list-black',
358
- white: 'mcl-list-white',
359
- transparent: 'mcl-list-transparent',
360
- };
361
- // h1 class
362
- static heading1 = {
363
- sm: 'h1-sm',
364
- md: 'h1-md',
365
- lg: 'h1-lg',
366
- xl: 'h1-xl',
367
- };
368
- // h2 class
369
- static heading2 = {
370
- sm: 'h2-sm',
371
- md: 'h2-md',
372
- lg: 'h2-lg',
373
- xl: 'h2-xl',
374
- };
375
- // h3 class
376
- static heading3 = {
377
- sm: 'h3-sm',
378
- md: 'h3-md',
379
- lg: 'h3-lg',
380
- xl: 'h3-xl',
381
- };
382
- // h4 class
383
- static heading4 = {
384
- sm: 'h4-sm',
385
- md: 'h4-md',
386
- lg: 'h4-lg',
387
- xl: 'h4-xl',
388
- };
389
- // body text class
390
- static bodyText = {
391
- xs: 'text-xs',
392
- sm: 'text-sm',
393
- md: 'text-md',
394
- lg: 'text-lg',
395
- xl: 'text-xl',
396
- };
397
- // font weight class
398
- static fontweight = {
399
- light: 'font-light',
400
- normal: 'font-normal',
401
- bold: 'font-bold',
402
- };
403
- // border color classes
404
- static borderColor = {
405
- primary: 'border-primary',
406
- secondary: 'border-secondary',
407
- success: 'border-success',
408
- danger: 'border-danger',
409
- info: 'border-info',
410
- warning: 'border-warning',
411
- 'light-1': 'border-light-1',
412
- 'light-2': 'border-light-2',
413
- 'light-3': 'border-light-3',
414
- 'light-4': 'border-light-4',
415
- 'dark-1': 'border-dark-1',
416
- 'dark-2': 'border-dark-2',
417
- 'dark-3': 'border-dark-3',
418
- 'dark-4': 'border-dark-4',
419
- black: 'border-black',
420
- white: 'border-white',
421
- transparent: 'border-transparent',
422
- };
423
- static borderXColor = {
424
- primary: 'border-x-primary',
425
- secondary: 'border-x-secondary',
426
- success: 'border-x-success',
427
- danger: 'border-x-danger',
428
- info: 'border-x-info',
429
- warning: 'border-x-warning',
430
- 'light-1': 'border-x-light-1',
431
- 'light-2': 'border-x-light-2',
432
- 'light-3': 'border-x-light-3',
433
- 'light-4': 'border-x-light-4',
434
- 'dark-1': 'border-x-dark-1',
435
- 'dark-2': 'border-x-dark-2',
436
- 'dark-3': 'border-x-dark-3',
437
- 'dark-4': 'border-x-dark-4',
438
- black: 'border-x-black',
439
- white: 'border-x-white',
440
- transparent: 'border-x-transparent',
441
- };
442
- static borderYColor = {
443
- primary: 'border-y-primary',
444
- secondary: 'border-y-secondary',
445
- success: 'border-y-success',
446
- danger: 'border-y-danger',
447
- info: 'border-y-info',
448
- warning: 'border-y-warning',
449
- 'light-1': 'border-y-light-1',
450
- 'light-2': 'border-y-light-2',
451
- 'light-3': 'border-y-light-3',
452
- 'light-4': 'border-y-light-4',
453
- 'dark-1': 'border-y-dark-1',
454
- 'dark-2': 'border-y-dark-2',
455
- 'dark-3': 'border-y-dark-3',
456
- 'dark-4': 'border-y-dark-4',
457
- black: 'border-y-black',
458
- white: 'border-y-white',
459
- transparent: 'border-y-transparent',
460
- };
461
- static borderTopColor = {
462
- primary: 'border-t-primary',
463
- secondary: 'border-t-secondary',
464
- success: 'border-t-success',
465
- danger: 'border-t-danger',
466
- info: 'border-t-info',
467
- warning: 'border-t-warning',
468
- 'light-1': 'border-t-light-1',
469
- 'light-2': 'border-t-light-2',
470
- 'light-3': 'border-t-light-3',
471
- 'light-4': 'border-t-light-4',
472
- 'dark-1': 'border-t-dark-1',
473
- 'dark-2': 'border-t-dark-2',
474
- 'dark-3': 'border-t-dark-3',
475
- 'dark-4': 'border-t-dark-4',
476
- black: 'border-t-black',
477
- white: 'border-t-white',
478
- transparent: 'border-t-transparent',
479
- };
480
- static borderBottomColor = {
481
- primary: 'border-b-primary',
482
- secondary: 'border-b-secondary',
483
- success: 'border-b-success',
484
- danger: 'border-b-danger',
485
- info: 'border-b-info',
486
- warning: 'border-b-warning',
487
- 'light-1': 'border-b-light-1',
488
- 'light-2': 'border-b-light-2',
489
- 'light-3': 'border-b-light-3',
490
- 'light-4': 'border-b-light-4',
491
- 'dark-1': 'border-b-dark-1',
492
- 'dark-2': 'border-b-dark-2',
493
- 'dark-3': 'border-b-dark-3',
494
- 'dark-4': 'border-b-dark-4',
495
- black: 'border-b-black',
496
- white: 'border-b-white',
497
- transparent: 'border-b-transparent',
498
- };
499
- static borderLeftColor = {
500
- primary: 'border-l-primary',
501
- secondary: 'border-l-secondary',
502
- success: 'border-l-success',
503
- danger: 'border-l-danger',
504
- info: 'border-l-info',
505
- warning: 'border-l-warning',
506
- 'light-1': 'border-l-light-1',
507
- 'light-2': 'border-l-light-2',
508
- 'light-3': 'border-l-light-3',
509
- 'light-4': 'border-l-light-4',
510
- 'dark-1': 'border-l-dark-1',
511
- 'dark-2': 'border-l-dark-2',
512
- 'dark-3': 'border-l-dark-3',
513
- 'dark-4': 'border-l-dark-4',
514
- black: 'border-l-black',
515
- white: 'border-l-white',
516
- transparent: 'border-l-transparent',
517
- };
518
- static borderRightColor = {
519
- primary: 'border-r-primary',
520
- secondary: 'border-r-secondary',
521
- success: 'border-r-success',
522
- danger: 'border-r-danger',
523
- info: 'border-r-info',
524
- warning: 'border-r-warning',
525
- 'light-1': 'border-r-light-1',
526
- 'light-2': 'border-r-light-2',
527
- 'light-3': 'border-r-light-3',
528
- 'light-4': 'border-r-light-4',
529
- 'dark-1': 'border-r-dark-1',
530
- 'dark-2': 'border-r-dark-2',
531
- 'dark-3': 'border-r-dark-3',
532
- 'dark-4': 'border-r-dark-4',
533
- black: 'border-r-black',
534
- white: 'border-r-white',
535
- transparent: 'border-r-transparent',
536
- };
537
- // Border width class
538
- static borderWidth = {
539
- 1: 'border-[1px]',
540
- 2: 'border-[2px]',
541
- 3: 'border-[3px]',
542
- 4: 'border-[4px]',
543
- 5: 'border-[5px]',
544
- 6: 'border-[6px]',
545
- 7: 'border-[7px]',
546
- 8: 'border-[8px]',
547
- 9: 'border-[9px]',
548
- 10: 'border-[10px]',
549
- 11: 'border-[11px]',
550
- 12: 'border-[12px]',
551
- };
552
- static borderXWidth = {
553
- 1: 'border-x-[1px]',
554
- 2: 'border-x-[2px]',
555
- 3: 'border-x-[3px]',
556
- 4: 'border-x-[4px]',
557
- 5: 'border-x-[5px]',
558
- 6: 'border-x-[6px]',
559
- 7: 'border-x-[7px]',
560
- 8: 'border-x-[8px]',
561
- 9: 'border-x-[9px]',
562
- 10: 'border-x-[10px]',
563
- 11: 'border-x-[11px]',
564
- 12: 'border-x-[12px]',
565
- };
566
- static borderYWidth = {
567
- 1: 'border-y-[1px]',
568
- 2: 'border-y-[2px]',
569
- 3: 'border-y-[3px]',
570
- 4: 'border-y-[4px]',
571
- 5: 'border-y-[5px]',
572
- 6: 'border-y-[6px]',
573
- 7: 'border-y-[7px]',
574
- 8: 'border-y-[8px]',
575
- 9: 'border-y-[9px]',
576
- 10: 'border-y-[10px]',
577
- 11: 'border-y-[11px]',
578
- 12: 'border-y-[12px]',
579
- };
580
- static borderTopWidth = {
581
- 1: 'border-t-[1px]',
582
- 2: 'border-t-[2px]',
583
- 3: 'border-t-[3px]',
584
- 4: 'border-t-[4px]',
585
- 5: 'border-t-[5px]',
586
- 6: 'border-t-[6px]',
587
- 7: 'border-t-[7px]',
588
- 8: 'border-t-[8px]',
589
- 9: 'border-t-[9px]',
590
- 10: 'border-t-[10px]',
591
- 11: 'border-t-[11px]',
592
- 12: 'border-t-[12px]',
593
- };
594
- static borderBottomWidth = {
595
- 1: 'border-b-[1px]',
596
- 2: 'border-b-[2px]',
597
- 3: 'border-b-[3px]',
598
- 4: 'border-b-[4px]',
599
- 5: 'border-b-[5px]',
600
- 6: 'border-b-[6px]',
601
- 7: 'border-b-[7px]',
602
- 8: 'border-b-[8px]',
603
- 9: 'border-b-[9px]',
604
- 10: 'border-b-[10px]',
605
- 11: 'border-b-[11px]',
606
- 12: 'border-b-[12px]',
607
- };
608
- static borderLeftWidth = {
609
- 1: 'border-l-[1px]',
610
- 2: 'border-l-[2px]',
611
- 3: 'border-l-[3px]',
612
- 4: 'border-l-[4px]',
613
- 5: 'border-l-[5px]',
614
- 6: 'border-l-[6px]',
615
- 7: 'border-l-[7px]',
616
- 8: 'border-l-[8px]',
617
- 9: 'border-l-[9px]',
618
- 10: 'border-l-[10px]',
619
- 11: 'border-l-[11px]',
620
- 12: 'border-l-[12px]',
621
- };
622
- static borderRightWidth = {
623
- 1: 'border-r-[1px]',
624
- 2: 'border-r-[2px]',
625
- 3: 'border-r-[3px]',
626
- 4: 'border-r-[4px]',
627
- 5: 'border-r-[5px]',
628
- 6: 'border-r-[6px]',
629
- 7: 'border-r-[7px]',
630
- 8: 'border-r-[8px]',
631
- 9: 'border-r-[9px]',
632
- 10: 'border-r-[10px]',
633
- 11: 'border-r-[11px]',
634
- 12: 'border-r-[12px]',
635
- };
636
- // opacity
637
- static backgroundOpacity = {
638
- 10: 'bg-opacity-10',
639
- 20: 'bg-opacity-20',
640
- 30: 'bg-opacity-30',
641
- 40: 'bg-opacity-40',
642
- 50: 'bg-opacity-50',
643
- 60: 'bg-opacity-60',
644
- 70: 'bg-opacity-70',
645
- 80: 'bg-opacity-80',
646
- 90: 'bg-opacity-90',
647
- 100: 'bg-opacity-100',
648
- };
649
- static opacity = {
650
- 10: 'opacity-10',
651
- 20: 'opacity-20',
652
- 30: 'opacity-30',
653
- 40: 'opacity-40',
654
- 50: 'opacity-50',
655
- 60: 'opacity-60',
656
- 70: 'opacity-70',
657
- 80: 'opacity-80',
658
- 90: 'opacity-90',
659
- 100: 'opacity-100',
660
- };
661
- // spacing: margin
662
- static margin = {
663
- '0': 'm-0',
664
- '3xs': 'm-3xs',
665
- '2xs': 'm-2xs',
666
- xs: 'm-xs',
667
- sm: 'm-sm',
668
- md: 'm-md',
669
- lg: 'm-lg',
670
- xl: 'm-xl',
671
- '2xl': 'm-2xl',
672
- '3xl': 'm-3xl',
673
- };
674
- static marginX = {
675
- '0': 'mx-0',
676
- '3xs': 'mx-3xs',
677
- '2xs': 'mx-2xs',
678
- xs: 'mx-xs',
679
- sm: 'mx-sm',
680
- md: 'mx-md',
681
- lg: 'mx-lg',
682
- xl: 'mx-xl',
683
- '2xl': 'mx-2xl',
684
- '3xl': 'mx-3xl',
685
- };
686
- static marginY = {
687
- '0': 'my-0',
688
- '3xs': 'my-3xs',
689
- '2xs': 'my-2xs',
690
- xs: 'my-xs',
691
- sm: 'my-sm',
692
- md: 'my-md',
693
- lg: 'my-lg',
694
- xl: 'my-xl',
695
- '2xl': 'my-2xl',
696
- '3xl': 'my-3xl',
697
- };
698
- static marginTop = {
699
- '0': 'mt-0',
700
- '3xs': 'mt-3xs',
701
- '2xs': 'mt-2xs',
702
- xs: 'mt-xs',
703
- sm: 'mt-sm',
704
- md: 'mt-md',
705
- lg: 'mt-lg',
706
- xl: 'mt-xl',
707
- '2xl': 'mt-2xl',
708
- '3xl': 'mt-3xl',
709
- };
710
- static marginBottom = {
711
- '0': 'mb-0',
712
- '3xs': 'mb-3xs',
713
- '2xs': 'mb-2xs',
714
- xs: 'mb-xs',
715
- sm: 'mb-sm',
716
- md: 'mb-md',
717
- lg: 'mb-lg',
718
- xl: 'mb-xl',
719
- '2xl': 'mb-2xl',
720
- '3xl': 'mb-3xl',
721
- };
722
- static marginLeft = {
723
- '0': 'ml-0',
724
- '3xs': 'ml-3xs',
725
- '2xs': 'ml-2xs',
726
- xs: 'ml-xs',
727
- sm: 'ml-sm',
728
- md: 'ml-md',
729
- lg: 'ml-lg',
730
- xl: 'ml-xl',
731
- '2xl': 'ml-2xl',
732
- '3xl': 'ml-3xl',
733
- };
734
- static marginRight = {
735
- '0': 'mr-0',
736
- '3xs': 'mr-3xs',
737
- '2xs': 'mr-2xs',
738
- xs: 'mr-xs',
739
- sm: 'mr-sm',
740
- md: 'mr-md',
741
- lg: 'mr-lg',
742
- xl: 'mr-xl',
743
- '2xl': 'mr-2xl',
744
- '3xl': 'mr-3xl',
745
- };
746
- // spacing: padding
747
- static padding = {
748
- '0': 'p-0',
749
- '3xs': 'p-3xs',
750
- '2xs': 'p-2xs',
751
- xs: 'p-xs',
752
- sm: 'p-sm',
753
- md: 'p-md',
754
- lg: 'p-lg',
755
- xl: 'p-xl',
756
- '2xl': 'p-2xl',
757
- '3xl': 'p-3xl',
758
- };
759
- static paddingX = {
760
- '0': 'px-0',
761
- '3xs': 'px-3xs',
762
- '2xs': 'px-2xs',
763
- xs: 'px-xs',
764
- sm: 'px-sm',
765
- md: 'px-md',
766
- lg: 'px-lg',
767
- xl: 'px-xl',
768
- '2xl': 'px-2xl',
769
- '3xl': 'px-3xl',
770
- };
771
- static paddingY = {
772
- '0': 'py-0',
773
- '3xs': 'py-3xs',
774
- '2xs': 'py-2xs',
775
- xs: 'py-xs',
776
- sm: 'py-sm',
777
- md: 'py-md',
778
- lg: 'py-lg',
779
- xl: 'py-xl',
780
- '2xl': 'py-2xl',
781
- '3xl': 'py-3xl',
782
- };
783
- static paddingTop = {
784
- '0': 'pt-0',
785
- '3xs': 'pt-3xs',
786
- '2xs': 'pt-2xs',
787
- xs: 'pt-xs',
788
- sm: 'pt-sm',
789
- md: 'pt-md',
790
- lg: 'pt-lg',
791
- xl: 'pt-xl',
792
- '2xl': 'pt-2xl',
793
- '3xl': 'pt-3xl',
794
- };
795
- static paddingBottom = {
796
- '0': 'pb-0',
797
- '3xs': 'pb-3xs',
798
- '2xs': 'pb-2xs',
799
- xs: 'pb-xs',
800
- sm: 'pb-sm',
801
- md: 'pb-md',
802
- lg: 'pb-lg',
803
- xl: 'pb-xl',
804
- '2xl': 'pb-2xl',
805
- '3xl': 'pb-3xl',
806
- };
807
- static paddingLeft = {
808
- '0': 'pl-0',
809
- '3xs': 'pl-3xs',
810
- '2xs': 'pl-2xs',
811
- xs: 'pl-xs',
812
- sm: 'pl-sm',
813
- md: 'pl-md',
814
- lg: 'pl-lg',
815
- xl: 'pl-xl',
816
- '2xl': 'pl-2xl',
817
- '3xl': 'pl-3xl',
818
- };
819
- static paddingRight = {
820
- '0': 'pr-0',
821
- '3xs': 'pr-3xs',
822
- '2xs': 'pr-2xs',
823
- xs: 'pr-xs',
824
- sm: 'pr-sm',
825
- md: 'pr-md',
826
- lg: 'pr-lg',
827
- xl: 'pr-xl',
828
- '2xl': 'pr-2xl',
829
- '3xl': 'pr-3xl',
830
- };
831
- // spacing gap class for flex/grid
832
- static gap = {
833
- '0': 'gap-0',
834
- '3xs': 'gap-3xs',
835
- '2xs': 'gap-2xs',
836
- xs: 'gap-xs',
837
- sm: 'gap-sm',
838
- md: 'gap-md',
839
- lg: 'gap-lg',
840
- xl: 'gap-xl',
841
- '2xl': 'gap-2xl',
842
- '3xl': 'gap-3xl',
843
- };
844
- // text alignment
845
- static textAlign = {
846
- left: 'text-left',
847
- center: 'text-center',
848
- right: 'text-right',
849
- };
850
- }
851
- export default MCLTheme;