cmat 0.0.21 → 0.0.23

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 (95) hide show
  1. package/components/material-color-picker/base-color.d.ts +1 -0
  2. package/components/select-tree/select-tree.component.d.ts +1 -1
  3. package/fesm2022/cmat-components-adapter.mjs +9 -9
  4. package/fesm2022/cmat-components-breadcrumb.mjs +9 -9
  5. package/fesm2022/cmat-components-card.mjs +4 -4
  6. package/fesm2022/cmat-components-card.mjs.map +1 -1
  7. package/fesm2022/cmat-components-carousel.mjs +12 -12
  8. package/fesm2022/cmat-components-cascade.mjs +9 -9
  9. package/fesm2022/cmat-components-chip-input.mjs +3 -3
  10. package/fesm2022/cmat-components-custom-formly.mjs +94 -94
  11. package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
  12. package/fesm2022/cmat-components-date-range.mjs +3 -3
  13. package/fesm2022/cmat-components-drawer.mjs +6 -6
  14. package/fesm2022/cmat-components-fullscreen.mjs +3 -3
  15. package/fesm2022/cmat-components-highlight.mjs +6 -6
  16. package/fesm2022/cmat-components-image-viewer.mjs +3 -3
  17. package/fesm2022/cmat-components-json-editor.mjs +3 -3
  18. package/fesm2022/cmat-components-knob-input.mjs +3 -3
  19. package/fesm2022/cmat-components-masonry.mjs +3 -3
  20. package/fesm2022/cmat-components-material-color-picker.mjs +16 -4
  21. package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -1
  22. package/fesm2022/cmat-components-material-datetimepicker.mjs +43 -43
  23. package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
  24. package/fesm2022/cmat-components-navigation.mjs +40 -40
  25. package/fesm2022/cmat-components-navigation.mjs.map +1 -1
  26. package/fesm2022/cmat-components-opt-input.mjs +3 -3
  27. package/fesm2022/cmat-components-org-chart.mjs +9 -9
  28. package/fesm2022/cmat-components-pagination.mjs +15 -13
  29. package/fesm2022/cmat-components-pagination.mjs.map +1 -1
  30. package/fesm2022/cmat-components-password-strength.mjs +9 -9
  31. package/fesm2022/cmat-components-popover.mjs +9 -9
  32. package/fesm2022/cmat-components-progress-bar.mjs +4 -4
  33. package/fesm2022/cmat-components-progress-bar.mjs.map +1 -1
  34. package/fesm2022/cmat-components-rating.mjs +3 -3
  35. package/fesm2022/cmat-components-select-search.mjs +9 -9
  36. package/fesm2022/cmat-components-select-table.mjs +4 -4
  37. package/fesm2022/cmat-components-select-table.mjs.map +1 -1
  38. package/fesm2022/cmat-components-select-tree.mjs +6 -6
  39. package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
  40. package/fesm2022/cmat-components-speed-dial.mjs +9 -9
  41. package/fesm2022/cmat-components-timeline.mjs +13 -13
  42. package/fesm2022/cmat-components-timeline.mjs.map +1 -1
  43. package/fesm2022/cmat-components-toast.mjs +9 -9
  44. package/fesm2022/cmat-components-transfer-picker.mjs +19 -19
  45. package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
  46. package/fesm2022/cmat-components-treetable.mjs +6 -6
  47. package/fesm2022/cmat-components-upload.mjs +11 -11
  48. package/fesm2022/cmat-components-upload.mjs.map +1 -1
  49. package/fesm2022/cmat-directives-animate-on-scroll.mjs +9 -11
  50. package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +1 -1
  51. package/fesm2022/cmat-directives-arrow-cursor.mjs +3 -3
  52. package/fesm2022/cmat-directives-autofocus.mjs +3 -3
  53. package/fesm2022/cmat-directives-data-exporter.mjs +21 -21
  54. package/fesm2022/cmat-directives-debounce.mjs +9 -9
  55. package/fesm2022/cmat-directives-digit-only.mjs +6 -6
  56. package/fesm2022/cmat-directives-equal-validator.mjs +3 -3
  57. package/fesm2022/cmat-lib-mock-api.mjs +6 -6
  58. package/fesm2022/cmat-pipes-bytes.mjs +3 -3
  59. package/fesm2022/cmat-pipes-date-format.mjs +3 -3
  60. package/fesm2022/cmat-pipes-find-by-key.mjs +3 -3
  61. package/fesm2022/cmat-pipes-group-by.mjs +3 -3
  62. package/fesm2022/cmat-pipes-keys.mjs +3 -3
  63. package/fesm2022/cmat-pipes-secure.mjs +3 -3
  64. package/fesm2022/cmat-pipes-uppercase.mjs +3 -3
  65. package/fesm2022/cmat-services-alert.mjs +3 -3
  66. package/fesm2022/cmat-services-config.mjs +6 -6
  67. package/fesm2022/cmat-services-confirmation.mjs +7 -7
  68. package/fesm2022/cmat-services-confirmation.mjs.map +1 -1
  69. package/fesm2022/cmat-services-data.mjs +3 -3
  70. package/fesm2022/cmat-services-export-as.mjs +7 -7
  71. package/fesm2022/cmat-services-export-as.mjs.map +1 -1
  72. package/fesm2022/cmat-services-loading.mjs +6 -6
  73. package/fesm2022/cmat-services-local-storage.mjs +3 -3
  74. package/fesm2022/cmat-services-media-watcher.mjs +3 -3
  75. package/fesm2022/cmat-services-platform.mjs +3 -3
  76. package/fesm2022/cmat-services-splash-screen.mjs +3 -3
  77. package/fesm2022/cmat-services-title.mjs +3 -3
  78. package/fesm2022/cmat-services-translation.mjs +3 -3
  79. package/fesm2022/cmat-services-utils.mjs +3 -3
  80. package/package.json +56 -56
  81. package/styles/components/bundle.scss +23 -25
  82. package/styles/components/input.scss +2 -0
  83. package/styles/overrides/angular-material.scss +75 -59
  84. package/styles/overrides/fullcalendar.scss +3 -1
  85. package/styles/overrides/quill.scss +8 -6
  86. package/styles/tailwind.scss +99 -15
  87. package/styles/user-themes.scss +1 -1
  88. package/tailwind/plugins/helpers.js +16 -0
  89. package/tailwind/plugins/scrollbar/index.js +31 -0
  90. package/tailwind/plugins/scrollbar/typedefs.js +9 -0
  91. package/tailwind/plugins/scrollbar/utilities.js +201 -0
  92. package/tailwind/plugins/scrollbar/variants.js +30 -0
  93. package/tailwind/plugins/theming.js +257 -256
  94. package/tailwind/plugins/utilities.js +12 -25
  95. package/tailwind/utils/json-to-sass-map.js +28 -36
