daisyui 5.0.0-alpha.0 → 5.0.0-alpha.2

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 (45) hide show
  1. package/components/badge/config.js +12 -0
  2. package/components/badge/index.css +1 -0
  3. package/components/badge/index.js +74 -0
  4. package/components/badge.css +109 -0
  5. package/components/button/config.js +8 -8
  6. package/components/button/index.js +112 -114
  7. package/components/button.css +293 -0
  8. package/components/checkbox/config.js +8 -8
  9. package/components/checkbox/index.js +11 -28
  10. package/components/checkbox.css +144 -0
  11. package/components/input/config.js +8 -8
  12. package/components/input/index.js +24 -24
  13. package/components/input.css +204 -0
  14. package/components/kbd/config.js +12 -0
  15. package/components/kbd/index.css +1 -0
  16. package/components/kbd/index.js +27 -0
  17. package/components/kbd.css +49 -0
  18. package/components/mask/config.js +12 -0
  19. package/components/mask/index.css +1 -0
  20. package/components/mask/index.js +74 -0
  21. package/components/mask.css +78 -0
  22. package/components/radio/config.js +8 -8
  23. package/components/radio/index.js +10 -10
  24. package/components/radio.css +102 -0
  25. package/components/range/config.js +8 -8
  26. package/components/range/index.js +7 -3
  27. package/components/range.css +164 -0
  28. package/components/rating/config.js +12 -0
  29. package/components/rating/index.css +1 -0
  30. package/components/rating/index.js +82 -0
  31. package/components/rating.css +104 -0
  32. package/components/select/config.js +12 -0
  33. package/components/select/index.css +1 -0
  34. package/components/select/index.js +99 -0
  35. package/components/select.css +166 -0
  36. package/components/toggle/config.js +8 -8
  37. package/components/toggle/index.js +11 -10
  38. package/components/toggle.css +143 -0
  39. package/functions/plugin.js +10 -0
  40. package/index.css +8 -6
  41. package/package.json +74 -71
  42. package/themes/dark/index.css +25 -25
  43. package/themes/default/index.css +26 -0
  44. package/themes/light/index.css +25 -25
  45. package/plugin.js +0 -2
@@ -1,26 +1,26 @@
1
- [data-theme=light] {
2
- --color-base-100: oklch(100% 0 0);
3
- --color-base-200: oklch(96.1151% 0 0);
4
- --color-base-300: oklch(92.4169% 0.00108 197.137559);
5
- --color-base-content: oklch(27.8078% 0.029596 256.84795);
6
- --color-primary: oklch(49.12% 0.3096 275.75);
7
- --color-primary-content: oklch(89.824% 0.06192 275.75);
8
- --color-secondary: oklch(69.71% 0.329 342.55);
9
- --color-secondary-content: oklch(98.71% 0.0106 342.55);
10
- --color-accent: oklch(76.76% 0.184 183.61);
11
- --color-accent-content: oklch(15.352% 0.0368 183.61);
12
- --color-neutral: oklch(32.1785% 0.02476 255.701624);
13
- --color-neutral-content: oklch(89.4994% 0.011585 252.096176);
14
- --color-info: oklch(72.06% 0.191 231.6);
15
- --color-info-content: oklch(0% 0 0);
16
- --color-success: oklch(64.8% 0.15 160);
17
- --color-success-content: oklch(0% 0 0);
18
- --color-warning: oklch(84.71% 0.199 83.87);
19
- --color-warning-content: oklch(0% 0 0);
20
- --color-error: oklch(71.76% 0.221 22.18);
21
- --color-error-content: oklch(0% 0 0);
22
- --radius-badge: 1.9rem;
23
- --radius-btn: 0.5rem;
24
- --radius-box: 1rem;
25
- --spacing-button-border: 1px;
1
+ [data-theme="light"] {
2
+ --color-base-100: oklch(100% 0 0);
3
+ --color-base-200: oklch(96.1151% 0 0);
4
+ --color-base-300: oklch(92.4169% 0.00108 197.137559);
5
+ --color-base-content: oklch(27.8078% 0.029596 256.84795);
6
+ --color-primary: oklch(49.12% 0.3096 275.75);
7
+ --color-primary-content: oklch(89.824% 0.06192 275.75);
8
+ --color-secondary: oklch(69.71% 0.329 342.55);
9
+ --color-secondary-content: oklch(98.71% 0.0106 342.55);
10
+ --color-accent: oklch(76.76% 0.184 183.61);
11
+ --color-accent-content: oklch(15.352% 0.0368 183.61);
12
+ --color-neutral: oklch(32.1785% 0.02476 255.701624);
13
+ --color-neutral-content: oklch(89.4994% 0.011585 252.096176);
14
+ --color-info: oklch(72.06% 0.191 231.6);
15
+ --color-info-content: oklch(0% 0 0);
16
+ --color-success: oklch(64.8% 0.15 160);
17
+ --color-success-content: oklch(0% 0 0);
18
+ --color-warning: oklch(84.71% 0.199 83.87);
19
+ --color-warning-content: oklch(0% 0 0);
20
+ --color-error: oklch(71.76% 0.221 22.18);
21
+ --color-error-content: oklch(0% 0 0);
22
+ --radius-badge: 1.9rem;
23
+ --radius-btn: 0.5rem;
24
+ --radius-box: 1rem;
25
+ --spacing-button-border: 1px;
26
26
  }
package/plugin.js DELETED
@@ -1,2 +0,0 @@
1
- function u(n, i) { return { handler: n, config: i } } u.withOptions = function (n, i = () => ({})) { function t(o) { return { handler: n(o), config: i(o) } } return t.__isOptionsFunction = !0, t };
2
- export const plugin = u