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