@nextui-org/theme 0.0.0-dev-v2-20230625233448 → 0.0.0-dev-v2-20230701230240

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 (176) hide show
  1. package/dist/{chunk-CEW7YOHH.mjs → chunk-2PIR7DFM.mjs} +1 -1
  2. package/dist/{chunk-LGTXL2ML.mjs → chunk-3DUVVNBM.mjs} +15 -21
  3. package/dist/chunk-3LKKH4AR.mjs +17 -0
  4. package/dist/{chunk-BHHIVMOY.mjs → chunk-524WVPFR.mjs} +20 -35
  5. package/dist/{chunk-S6AN5YW7.mjs → chunk-5VNI3CVI.mjs} +33 -51
  6. package/dist/{chunk-XAE5NCFD.mjs → chunk-6PEULYVG.mjs} +11 -34
  7. package/dist/{chunk-OIVGIOVG.mjs → chunk-AGUZRGXC.mjs} +4 -1
  8. package/dist/{chunk-3D7G7PZH.mjs → chunk-BC3PVAWS.mjs} +13 -27
  9. package/dist/{chunk-4ZBRDYD7.mjs → chunk-C43HNPNG.mjs} +18 -33
  10. package/dist/chunk-D2XMP2NC.mjs +6 -0
  11. package/dist/{chunk-I75M4OOG.mjs → chunk-DY5676QC.mjs} +9 -50
  12. package/dist/{chunk-C3VRXEKA.mjs → chunk-GCKY7FII.mjs} +17 -39
  13. package/dist/{chunk-EKPDWNE4.mjs → chunk-GHB2MRUU.mjs} +10 -8
  14. package/dist/{chunk-DYAPDM2A.mjs → chunk-GHZ36ATJ.mjs} +1 -1
  15. package/dist/chunk-GMMETTYU.mjs +30 -0
  16. package/dist/{chunk-5LKRUH3Q.mjs → chunk-IAS3SFA4.mjs} +15 -11
  17. package/dist/{chunk-LJRWR5MA.mjs → chunk-ICPFKWB4.mjs} +11 -7
  18. package/dist/{chunk-JG7GS7DC.mjs → chunk-IG4H42LV.mjs} +34 -35
  19. package/dist/{chunk-P5E3PNHW.mjs → chunk-IWEUZYJF.mjs} +4 -1
  20. package/dist/{chunk-Y4YW5MKL.mjs → chunk-JUEOCLA3.mjs} +1 -1
  21. package/dist/{chunk-46ZSXBCH.mjs → chunk-LDBYFTHC.mjs} +13 -50
  22. package/dist/chunk-LXHWZ5PE.mjs +54 -0
  23. package/dist/{chunk-B6FPCX5Q.mjs → chunk-MBMVULBL.mjs} +15 -56
  24. package/dist/{chunk-37PIXVP4.mjs → chunk-MEZC3VSI.mjs} +12 -1
  25. package/dist/{chunk-OJDLSLMW.mjs → chunk-NXGPICRI.mjs} +8 -8
  26. package/dist/{chunk-P455YPME.mjs → chunk-OFWUJFG6.mjs} +20 -53
  27. package/dist/{chunk-HOQUCE4N.mjs → chunk-PSEUPXFL.mjs} +7 -16
  28. package/dist/{chunk-WNUIORY5.mjs → chunk-Q7Y2WFSA.mjs} +28 -62
  29. package/dist/{chunk-MMICGI5R.mjs → chunk-QMVL7T5G.mjs} +12 -27
  30. package/dist/{chunk-V62BB4KJ.mjs → chunk-RMP5GJT5.mjs} +2 -2
  31. package/dist/{chunk-LE5M6GGI.mjs → chunk-RVVPQOCN.mjs} +43 -31
  32. package/dist/{chunk-KECBFVJC.mjs → chunk-SQCHLZL7.mjs} +38 -151
  33. package/dist/{chunk-FAR5DJOU.mjs → chunk-TXDV4YYI.mjs} +6 -4
  34. package/dist/{chunk-ACERSXMK.mjs → chunk-U7M6NPLF.mjs} +5 -3
  35. package/dist/{chunk-2ENRZMQI.mjs → chunk-UODOTC2G.mjs} +6 -3
  36. package/dist/{chunk-7ZE4XJWS.mjs → chunk-UZZPYFGR.mjs} +14 -22
  37. package/dist/{chunk-576B55VI.mjs → chunk-V5ZTBGGO.mjs} +11 -13
  38. package/dist/{chunk-3B4SYPW2.mjs → chunk-W6DVXJB3.mjs} +4 -1
  39. package/dist/{chunk-UPBFQDTD.mjs → chunk-WAAJG22Y.mjs} +8 -15
  40. package/dist/chunk-XJ2ME5DT.mjs +220 -0
  41. package/dist/{chunk-7CDOS5YK.mjs → chunk-ZHGJEVPT.mjs} +25 -38
  42. package/dist/{chunk-DN3YP75Q.mjs → chunk-ZQYK5VM2.mjs} +26 -59
  43. package/dist/colors/blue.js +1 -1
  44. package/dist/colors/blue.mjs +1 -1
  45. package/dist/colors/common.d.ts +12 -0
  46. package/dist/colors/common.js +18 -3
  47. package/dist/colors/common.mjs +6 -5
  48. package/dist/colors/index.d.ts +16 -4
  49. package/dist/colors/index.js +50 -34
  50. package/dist/colors/index.mjs +9 -8
  51. package/dist/colors/semantic.d.ts +6 -6
  52. package/dist/colors/semantic.js +56 -40
  53. package/dist/colors/semantic.mjs +14 -13
  54. package/dist/colors/types.d.ts +2 -2
  55. package/dist/colors/yellow.js +1 -1
  56. package/dist/colors/yellow.mjs +1 -1
  57. package/dist/colors/zinc.d.ts +14 -0
  58. package/dist/colors/zinc.js +41 -0
  59. package/dist/colors/zinc.mjs +6 -0
  60. package/dist/colors.d.ts +1 -1
  61. package/dist/colors.js +50 -34
  62. package/dist/colors.mjs +9 -8
  63. package/dist/components/accordion.d.ts +8 -28
  64. package/dist/components/accordion.js +39 -23
  65. package/dist/components/accordion.mjs +3 -2
  66. package/dist/components/avatar.d.ts +0 -72
  67. package/dist/components/avatar.js +36 -35
  68. package/dist/components/avatar.mjs +3 -2
  69. package/dist/components/badge.d.ts +0 -116
  70. package/dist/components/badge.js +33 -50
  71. package/dist/components/badge.mjs +3 -2
  72. package/dist/components/button.d.ts +48 -72
  73. package/dist/components/button.js +53 -63
  74. package/dist/components/button.mjs +3 -2
  75. package/dist/components/card.d.ts +0 -136
  76. package/dist/components/card.js +44 -53
  77. package/dist/components/card.mjs +3 -2
  78. package/dist/components/checkbox.d.ts +24 -88
  79. package/dist/components/checkbox.js +68 -32
  80. package/dist/components/checkbox.mjs +3 -2
  81. package/dist/components/chip.d.ts +0 -96
  82. package/dist/components/chip.js +57 -51
  83. package/dist/components/chip.mjs +3 -2
  84. package/dist/components/circular-progress.d.ts +0 -40
  85. package/dist/components/circular-progress.js +33 -15
  86. package/dist/components/circular-progress.mjs +2 -1
  87. package/dist/components/code.d.ts +24 -40
  88. package/dist/components/code.js +35 -13
  89. package/dist/components/code.mjs +3 -2
  90. package/dist/components/divider.d.ts +8 -8
  91. package/dist/components/divider.js +31 -3
  92. package/dist/components/divider.mjs +2 -1
  93. package/dist/components/drip.js +29 -1
  94. package/dist/components/drip.mjs +2 -1
  95. package/dist/components/dropdown.js +42 -24
  96. package/dist/components/dropdown.mjs +3 -2
  97. package/dist/components/image.d.ts +0 -80
  98. package/dist/components/image.js +38 -50
  99. package/dist/components/image.mjs +2 -1
  100. package/dist/components/index.js +410 -949
  101. package/dist/components/index.mjs +38 -37
  102. package/dist/components/input.d.ts +0 -68
  103. package/dist/components/input.js +62 -151
  104. package/dist/components/input.mjs +3 -2
  105. package/dist/components/kbd.js +36 -7
  106. package/dist/components/kbd.mjs +2 -1
  107. package/dist/components/link.d.ts +20 -28
  108. package/dist/components/link.js +32 -8
  109. package/dist/components/link.mjs +3 -2
  110. package/dist/components/modal.d.ts +0 -96
  111. package/dist/components/modal.js +36 -27
  112. package/dist/components/modal.mjs +3 -2
  113. package/dist/components/navbar.d.ts +12 -4
  114. package/dist/components/navbar.js +34 -8
  115. package/dist/components/navbar.mjs +3 -2
  116. package/dist/components/pagination.d.ts +0 -16
  117. package/dist/components/pagination.js +49 -38
  118. package/dist/components/pagination.mjs +3 -2
  119. package/dist/components/popover.d.ts +0 -96
  120. package/dist/components/popover.js +42 -33
  121. package/dist/components/popover.mjs +3 -2
  122. package/dist/components/progress.d.ts +0 -36
  123. package/dist/components/progress.js +45 -35
  124. package/dist/components/progress.mjs +2 -1
  125. package/dist/components/radio.d.ts +0 -176
  126. package/dist/components/radio.js +40 -57
  127. package/dist/components/radio.mjs +3 -2
  128. package/dist/components/skeleton.js +29 -1
  129. package/dist/components/skeleton.mjs +2 -1
  130. package/dist/components/snippet.d.ts +4 -64
  131. package/dist/components/snippet.js +37 -27
  132. package/dist/components/snippet.mjs +3 -2
  133. package/dist/components/spacer.js +29 -1
  134. package/dist/components/spacer.mjs +2 -1
  135. package/dist/components/spinner.d.ts +0 -48
  136. package/dist/components/spinner.js +32 -16
  137. package/dist/components/spinner.mjs +2 -1
  138. package/dist/components/table.js +29 -3
  139. package/dist/components/table.mjs +3 -2
  140. package/dist/components/tabs.d.ts +24 -156
  141. package/dist/components/tabs.js +50 -59
  142. package/dist/components/tabs.mjs +3 -2
  143. package/dist/components/toggle.d.ts +0 -56
  144. package/dist/components/toggle.js +41 -39
  145. package/dist/components/toggle.mjs +3 -2
  146. package/dist/components/user.js +30 -4
  147. package/dist/components/user.mjs +3 -2
  148. package/dist/default-layout.d.ts +12 -0
  149. package/dist/default-layout.js +81 -0
  150. package/dist/default-layout.mjs +12 -0
  151. package/dist/index.d.ts +4 -8
  152. package/dist/index.js +605 -1042
  153. package/dist/index.mjs +52 -51
  154. package/dist/plugin.d.ts +4 -41
  155. package/dist/plugin.js +193 -87
  156. package/dist/plugin.mjs +14 -11
  157. package/dist/types.d.ts +126 -0
  158. package/dist/types.js +18 -0
  159. package/dist/types.mjs +0 -0
  160. package/dist/utilities/index.mjs +2 -2
  161. package/dist/utils/index.js +1 -1
  162. package/dist/utils/index.mjs +1 -1
  163. package/dist/utils/object.d.ts +18 -1
  164. package/dist/utils/object.js +21 -2
  165. package/dist/utils/object.mjs +7 -3
  166. package/dist/utils/theme.d.ts +9 -0
  167. package/dist/utils/theme.js +30 -0
  168. package/dist/utils/theme.mjs +6 -0
  169. package/dist/utils/tv.d.ts +5 -0
  170. package/dist/utils/tv.js +54 -0
  171. package/dist/utils/tv.mjs +6 -0
  172. package/dist/utils/variants.js +1 -1
  173. package/dist/utils/variants.mjs +1 -1
  174. package/package.json +4 -10
  175. package/dist/chunk-VQMZCOF7.mjs +0 -178
  176. package/dist/{chunk-OQGOVMIP.mjs → chunk-UNQJ7BRW.mjs} +3 -3