@@ -1,3 +1,4 @@
1
+ @reference "tailwindcss/theme";
1
2
  /* ----------------------------------------------------------------------------------------------------- */
2
3
  /* @ Angular Material CDK helpers & overrides
3
4
  /* ----------------------------------------------------------------------------------------------------- */
@@ -11,7 +12,7 @@
11
12
  /* @ Overlay
12
13
  /* ----------------------------------------------------------------------------------------------------- */
13
14
  .cmat-backdrop-on-mobile {
14
- @apply bg-black bg-opacity-60 sm:bg-transparent #{'!important'};
15
+ @apply bg-black/60 sm:bg-transparent;
15
16
  }
16
17
 
17
18
  /* -------------------------------------------------------------------------- */
@@ -40,7 +41,7 @@
40
41
  border-radius: 8px !important;
41
42
  border-width: 1px;
42
43
  transition: box-shadow 225ms cubic-bezier(0.4, 0, 0.2, 1);
43
- @apply border-gray-300 dark:border-gray-500 shadow #{'!important'};
44
+ @apply border-gray-300 dark:border-gray-500 shadow-sm;
44
45
 
45
46
  &:last-child {
46
47
  margin-bottom: 0;
@@ -48,7 +49,7 @@
48
49
 
49
50
  &.mat-expanded,
50
51
  &:hover {
51
- @apply shadow-lg #{'!important'};
52
+ @apply shadow-lg;
52
53
  }
53
54
 
54
55
  &:not(.mat-expanded) {
@@ -89,7 +90,7 @@
89
90
 
90
91
  .mat-expansion-panel-body {
91
92
  line-height: 1.7;
92
- @apply text-secondary #{'!important'};
93
+ @apply text-secondary;
93
94
  }
94
95
  }
95
96
 
@@ -210,7 +211,7 @@
210
211
 
211
212
  .dark & {
212
213
  --mat-mdc-button-persistent-ripple-color: theme('colors.black') !important;
213
- --mat-mdc-button-ripple-color: rgba(0, 0, 0, 0.1) !important;
214
+ --mat-mdc-button-ripple-color: rgba(0, 0, 0, 0.1) !important;
214
215
  }
215
216
 
216
217
  .mat-icon {
@@ -218,10 +219,19 @@
218
219
  }
219
220
 
220
221
  .mat-ripple-element {
221
- @apply bg-black/10 #{'!important'};
222
+ @apply bg-black/10;
222
223
  }
223
224
  }
