@hakistack/ng-daisyui 0.0.0-stage → 0.3.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 (41) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +396 -2
  3. package/fesm2022/hakistack-ng-daisyui-document_wasm_glue-CRZHWh0J.mjs +318 -0
  4. package/fesm2022/hakistack-ng-daisyui-document_wasm_glue-CRZHWh0J.mjs.map +1 -0
  5. package/fesm2022/hakistack-ng-daisyui-document_wasm_inline-CuQGC5OT.mjs +6 -0
  6. package/fesm2022/hakistack-ng-daisyui-document_wasm_inline-CuQGC5OT.mjs.map +1 -0
  7. package/fesm2022/hakistack-ng-daisyui-engine_wasm_glue-ClEcb6yJ.mjs +1328 -0
  8. package/fesm2022/hakistack-ng-daisyui-engine_wasm_glue-ClEcb6yJ.mjs.map +1 -0
  9. package/fesm2022/hakistack-ng-daisyui-engine_wasm_inline-DkzGyhGY.mjs +6 -0
  10. package/fesm2022/hakistack-ng-daisyui-engine_wasm_inline-DkzGyhGY.mjs.map +1 -0
  11. package/fesm2022/hakistack-ng-daisyui-image_wasm_glue-Vmd-rsMW.mjs +244 -0
  12. package/fesm2022/hakistack-ng-daisyui-image_wasm_glue-Vmd-rsMW.mjs.map +1 -0
  13. package/fesm2022/hakistack-ng-daisyui-image_wasm_inline-B5FgTetP.mjs +6 -0
  14. package/fesm2022/hakistack-ng-daisyui-image_wasm_inline-B5FgTetP.mjs.map +1 -0
  15. package/fesm2022/hakistack-ng-daisyui-pdfium_worker_inline-DP_6q4MH.mjs +7 -0
  16. package/fesm2022/hakistack-ng-daisyui-pdfium_worker_inline-DP_6q4MH.mjs.map +1 -0
  17. package/fesm2022/hakistack-ng-daisyui.mjs +50204 -0
  18. package/fesm2022/hakistack-ng-daisyui.mjs.map +1 -0
  19. package/package.json +127 -4
  20. package/plugin.cjs +279 -0
  21. package/plugin.mjs +279 -0
  22. package/schematics/collection.json +15 -0
  23. package/schematics/migrate-table-columns/index.js +70 -0
  24. package/schematics/migrate-table-columns/index.js.map +1 -0
  25. package/schematics/migrate-table-columns/migrate-source.js +0 -0
  26. package/schematics/migrate-table-columns/migrate-source.js.map +1 -0
  27. package/schematics/migrate-table-columns/schema.js +3 -0
  28. package/schematics/migrate-table-columns/schema.js.map +1 -0
  29. package/schematics/migrate-table-columns/schema.json +13 -0
  30. package/schematics/ng-add/index.js +265 -0
  31. package/schematics/ng-add/index.js.map +1 -0
  32. package/schematics/ng-add/schema.js +3 -0
  33. package/schematics/ng-add/schema.js.map +1 -0
  34. package/schematics/ng-add/schema.json +38 -0
  35. package/styles-v4.css +6867 -0
  36. package/styles.css +400 -0
  37. package/themes/daisyui-v4.css +80 -0
  38. package/themes/daisyui-v5.css +62 -0
  39. package/themes/kaizen-light.css +63 -0
  40. package/themes/kaizen.css +63 -0
  41. package/types/hakistack-ng-daisyui.d.ts +15693 -0
