@spartan-ng/cli 0.0.1-alpha.484 → 0.0.1-alpha.486

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 (110) hide show
  1. package/package.json +1 -1
  2. package/src/generators/migrate-helm-libraries/schema.json +1 -1
  3. package/src/generators/migrate-icon/schema.json +1 -1
  4. package/src/generators/migrate-radio/schema.json +1 -1
  5. package/src/generators/migrate-select/schema.json +1 -1
  6. package/src/generators/migrate-toggle-group/schema.json +1 -1
  7. package/src/generators/theme/__snapshots__/generator.spec.ts.snap +620 -0
  8. package/src/generators/theme/generator.js +3 -12
  9. package/src/generators/theme/generator.js.map +1 -1
  10. package/src/generators/theme/libs/add-theme-to-application-styles.d.ts +2 -3
  11. package/src/generators/theme/libs/add-theme-to-application-styles.js +14 -2
  12. package/src/generators/theme/libs/add-theme-to-application-styles.js.map +1 -1
  13. package/src/generators/theme/libs/colors.d.ts +14 -0
  14. package/src/generators/theme/libs/colors.js +451 -0
  15. package/src/generators/theme/libs/colors.js.map +1 -0
  16. package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-content.component.ts.template +1 -6
  17. package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-icon.directive.ts.template +4 -1
  18. package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-trigger.directive.ts.template +1 -1
  19. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-content.component.ts.template +1 -1
  20. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-description.directive.ts.template +1 -1
  21. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-footer.component.ts.template +1 -1
  22. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-header.component.ts.template +1 -1
  23. package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-overlay.directive.ts.template +1 -1
  24. package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert-description.directive.ts.template +6 -7
  25. package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert-title.directive.ts.template +3 -7
  26. package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert.directive.ts.template +5 -4
  27. package/src/generators/ui/libs/ui-avatar-helm/files/lib/fallback/hlm-avatar-fallback.directive.ts.template +3 -18
  28. package/src/generators/ui/libs/ui-avatar-helm/files/lib/hlm-avatar.component.ts.template +1 -18
  29. package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/hlm-avatar-image.directive.ts.template +1 -1
  30. package/src/generators/ui/libs/ui-badge-helm/files/index.ts.template +4 -2
  31. package/src/generators/ui/libs/ui-badge-helm/files/lib/hlm-badge.directive.ts.template +10 -37
  32. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb-ellipsis.component.ts.template +1 -1
  33. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb-link.directive.ts.template +1 -1
  34. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb-list.directive.ts.template +1 -1
  35. package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/hlm-breadcrumb-separator.component.ts.template +4 -6
  36. package/src/generators/ui/libs/ui-button-helm/files/index.ts.template +1 -2
  37. package/src/generators/ui/libs/ui-button-helm/files/lib/hlm-button.directive.ts.template +14 -11
  38. package/src/generators/ui/libs/ui-calendar-helm/files/lib/hlm-calendar-multi.component.ts.template +3 -3
  39. package/src/generators/ui/libs/ui-calendar-helm/files/lib/hlm-calendar.component.ts.template +6 -6
  40. package/src/generators/ui/libs/ui-card-helm/files/index.ts.template +3 -0
  41. package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-action.directive.ts.template +17 -0
  42. package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-content.directive.ts.template +1 -8
  43. package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-description.directive.ts.template +1 -8
  44. package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-footer.directive.ts.template +1 -17
  45. package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-header.directive.ts.template +6 -17
  46. package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-title.directive.ts.template +1 -8
  47. package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card.directive.ts.template +4 -7
  48. package/src/generators/ui/libs/ui-checkbox-helm/files/lib/hlm-checkbox.component.ts.template +11 -10
  49. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-dialog.directive.ts.template +1 -1
  50. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-group-label.component.ts.template +1 -1
  51. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-group.component.ts.template +1 -1
  52. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-icon.directive.ts.template +10 -3
  53. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-item.component.ts.template +1 -1
  54. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-list.component.ts.template +1 -1
  55. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-search-input.component.ts.template +1 -1
  56. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-search.component.ts.template +1 -1
  57. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-separator.component.ts.template +1 -1
  58. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-shortcut.component.ts.template +10 -3
  59. package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command.component.ts.template +1 -4
  60. package/src/generators/ui/libs/ui-date-picker-helm/files/lib/hlm-date-picker-multi.component.ts.template +2 -2
  61. package/src/generators/ui/libs/ui-date-picker-helm/files/lib/hlm-date-picker.component.ts.template +7 -7
  62. package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-overlay.directive.ts.template +1 -1
  63. package/src/generators/ui/libs/ui-form-field-helm/files/lib/hlm-error.directive.ts.template +10 -3
  64. package/src/generators/ui/libs/ui-form-field-helm/files/lib/hlm-form-field.component.ts.template +14 -2
  65. package/src/generators/ui/libs/ui-form-field-helm/files/lib/hlm-hint.directive.ts.template +8 -3
  66. package/src/generators/ui/libs/ui-input-helm/files/index.ts.template +2 -4
  67. package/src/generators/ui/libs/ui-input-helm/files/lib/hlm-input.directive.ts.template +10 -21
  68. package/src/generators/ui/libs/ui-input-otp-helm/files/lib/hlm-input-otp-separator.component.ts.template +4 -4
  69. package/src/generators/ui/libs/ui-input-otp-helm/files/lib/hlm-input-otp-slot.component.ts.template +2 -2
  70. package/src/generators/ui/libs/ui-input-otp-helm/files/lib/hlm-input-otp.directive.ts.template +1 -1
  71. package/src/generators/ui/libs/ui-label-helm/files/lib/hlm-label.directive.ts.template +2 -47
  72. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-bar-item.directive.ts.template +1 -1
  73. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-bar.component.ts.template +1 -1
  74. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-sub-indicator.component.ts.template +3 -3
  75. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item.directive.ts.template +16 -19
  76. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-label.component.ts.template +9 -9
  77. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-separator.component.ts.template +2 -2
  78. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-shortcut.component.ts.template +1 -1
  79. package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu.component.ts.template +4 -8
  80. package/src/generators/ui/libs/ui-progress-helm/files/lib/hlm-progress-indicator.directive.ts.template +1 -1
  81. package/src/generators/ui/libs/ui-progress-helm/files/lib/hlm-progress.directive.ts.template +1 -1
  82. package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio-group.component.ts.template +2 -1
  83. package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio-indicator.component.ts.template +7 -8
  84. package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio.component.ts.template +2 -7
  85. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-label.directive.ts.template +1 -1
  86. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-option.component.ts.template +4 -7
  87. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-scroll-down.component.ts.template +10 -3
  88. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-scroll-up.component.ts.template +10 -3
  89. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-trigger.component.ts.template +8 -14
  90. package/src/generators/ui/libs/ui-select-helm/files/lib/hlm-select-value.directive.ts.template +1 -4
  91. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-close.directive.ts.template +1 -1
  92. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-content.component.ts.template +5 -5
  93. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-description.directive.ts.template +1 -1
  94. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-footer.component.ts.template +1 -3
  95. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-header.component.ts.template +1 -1
  96. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-overlay.directive.ts.template +1 -1
  97. package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-title.directive.ts.template +1 -1
  98. package/src/generators/ui/libs/ui-slider-helm/files/lib/hlm-slider.component.ts.template +3 -3
  99. package/src/generators/ui/libs/ui-switch-helm/files/lib/hlm-switch-thumb.directive.ts.template +1 -1
  100. package/src/generators/ui/libs/ui-switch-helm/files/lib/hlm-switch.component.ts.template +1 -2
  101. package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-list.component.ts.template +1 -1
  102. package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-trigger.directive.ts.template +2 -2
  103. package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs.component.ts.template +9 -1
  104. package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/hlm-toggle-group.directive.ts.template +8 -8
  105. package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/hlm-toggle-item.directive.ts.template +15 -14
  106. package/src/generators/ui/libs/ui-tooltip-helm/files/lib/hlm-tooltip-trigger.directive.ts.template +2 -2
  107. package/src/generators/ui/supported-ui-libraries.json +47 -47
  108. package/src/generators/theme/libs/supported-theme-generator-map.d.ts +0 -17
  109. package/src/generators/theme/libs/supported-theme-generator-map.js +0 -584
  110. package/src/generators/theme/libs/supported-theme-generator-map.js.map +0 -1