224
225
 
226
+ .mat-mdc-icon-button{
227
+ --mat-icon-button-hover-state-layer-opacity:0.04 !important;
228
+
229
+ .dark & {
230
+ --mat-icon-button-hover-state-layer-opacity:0.1 !important;
231
+ }
232
+
233
+ }
234
+
225
235
  /* Color the icons of transparent background buttons */
226
236
  .mat-mdc-button,
227
237
  .mat-mdc-icon-button,
@@ -233,7 +243,7 @@
233
243
  &.mat-primary {
234
244
 
235
245
  .mat-icon {
236
- @apply text-primary #{'!important'};
246
+ @apply text-primary;
237
247
  }
238
248
  }
239
249
 
@@ -241,7 +251,7 @@
241
251
  &.mat-accent {
242
252
 
243
253
  .mat-icon {
244
- @apply text-accent #{'!important'};
254
+ @apply text-accent!;
245
255
  }
246
256
  }
247
257
 
@@ -249,7 +259,7 @@
249
259
  &.mat-warn {
250
260
 
251
261
  .mat-icon {
252
- @apply text-warn #{'!important'};
262
+ @apply text-warn;
253
263
  }
254
264
  }
255
265
  }
@@ -260,12 +270,12 @@
260
270
 
261
271
  /* Not disabled */
262
272
  &:not([disabled=true]) {
263
- @apply border-gray-300 dark:border-gray-500 #{'!important'};
273
+ @apply border-gray-300 dark:border-gray-500;
264
274
  }
265
275
 
266
276
  /* Disabled */
267
277
  &[disabled=true] {
268
- @apply border-gray-300/70 dark:border-gray-600 #{'!important'};
278
+ @apply border-gray-300/70 dark:border-gray-600;
269
279
  }
270
280
  }
271
281
 
@@ -279,14 +289,13 @@
279
289
 
280
290
  .mat-mdc-icon-button{
281
291
  &:hover{
282
- @apply animate-wiggle #{'!important'};
292
+ @apply animate-wiggle;
283
293
  }
284
294
  }
285
295
  /* ----------------------------------------------------------------------------------------------------- */
286
296
  /* @ Button Toggle
287
297
  /* ----------------------------------------------------------------------------------------------------- */
288
298
  .mat-button-toggle-group {
289
- border: none !important;
290
299
 
291
300
  &.mat-button-toggle-group-appearance-standard {
292
301
  .mat-button-toggle+.mat-button-toggle {
@@ -301,7 +310,7 @@
301
310
 
302
311
  &.mat-button-toggle-checked {
303
312
  .mat-button-toggle-label-content {
304
- @apply text-primary #{'!important'};
313
+ @apply text-primary;
305
314
  }
306
315
  }
307
316
 
@@ -323,6 +332,9 @@
323
332
  padding-right: 12px;
324
333
  }
325
334
  }
335
+ .mat-mdc-checkbox.mat-mdc-checkbox-disabled label{
336
+ @apply text-disabled;
337
+ }
326
338
 
327
339
  /* -------------------------------------------------------------------------- */
328
340
  /* @ Chip
@@ -369,7 +381,7 @@
369
381
 
370
382
  /* Border color */
371
383
  .mat-mdc-text-field-wrapper {
372
- @apply border-warn dark:border-warn #{'!important'};
384
+ @apply border-warn dark:border-warn;
373
385
  }
374
386
 
375
387
  /* Select */
@@ -377,7 +389,7 @@
377
389
 
378
390
  /* Placeholder color */
379
391
  .mat-mdc-select-placeholder {
380
- @apply text-warn #{'!important'};
392
+ @apply text-warn;
381
393
  }
382
394
  }