@@ -0,0 +1,6 @@
1
+ // src/utils/theme.ts
2
+ var isBaseTheme = (theme) => theme === "light" || theme === "dark";
3
+
4
+ export {
5
+ isBaseTheme
6
+ };
@@ -1,9 +1,11 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-CEW7YOHH.mjs";
3
+ } from "./chunk-2PIR7DFM.mjs";
4
+ import {
5
+ tv
6
+ } from "./chunk-GMMETTYU.mjs";
4
7
 
5
8
  // src/components/badge.ts
6
- import { tv } from "tailwind-variants";
7
9
  var badge = tv({
8
10
  slots: {
9
11
  base: ["relative", "inline-flex", "shrink-0"],
@@ -13,6 +15,7 @@ var badge = tv({
13
15
  "flex-wrap",
14
16
  "absolute",
15
17
  "box-border",
18
+ "rounded-full",
16
19
  "whitespace-nowrap",
17
20
  "place-content-center",
18
21
  "origin-center",
@@ -32,7 +35,7 @@ var badge = tv({
32
35
  solid: {},
33
36
  flat: {},
34
37
  faded: {
35
- badge: "border-2"
38
+ badge: "border-medium"
36
39
  },
37
40
  shadow: {}
38
41
  },
@@ -45,20 +48,14 @@ var badge = tv({
45
48
  danger: {}
46
49
  },
47
50
  size: {
48
- xs: {
49
- badge: "px-0.5 text-[0.625rem]"
50
- },
51
51
  sm: {
52
- badge: "px-1 text-xs"
52
+ badge: "px-1 text-tiny"
53
53
  },
54
54
  md: {
55
- badge: "px-1 text-sm"
55
+ badge: "px-1 text-small"
56
56
  },
57
57
  lg: {
58
- badge: "px-1 text-sm"
59
- },
60
- xl: {
61
- badge: "px-1 text-base"
58
+ badge: "px-1 text-small"
62
59
  }
63
60
  },
64
61
  placement: {
@@ -67,15 +64,6 @@ var badge = tv({
67
64
  "bottom-right": {},
68
65
  "bottom-left": {}
69
66
  },
70
- radius: {
71
- none: { badge: "rounded-none" },
72
- base: { badge: "rounded" },
73
- sm: { badge: "rounded-sm" },
74
- md: { badge: "rounded-md" },
75
- lg: { badge: "rounded-lg" },
76
- xl: { badge: "rounded-xl" },
77
- full: { badge: "rounded-full" }
78
- },
79
67
  shape: {
80
68
  circle: {},
81
69
  rectangle: {}
@@ -112,7 +100,6 @@ var badge = tv({
112
100
  variant: "solid",
113
101
  color: "default",
114
102
  size: "md",
115
- radius: "full",
116
103
  shape: "rectangle",
117
104
  placement: "top-right",
118
105
  disableOutline: false,
@@ -288,13 +275,6 @@ var badge = tv({
288
275
  badge: colorVariants.faded.danger
289
276
  }
290
277
  },
291
- {
292
- isOneChar: true,
293
- size: "xs",
294
- class: {
295
- badge: "w-3.5 h-3.5 min-w-3.5 min-h-3.5"
296
- }
297
- },
298
278
  {
299
279
  isOneChar: true,
300
280
  size: "sm",
@@ -316,20 +296,6 @@ var badge = tv({
316
296
  badge: "w-6 h-6 min-w-6 min-h-6"
317
297
  }
318
298
  },
319
- {
320
- isOneChar: true,
321
- size: "xl",
322
- class: {
323
- badge: "w-7 h-7 min-w-7 min-h-7"
324
- }
325
- },
326
- {
327
- isDot: true,
328
- size: "xs",
329
- class: {
330
- badge: "w-2 h-2 min-w-2 min-h-2"
331
- }
332
- },
333
299
  {
334
300
  isDot: true,
335
301
  size: "sm",
@@ -351,13 +317,6 @@ var badge = tv({
351
317
  badge: "w-4 h-4 min-w-4 min-h-4"
352
318
  }
353
319
  },
354
- {
355
- isDot: true,
356
- size: "xl",
357
- class: {
358
- badge: "w-5 h-5 min-w-5 min-h-5"
359
- }
360
- },
361
320
  {
362
321
  placement: "top-right",
363
322
  shape: "rectangle",
@@ -1,9 +1,11 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-GMMETTYU.mjs";
1
4
  import {
2
5
  dataFocusVisibleClasses
3
6
  } from "./chunk-G2ZSNGR5.mjs";
4
7
 
5
8
  // src/components/toggle.ts
6
- import { tv } from "tailwind-variants";
7
9
  var toggle = tv({
8
10
  slots: {
9
11
  base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent",
@@ -25,7 +27,7 @@ var toggle = tv({
25
27
  "items-center",
26
28
  "justify-center",
27
29
  "bg-white",
28
- "shadow-sm",
30
+ "shadow-small",
29
31
  "rounded-full",
30
32
  "origin-right"
31
33
  ],
@@ -74,70 +76,46 @@ var toggle = tv({
74
76
  }
75
77
  },
76
78
  size: {
77
- xs: {
78
- wrapper: "w-8 h-5 mr-1",
79
- thumb: [
80
- "w-3 h-3 text-[0.6rem]",
81
- "group-data-[selected=true]:ml-3",
82
- "group-data-[pressed=true]:w-4",
83
- "group-data-[selected]:group-data-[pressed]:ml-2"
84
- ],
85
- startContent: "text-[0.6rem] left-1",
86
- endContent: "text-[0.6rem] right-1",
87
- label: "text-xs"
88
- },
89
79
  sm: {
90
80
  wrapper: "w-10 h-6 mr-2",
91
81
  thumb: [
92
- "w-4 h-4 text-xs",
82
+ "w-4 h-4 text-tiny",
93
83
  "group-data-[selected=true]:ml-4",
94
84
  "group-data-[pressed=true]:w-5",
95
85
  "group-data-[selected]:group-data-[pressed]:ml-4"
96
86
  ],
97
- endContent: "text-xs",
98
- startContent: "text-xs",
99
- label: "text-sm"
87
+ endContent: "text-tiny",
88
+ startContent: "text-tiny",
89
+ label: "text-small"
100
90
  },
101
91
  md: {
102
92
  wrapper: "w-12 h-7 mr-2",
103
93
  thumb: [
104
- "w-5 h-5 text-sm",
94
+ "w-5 h-5 text-small",
105
95
  "group-data-[selected=true]:ml-5",
106
96
  "group-data-[pressed=true]:w-6",
107
97
  "group-data-[selected]:group-data-[pressed]:ml-4"
108
98
  ],
109
- endContent: "text-sm",
110
- startContent: "text-sm",
111
- label: "text-base"
99
+ endContent: "text-small",
100
+ startContent: "text-small",
101
+ label: "text-medium"
112
102
  },
113
103
  lg: {
114
104
  wrapper: "w-14 h-8 mr-2",
115
105
  thumb: [
116
- "w-6 h-6 text-base",
106
+ "w-6 h-6 text-medium",
117
107
  "group-data-[selected=true]:ml-6",
118
108
  "group-data-[pressed=true]:w-7",
119
109
  "group-data-[selected]:group-data-[pressed]:ml-5"
120
110
  ],
121
- endContent: "text-base",
122
- startContent: "text-base",
123
- label: "text-lg"
124
- },
125
- xl: {
126
- wrapper: "w-16 h-9 mr-2",
127
- thumb: [
128
- "w-7 h-7 text-lg",
129
- "group-data-[selected=true]:ml-7",
130
- "group-data-[pressed=true]:w-8",
131
- "group-data-[selected]:group-data-[pressed]:ml-6"
132
- ],
133
- endContent: "text-base",
134
- startContent: "text-base",
135
- label: "text-lg"
111
+ endContent: "text-medium",
112
+ startContent: "text-medium",
113
+ label: "text-large"
136
114
  }
137
115
  },
138
116
  isDisabled: {
139
117
  true: {
140
- base: "opacity-50 pointer-events-none"
118
+ base: "opacity-disabled pointer-events-none"
141
119
  }
142
120
  },
143
121
  disableAnimation: {
@@ -1,9 +1,11 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-GMMETTYU.mjs";
1
4
  import {
2
5
  dataFocusVisibleClasses
3
6
  } from "./chunk-G2ZSNGR5.mjs";
4
7
 
5
8
  // src/components/navbar.ts
6
- import { tv } from "tailwind-variants";
7
9
  var navbar = tv({
8
10
  slots: {
9
11
  base: [
@@ -13,8 +15,6 @@ var navbar = tv({
13
15
  "h-auto",
14
16
  "items-center",
15
17
  "justify-center",
16
- "border-b",
17
- "border-divider",
18
18
  "data-[menu-open=true]:border-none"
19
19
  ],
20
20
  wrapper: [
@@ -37,7 +37,7 @@ var navbar = tv({
37
37
  "w-6",
38
38
  "h-full",
39
39
  "outline-none",
40
- "rounded-sm",
40
+ "rounded-small",
41
41
  "tap-highlight-transparent",
42
42
  ...dataFocusVisibleClasses
43
43
  ],
@@ -86,7 +86,7 @@ var navbar = tv({
86
86
  "bg-transparent",
87
87
  "items-center",
88
88
  "no-underline",
89
- "text-base",
89
+ "text-medium",
90
90
  "whitespace-nowrap",
91
91
  "box-border"
92
92
  ],
@@ -104,7 +104,7 @@ var navbar = tv({
104
104
  "data-[justify=end]:basis-0"
105
105
  ],
106
106
  item: [
107
- "text-base",
107
+ "text-medium",
108
108
  "whitespace-nowrap",
109
109
  "box-border",
110
110
  "data-[active=true]:font-semibold"
@@ -123,7 +123,7 @@ var navbar = tv({
123
123
  "gap-3",
124
124
  "overflow-y-auto"
125
125
  ],
126
- menuItem: ["text-lg"]
126
+ menuItem: ["text-large"]
127
127
  },
128
128
  variants: {
129
129
  position: {
@@ -160,7 +160,9 @@ var navbar = tv({
160
160
  }
161
161
  },
162
162
  isBordered: {
163
- true: {}
163
+ true: {
164
+ base: ["border-b", "border-divider"]
165
+ }
164
166
  },
165
167
  isBlurred: {
166
168
  false: {
@@ -5,7 +5,7 @@ var blue = {
5
5
  200: "#99c7fb",
6
6
  300: "#66aaf9",
7
7
  400: "#338ef7",
8
- 500: "#0069E0",
8
+ 500: "#006FEE",
9
9
  600: "#005bc4",
10
10
  700: "#004493",
11
11
  800: "#002e62",
@@ -0,0 +1,30 @@
1
+ // src/utils/tv.ts
2
+ import { tv as tvBase } from "tailwind-variants";
3
+ var COMMON_UNITS = ["small", "medium", "large"];
4
+ var tv = (options, config) => {
5
+ var _a, _b, _c;
6
+ return tvBase(options, {
7
+ ...config,
8
+ twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
9
+ twMergeConfig: {
10
+ ...config == null ? void 0 : config.twMergeConfig,
11
+ theme: {
12
+ ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
13
+ opacity: ["disabled"],
14
+ spacing: ["divider"],
15
+ borderWidth: COMMON_UNITS,
16
+ borderRadius: COMMON_UNITS
17
+ },
18
+ classGroups: {
19
+ ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
20
+ shadow: [{ shadow: COMMON_UNITS }],
21
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
22
+ "bg-image": ["bg-stripe-gradient"]
23
+ }
24
+ }
25
+ });
26
+ };
27
+
28
+ export {
29
+ tv
30
+ };
@@ -1,3 +1,15 @@
1
+ import {
2
+ yellow
3
+ } from "./chunk-JUEOCLA3.mjs";
4
+ import {
5
+ zinc
6
+ } from "./chunk-3LKKH4AR.mjs";
7
+ import {
8
+ cyan
9
+ } from "./chunk-T3GWIVAM.mjs";
10
+ import {
11
+ green
12
+ } from "./chunk-OR5PUD24.mjs";
1
13
  import {
2
14
  pink
3
15
  } from "./chunk-DCEG5LGX.mjs";
@@ -7,18 +19,9 @@ import {
7
19
  import {
8
20
  red
9
21
  } from "./chunk-YZYGFPNK.mjs";
10
- import {
11
- yellow
12
- } from "./chunk-Y4YW5MKL.mjs";
13
22
  import {
14
23
  blue
15
- } from "./chunk-DYAPDM2A.mjs";
16
- import {
17
- cyan
18
- } from "./chunk-T3GWIVAM.mjs";
19
- import {
20
- green
21
- } from "./chunk-OR5PUD24.mjs";
24
+ } from "./chunk-GHZ36ATJ.mjs";
22
25
 
23
26
  // src/colors/common.ts
24
27
  var commonColors = {
@@ -30,7 +33,8 @@ var commonColors = {
30
33
  purple,
31
34
  red,
32
35
  yellow,
33
- cyan
36
+ cyan,
37
+ zinc
34
38
  };
35
39
 
36
40
  export {
@@ -1,20 +1,24 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-GMMETTYU.mjs";
4
+
1
5
  // src/components/kbd.ts
2
- import { tv } from "tailwind-variants";
3
6
  var kbd = tv({
4
7
  slots: {
5
8
  base: [
6
- "px-1",
7
- "inline-block",
9
+ "px-1.5",
10
+ "py-0.5",
11
+ "inline-flex",
8
12
  "space-x-0.5",
13
+ "items-center",
9
14
  "font-sans",
10
15
  "font-normal",
11
16
  "text-center",
12
- "text-sm",
13
- "border",
14
- "border-default",
17
+ "text-small",
18
+ "shadow-small",
15
19
  "bg-default-100",
16
20
  "text-foreground-600",
17
- "rounded-md"
21
+ "rounded-small"
18
22
  ],
19
23
  abbr: "no-underline",
20
24
  content: ""
@@ -1,12 +1,11 @@
1
1
  import {
2
2
  swapColorValues
3
- } from "./chunk-37PIXVP4.mjs";
3
+ } from "./chunk-MEZC3VSI.mjs";
4
4
  import {
5
5
  commonColors
6
- } from "./chunk-5LKRUH3Q.mjs";
6
+ } from "./chunk-IAS3SFA4.mjs";
7
7
 
8
8
  // src/colors/semantic.ts
9
- import twColors from "tailwindcss/colors.js";
10
9
  import { readableColor } from "color2k";
11
10
  var base = {
12
11
  light: {
@@ -14,14 +13,14 @@ var base = {
14
13
  DEFAULT: "#FFFFFF"
15
14
  },
16
15
  foreground: {
17
- ...twColors.zinc,
16
+ ...commonColors.zinc,
18
17
  DEFAULT: "#11181C"
19
18
  },
20
19
  divider: {
21
20
  DEFAULT: "rgba(17, 17, 17, 0.15)"
22
21
  },
23
22
  boundary: {
24
- DEFAULT: twColors.zinc[200]
23
+ DEFAULT: commonColors.zinc[200]
25
24
  },
26
25
  focus: {
27
26
  DEFAULT: commonColors.blue[500]
@@ -34,16 +33,16 @@ var base = {
34
33
  foreground: "#11181C"
35
34
  },
36
35
  content2: {
37
- DEFAULT: twColors.zinc[100],
38
- foreground: twColors.zinc[800]
36
+ DEFAULT: commonColors.zinc[100],
37
+ foreground: commonColors.zinc[800]
39
38
  },
40
39
  content3: {
41
- DEFAULT: twColors.zinc[200],
42
- foreground: twColors.zinc[700]
40
+ DEFAULT: commonColors.zinc[200],
41
+ foreground: commonColors.zinc[700]
43
42
  },
44
43
  content4: {
45
- DEFAULT: twColors.zinc[300],
46
- foreground: twColors.zinc[600]
44
+ DEFAULT: commonColors.zinc[300],
45
+ foreground: commonColors.zinc[600]
47
46
  }
48
47
  },
49
48
  dark: {
@@ -51,7 +50,7 @@ var base = {
51
50
  DEFAULT: "#000000"
52
51
  },
53
52
  foreground: {
54
- ...swapColorValues(twColors.zinc),
53
+ ...swapColorValues(commonColors.zinc),
55
54
  DEFAULT: "#ECEDEE"
56
55
  },
57
56
  focus: {
@@ -64,32 +63,32 @@ var base = {
64
63
  DEFAULT: "rgba(255, 255, 255, 0.15)"
65
64
  },
66
65
  boundary: {
67
- DEFAULT: twColors.zinc[800]
66
+ DEFAULT: commonColors.zinc[800]
68
67
  },
69
68
  content1: {
70
- DEFAULT: twColors.zinc[900],
71
- foreground: twColors.zinc[50]
69
+ DEFAULT: commonColors.zinc[900],
70
+ foreground: commonColors.zinc[50]
72
71
  },
73
72
  content2: {
74
- DEFAULT: twColors.zinc[800],
75
- foreground: twColors.zinc[100]
73
+ DEFAULT: commonColors.zinc[800],
74
+ foreground: commonColors.zinc[100]
76
75
  },
77
76
  content3: {
78
- DEFAULT: twColors.zinc[700],
79
- foreground: twColors.zinc[200]
77
+ DEFAULT: commonColors.zinc[700],
78
+ foreground: commonColors.zinc[200]
80
79
  },
81
80
  content4: {
82
- DEFAULT: twColors.zinc[600],
83
- foreground: twColors.zinc[300]
81
+ DEFAULT: commonColors.zinc[600],
82
+ foreground: commonColors.zinc[300]
84
83
  }
85
84
  }
86
85
  };
87
- var brandColorsLight = {
86
+ var themeColorsLight = {
88
87
  ...base.light,
89
88
  default: {
90
- ...twColors.zinc,
91
- foreground: readableColor(twColors.zinc[300]),
92
- DEFAULT: twColors.zinc[300]
89
+ ...commonColors.zinc,
90
+ foreground: readableColor(commonColors.zinc[300]),
91
+ DEFAULT: commonColors.zinc[300]
93
92
  },
94
93
  primary: {
95
94
  ...commonColors.blue,
@@ -103,12 +102,12 @@ var brandColorsLight = {
103
102
  },
104
103
  success: {
105
104
  ...commonColors.green,
106
- foreground: commonColors.green[900],
105
+ foreground: readableColor(commonColors.green[500]),
107
106
  DEFAULT: commonColors.green[500]
108
107
  },
109
108
  warning: {
110
109
  ...commonColors.yellow,
111
- foreground: commonColors.yellow[900],
110
+ foreground: readableColor(commonColors.yellow[500]),
112
111
  DEFAULT: commonColors.yellow[500]
113
112
  },
114
113
  danger: {
@@ -117,12 +116,12 @@ var brandColorsLight = {
117
116
  DEFAULT: commonColors.red[500]
118
117
  }
119
118
  };
120
- var brandColorsDark = {
119
+ var themeColorsDark = {
121
120
  ...base.dark,
122
121
  default: {
123
- ...swapColorValues(twColors.zinc),
124
- foreground: readableColor(twColors.zinc[700]),
125
- DEFAULT: twColors.zinc[700]
122
+ ...swapColorValues(commonColors.zinc),
123
+ foreground: readableColor(commonColors.zinc[700]),
124
+ DEFAULT: commonColors.zinc[700]
126
125
  },
127
126
  primary: {
128
127
  ...swapColorValues(commonColors.blue),
@@ -151,12 +150,12 @@ var brandColorsDark = {
151
150
  }
152
151
  };
153
152
  var semanticColors = {
154
- light: brandColorsLight,
155
- dark: brandColorsDark
153
+ light: themeColorsLight,
154
+ dark: themeColorsDark
156
155
  };
157
156
 
158
157
  export {
159
- brandColorsLight,
160
- brandColorsDark,
158
+ themeColorsLight,
159
+ themeColorsDark,
161
160
  semanticColors
162
161
  };
@@ -1,5 +1,8 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-GMMETTYU.mjs";
4
+
1
5
  // src/components/skeleton.ts
2
- import { tv } from "tailwind-variants";
3
6
  var skeleton = tv({
4
7
  slots: {
5
8
  base: [
@@ -1,6 +1,6 @@
1
1
  // src/colors/yellow.ts
2
2
  var yellow = {
3
- 50: "#fef6e9",
3
+ 50: "#fefce8",
4
4
  100: "#fdedd3",
5
5
  200: "#fbdba7",
6
6
  300: "#f9c97c",