@@ -1,584 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SupportedRadii = exports.SupportedThemes = exports.SupportedThemeGeneratorMap = void 0;
4
- exports.SupportedThemeGeneratorMap = {
5
- zinc: (radius, prefix = '') => `
6
- :root${prefix} {
7
- --background: 0 0% 100%;
8
- --foreground: 240 10% 3.9%;
9
- --card: 0 0% 100%;
10
- --card-foreground: 240 10% 3.9%;
11
- --popover: 0 0% 100%;;
12
- --popover-foreground: 240 10% 3.9%;
13
- --primary: 240 5.9% 10%;
14
- --primary-foreground: 0 0% 98%;
15
- --secondary: 240 4.8% 95.9%;
16
- --secondary-foreground: 240 5.9% 10%;
17
- --muted: 240 4.8% 95.9%;
18
- --muted-foreground: 240 3.8% 46.1%;
19
- --accent: 240 4.8% 95.9%;
20
- --accent-foreground: 240 5.9% 10%;
21
- --destructive: 0 84.2% 60.2%;
22
- --destructive-foreground: 0 0% 98%;
23
- --border: 240 5.9% 90%;
24
- --input: 240 5.9% 90%;
25
- --ring: 240 5.9% 10%;
26
- --radius: ${radius}rem;
27
- color-scheme: light;
28
- }
29
-
30
- .dark${prefix} {
31
- --background: 240 10% 3.9%;
32
- --foreground: 0 0% 98%;
33
- --card: 240 10% 3.9%;
34
- --card-foreground: 0 0% 98%;
35
- --popover: 240 10% 3.9%;
36
- --popover-foreground: 0 0% 98%;
37
- --primary: 0 0% 98%;
38
- --primary-foreground: 240 5.9% 10%;
39
- --secondary: 240 3.7% 15.9%;
40
- --secondary-foreground: 0 0% 98%;
41
- --muted: 240 3.7% 15.9%;
42
- --muted-foreground: 240 5% 64.9%;
43
- --accent: 240 3.7% 15.9%;
44
- --accent-foreground: 0 0% 98%;
45
- --destructive: 0 62.8% 30.6%;
46
- --destructive-foreground: 0 0% 98%;
47
- --border: 240 3.7% 15.9%;
48
- --input: 240 3.7% 15.9%;
49
- --ring: 240 4.9% 83.9%;
50
- color-scheme: dark;
51
- }
52
- `,
53
- slate: (radius, prefix = '') => `
54
- :root${prefix} {
55
- --background: 0 0% 100%;
56
- --foreground: 222.2 84% 4.9%;
57
- --muted: 210 40% 96.1%;
58
- --muted-foreground: 215.4 16.3% 46.9%;
59
- --popover: 0 0% 100%;
60
- --popover-foreground: 222.2 84% 4.9%;
61
- --card: 0 0% 100%;
62
- --card-foreground: 222.2 84% 4.9%;
63
- --border: 214.3 31.8% 91.4%;
64
- --input: 214.3 31.8% 91.4%;
65
- --primary: 222.2 47.4% 11.2%;
66
- --primary-foreground: 210 40% 98%;
67
- --secondary: 210 40% 96.1%;
68
- --secondary-foreground: 222.2 47.4% 11.2%;
69
- --accent: 210 40% 96.1%;
70
- --accent-foreground: 222.2 47.4% 11.2%;
71
- --destructive: 0 84.2% 60.2%;
72
- --destructive-foreground: 210 40% 98%;
73
- --ring: 222.2 84% 4.9%;
74
- --radius: ${radius}rem;
75
- color-scheme: light;
76
- }
77
-
78
- .dark${prefix} {
79
- --background: 222.2 84% 4.9%;
80
- --foreground: 210 40% 98%;
81
- --muted: 217.2 32.6% 17.5%;
82
- --muted-foreground: 215 20.2% 65.1%;
83
- --popover: 222.2 84% 4.9%;
84
- --popover-foreground: 210 40% 98%;
85
- --card: 222.2 84% 4.9%;
86
- --card-foreground: 210 40% 98%;
87
- --border: 217.2 32.6% 17.5%;
88
- --input: 217.2 32.6% 17.5%;
89
- --primary: 210 40% 98%;
90
- --primary-foreground: 222.2 47.4% 11.2%;
91
- --secondary: 217.2 32.6% 17.5%;
92
- --secondary-foreground: 210 40% 98%;
93
- --accent: 217.2 32.6% 17.5%;
94
- --accent-foreground: 210 40% 98%;
95
- --destructive: 0 62.8% 30.6%;
96
- --destructive-foreground: 210 40% 98%;
97
- --ring: 212.7 26.8% 83.9;
98
- color-scheme: dark;
99
- }
100
- `,
101
- stone: (radius, prefix = '') => `
102
- :root${prefix} {
103
- --background: 0 0% 100%;
104
- --foreground: 20 14.3% 4.1%;
105
- --muted: 60 4.8% 95.9%;
106
- --muted-foreground: 25 5.3% 44.7%;
107
- --popover: 0 0% 100%;
108
- --popover-foreground: 20 14.3% 4.1%;
109
- --card: 0 0% 100%;
110
- --card-foreground: 20 14.3% 4.1%;
111
- --border: 20 5.9% 90%;
112
- --input: 20 5.9% 90%;
113
- --primary: 24 9.8% 10%;
114
- --primary-foreground: 60 9.1% 97.8%;
115
- --secondary: 60 4.8% 95.9%;
116
- --secondary-foreground: 24 9.8% 10%;
117
- --accent: 60 4.8% 95.9%;
118
- --accent-foreground: 24 9.8% 10%;
119
- --destructive: 0 84.2% 60.2%;
120
- --destructive-foreground: 60 9.1% 97.8%;
121
- --ring: 20 14.3% 4.1%;
122
- --radius: ${radius}rem;
123
- color-scheme: light;
124
- }
125
-
126
- .dark${prefix} {
127
- --background: 20 14.3% 4.1%;
128
- --foreground: 60 9.1% 97.8%;
129
- --muted: 12 6.5% 15.1%;
130
- --muted-foreground: 24 5.4% 63.9%;
131
- --popover: 20 14.3% 4.1%;
132
- --popover-foreground: 60 9.1% 97.8%;
133
- --card: 20 14.3% 4.1%;
134
- --card-foreground: 60 9.1% 97.8%;
135
- --border: 12 6.5% 15.1%;
136
- --input: 12 6.5% 15.1%;
137
- --primary: 60 9.1% 97.8%;
138
- --primary-foreground: 24 9.8% 10%;
139
- --secondary: 12 6.5% 15.1%;
140
- --secondary-foreground: 60 9.1% 97.8%;
141
- --accent: 12 6.5% 15.1%;
142
- --accent-foreground: 60 9.1% 97.8%;
143
- --destructive: 0 62.8% 30.6%;
144
- --destructive-foreground: 60 9.1% 97.8%;
145
- --ring: 24 5.7% 82.9%;
146
- color-scheme: dark;
147
- }
148
- `,
149
- gray: (radius, prefix = '') => `
150
- :root${prefix} {
151
- --background: 0 0% 100%;
152
- --foreground: 224 71.4% 4.1%;
153
- --muted: 220 14.3% 95.9%;
154
- --muted-foreground: 220 8.9% 46.1%;
155
- --popover: 0 0% 100%;
156
- --popover-foreground: 224 71.4% 4.1%;
157
- --card: 0 0% 100%;
158
- --card-foreground: 224 71.4% 4.1%;
159
- --border: 220 13% 91%;
160
- --input: 220 13% 91%;
161
- --primary: 220.9 39.3% 11%;
162
- --primary-foreground: 210 20% 98%;
163
- --secondary: 220 14.3% 95.9%;
164
- --secondary-foreground: 220.9 39.3% 11%;
165
- --accent: 220 14.3% 95.9%;
166
- --accent-foreground: 220.9 39.3% 11%;
167
- --destructive: 0 84.2% 60.2%;
168
- --destructive-foreground: 210 20% 98%;
169
- --ring: 224 71.4% 4.1%;
170
- --radius: ${radius}rem;
171
- color-scheme: light;
172
- }
173
-
174
- .dark${prefix} {
175
- --background: 224 71.4% 4.1%;
176
- --foreground: 210 20% 98%;
177
- --muted: 215 27.9% 16.9%;
178
- --muted-foreground: 217.9 10.6% 64.9%;
179
- --popover: 224 71.4% 4.1%;
180
- --popover-foreground: 210 20% 98%;
181
- --card: 224 71.4% 4.1%;
182
- --card-foreground: 210 20% 98%;
183
- --border: 215 27.9% 16.9%;
184
- --input: 215 27.9% 16.9%;
185
- --primary: 210 20% 98%;
186
- --primary-foreground: 220.9 39.3% 11%;
187
- --secondary: 215 27.9% 16.9%;
188
- --secondary-foreground: 210 20% 98%;
189
- --accent: 215 27.9% 16.9%;
190
- --accent-foreground: 210 20% 98%;
191
- --destructive: 0 62.8% 30.6%;
192
- --destructive-foreground: 210 20% 98%;
193
- --ring: 216 12.2% 83.9%;
194
- color-scheme: dark;
195
- }
196
- `,
197
- neutral: (radius, prefix = '') => `
198
- :root${prefix} {
199
- --background: 0 0% 100%;
200
- --foreground: 0 0% 3.9%;
201
- --muted: 0 0% 96.1%;
202
- --muted-foreground: 0 0% 45.1%;
203
- --popover: 0 0% 100%;
204
- --popover-foreground: 0 0% 3.9%;
205
- --card: 0 0% 100%;
206
- --card-foreground: 0 0% 3.9%;
207
- --border: 0 0% 89.8%;
208
- --input: 0 0% 89.8%;
209
- --primary: 0 0% 9%;
210
- --primary-foreground: 0 0% 98%;
211
- --secondary: 0 0% 96.1%;
212
- --secondary-foreground: 0 0% 9%;
213
- --accent: 0 0% 96.1%;
214
- --accent-foreground: 0 0% 9%;
215
- --destructive: 0 84.2% 60.2%;
216
- --destructive-foreground: 0 0% 98%;
217
- --ring: 0 0% 3.9%;
218
- --radius: ${radius}rem;
219
- color-scheme: light;
220
- }
221
-
222
- .dark${prefix} {
223
- --background: 0 0% 3.9%;
224
- --foreground: 0 0% 98%;
225
- --muted: 0 0% 14.9%;
226
- --muted-foreground: 0 0% 63.9%;
227
- --popover: 0 0% 3.9%;
228
- --popover-foreground: 0 0% 98%;
229
- --card: 0 0% 3.9%;
230
- --card-foreground: 0 0% 98%;
231
- --border: 0 0% 14.9%;
232
- --input: 0 0% 14.9%;
233
- --primary: 0 0% 98%;
234
- --primary-foreground: 0 0% 9%;
235
- --secondary: 0 0% 14.9%;
236
- --secondary-foreground: 0 0% 98%;
237
- --accent: 0 0% 14.9%;
238
- --accent-foreground: 0 0% 98%;
239
- --destructive: 0 62.8% 30.6%;
240
- --destructive-foreground: 0 0% 98%;
241
- --ring: 0 0% 83.1%;
242
- color-scheme: dark;
243
- }
244
- `,
245
- red: (radius, prefix = '') => `
246
- :root${prefix} {
247
- --background: 0 0% 100%;
248
- --foreground: 0 0% 3.9%;
249
- --muted: 0 0% 96.1%;
250
- --muted-foreground: 0 0% 45.1%;
251
- --popover: 0 0% 100%;
252
- --popover-foreground: 0 0% 3.9%;
253
- --card: 0 0% 100%;
254
- --card-foreground: 0 0% 3.9%;
255
- --border: 0 0% 89.8%;
256
- --input: 0 0% 89.8%;
257
- --primary: 0 72.2% 50.6%;
258
- --primary-foreground: 0 85.7% 97.3%;
259
- --secondary: 0 0% 96.1%;
260
- --secondary-foreground: 0 0% 9%;
261
- --accent: 0 0% 96.1%;
262
- --accent-foreground: 0 0% 9%;
263
- --destructive: 0 84.2% 60.2%;
264
- --destructive-foreground: 0 0% 98%;
265
- --ring: 0 72.2% 50.6%;
266
- --radius: ${radius}rem;
267
- color-scheme: light;
268
- }
269
-
270
- .dark${prefix} {
271
- --background: 0 0% 3.9%;
272
- --foreground: 0 0% 98%;
273
- --muted: 0 0% 14.9%;
274
- --muted-foreground: 0 0% 63.9%;
275
- --popover: 0 0% 3.9%;
276
- --popover-foreground: 0 0% 98%;
277
- --card: 0 0% 3.9%;
278
- --card-foreground: 0 0% 98%;
279
- --border: 0 0% 14.9%;
280
- --input: 0 0% 14.9%;
281
- --primary: 0 72.2% 50.6%;
282
- --primary-foreground: 0 85.7% 97.3%;
283
- --secondary: 0 0% 14.9%;
284
- --secondary-foreground: 0 0% 98%;
285
- --accent: 0 0% 14.9%;
286
- --accent-foreground: 0 0% 98%;
287
- --destructive: 0 62.8% 30.6%;
288
- --destructive-foreground: 0 0% 98%;
289
- --ring: 0 72.2% 50.6%;
290
- color-scheme: dark;
291
- }
292
- `,
293
- rose: (radius, prefix = '') => `
294
- :root${prefix} {
295
- --background: 0 0% 100%;
296
- --foreground: 240 10% 3.9%;
297
- --card: 0 0% 100%;
298
- --card-foreground: 240 10% 3.9%;
299
- --popover: 0 0% 100%;
300
- --popover-foreground: 240 10% 3.9%;
301
- --primary: 346.8 77.2% 49.8%;
302
- --primary-foreground: 355.7 100% 97.3%;
303
- --secondary: 240 4.8% 95.9%;
304
- --secondary-foreground: 240 5.9% 10%;
305
- --muted: 240 4.8% 95.9%;
306
- --muted-foreground: 240 3.8% 46.1%;
307
- --accent: 240 4.8% 95.9%;
308
- --accent-foreground: 240 5.9% 10%;
309
- --destructive: 0 84.2% 60.2%;
310
- --destructive-foreground: 0 0% 98%;
311
- --border: 240 5.9% 90%;
312
- --input: 240 5.9% 90%;
313
- --ring: 346.8 77.2% 49.8%;
314
- --radius: ${radius}rem;
315
- color-scheme: light;
316
- }
317
-
318
- .dark${prefix} {
319
- --background: 20 14.3% 4.1%;
320
- --foreground: 0 0% 95%;
321
- --card: 24 9.8% 10%;
322
- --card-foreground: 0 0% 95%;
323
- --popover: 0 0% 9%;
324
- --popover-foreground: 0 0% 95%;
325
- --primary: 346.8 77.2% 49.8%;
326
- --primary-foreground: 355.7 100% 97.3%;
327
- --secondary: 240 3.7% 15.9%;
328
- --secondary-foreground: 0 0% 98%;
329
- --muted: 0 0% 15%;
330
- --muted-foreground: 240 5% 64.9%;
331
- --accent: 12 6.5% 15.1%;
332
- --accent-foreground: 0 0% 98%;
333
- --destructive: 0 62.8% 30.6%;
334
- --destructive-foreground: 0 85.7% 97.3%;
335
- --border: 240 3.7% 15.9%;
336
- --input: 240 3.7% 15.9%;
337
- --ring: 346.8 77.2% 49.8%;
338
- color-scheme: dark;
339
- }
340
- `,
341
- blue: (radius, prefix = '') => `
342
- :root${prefix} {
343
- --background: 0 0% 100%;
344
- --foreground: 240 10% 3.9%;
345
- --card: 0 0% 100%;
346
- --card-foreground: 240 10% 3.9%;
347
- --popover: 0 0% 100%;
348
- --popover-foreground: 240 10% 3.9%;
349
- --primary: 346.8 77.2% 49.8%;
350
- --primary-foreground: 355.7 100% 97.3%;
351
- --secondary: 240 4.8% 95.9%;
352
- --secondary-foreground: 240 5.9% 10%;
353
- --muted: 240 4.8% 95.9%;
354
- --muted-foreground: 240 3.8% 46.1%;
355
- --accent: 240 4.8% 95.9%;
356
- --accent-foreground: 240 5.9% 10%;
357
- --destructive: 0 84.2% 60.2%;
358
- --destructive-foreground: 0 0% 98%;
359
- --border: 240 5.9% 90%;
360
- --input: 240 5.9% 90%;
361
- --ring: 346.8 77.2% 49.8%;
362
- --radius: ${radius}rem;
363
- color-scheme: light;
364
- }
365
-
366
- .dark${prefix} {
367
- --background: 20 14.3% 4.1%;
368
- --foreground: 0 0% 95%;
369
- --card: 24 9.8% 10%;
370
- --card-foreground: 0 0% 95%;
371
- --popover: 0 0% 9%;
372
- --popover-foreground: 0 0% 95%;
373
- --primary: 346.8 77.2% 49.8%;
374
- --primary-foreground: 355.7 100% 97.3%;
375
- --secondary: 240 3.7% 15.9%;
376
- --secondary-foreground: 0 0% 98%;
377
- --muted: 0 0% 15%;
378
- --muted-foreground: 240 5% 64.9%;
379
- --accent: 12 6.5% 15.1%;
380
- --accent-foreground: 0 0% 98%;
381
- --destructive: 0 62.8% 30.6%;
382
- --destructive-foreground: 0 85.7% 97.3%;
383
- --border: 240 3.7% 15.9%;
384
- --input: 240 3.7% 15.9%;
385
- --ring: 346.8 77.2% 49.8%;
386
- color-scheme: dark;
387
- }
388
- `,
389
- green: (radius, prefix = '') => `
390
- :root${prefix} {
391
- --background: 0 0% 100%;
392
- --foreground: 240 10% 3.9%;
393
- --card: 0 0% 100%;
394
- --card-foreground: 240 10% 3.9%;
395
- --popover: 0 0% 100%;
396
- --popover-foreground: 240 10% 3.9%;
397
- --primary: 142.1 76.2% 36.3%;
398
- --primary-foreground: 355.7 100% 97.3%;
399
- --secondary: 240 4.8% 95.9%;
400
- --secondary-foreground: 240 5.9% 10%;
401
- --muted: 240 4.8% 95.9%;
402
- --muted-foreground: 240 3.8% 46.1%;
403
- --accent: 240 4.8% 95.9%;
404
- --accent-foreground: 240 5.9% 10%;
405
- --destructive: 0 84.2% 60.2%;
406
- --destructive-foreground: 0 0% 98%;
407
- --border: 240 5.9% 90%;
408
- --input: 240 5.9% 90%;
409
- --ring: 142.1 76.2% 36.3%;
410
- --radius: ${radius}rem;
411
- color-scheme: light;
412
- }
413
-
414
- .dark${prefix} {
415
- --background: 20 14.3% 4.1%;
416
- --foreground: 0 0% 95%;
417
- --card: 24 9.8% 10%;
418
- --card-foreground: 0 0% 95%;
419
- --popover: 0 0% 9%;
420
- --popover-foreground: 0 0% 95%;
421
- --primary: 142.1 70.6% 45.3%;
422
- --primary-foreground: 144.9 80.4% 10%;
423
- --secondary: 240 3.7% 15.9%;
424
- --secondary-foreground: 0 0% 98%;
425
- --muted: 0 0% 15%;
426
- --muted-foreground: 240 5% 64.9%;
427
- --accent: 12 6.5% 15.1%;
428
- --accent-foreground: 0 0% 98%;
429
- --destructive: 0 62.8% 30.6%;
430
- --destructive-foreground: 0 85.7% 97.3%;
431
- --border: 240 3.7% 15.9%;
432
- --input: 240 3.7% 15.9%;
433
- --ring: 142.4 71.8% 29.2%;
434
- color-scheme: dark;
435
- }
436
- `,
437
- orange: (radius, prefix = '') => `
438
- :root${prefix} {
439
- --background: 0 0% 100%;
440
- --foreground: 20 14.3% 4.1%;
441
- --card: 0 0% 100%;
442
- --card-foreground: 20 14.3% 4.1%;
443
- --popover: 0 0% 100%;
444
- --popover-foreground: 20 14.3% 4.1%;
445
- --primary: 24.6 95% 53.1%;
446
- --primary-foreground: 60 9.1% 97.8%;
447
- --secondary: 60 4.8% 95.9%;
448
- --secondary-foreground: 24 9.8% 10%;
449
- --muted: 60 4.8% 95.9%;
450
- --muted-foreground: 25 5.3% 44.7%;
451
- --accent: 60 4.8% 95.9%;
452
- --accent-foreground: 24 9.8% 10%;
453
- --destructive: 0 84.2% 60.2%;
454
- --destructive-foreground: 60 9.1% 97.8%;
455
- --border: 20 5.9% 90%;
456
- --input: 20 5.9% 90%;
457
- --ring: 24.6 95% 53.1%;
458
- --radius: ${radius}rem;
459
- color-scheme: light;
460
- }
461
-
462
- .dark${prefix} {
463
- --background: 20 14.3% 4.1%;
464
- --foreground: 60 9.1% 97.8%;
465
- --card: 20 14.3% 4.1%;
466
- --card-foreground: 60 9.1% 97.8%;
467
- --popover: 20 14.3% 4.1%;
468
- --popover-foreground: 60 9.1% 97.8%;
469
- --primary: 20.5 90.2% 48.2%;
470
- --primary-foreground: 60 9.1% 97.8%;
471
- --secondary: 12 6.5% 15.1%;
472
- --secondary-foreground: 60 9.1% 97.8%;
473
- --muted: 12 6.5% 15.1%;
474
- --muted-foreground: 24 5.4% 63.9%;
475
- --accent: 12 6.5% 15.1%;
476
- --accent-foreground: 60 9.1% 97.8%;
477
- --destructive: 0 72.2% 50.6%;
478
- --destructive-foreground: 60 9.1% 97.8%;
479
- --border: 12 6.5% 15.1%;
480
- --input: 12 6.5% 15.1%;
481
- --ring: 20.5 90.2% 48.2%;
482
- color-scheme: dark;
483
- }
484
- `,
485
- yellow: (radius, prefix = '') => `
486
- :root${prefix} {
487
- --background: 0 0% 100%;
488
- --foreground: 20 14.3% 4.1%;
489
- --muted: 60 4.8% 95.9%;
490
- --muted-foreground: 25 5.3% 44.7%;
491
- --popover: 0 0% 100%;
492
- --popover-foreground: 20 14.3% 4.1%;
493
- --card: 0 0% 100%;
494
- --card-foreground: 20 14.3% 4.1%;
495
- --border: 20 5.9% 90%;
496
- --input: 20 5.9% 90%;
497
- --primary: 47.9 95.8% 53.1%;
498
- --primary-foreground: 26 83.3% 14.1%;
499
- --secondary: 60 4.8% 95.9%;
500
- --secondary-foreground: 24 9.8% 10%;
501
- --accent: 60 4.8% 95.9%;
502
- --accent-foreground: 24 9.8% 10%;
503
- --destructive: 0 84.2% 60.2%;
504
- --destructive-foreground: 60 9.1% 97.8%;
505
- --ring: 20 14.3% 4.1%;
506
- --radius: ${radius}rem;
507
- color-scheme: light;
508
- }
509
-
510
- .dark${prefix} {
511
- --background: 20 14.3% 4.1%;
512
- --foreground: 60 9.1% 97.8%;
513
- --muted: 12 6.5% 15.1%;
514
- --muted-foreground: 24 5.4% 63.9%;
515
- --popover: 20 14.3% 4.1%;
516
- --popover-foreground: 60 9.1% 97.8%;
517
- --card: 20 14.3% 4.1%;
518
- --card-foreground: 60 9.1% 97.8%;
519
- --border: 12 6.5% 15.1%;
520
- --input: 12 6.5% 15.1%;
521
- --primary: 47.9 95.8% 53.1%;
522
- --primary-foreground: 26 83.3% 14.1%;
523
- --secondary: 12 6.5% 15.1%;
524
- --secondary-foreground: 60 9.1% 97.8%;
525
- --accent: 12 6.5% 15.1%;
526
- --accent-foreground: 60 9.1% 97.8%;
527
- --destructive: 0 62.8% 30.6%;
528
- --destructive-foreground: 60 9.1% 97.8%;
529
- --ring: 35.5 91.7% 32.9%;
530
- color-scheme: dark;
531
- }
532
- `,
533
- violet: (radius, prefix = '') => `
534
- :root${prefix} {
535
- --background: 0 0% 100%;
536
- --foreground: 224 71.4% 4.1%;
537
- --muted: 220 14.3% 95.9%;
538
- --muted-foreground: 220 8.9% 46.1%;
539
- --popover: 0 0% 100%;
540
- --popover-foreground: 224 71.4% 4.1%;
541
- --card: 0 0% 100%;
542
- --card-foreground: 224 71.4% 4.1%;
543
- --border: 220 13% 91%;
544
- --input: 220 13% 91%;
545
- --primary: 262.1 83.3% 57.8%;
546
- --primary-foreground: 210 20% 98%;
547
- --secondary: 220 14.3% 95.9%;
548
- --secondary-foreground: 220.9 39.3% 11%;
549
- --accent: 220 14.3% 95.9%;
550
- --accent-foreground: 220.9 39.3% 11%;
551
- --destructive: 0 84.2% 60.2%;
552
- --destructive-foreground: 210 20% 98%;
553
- --ring: 262.1 83.3% 57.8%;
554
- --radius: ${radius}rem;
555
- color-scheme: light;
556
- }
557
-
558
- .dark${prefix} {
559
- --background: 224 71.4% 4.1%;
560
- --foreground: 210 20% 98%;
561
- --muted: 215 27.9% 16.9%;
562
- --muted-foreground: 217.9 10.6% 64.9%;
563
- --popover: 224 71.4% 4.1%;
564
- --popover-foreground: 210 20% 98%;
565
- --card: 224 71.4% 4.1%;
566
- --card-foreground: 210 20% 98%;
567
- --border: 215 27.9% 16.9%;
568
- --input: 215 27.9% 16.9%;
569
- --primary: 263.4 70% 50.4%;
570
- --primary-foreground: 210 20% 98%;
571
- --secondary: 215 27.9% 16.9%;
572
- --secondary-foreground: 210 20% 98%;
573
- --accent: 215 27.9% 16.9%;
574
- --accent-foreground: 210 20% 98%;
575
- --destructive: 0 62.8% 30.6%;
576
- --destructive-foreground: 210 20% 98%;
577
- --ring: 263.4 70% 50.4%;
578
- color-scheme: dark;
579
- }
580
- `,
581
- };
582
- exports.SupportedThemes = Object.keys(exports.SupportedThemeGeneratorMap);
583
- exports.SupportedRadii = ['0', '0.3', '0.5', '0.75', '1.0'];
584
- //# sourceMappingURL=supported-theme-generator-map.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"supported-theme-generator-map.js","sourceRoot":"","sources":["../../../../../../../libs/cli/src/generators/theme/libs/supported-theme-generator-map.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG;IACzC,IAAI,EAAE,CAAC,MAAc,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,CAAC;OACjC,MAAM;;;;;;;;;;;;;;;;;;;;gBAoBG,MAAM;;;;SAIb,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBd;IACA,KAAK,EAAE,CAAC,MAAc,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,CAAC;OAClC,MAAM;;;;;;;;;;;;;;;;;;;;gBAoBG,MAAM;;;;SAIb,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBd;IACA,KAAK,EAAE,CAAC,MAAc,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,CAAC;OAClC,MAAM;;;;;;;;;;;;;;;;;;;;gBAoBG,MAAM;;;;SAIb,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBd;IACA,IAAI,EAAE,CAAC,MAAc,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,CAAC;OACjC,MAAM;;;;;;;;;;;;;;;;;;;;gBAoBG,MAAM;;;;SAIb,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBd;IACA,OAAO,EAAE,CAAC,MAAc,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,CAAC;OACpC,MAAM;;;;;;;;;;;;;;;;;;;;gBAoBG,MAAM;;;;SAIb,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBd;IACA,GAAG,EAAE,CAAC,MAAc,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,CAAC;OAChC,MAAM;;;;;;;;;;;;;;;;;;;;gBAoBG,MAAM;;;;SAIb,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBd;IACA,IAAI,EAAE,CAAC,MAAc,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,CAAC;OACjC,MAAM;;;;;;;;;;;;;;;;;;;;gBAoBG,MAAM;;;;SAIb,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBd;IACA,IAAI,EAAE,CAAC,MAAc,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,CAAC;OACjC,MAAM;;;;;;;;;;;;;;;;;;;;gBAoBG,MAAM;;;;SAIb,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBd;IACA,KAAK,EAAE,CAAC,MAAc,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,CAAC;OAClC,MAAM;;;;;;;;;;;;;;;;;;;;gBAoBG,MAAM;;;;SAIb,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBd;IACA,MAAM,EAAE,CAAC,MAAc,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,CAAC;OACnC,MAAM;;;;;;;;;;;;;;;;;;;;gBAoBG,MAAM;;;;SAIb,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBd;IACA,MAAM,EAAE,CAAC,MAAc,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,CAAC;OACnC,MAAM;;;;;;;;;;;;;;;;;;;;gBAoBG,MAAM;;;;SAIb,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBd;IACA,MAAM,EAAE,CAAC,MAAc,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,CAAC;OACnC,MAAM;;;;;;;;;;;;;;;;;;;;gBAoBG,MAAM;;;;SAIb,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBd;CACA,CAAC;AAEW,QAAA,eAAe,GAAG,MAAM,CAAC,IAAI,CAAC,kCAA0B,CAAC,CAAC;AAI1D,QAAA,cAAc,GAAG,CAAC,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,CAAU,CAAC"}