383
395
  }
@@ -403,7 +415,7 @@
403
415
 
404
416
  /* Border color */
405
417
  .mat-mdc-text-field-wrapper {
406
- @apply border-primary dark:border-primary #{'!important'};
418
+ @apply border-primary dark:border-primary;
407
419
  }
408
420
  }
409
421
 
@@ -440,7 +452,7 @@
440
452
  border-radius: 6px;
441
453
  border-width: 1px;
442
454
  border-style: solid;
443
- @apply shadow-sm bg-white border-gray-300 dark:bg-black dark:bg-opacity-20 dark:border-gray-500 #{'!important'};
455
+ @apply shadow-xs bg-white border-gray-300 dark:bg-black/20 dark:border-gray-500;
444
456
 
445
457
  /* Adjust the top spacing and overflow when mat-label present */
446
458
  &:not(.mdc-text-field--no-label) {
@@ -511,7 +523,7 @@
511
523
  display: inline-flex;
512
524
  align-items: center;
513
525
  justify-content: center;
514
- @apply text-hint #{'!important'};
526
+ @apply text-hint;
515
527
 
516
528
  .mat-mdc-icon-button {
517
529
  width: 40px;
@@ -541,7 +553,7 @@
541
553
  .mat-mdc-select-trigger {
542
554
 
543
555
  .mat-mdc-select-value {
544
- @apply text-primary #{'!important'};
556
+ @apply text-primary;
545
557
  }
546
558
 
547
559
  .mat-mdc-select-arrow-wrapper {
@@ -577,7 +589,7 @@
577
589
 
578
590
  .mat-mdc-select-arrow {
579
591
  min-height: 0;
580
- @apply text-gray-500 dark:text-gray-400 #{'!important'};
592
+ @apply text-gray-500 dark:text-gray-400;
581
593
  }
582
594
  }
583
595
  }
@@ -602,7 +614,7 @@
602
614
  transform: none !important;
603
615
  pointer-events: auto;
604
616
  font-weight: 500;
605
- @apply text-default #{'!important'};
617
+ @apply text-default;
606
618
  }
607
619
 
608
620
  /* Textarea */
@@ -635,7 +647,7 @@
635
647
  }
636
648
 
637
649
  .mat-mdc-form-field-hint {
638
- @apply text-hint #{'!important'};
650
+ @apply text-hint;
639
651
  }
640
652
  }
641
653
 
@@ -891,7 +903,7 @@
891
903
  .mat-mdc-form-field-text-prefix,
892
904
  .mat-mdc-form-field-icon-suffix,
893
905
  .mat-mdc-form-field-text-suffix {
894
- @apply bg-default border-gray-300 dark:border-gray-500 #{'!important'};
906
+ @apply bg-default border-gray-300 dark:border-gray-500;
895
907
  }
896
908
  }
897
909
  }
@@ -971,7 +983,7 @@
971
983
  .mdc-notched-outline__leading,
972
984
  .mdc-notched-outline__notch,
973
985
  .mdc-notched-outline__trailing {
974
- @apply border-slate-300 dark:border-slate-500 #{'!important'};
986
+ @apply border-slate-300 dark:border-slate-500;
975
987
  }
976
988
  }
977
989
  }
@@ -1022,22 +1034,22 @@
1022
1034
 
1023
1035
  &::placeholder {
1024
1036
  transition: none !important;
1025
- @apply text-hint #{'!important'};
1037
+ @apply text-hint;
1026
1038
  }
1027
1039
 
1028
1040
  &::-moz-placeholder {
1029
1041
  transition: none !important;
1030
- @apply text-hint #{'!important'};
1042
+ @apply text-hint;
1031
1043
  }
1032
1044
 
1033
1045
  &::-webkit-input-placeholder {
1034
1046
  transition: none !important;
1035
- @apply text-hint #{'!important'};
1047
+ @apply text-hint;
1036
1048
  }
1037
1049
 
1038
1050
  &:-ms-input-placeholder {
1039
1051
  transition: none !important;
1040
- @apply text-hint #{'!important'};
1052
+ @apply text-hint;
1041
1053
  }
1042
1054
  }
1043
1055
 
@@ -1048,19 +1060,19 @@
1048
1060
 
1049
1061
  /* Placeholder color */