package/styles.css ADDED
@@ -0,0 +1,400 @@
1
+ /**
2
+ * @hakistack/ng-daisyui - Complete Styles (DaisyUI v5)
3
+ *
4
+ * Includes class scanning, variable mappings, and component styles.
5
+ *
6
+ * Usage (single import):
7
+ * @import "tailwindcss";
8
+ * @plugin "daisyui";
9
+ * @import "@hakistack/ng-daisyui";
10
+ */
11
+
12
+ /* =====================================================
13
+ AUTO-DETECT ALL CLASSES FROM COMPILED LIBRARY
14
+ Tailwind scans the FESM bundle and picks up every
15
+ class used in component templates automatically.
16
+ No manual safelist maintenance needed.
17
+ ===================================================== */
18
+ @source "./fesm2022/hakistack-ng-daisyui.mjs";
19
+
20
+ /* =====================================================
21
+ --hk-* VARIABLE MAPPINGS (DaisyUI v5 / oklch)
22
+ ===================================================== */
23
+
24
+ :root {
25
+ --hk-color-base-100: var(--color-base-100);
26
+ --hk-color-base-200: var(--color-base-200);
27
+ --hk-color-base-300: var(--color-base-300);
28
+ --hk-color-base-content: var(--color-base-content);
29
+ --hk-color-primary: var(--color-primary);
30
+ --hk-color-primary-content: var(--color-primary-content);
31
+ --hk-color-error: var(--color-error, oklch(var(--er)));
32
+ --hk-color-base-content-85: oklch(from var(--color-base-content) l c h / 0.85);
33
+ --hk-color-base-content-20: color-mix(in oklch, var(--color-base-content) 20%, transparent);
34
+ --hk-color-base-content-15: color-mix(in oklch, var(--color-base-content) 15%, transparent);
35
+ --hk-color-base-content-10: color-mix(in oklch, var(--color-base-content) 10%, transparent);
36
+ --hk-color-base-content-5: color-mix(in oklch, var(--color-base-content) 5%, transparent);
37
+ --hk-color-primary-30: color-mix(in oklch, var(--color-primary) 30%, transparent);
38
+ --hk-color-primary-20: color-mix(in oklch, var(--color-primary) 20%, transparent);
39
+ --hk-color-primary-15: color-mix(in oklch, var(--color-primary) 15%, transparent);
40
+ --hk-color-primary-12: color-mix(in oklch, var(--color-primary) 12%, var(--color-base-100));
41
+ --hk-color-primary-18: color-mix(in oklch, var(--color-primary) 18%, var(--color-base-100));
42
+ --hk-color-error-20: color-mix(in oklch, var(--color-error, oklch(var(--er))) 20%, transparent);
43
+ --hk-color-base-200-20: color-mix(in oklch, var(--color-base-200) 20%, transparent);
44
+ --hk-color-base-200-35: color-mix(in oklch, var(--color-base-200) 35%, transparent);
45
+ --hk-color-base-200-50: color-mix(in oklch, var(--color-base-200) 50%, transparent);
46
+ --hk-color-base-200-60: color-mix(in oklch, var(--color-base-200) 60%, transparent);
47
+ --hk-color-base-200-90: color-mix(in oklch, var(--color-base-200) 90%, transparent);
48
+ }
49
+
50
+ /* =====================================================
51
+ BASE STYLES & CSS VARIABLES
52
+ ===================================================== */
53
+
54
+ :root {
55
+ --hk-transition-duration: 150ms;
56
+ --hk-transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
57
+ }
58
+
59
+ /* Keyframe Animations */
60
+ @keyframes hk-slide-in-bottom {
61
+ from {
62
+ transform: translateY(100%);
63
+ opacity: 0;
64
+ }
65
+ to {
66
+ transform: translateY(0);
67
+ opacity: 1;
68
+ }
69
+ }
70
+ @keyframes hk-slide-out-bottom {
71
+ from {
72
+ transform: translateY(0);
73
+ opacity: 1;
74
+ }
75
+ to {
76
+ transform: translateY(100%);
77
+ opacity: 0;
78
+ }
79
+ }
80
+ @keyframes hk-slide-in-top {
81
+ from {
82
+ transform: translateY(-100%);
83
+ opacity: 0;
84
+ }
85
+ to {
86
+ transform: translateY(0);
87
+ opacity: 1;
88
+ }
89
+ }
90
+ @keyframes hk-slide-out-top {
91
+ from {
92
+ transform: translateY(0);
93
+ opacity: 1;
94
+ }
95
+ to {
96
+ transform: translateY(-100%);
97
+ opacity: 0;
98
+ }
99
+ }
100
+ @keyframes hk-fade-in {
101
+ from {
102
+ opacity: 0;
103
+ }
104
+ to {
105
+ opacity: 1;
106
+ }
107
+ }
108
+ @keyframes hk-slide-in-right {
109
+ from {
110
+ opacity: 0;
111
+ transform: translateX(30px);
112
+ }
113
+ to {
114
+ opacity: 1;
115
+ transform: translateX(0);
116
+ }
117
+ }
118
+ @keyframes hk-slide-in-left {
119
+ from {
120
+ opacity: 0;
121
+ transform: translateX(-30px);
122
+ }
123
+ to {
124
+ opacity: 1;
125
+ transform: translateX(0);
126
+ }
127
+ }
128
+
129
+ /* Disabled Input Text Color Fix - Override DaisyUI defaults for better readability */
130
+ .input:disabled,
131
+ .input[disabled] {
132
+ color: var(--hk-color-base-content-85) !important;
133
+ -webkit-text-fill-color: var(--hk-color-base-content-85) !important;
134
+ opacity: 1 !important;
135
+ }
136
+ .select:disabled,
137
+ .select[disabled] {
138
+ color: var(--hk-color-base-content-85) !important;
139
+ -webkit-text-fill-color: var(--hk-color-base-content-85) !important;
140
+ opacity: 1 !important;
141
+ }
142
+ .textarea:disabled,
143
+ .textarea[disabled] {
144
+ color: var(--hk-color-base-content-85) !important;
145
+ -webkit-text-fill-color: var(--hk-color-base-content-85) !important;
146
+ opacity: 1 !important;
147
+ }
148
+
149
+ /* Reduced Motion Support */
150
+ @media (prefers-reduced-motion: reduce) {
151
+ .toast-item,
152
+ .toast-item.cursor-pointer,
153
+ .dropdown-container,
154
+ .step-content-wrapper {
155
+ transition: none !important;
156
+ animation: none !important;
157
+ }
158
+ .toast-progress {
159
+ transition: none;
160
+ width: 100% !important;
161
+ opacity: 0.2;
162
+ }
163
+ .toast-enter-bottom,
164
+ .toast-enter-top,
165
+ .toast-leave-bottom,
166
+ .toast-leave-top {
167
+ animation: none;
168
+ }
169
+ }
170
+
171
+ /* =====================================================
172
+ TOAST COMPONENT
173
+ ===================================================== */
174
+
175
+ /* Container positioning */
176
+ .toast-container {
177
+ position: fixed;
178
+ display: flex;
179
+ pointer-events: none;
180
+ z-index: 9999;
181
+ gap: 0.5rem;
182
+ }
183
+ .toast-container.toast-top {
184
+ top: 1rem;
185
+ flex-direction: column;
186
+ }
187
+ .toast-container.toast-bottom {
188
+ bottom: 1rem;
189
+ flex-direction: column-reverse;
190
+ }
191
+ .toast-container.toast-start {
192
+ left: 1rem;
193
+ }
194
+ .toast-container.toast-end {
195
+ right: 1rem;
196
+ }
197
+ .toast-container.toast-center {
198
+ left: 50%;
199
+ transform: translateX(-50%);
200
+ }
201
+
202
+ /* Toast item */
203
+ .toast-item {
204
+ pointer-events: auto;
205
+ min-width: 320px;
206
+ max-width: 420px;
207
+ box-shadow:
208
+ 0 10px 15px -3px rgb(0 0 0 / 0.1),
209
+ 0 4px 6px -2px rgb(0 0 0 / 0.05);
210
+ position: relative;
211
+ overflow: hidden;
212
+ transition: transform 200ms ease-out;
213
+ }
214
+ .toast-item.cursor-pointer {
215
+ cursor: pointer;
216
+ transition: transform 150ms ease-out;
217
+ }
218
+ .toast-item.cursor-pointer:hover {
219
+ transform: scale(1.02);
220
+ }
221
+
222
+ /* Toast content */
223
+ .toast-content {
224
+ flex: 1 1 0%;
225
+ min-width: 0;
226
+ }
227
+ .toast-content .toast-summary {
228
+ font-weight: 500;
229
+ }
230
+ .toast-content .toast-detail {
231
+ font-size: 0.875rem;
232
+ opacity: 0.8;
233
+ margin-top: 0.125rem;
234
+ display: -webkit-box;
235
+ line-clamp: 2;
236
+ -webkit-line-clamp: 2;
237
+ -webkit-box-orient: vertical;
238
+ overflow: hidden;
239
+ }
240
+ .toast-actions {
241
+ display: flex;
242
+ gap: 0.5rem;
243
+ margin-top: 0.5rem;
244
+ }
245
+ .toast-icon {
246
+ flex-shrink: 0;
247
+ }
248
+ .toast-dismiss {
249
+ flex-shrink: 0;
250
+ }
251
+
252
+ /* Toast animations */
253
+ .toast-enter-bottom {
254
+ animation: hk-slide-in-bottom 300ms ease-out forwards;
255
+ }
256
+ .toast-leave-bottom {
257
+ animation: hk-slide-out-bottom 300ms ease-out forwards;
258
+ }
259
+ .toast-enter-top {
260
+ animation: hk-slide-in-top 300ms ease-out forwards;
261
+ }
262
+ .toast-leave-top {
263
+ animation: hk-slide-out-top 300ms ease-in forwards;
264
+ }
265
+
266
+ /* Toast progress bar */
267
+ .toast-progress {
268
+ position: absolute;
269
+ bottom: 0;
270
+ left: 0;
271
+ height: 3px;
272
+ background: currentColor;
273
+ opacity: 0.3;
274
+ pointer-events: none;
275
+ border-radius: 0 0 0 var(--rounded-box, 1rem);
276
+ transition: width linear;
277
+ transition-duration: var(--progress-duration, 5000ms);
278
+ }
279
+ .toast-progress.paused {
280
+ transition-duration: 0ms;
281
+ opacity: 0.5;
282
+ }
283
+ .toast-item:hover .toast-progress {
284
+ opacity: 0.5;
285
+ }
286
+
287
+ /* =====================================================
288
+ DROPDOWN/SELECT COMPONENT
289
+ ===================================================== */
290
+
291
+ /*
292
+ * hk-select dropdown panel. Rendered in the CDK overlay layer (teleported to
293
+ * the body), so these styles must be global — `:host` vars no longer cascade
294
+ * to it. The CDK overlay positions/flips the panel; here we only style the
295
+ * look, cap the height, and play a one-shot reveal animation on mount.
296
+ */
297
+ .dropdown-container {
298
+ /* Fill the CDK overlay pane (which is sized to the trigger width). The pane
299
+ is display:flex, so without this the panel would shrink to content width. */
300
+ width: 100%;
301
+ border-radius: 0.5rem;
302
+ box-shadow:
303
+ 0 10px 15px -3px rgb(0 0 0 / 0.1),
304
+ 0 4px 6px -2px rgb(0 0 0 / 0.05);
305
+ backdrop-filter: blur(8px);
306
+ max-height: 25rem;
307
+ overflow: hidden;
308
+ isolation: isolate;
309
+ will-change: opacity, transform;
310
+ transform-origin: top center;
311
+ scrollbar-width: thin;
312
+ scrollbar-color: var(--hk-color-base-content-20) transparent;
313
+ animation: hk-dropdown-in var(--hk-transition-duration) var(--hk-transition-timing);
314
+ }
315
+ @keyframes hk-dropdown-in {
316
+ from {
317
+ opacity: 0;
318
+ transform: scaleY(0.97) translateY(-2px);
319
+ }
320
+ to {
321
+ opacity: 1;
322
+ transform: none;
323
+ }
324
+ }
325
+ /* =====================================================
326
+ STEPPER COMPONENT
327
+ ===================================================== */
328
+
329
+ .step-content-wrapper {
330
+ animation: hk-fade-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
331
+ }
332
+ .step-content-wrapper.animate-forward {
333
+ animation: hk-slide-in-right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
334
+ }
335
+ .step-content-wrapper.animate-backward {
336
+ animation: hk-slide-in-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
337
+ }
338
+
339
+ /* =====================================================
340
+ CDK OVERLAY (structural)
341
+ Equivalent of @angular/cdk/overlay-prebuilt.css, shipped here so connected
342
+ overlays (hk-select dropdown) position correctly with no extra consumer
343
+ setup. Visual styling stays on each panel (e.g. .dropdown-container).
344
+ ===================================================== */
345
+ .cdk-overlay-container,
346
+ .cdk-global-overlay-wrapper {
347
+ pointer-events: none;
348
+ top: 0;
349
+ left: 0;
350
+ height: 100%;
351
+ width: 100%;
352
+ }
353
+ .cdk-overlay-container {
354
+ position: fixed;
355
+ z-index: 1000;
356
+ }
357
+ .cdk-overlay-container:empty {
358
+ display: none;
359
+ }
360
+ .cdk-global-overlay-wrapper {
361
+ display: flex;
362
+ position: absolute;
363
+ z-index: 1000;
364
+ }
365
+ .cdk-overlay-pane {
366
+ position: absolute;
367
+ pointer-events: auto;
368
+ box-sizing: border-box;
369
+ z-index: 1000;
370
+ display: flex;
371
+ max-width: 100%;
372
+ max-height: 100%;
373
+ }
374
+ .cdk-overlay-backdrop {
375
+ position: absolute;
376
+ top: 0;
377
+ bottom: 0;
378
+ left: 0;
379
+ right: 0;
380
+ pointer-events: auto;
381
+ -webkit-tap-highlight-color: transparent;
382
+ transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
383
+ opacity: 0;
384
+ }
385
+ .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
386
+ opacity: 1;
387
+ }
388
+ .cdk-overlay-connected-position-bounding-box {
389
+ position: absolute;
390
+ z-index: 1000;
391
+ display: flex;
392
+ flex-direction: column;
393
+ min-width: 1px;
394
+ min-height: 1px;
395
+ }
396
+ .cdk-global-scrollblock {
397
+ position: fixed;
398
+ width: 100%;
399
+ overflow-y: scroll;
400
+ }
@@ -0,0 +1,80 @@
1
+ /**
2
+ * @hakistack/ng-daisyui - DaisyUI v4 Theme Adapter
3
+ *
4
+ * Maps --hk-* CSS custom properties to DaisyUI v4 (Tailwind v3) hsl color functions.
5
+ *
6
+ * NOTE: this adapter is ALSO bundled into `@hakistack/ng-daisyui/styles-v4.css`
7
+ * (prepended at build time), so v4 consumers normally need just ONE import:
8
+ *
9
+ * @import "@hakistack/ng-daisyui/styles-v4.css"; // bridge + all lib classes
10
+ * @tailwind base;
11
+ * @tailwind components;
12
+ * @tailwind utilities;
13
+ *
14
+ * tailwind.config.js only needs to scan YOUR app (no ng-daisyui preset):
15
+ * module.exports = {
16
+ * content: ['./src/**\/*.{html,ts}'],
17
+ * plugins: [require('daisyui')],
18
+ * }
19
+ *
20
+ * This standalone file is kept for back-compat / if you want only the bridge.
21
+ */
22
+
23
+ /* =====================================================
24
+ --hk-* VARIABLE MAPPINGS (DaisyUI v4 / hsl)
25
+ ===================================================== */
26
+
27
+ :root {
28
+ --hk-color-base-100: hsl(var(--b1));
29
+ --hk-color-base-200: hsl(var(--b2));
30
+ --hk-color-base-300: hsl(var(--b3));
31
+ --hk-color-base-content: hsl(var(--bc));
32
+ --hk-color-primary: hsl(var(--p));
33
+ --hk-color-primary-content: hsl(var(--pc));
34
+ --hk-color-error: hsl(var(--er));
35
+ --hk-color-base-content-85: hsl(var(--bc) / 0.85);
36
+ --hk-color-base-content-70: hsl(var(--bc) / 0.7);
37
+ --hk-color-base-content-45: hsl(var(--bc) / 0.45);
38
+ --hk-color-base-content-20: hsl(var(--bc) / 0.2);
39
+ --hk-color-base-content-15: hsl(var(--bc) / 0.15);
40
+ --hk-color-base-content-10: hsl(var(--bc) / 0.1);
41
+ --hk-color-base-content-5: hsl(var(--bc) / 0.05);
42
+ --hk-radius-field: 0.5rem;
43
+ --hk-radius-box: 1rem;
44
+ --hk-color-primary-30: hsl(var(--p) / 0.3);
45
+ --hk-color-primary-20: hsl(var(--p) / 0.2);
46
+ --hk-color-primary-15: hsl(var(--p) / 0.15);
47
+ --hk-color-primary-12: hsl(var(--p) / 0.12);
48
+ --hk-color-primary-18: hsl(var(--p) / 0.18);
49
+ --hk-color-error-20: hsl(var(--er) / 0.2);
50
+ --hk-color-base-200-20: hsl(var(--b2) / 0.2);
51
+ --hk-color-base-200-35: hsl(var(--b2) / 0.35);
52
+ --hk-color-base-200-50: hsl(var(--b2) / 0.5);
53
+ --hk-color-base-200-60: hsl(var(--b2) / 0.6);
54
+ --hk-color-base-200-90: hsl(var(--b2) / 0.9);
55
+ }
56
+
57
+ /* =====================================================
58
+ FORM ELEMENT BORDERS (v4 compatibility)
59
+ In DaisyUI v5, form elements have borders by default.
60
+ In v4, the *-bordered modifier was required.
61
+ These rules auto-apply borders so the library code
62
+ can omit *-bordered and work on both versions.
63
+ ===================================================== */
64
+
65
+ .input:not(.input-ghost),
66
+ .select:not(.select-ghost),
67
+ .textarea:not(.textarea-ghost),
68
+ .file-input:not(.file-input-ghost) {
69
+ border-width: 1px;
70
+ border-color: hsl(var(--bc) / 0.2);
71
+ }
72
+
73
+ /* =====================================================
74
+ LABEL / FORM-CONTROL COMPAT
75
+ In v5, label-text / label-text-alt / form-control
76
+ were removed. The library now uses Tailwind utilities
77
+ directly. These rules restore v4 visual parity.
78
+ ===================================================== */
79
+
80
+ /* form-control provided flex-col in v4; not needed now but harmless */
@@ -0,0 +1,62 @@
1
+ /**
2
+ * @hakistack/ng-daisyui - DaisyUI v5 Theme Adapter
3
+ *
4
+ * Maps --hk-* CSS custom properties to DaisyUI v5 (Tailwind v4) color functions.
5
+ *
6
+ * Usage:
7
+ * @import "tailwindcss";
8
+ * @plugin "daisyui";
9
+ * @import "@hakistack/ng-daisyui/themes/daisyui-v5";
10
+ *
11
+ * The @source directive below tells Tailwind to scan the library's compiled
12
+ * bundle so every DaisyUI/Tailwind class used by hakistack components is
13
+ * discovered and generated at build time — no hand-maintained safelist.
14
+ *
15
+ * See DaisyUI v5 guidance: class names are generated by Tailwind at runtime
16
+ * based on usage; a safelist is not needed.
17
+ */
18
+
19
+ @source "../fesm2022/**/*.mjs";
20
+
21
+ /* =====================================================
22
+ --hk-* VARIABLE MAPPINGS (DaisyUI v5)
23
+ Canonical v5 variables (from https://unpkg.com/daisyui@5.5.19/themes.css):
24
+ --color-base-100/200/300/content
25
+ --color-primary/content, --color-secondary/content
26
+ --color-accent/content, --color-neutral/content
27
+ --color-info/content, --color-success/content
28
+ --color-warning/content, --color-error/content
29
+ --radius-selector, --radius-field, --radius-box
30
+ --size-selector, --size-field
31
+ --border, --depth, --noise
32
+ ===================================================== */
33
+
34
+ :root {
35
+ --hk-color-base-100: var(--color-base-100);
36
+ --hk-color-base-200: var(--color-base-200);
37
+ --hk-color-base-300: var(--color-base-300);
38
+ --hk-color-base-content: var(--color-base-content);
39
+ --hk-color-primary: var(--color-primary);
40
+ --hk-color-primary-content: var(--color-primary-content);
41
+ --hk-color-error: var(--color-error);
42
+ --hk-color-base-content-85: oklch(from var(--color-base-content) l c h / 0.85);
43
+ --hk-color-base-content-70: color-mix(in oklch, var(--color-base-content) 70%, transparent);
44
+ --hk-color-base-content-45: color-mix(in oklch, var(--color-base-content) 45%, transparent);
45
+ --hk-color-base-content-20: color-mix(in oklch, var(--color-base-content) 20%, transparent);
46
+ --hk-color-base-content-15: color-mix(in oklch, var(--color-base-content) 15%, transparent);
47
+ --hk-color-base-content-10: color-mix(in oklch, var(--color-base-content) 10%, transparent);
48
+ --hk-color-base-content-5: color-mix(in oklch, var(--color-base-content) 5%, transparent);
49
+ --hk-radius-field: var(--radius-field, 0.25rem);
50
+ --hk-radius-box: var(--radius-box, 1rem);
51
+ --hk-color-primary-30: color-mix(in oklch, var(--color-primary) 30%, transparent);
52
+ --hk-color-primary-20: color-mix(in oklch, var(--color-primary) 20%, transparent);
53
+ --hk-color-primary-15: color-mix(in oklch, var(--color-primary) 15%, transparent);
54
+ --hk-color-primary-12: color-mix(in oklch, var(--color-primary) 12%, var(--color-base-100));
55
+ --hk-color-primary-18: color-mix(in oklch, var(--color-primary) 18%, var(--color-base-100));
56
+ --hk-color-error-20: color-mix(in oklch, var(--color-error) 20%, transparent);
57
+ --hk-color-base-200-20: color-mix(in oklch, var(--color-base-200) 20%, transparent);
58
+ --hk-color-base-200-35: color-mix(in oklch, var(--color-base-200) 35%, transparent);
59
+ --hk-color-base-200-50: color-mix(in oklch, var(--color-base-200) 50%, transparent);
60
+ --hk-color-base-200-60: color-mix(in oklch, var(--color-base-200) 60%, transparent);
61
+ --hk-color-base-200-90: color-mix(in oklch, var(--color-base-200) 90%, transparent);
62
+ }
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @hakistack/ng-daisyui - "Kaizen Light" Theme
3
+ *
4
+ * Warm editorial aesthetic on papery off-white surfaces.
5
+ * The light counterpart to the kaizen (dark) theme.
6
+ *
7
+ * Usage (DaisyUI v5 / Tailwind v4):
8
+ *
9
+ * @import "tailwindcss";
10
+ * @plugin "daisyui";
11
+ * @import "@hakistack/ng-daisyui/themes/daisyui-v5";
12
+ * @import "@hakistack/ng-daisyui/themes/kaizen-light";
13
+ *
14
+ * Then set on your root element:
15
+ * <html data-theme="kaizen-light">
16
+ */
17
+
18
+ @plugin "daisyui/theme" {
19
+ name: "kaizen-light";
20
+ default: false;
21
+ prefersdark: false;
22
+ color-scheme: light;
23
+
24
+ --color-base-100: oklch(96.5% 0.006 78);
25
+ --color-base-200: oklch(99.5% 0.002 78);
26
+ --color-base-300: oklch(92% 0.008 78);
27
+ --color-base-content: oklch(20% 0.010 50);
28
+
29
+ --color-primary: oklch(60% 0.185 35);
30
+ --color-primary-content: oklch(100% 0 0);
31
+
32
+ --color-secondary: oklch(55% 0.155 294);
33
+ --color-secondary-content: oklch(100% 0 0);
34
+
35
+ --color-accent: oklch(52% 0.155 263);
36
+ --color-accent-content: oklch(100% 0 0);
37
+
38
+ --color-neutral: oklch(85% 0.008 78);
39
+ --color-neutral-content: oklch(40% 0.015 50);
40
+
41
+ --color-info: oklch(52% 0.155 263);
42
+ --color-info-content: oklch(100% 0 0);
43
+
44
+ --color-success: oklch(52% 0.155 157);
45
+ --color-success-content: oklch(100% 0 0);
46
+
47
+ --color-warning: oklch(78% 0.150 88);
48
+ --color-warning-content: oklch(25% 0.030 88);
49
+
50
+ --color-error: oklch(58% 0.185 23);
51
+ --color-error-content: oklch(100% 0 0);
52
+
53
+ --radius-selector: 0.5rem;
54
+ --radius-field: 0.375rem;
55
+ --radius-box: 0.75rem;
56
+
57
+ --size-selector: 0.25rem;
58
+ --size-field: 0.25rem;
59
+
60
+ --border: 1px;
61
+ --depth: 1;
62
+ --noise: 0;
63
+ }
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @hakistack/ng-daisyui - "Kaizen" Theme (Dark)
3
+ *
4
+ * Dark editorial aesthetic with warm orange primary, purple secondary,
5
+ * and blue accent on near-black surfaces.
6
+ *
7
+ * Usage (DaisyUI v5 / Tailwind v4):
8
+ *
9
+ * @import "tailwindcss";
10
+ * @plugin "daisyui";
11
+ * @import "@hakistack/ng-daisyui/themes/daisyui-v5";
12
+ * @import "@hakistack/ng-daisyui/themes/kaizen";
13
+ *
14
+ * Then set on your root element:
15
+ * <html data-theme="kaizen">
16
+ */
17
+
18
+ @plugin "daisyui/theme" {
19
+ name: "kaizen";
20
+ default: false;
21
+ prefersdark: true;
22
+ color-scheme: dark;
23
+
24
+ --color-base-100: oklch(15.5% 0.004 286);
25
+ --color-base-200: oklch(19.3% 0.006 286);
26
+ --color-base-300: oklch(22.9% 0.010 286);
27
+ --color-base-content: oklch(92.6% 0.005 78);
28
+
29
+ --color-primary: oklch(65.2% 0.180 35);
30
+ --color-primary-content: oklch(100% 0 0);
31
+
32
+ --color-secondary: oklch(70.9% 0.159 294);
33
+ --color-secondary-content: oklch(15.5% 0.004 286);
34
+
35
+ --color-accent: oklch(65.5% 0.156 263);
36
+ --color-accent-content: oklch(15.5% 0.004 286);
37
+
38
+ --color-neutral: oklch(28.9% 0.016 285);
39
+ --color-neutral-content: oklch(63.7% 0.018 286);
40
+
41
+ --color-info: oklch(65.5% 0.156 263);
42
+ --color-info-content: oklch(100% 0 0);
43
+
44
+ --color-success: oklch(77.9% 0.165 157);
45
+ --color-success-content: oklch(26.8% 0.056 160);
46
+
47
+ --color-warning: oklch(83.3% 0.146 88);
48
+ --color-warning-content: oklch(18.9% 0.024 75);
49
+
50
+ --color-error: oklch(66.5% 0.183 23);
51
+ --color-error-content: oklch(100% 0 0);
52
+
53
+ --radius-selector: 0.5rem;
54
+ --radius-field: 0.375rem;
55
+ --radius-box: 0.75rem;
56
+
57
+ --size-selector: 0.25rem;
58
+ --size-field: 0.25rem;
59
+
60
+ --border: 1px;
61
+ --depth: 1;
62
+ --noise: 0;
63
+ }