1050
1062
  &::placeholder {
1051
- @apply text-warn #{'!important'};
1063
+ @apply text-warn;
1052
1064
  }
1053
1065
 
1054
1066
  &::-moz-placeholder {
1055
- @apply text-warn #{'!important'};
1067
+ @apply text-warn;
1056
1068
  }
1057
1069
 
1058
1070
  &::-webkit-input-placeholder {
1059
- @apply text-warn #{'!important'};
1071
+ @apply text-warn;
1060
1072
  }
1061
1073
 
1062
1074
  &:-ms-input-placeholder {
1063
- @apply text-warn #{'!important'};
1075
+ @apply text-warn;
1064
1076
  }
1065
1077
  }
1066
1078
  }
@@ -1087,8 +1099,7 @@
1087
1099
  }
1088
1100
 
1089
1101
  .mat-icon-no-color {
1090
- --tw-text-opacity: 1;
1091
- color: rgba(var(--cmat-icon-rgb), var(--tw-text-opacity));
1102
+ color: rgba(var(--cmat-icon-rgb), 1);
1092
1103
  }
1093
1104
  }
1094
1105
 
@@ -1159,7 +1170,7 @@
1159
1170
 
1160
1171
  .mat-mdc-select-placeholder {
1161
1172
  transition: none !important;
1162
- @apply text-hint #{'!important'};
1173
+ @apply text-hint;
1163
1174
  }
1164
1175
 
1165
1176
  .mat-mdc-select-trigger {
@@ -1194,6 +1205,11 @@
1194
1205
  @apply dark:border;
1195
1206
  }
1196
1207
 
1208
+ .mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,
1209
+ .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after {
1210
+ color:white !important;
1211
+ }
1212
+
1197
1213
  /* -------------------------------------------------------------------------- */
1198
1214
  /* @ Slide Toggle
1199
1215
  /* -------------------------------------------------------------------------- */
@@ -1223,10 +1239,10 @@
1223
1239
  }
1224
1240
  .mat-mdc-table {
1225
1241
  .mat-mdc-header-row{
1226
- @apply shadow text-md font-bold text-secondary;
1242
+ @apply shadow-sm text-md font-bold text-secondary;
1227
1243
 
1228
1244
  .mat-mdc-header-cell{
1229
- @apply bg-slate-50 dark:bg-black dark:bg-opacity-20 #{'!important'};
1245
+ @apply bg-slate-50 dark:bg-black;
1230
1246
  }
1231
1247
  }
1232
1248
  }
@@ -1289,23 +1305,23 @@ textarea.mat-mdc-input-element {
1289
1305
  &.mat-primary {
1290
1306
 
1291
1307
  .mat-icon {
1292
- @apply text-on-primary #{'!important'};
1308
+ @apply text-on-primary;
1293
1309
  }
1294
1310
 
1295
1311
  .text-secondary {
1296
- @apply text-on-primary text-opacity-60 #{'!important'};
1312
+ @apply text-on-primary/60;
1297
1313
  }
1298
1314
 
1299
1315
  .text-hint {
1300
- @apply text-on-primary text-opacity-38 #{'!important'};
1316
+ @apply text-on-primary/38;
1301
1317
  }
1302
1318
 
1303
1319
  .text-disabled {
1304
- @apply text-on-primary text-opacity-38 #{'!important'};
1320
+ @apply text-on-primary/38;
1305
1321
  }
1306
1322
 
1307
1323
  .divider {
1308
- @apply text-on-primary text-opacity-12 #{'!important'};
1324
+ @apply text-on-primary/12;
1309
1325
  }
1310
1326
  }
1311
1327
 
@@ -1313,23 +1329,23 @@ textarea.mat-mdc-input-element {
1313
1329
  &.mat-accent {
1314
1330
 
1315
1331
  .mat-icon {
1316
- @apply text-on-accent #{'!important'};
1332
+ @apply text-on-accent;
1317
1333
  }
1318
1334
 
1319
1335
  .text-secondary {
1320
- @apply text-on-accent text-opacity-60 #{'!important'};
1336
+ @apply text-on-accent/60;
1321
1337
  }
1322
1338
 
1323
1339
  .text-hint {
1324
- @apply text-on-accent text-opacity-38 #{'!important'};
1340
+ @apply text-on-accent/38;
1325
1341
  }
1326
1342
 
1327
1343
  .text-disabled {
1328
- @apply text-on-accent text-opacity-38 #{'!important'};
1344
+ @apply text-on-accent/38;
1329
1345
  }
1330
1346
 
1331
1347
  .divider {
1332
- @apply text-on-accent text-opacity-12 #{'!important'};
1348
+ @apply text-on-accent/12;
1333
1349
  }
1334
1350
  }
1335
1351
 
@@ -1337,23 +1353,23 @@ textarea.mat-mdc-input-element {
1337
1353
  &.mat-warn {
1338
1354
 
1339
1355
  .mat-icon {
1340
- @apply text-on-warn #{'!important'};
1356
+ @apply text-on-warn;
1341
1357
  }
1342
1358
 
1343
1359
  .text-secondary {
1344
- @apply text-on-warn text-opacity-60 #{'!important'};
1360
+ @apply text-on-warn/60;
1345
1361
  }
1346
1362
 
1347
1363
  .text-hint {
1348
- @apply text-on-warn text-opacity-38 #{'!important'};
1364
+ @apply text-on-warn/38;
1349
1365
  }
1350
1366
 
1351
1367
  .text-disabled {
1352
- @apply text-on-warn text-opacity-38 #{'!important'};
1368
+ @apply text-on-warn/38;
1353
1369
  }
1354
1370
 
1355
1371
  .divider {
1356
- @apply text-on-warn text-opacity-12 #{'!important'};
1372
+ @apply text-on-warn/12;
1357
1373
  }
1358
1374
  }
1359
1375
  }
@@ -1415,8 +1431,8 @@ textarea.mat-mdc-input-element {
1415
1431
  height: auto;
1416
1432
  position: relative;
1417
1433
 
1418
- @apply max-h-64 shadow rounded-2xl flex flex-col p-6 overflow-y-auto lg:overflow-y-hidden lg:hover:overflow-y-auto scrollbar-custom;
1419
- @apply bg-card #{'!important'};
1434
+ @apply max-h-64 shadow-sm rounded-2xl flex flex-col p-6 overflow-y-auto lg:overflow-y-hidden lg:hover:overflow-y-auto scrollbar-custom;
1435
+ @apply bg-card;
1420
1436
 
1421
1437
  .mat-mdc-cell:not(:first-child){
1422
1438
  &>div{
@@ -1440,7 +1456,7 @@ textarea.mat-mdc-input-element {
1440
1456
  }
1441
1457
 
1442
1458
  .badge-column{
1443
- @apply py-0.5 px-3 leading-5 w-fit rounded-full text-sm font-semibold text-blue-800 bg-blue-100 dark:text-blue-50 dark:bg-blue-500 #{'!important'};
1459
+ @apply py-0.5 px-3 leading-5 w-fit rounded-full text-sm font-semibold text-blue-800 bg-blue-100 dark:text-blue-50 dark:bg-blue-500;
1444
1460
 
1445
1461
  }
1446
1462
 
@@ -1449,7 +1465,7 @@ textarea.mat-mdc-input-element {
1449
1465
  margin:0 -1.5rem;
1450
1466
  position: sticky;
1451
1467
  bottom: 0;
1452
- @apply px-6 py-2 items-end text-right bg-gray-50 dark:bg-transparent space-x-1;
1468
+ @apply px-6 py-2 items-end text-right bg-gray-50 dark:bg-transparent flex flex-row gap-1;
1453
1469
  }
1454
1470
  }
1455
1471
 
@@ -1479,10 +1495,10 @@ textarea.mat-mdc-input-element {
1479
1495
  .mat-mdc-table {
1480
1496
  .mat-mdc-row{
1481
1497
  &:nth-child(even) {
1482
- @apply bg-slate-50 dark:bg-black dark:bg-opacity-20 #{'!important'};
1498
+ @apply bg-slate-50 dark:bg-black/20;
1483
1499
  }
1484
1500
  &:hover{
1485
- @apply bg-slate-100 dark:bg-black dark:bg-opacity-40 #{'!important'};
1501
+ @apply bg-slate-100 dark:bg-black/40;
1486
1502
  }
1487
1503
  }
1488
1504
  }
@@ -1,3 +1,5 @@
1
+ @reference "tailwindcss/theme";
2
+
1
3
  /* ----------------------------------------------------------------------------------------------------- */
2
4
  /* @ FullCalendar overrides
3
5
  /* ----------------------------------------------------------------------------------------------------- */
@@ -358,7 +360,7 @@
358
360
  @apply h-full flex items-center;
359
361
 
360
362
  > a:first-child {
361
- @apply flex flex-grow justify-start;
363
+ @apply flex grow justify-start;
362
364
  }
363
365
  }
364
366
  }
@@ -1,3 +1,5 @@
1
+ @reference "tailwindcss/theme";
2
+
1
3
  /* ----------------------------------------------------------------------------------------------------- */
2
4
  /* @ Quill editor overrides
3
5
  /* ----------------------------------------------------------------------------------------------------- */
@@ -5,11 +7,11 @@
5
7
  border-radius: 6px 6px 0 0;
6
8
  padding: 0 !important;
7
9
  @apply bg-slate-100;
8
- @apply border-slate-300 border-opacity-100 #{!important};
10
+ @apply border-slate-300/100;
9
11
 
10
12
  .dark & {
11
- background-color: rgba(0, 0, 0, 0.05);
12
- @apply border-slate-500 #{!important};
13
+ background-color: rgba(0, 0, 0, 0.05) !important;
14
+ @apply border-slate-500;
13
15
  }
14
16
 
15
17
  .ql-formats {
@@ -66,7 +68,7 @@
66
68
  .ql-picker-label.ql-active,
67
69
  .ql-picker-item:hover,
68
70
  .ql-picker-item.ql-selected {
69
- @apply text-primary #{!important};
71
+ @apply text-primary;
70
72
 
71
73
  .ql-stroke,
72
74
  .ql-stroke-mitter {
@@ -81,10 +83,10 @@
81
83
 
82
84
  .ql-container {
83
85
  border-radius: 0 0 6px 6px;
84
- @apply border-slate-300 border-opacity-100 shadow-sm #{!important};
86
+ @apply border-slate-300/100 shadow-xs;
85
87
 
86
88
  .dark & {
87
- @apply border-slate-500 #{!important};
89
+ @apply border-slate-500;
88
90
  }
89
91
 
90
92
  .ql-editor {
@@ -1,8 +1,49 @@
1
- @tailwind base;
1
+ @import "tailwindcss" important;
2
+
3
+ @theme {
4
+ --color-slate-300: oklch(0.869 0.022 252.894);
5
+ --color-slate-500: oklch(0.554 0.046 257.417);
6
+
7
+ --spacing: 0.25rem;
8
+
9
+ --font-weight-thin: 100;
10
+ --font-weight-extralight: 200;
11
+ --font-weight-light: 300;
12
+ --font-weight-normal: 400;
13
+ --font-weight-medium: 500;
14
+ --font-weight-semibold: 600;
15
+ --font-weight-bold: 700;
16
+ --font-weight-extrabold: 800;
17
+ --font-weight-black: 900;
18
+
19
+ --tracking-tighter: -0.05em;
20
+ --tracking-tight: -0.025em;
21
+ --tracking-normal: 0em;
22
+ --tracking-wide: 0.025em;
23
+ --tracking-wider: 0.05em;
24
+ --tracking-widest: 0.1em;
25
+
26
+ --leading-tight: 1.25;
27
+ --leading-snug: 1.375;
28
+ --leading-normal: 1.5;
29
+ --leading-relaxed: 1.625;
30
+ --leading-loose: 2;
31
+
32
+ --radius-xs: 0.125rem;
33
+ --radius-sm: 0.25rem;
34
+ --radius-md: 0.375rem;
35
+ --radius-lg: 0.5rem;
36
+ --radius-xl: 0.75rem;
37
+ --radius-2xl: 1rem;
38
+ --radius-3xl: 1.5rem;
39
+ --radius-4xl: 2rem;
40
+ }
2
41
 
3
42
  @layer base {
4
-
5
43
  * {
44
+ font-family: 'AliPuHuiTi', sans-serif;
45
+ font-weight: 400;
46
+
6
47
  text-rendering: optimizeLegibility;
7
48
  -o-text-rendering: optimizeLegibility;
8
49
  -ms-text-rendering: optimizeLegibility;
@@ -11,10 +52,51 @@
11
52
  -webkit-tap-highlight-color: transparent;
12
53
 
13
54
  &:focus {
14
- outline: none !important;
55
+ outline: none;
15
56
  }
16
57
  }
17
58
 
59
+ @font-face {
60
+ font-family: "AliPuHuiTi";
61
+ font-weight: 300;
62
+ src: url("//at.alicdn.com/wf/webfont/hIzeQ7f86wl2/9h5VGOQoDZYl.woff2") format("woff2"),
63
+ url("//at.alicdn.com/wf/webfont/hIzeQ7f86wl2/ZNBWNQa9veoY.woff") format("woff");
64
+ font-display: swap;
65
+ }
66
+
67
+
68
+ @font-face {
69
+ font-family: "AliPuHuiTi";
70
+ font-weight: 400;
71
+ src: url("//at.alicdn.com/wf/webfont/hIzeQ7f86wl2/zxZG2AFzPblS.woff2") format("woff2"),
72
+ url("//at.alicdn.com/wf/webfont/hIzeQ7f86wl2/Ug89Q4PaDfc0.woff") format("woff");
73
+ font-display: swap;
74
+ }
75
+
76
+ @font-face {
77
+ font-family: "AliPuHuiTi";
78
+ font-weight: 500;
79
+ src: url("//at.alicdn.com/wf/webfont/hIzeQ7f86wl2/iHLBGts4nfJk.woff2") format("woff2"),
80
+ url("//at.alicdn.com/wf/webfont/hIzeQ7f86wl2/M5baxmeyKXjA.woff") format("woff");
81
+ font-display: swap;
82
+ }
83
+
84
+ @font-face {
85
+ font-family: "AliPuHuiTi";
86
+ font-weight: 600;
87
+ src: url("//at.alicdn.com/wf/webfont/hIzeQ7f86wl2/ENq0nndzfIbV.woff2") format("woff2"),
88
+ url("//at.alicdn.com/wf/webfont/hIzeQ7f86wl2/OuKxFrSQmkWs.woff") format("woff");
89
+ font-display: swap;
90
+ }
91
+
92
+ @font-face {
93
+ font-family: "AliPuHuiTi";
94
+ font-weight: 700;
95
+ src: url("//at.alicdn.com/wf/webfont/hIzeQ7f86wl2/V1iTYPwc1Qhu.woff2") format("woff2"),
96
+ url("//at.alicdn.com/wf/webfont/hIzeQ7f86wl2/9RvMt0f7HbS7.woff") format("woff");
97
+ font-display: swap;
98
+ }
99
+
18
100
  html,
19
101
  body {
20
102
  display: flex;
@@ -43,12 +125,16 @@
43
125
  border-bottom-width: 1px;
44
126
  }
45
127
 
46
- body, .dark, .light {
47
- @apply text-default bg-default #{'!important'};
128
+ body,
129
+ .dark,
130
+ .light {
131
+ @apply text-default bg-default;
48
132
  }
49
133
 
50
134
 
51
- *, *::before, *::after {
135
+ *,
136
+ *::before,
137
+ *::after {
52
138
  --tw-border-opacity: 1 !important;
53
139
  border-color: rgba(var(--cmat-border-rgb), var(--tw-border-opacity));
54
140
 
@@ -58,7 +144,7 @@
58
144
  }
59
145
 
60
146
  [disabled] * {
61
- @apply text-disabled #{'!important'};
147
+ @apply text-disabled;
62
148
  }
63
149
 
64
150
  @media print {
@@ -67,16 +153,14 @@
67
153
  font-size: 12px !important;
68
154
  }
69
155
 
70
- body, .dark, .light {
156
+ body,
157
+ .dark,
158
+ .light {
71
159
  background: none !important;
72
160
  }
73
161
  }
74
-
75
- .scrollbar-custom {
76
- @apply transition-colors scrollbar-thin scrollbar-thumb-primary-300 scrollbar-track-gray-300 scrollbar-thumb-rounded-md hover:scrollbar-thumb-primary-600 dark:scrollbar-track-gray-600;
77
- }
78
162
  }
79
163
 
80
- @tailwind components;
81
-
82
- @tailwind utilities;
164
+ @utility scrollbar-custom {
165
+ @apply scrollbar-thin scrollbar-thumb-primary-300 scrollbar-track-gray-300 scrollbar-thumb-rounded-md scrollbar-hover:scrollbar-thumb-primary-600 dark:scrollbar-track-gray-600;
166
+ }