@nextui-org/theme 0.0.0-dev-v2-20230428203230 → 0.0.0-dev-v2-20230429140802

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.
@@ -26,12 +26,7 @@ var pagination = tv({
26
26
  variants: {
27
27
  variant: {
28
28
  bordered: {
29
- item: [
30
- "border-2",
31
- "border-neutral",
32
- "bg-transparent",
33
- "data-[hover=true]:bg-neutral-100"
34
- ]
29
+ item: ["border-2", "border-neutral", "bg-transparent", "data-[hover=true]:bg-neutral-100"]
35
30
  },
36
31
  light: {
37
32
  item: "bg-transparent"
@@ -69,7 +69,7 @@ var badge = tv({
69
69
  badge: "px-1 text-sm"
70
70
  },
71
71
  xl: {
72
- badge: "px-1 text-md"
72
+ badge: "px-1 text-base"
73
73
  }
74
74
  },
75
75
  placement: {
@@ -1,9 +1,9 @@
1
- import {
2
- commonColors
3
- } from "./chunk-TPAK7DPZ.mjs";
4
1
  import {
5
2
  swapColorValues
6
3
  } from "./chunk-37PIXVP4.mjs";
4
+ import {
5
+ commonColors
6
+ } from "./chunk-CRCBVLUP.mjs";
7
7
 
8
8
  // src/colors/semantic.ts
9
9
  import twColors from "tailwindcss/colors.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  semanticColors
3
- } from "./chunk-ZNTUEV24.mjs";
3
+ } from "./chunk-LQHWK6UV.mjs";
4
4
  import {
5
5
  commonColors
6
- } from "./chunk-TPAK7DPZ.mjs";
6
+ } from "./chunk-CRCBVLUP.mjs";
7
7
 
8
8
  // src/colors/index.ts
9
9
  var colors = {
@@ -109,7 +109,7 @@ var input = tv({
109
109
  label: "text-xs",
110
110
  inputWrapper: "h-8 px-2",
111
111
  input: "text-xs",
112
- clearButton: "text-md"
112
+ clearButton: "text-base"
113
113
  },
114
114
  md: {
115
115
  inputWrapper: "h-10",
@@ -123,7 +123,7 @@ var input = tv({
123
123
  },
124
124
  xl: {
125
125
  inputWrapper: "h-14",
126
- input: "text-md",
126
+ input: "text-base",
127
127
  clearButton: "text-xl right-3.5"
128
128
  }
129
129
  },
@@ -710,7 +710,7 @@ var input = tv({
710
710
  size: "xl",
711
711
  class: {
712
712
  label: [
713
- "text-md",
713
+ "text-base",
714
714
  "group-focus-within:text-sm",
715
715
  "group-focus-within:-translate-y-3",
716
716
  "group-[.is-filled]:text-sm",
@@ -1,21 +1,21 @@
1
- import {
2
- semanticColors
3
- } from "./chunk-ZNTUEV24.mjs";
4
- import {
5
- commonColors
6
- } from "./chunk-TPAK7DPZ.mjs";
7
- import {
8
- animations
9
- } from "./chunk-DMASP6FA.mjs";
10
1
  import {
11
2
  utilities
12
3
  } from "./chunk-XLATS5QU.mjs";
13
4
  import {
14
5
  baseStyles
15
6
  } from "./chunk-INZK6TTL.mjs";
7
+ import {
8
+ animations
9
+ } from "./chunk-DMASP6FA.mjs";
10
+ import {
11
+ semanticColors
12
+ } from "./chunk-LQHWK6UV.mjs";
16
13
  import {
17
14
  removeDefaultKeys
18
15
  } from "./chunk-37PIXVP4.mjs";
16
+ import {
17
+ commonColors
18
+ } from "./chunk-CRCBVLUP.mjs";
19
19
 
20
20
  // src/plugin.ts
21
21
  import Color from "color";
@@ -23,6 +23,7 @@ import plugin from "tailwindcss/plugin.js";
23
23
  import forEach from "lodash.foreach";
24
24
  import flatten from "flat";
25
25
  import get from "lodash.get";
26
+ import omit from "lodash.omit";
26
27
  import deepMerge from "deepmerge";
27
28
  var SCHEME = Symbol("color-scheme");
28
29
  var VAR_PREFIX = "nextui";
@@ -141,10 +142,12 @@ var nextui = (config = {}) => {
141
142
  const userLightColors = get(config.themes, "light", {});
142
143
  const userDarkColors = get(config.themes, "dark", {});
143
144
  const defaultTheme = config.defaultTheme || "light";
145
+ const otherThemes = omit(config.themes, ["light", "dark"]) || {};
144
146
  return corePlugin(
145
147
  {
146
148
  light: deepMerge(semanticColors.light, userLightColors),
147
- dark: deepMerge(semanticColors.dark, userDarkColors)
149
+ dark: deepMerge(semanticColors.dark, userDarkColors),
150
+ ...otherThemes
148
151
  },
149
152
  defaultTheme
150
153
  );
@@ -63,7 +63,7 @@ var avatar = tv({
63
63
  base: "w-12 h-12 text-sm"
64
64
  },
65
65
  xl: {
66
- base: "w-16 h-16 text-md"
66
+ base: "w-16 h-16 text-base"
67
67
  }
68
68
  },
69
69
  color: {
@@ -43,7 +43,7 @@ var button = tv({
43
43
  xs: "px-2 h-6 text-xs",
44
44
  sm: "px-3 h-8 text-sm",
45
45
  md: "px-4 h-10 text-base",
46
- lg: "px-6 h-12 text-md",
46
+ lg: "px-6 h-12 text-base",
47
47
  xl: "px-8 h-14 text-lg"
48
48
  },
49
49
  color: {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  commonColors
3
- } from "../chunk-TPAK7DPZ.mjs";
3
+ } from "../chunk-CRCBVLUP.mjs";
4
+ import "../chunk-DCEG5LGX.mjs";
4
5
  import "../chunk-L2OL7R23.mjs";
5
6
  import "../chunk-YZYGFPNK.mjs";
6
7
  import "../chunk-Y4YW5MKL.mjs";
7
8
  import "../chunk-KZJBCC2H.mjs";
8
9
  import "../chunk-T3GWIVAM.mjs";
9
10
  import "../chunk-OR5PUD24.mjs";
10
- import "../chunk-DCEG5LGX.mjs";
11
11
  export {
12
12
  commonColors
13
13
  };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  colors
3
- } from "../chunk-XMDX7HIE.mjs";
3
+ } from "../chunk-M74ZSXB7.mjs";
4
4
  import {
5
5
  semanticColors
6
- } from "../chunk-ZNTUEV24.mjs";
6
+ } from "../chunk-LQHWK6UV.mjs";
7
+ import "../chunk-37PIXVP4.mjs";
7
8
  import "../chunk-M63AFAHO.mjs";
8
9
  import {
9
10
  commonColors
10
- } from "../chunk-TPAK7DPZ.mjs";
11
+ } from "../chunk-CRCBVLUP.mjs";
12
+ import "../chunk-DCEG5LGX.mjs";
11
13
  import "../chunk-L2OL7R23.mjs";
12
14
  import "../chunk-YZYGFPNK.mjs";
13
15
  import "../chunk-Y4YW5MKL.mjs";
14
16
  import "../chunk-KZJBCC2H.mjs";
15
17
  import "../chunk-T3GWIVAM.mjs";
16
18
  import "../chunk-OR5PUD24.mjs";
17
- import "../chunk-DCEG5LGX.mjs";
18
- import "../chunk-37PIXVP4.mjs";
19
19
  export {
20
20
  colors,
21
21
  commonColors,
@@ -2,16 +2,16 @@ import {
2
2
  semanticColors,
3
3
  semanticColorsDark,
4
4
  semanticColorsLight
5
- } from "../chunk-ZNTUEV24.mjs";
6
- import "../chunk-TPAK7DPZ.mjs";
5
+ } from "../chunk-LQHWK6UV.mjs";
6
+ import "../chunk-37PIXVP4.mjs";
7
+ import "../chunk-CRCBVLUP.mjs";
8
+ import "../chunk-DCEG5LGX.mjs";
7
9
  import "../chunk-L2OL7R23.mjs";
8
10
  import "../chunk-YZYGFPNK.mjs";
9
11
  import "../chunk-Y4YW5MKL.mjs";
10
12
  import "../chunk-KZJBCC2H.mjs";
11
13
  import "../chunk-T3GWIVAM.mjs";
12
14
  import "../chunk-OR5PUD24.mjs";
13
- import "../chunk-DCEG5LGX.mjs";
14
- import "../chunk-37PIXVP4.mjs";
15
15
  export {
16
16
  semanticColors,
17
17
  semanticColorsDark,
package/dist/colors.mjs CHANGED
@@ -1,22 +1,22 @@
1
1
  import "./chunk-WQEDQHKX.mjs";
2
2
  import {
3
3
  colors
4
- } from "./chunk-XMDX7HIE.mjs";
4
+ } from "./chunk-M74ZSXB7.mjs";
5
5
  import {
6
6
  semanticColors
7
- } from "./chunk-ZNTUEV24.mjs";
7
+ } from "./chunk-LQHWK6UV.mjs";
8
+ import "./chunk-37PIXVP4.mjs";
8
9
  import "./chunk-M63AFAHO.mjs";
9
10
  import {
10
11
  commonColors
11
- } from "./chunk-TPAK7DPZ.mjs";
12
+ } from "./chunk-CRCBVLUP.mjs";
13
+ import "./chunk-DCEG5LGX.mjs";
12
14
  import "./chunk-L2OL7R23.mjs";
13
15
  import "./chunk-YZYGFPNK.mjs";
14
16
  import "./chunk-Y4YW5MKL.mjs";
15
17
  import "./chunk-KZJBCC2H.mjs";
16
18
  import "./chunk-T3GWIVAM.mjs";
17
19
  import "./chunk-OR5PUD24.mjs";
18
- import "./chunk-DCEG5LGX.mjs";
19
- import "./chunk-37PIXVP4.mjs";
20
20
  export {
21
21
  colors,
22
22
  commonColors,
@@ -165,7 +165,7 @@ var avatar = (0, import_tailwind_variants.tv)({
165
165
  base: "w-12 h-12 text-sm"
166
166
  },
167
167
  xl: {
168
- base: "w-16 h-16 text-md"
168
+ base: "w-16 h-16 text-base"
169
169
  }
170
170
  },
171
171
  color: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  avatar
3
- } from "../chunk-VZVHC65R.mjs";
3
+ } from "../chunk-S7ZC2I7Y.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
5
  import "../chunk-K7LK7NCE.mjs";
6
6
  import "../chunk-RO3WUCFF.mjs";
@@ -165,7 +165,7 @@ var badge = (0, import_tailwind_variants.tv)({
165
165
  badge: "px-1 text-sm"
166
166
  },
167
167
  xl: {
168
- badge: "px-1 text-md"
168
+ badge: "px-1 text-base"
169
169
  }
170
170
  },
171
171
  placement: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  badge
3
- } from "../chunk-NGIVT5FF.mjs";
3
+ } from "../chunk-CPWIXBDM.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
5
  import "../chunk-K7LK7NCE.mjs";
6
6
  import "../chunk-RO3WUCFF.mjs";
@@ -139,7 +139,7 @@ var button = (0, import_tailwind_variants.tv)({
139
139
  xs: "px-2 h-6 text-xs",
140
140
  sm: "px-3 h-8 text-sm",
141
141
  md: "px-4 h-10 text-base",
142
- lg: "px-6 h-12 text-md",
142
+ lg: "px-6 h-12 text-base",
143
143
  xl: "px-8 h-14 text-lg"
144
144
  },
145
145
  color: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  button
3
- } from "../chunk-PWHNLVBK.mjs";
3
+ } from "../chunk-UM54LZPC.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
5
  import "../chunk-K7LK7NCE.mjs";
6
6
  import "../chunk-RO3WUCFF.mjs";
@@ -211,7 +211,7 @@ var avatar = (0, import_tailwind_variants.tv)({
211
211
  base: "w-12 h-12 text-sm"
212
212
  },
213
213
  xl: {
214
- base: "w-16 h-16 text-md"
214
+ base: "w-16 h-16 text-base"
215
215
  }
216
216
  },
217
217
  color: {
@@ -726,7 +726,7 @@ var button = (0, import_tailwind_variants6.tv)({
726
726
  xs: "px-2 h-6 text-xs",
727
727
  sm: "px-3 h-8 text-sm",
728
728
  md: "px-4 h-10 text-base",
729
- lg: "px-6 h-12 text-md",
729
+ lg: "px-6 h-12 text-base",
730
730
  xl: "px-8 h-14 text-lg"
731
731
  },
732
732
  color: {
@@ -2259,7 +2259,7 @@ var badge = (0, import_tailwind_variants14.tv)({
2259
2259
  badge: "px-1 text-sm"
2260
2260
  },
2261
2261
  xl: {
2262
- badge: "px-1 text-md"
2262
+ badge: "px-1 text-base"
2263
2263
  }
2264
2264
  },
2265
2265
  placement: {
@@ -2937,12 +2937,7 @@ var pagination = (0, import_tailwind_variants19.tv)({
2937
2937
  variants: {
2938
2938
  variant: {
2939
2939
  bordered: {
2940
- item: [
2941
- "border-2",
2942
- "border-neutral",
2943
- "bg-transparent",
2944
- "data-[hover=true]:bg-neutral-100"
2945
- ]
2940
+ item: ["border-2", "border-neutral", "bg-transparent", "data-[hover=true]:bg-neutral-100"]
2946
2941
  },
2947
2942
  light: {
2948
2943
  item: "bg-transparent"
@@ -3915,7 +3910,7 @@ var input = (0, import_tailwind_variants25.tv)({
3915
3910
  label: "text-xs",
3916
3911
  inputWrapper: "h-8 px-2",
3917
3912
  input: "text-xs",
3918
- clearButton: "text-md"
3913
+ clearButton: "text-base"
3919
3914
  },
3920
3915
  md: {
3921
3916
  inputWrapper: "h-10",
@@ -3929,7 +3924,7 @@ var input = (0, import_tailwind_variants25.tv)({
3929
3924
  },
3930
3925
  xl: {
3931
3926
  inputWrapper: "h-14",
3932
- input: "text-md",
3927
+ input: "text-base",
3933
3928
  clearButton: "text-xl right-3.5"
3934
3929
  }
3935
3930
  },
@@ -4516,7 +4511,7 @@ var input = (0, import_tailwind_variants25.tv)({
4516
4511
  size: "xl",
4517
4512
  class: {
4518
4513
  label: [
4519
- "text-md",
4514
+ "text-base",
4520
4515
  "group-focus-within:text-sm",
4521
4516
  "group-focus-within:-translate-y-3",
4522
4517
  "group-[.is-filled]:text-sm",
@@ -1,4 +1,10 @@
1
1
  import "../chunk-T6HAGWX5.mjs";
2
+ import {
3
+ spinner
4
+ } from "../chunk-XUL76UJD.mjs";
5
+ import {
6
+ table
7
+ } from "../chunk-KWWWVBJL.mjs";
2
8
  import {
3
9
  tabs
4
10
  } from "../chunk-UUJTS7XS.mjs";
@@ -8,6 +14,12 @@ import {
8
14
  import {
9
15
  user
10
16
  } from "../chunk-MW7UVOSP.mjs";
17
+ import {
18
+ navbar
19
+ } from "../chunk-U3BMJPED.mjs";
20
+ import {
21
+ pagination
22
+ } from "../chunk-3LME35GX.mjs";
11
23
  import {
12
24
  popover
13
25
  } from "../chunk-JWVJZEAT.mjs";
@@ -27,17 +39,17 @@ import {
27
39
  spacer
28
40
  } from "../chunk-3B4SYPW2.mjs";
29
41
  import {
30
- spinner
31
- } from "../chunk-XUL76UJD.mjs";
42
+ dropdownSection
43
+ } from "../chunk-AVGEHFT4.mjs";
32
44
  import {
33
- table
34
- } from "../chunk-KWWWVBJL.mjs";
45
+ dropdown
46
+ } from "../chunk-UNMHV7HH.mjs";
35
47
  import {
36
48
  image
37
49
  } from "../chunk-6GGRJ6I7.mjs";
38
50
  import {
39
51
  input
40
- } from "../chunk-DO44X4Z2.mjs";
52
+ } from "../chunk-PH4OFVEH.mjs";
41
53
  import {
42
54
  kbd
43
55
  } from "../chunk-KUQBSI5S.mjs";
@@ -48,11 +60,11 @@ import {
48
60
  modal
49
61
  } from "../chunk-YMIOHWCD.mjs";
50
62
  import {
51
- navbar
52
- } from "../chunk-U3BMJPED.mjs";
63
+ checkbox
64
+ } from "../chunk-7EKGN7JP.mjs";
53
65
  import {
54
- pagination
55
- } from "../chunk-KDFSOQOQ.mjs";
66
+ chip
67
+ } from "../chunk-W5WYYDCM.mjs";
56
68
  import {
57
69
  circularProgress
58
70
  } from "../chunk-AU7WYHMP.mjs";
@@ -72,47 +84,35 @@ import {
72
84
  dropdownMenu
73
85
  } from "../chunk-FCYNUVAR.mjs";
74
86
  import {
75
- dropdownSection
76
- } from "../chunk-AVGEHFT4.mjs";
87
+ accordion
88
+ } from "../chunk-YYBLBQIV.mjs";
77
89
  import {
78
- dropdown
79
- } from "../chunk-UNMHV7HH.mjs";
90
+ avatarGroup
91
+ } from "../chunk-MLH3XSY7.mjs";
80
92
  import {
81
93
  avatar
82
- } from "../chunk-VZVHC65R.mjs";
94
+ } from "../chunk-S7ZC2I7Y.mjs";
83
95
  import {
84
96
  badge
85
- } from "../chunk-NGIVT5FF.mjs";
97
+ } from "../chunk-CPWIXBDM.mjs";
86
98
  import {
87
99
  buttonGroup
88
100
  } from "../chunk-VKFQ7EZN.mjs";
89
101
  import {
90
102
  button
91
- } from "../chunk-PWHNLVBK.mjs";
103
+ } from "../chunk-UM54LZPC.mjs";
104
+ import "../chunk-CMYR6AOY.mjs";
105
+ import "../chunk-K7LK7NCE.mjs";
106
+ import "../chunk-RO3WUCFF.mjs";
92
107
  import {
93
108
  card
94
109
  } from "../chunk-6QKRZ3JE.mjs";
95
110
  import {
96
111
  checkboxGroup
97
112
  } from "../chunk-U77YMEWM.mjs";
98
- import {
99
- checkbox
100
- } from "../chunk-7EKGN7JP.mjs";
101
- import {
102
- chip
103
- } from "../chunk-W5WYYDCM.mjs";
104
113
  import {
105
114
  accordionItem
106
115
  } from "../chunk-XSFH4S4Y.mjs";
107
- import {
108
- accordion
109
- } from "../chunk-YYBLBQIV.mjs";
110
- import {
111
- avatarGroup
112
- } from "../chunk-MLH3XSY7.mjs";
113
- import "../chunk-CMYR6AOY.mjs";
114
- import "../chunk-K7LK7NCE.mjs";
115
- import "../chunk-RO3WUCFF.mjs";
116
116
  import "../chunk-INZK6TTL.mjs";
117
117
  export {
118
118
  accordion,
@@ -133,7 +133,7 @@ var input = (0, import_tailwind_variants.tv)({
133
133
  label: "text-xs",
134
134
  inputWrapper: "h-8 px-2",
135
135
  input: "text-xs",
136
- clearButton: "text-md"
136
+ clearButton: "text-base"
137
137
  },
138
138
  md: {
139
139
  inputWrapper: "h-10",
@@ -147,7 +147,7 @@ var input = (0, import_tailwind_variants.tv)({
147
147
  },
148
148
  xl: {
149
149
  inputWrapper: "h-14",
150
- input: "text-md",
150
+ input: "text-base",
151
151
  clearButton: "text-xl right-3.5"
152
152
  }
153
153
  },
@@ -734,7 +734,7 @@ var input = (0, import_tailwind_variants.tv)({
734
734
  size: "xl",
735
735
  class: {
736
736
  label: [
737
- "text-md",
737
+ "text-base",
738
738
  "group-focus-within:text-sm",
739
739
  "group-focus-within:-translate-y-3",
740
740
  "group-[.is-filled]:text-sm",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  input
3
- } from "../chunk-DO44X4Z2.mjs";
3
+ } from "../chunk-PH4OFVEH.mjs";
4
4
  export {
5
5
  input
6
6
  };
@@ -122,12 +122,7 @@ var pagination = (0, import_tailwind_variants.tv)({
122
122
  variants: {
123
123
  variant: {
124
124
  bordered: {
125
- item: [
126
- "border-2",
127
- "border-neutral",
128
- "bg-transparent",
129
- "data-[hover=true]:bg-neutral-100"
130
- ]
125
+ item: ["border-2", "border-neutral", "bg-transparent", "data-[hover=true]:bg-neutral-100"]
131
126
  },
132
127
  light: {
133
128
  item: "bg-transparent"
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pagination
3
- } from "../chunk-KDFSOQOQ.mjs";
3
+ } from "../chunk-3LME35GX.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
5
  import "../chunk-K7LK7NCE.mjs";
6
6
  import "../chunk-RO3WUCFF.mjs";
package/dist/index.js CHANGED
@@ -243,7 +243,7 @@ var avatar = (0, import_tailwind_variants.tv)({
243
243
  base: "w-12 h-12 text-sm"
244
244
  },
245
245
  xl: {
246
- base: "w-16 h-16 text-md"
246
+ base: "w-16 h-16 text-base"
247
247
  }
248
248
  },
249
249
  color: {
@@ -758,7 +758,7 @@ var button = (0, import_tailwind_variants6.tv)({
758
758
  xs: "px-2 h-6 text-xs",
759
759
  sm: "px-3 h-8 text-sm",
760
760
  md: "px-4 h-10 text-base",
761
- lg: "px-6 h-12 text-md",
761
+ lg: "px-6 h-12 text-base",
762
762
  xl: "px-8 h-14 text-lg"
763
763
  },
764
764
  color: {
@@ -2291,7 +2291,7 @@ var badge = (0, import_tailwind_variants14.tv)({
2291
2291
  badge: "px-1 text-sm"
2292
2292
  },
2293
2293
  xl: {
2294
- badge: "px-1 text-md"
2294
+ badge: "px-1 text-base"
2295
2295
  }
2296
2296
  },
2297
2297
  placement: {
@@ -2969,12 +2969,7 @@ var pagination = (0, import_tailwind_variants19.tv)({
2969
2969
  variants: {
2970
2970
  variant: {
2971
2971
  bordered: {
2972
- item: [
2973
- "border-2",
2974
- "border-neutral",
2975
- "bg-transparent",
2976
- "data-[hover=true]:bg-neutral-100"
2977
- ]
2972
+ item: ["border-2", "border-neutral", "bg-transparent", "data-[hover=true]:bg-neutral-100"]
2978
2973
  },
2979
2974
  light: {
2980
2975
  item: "bg-transparent"
@@ -3947,7 +3942,7 @@ var input = (0, import_tailwind_variants25.tv)({
3947
3942
  label: "text-xs",
3948
3943
  inputWrapper: "h-8 px-2",
3949
3944
  input: "text-xs",
3950
- clearButton: "text-md"
3945
+ clearButton: "text-base"
3951
3946
  },
3952
3947
  md: {
3953
3948
  inputWrapper: "h-10",
@@ -3961,7 +3956,7 @@ var input = (0, import_tailwind_variants25.tv)({
3961
3956
  },
3962
3957
  xl: {
3963
3958
  inputWrapper: "h-14",
3964
- input: "text-md",
3959
+ input: "text-base",
3965
3960
  clearButton: "text-xl right-3.5"
3966
3961
  }
3967
3962
  },
@@ -4548,7 +4543,7 @@ var input = (0, import_tailwind_variants25.tv)({
4548
4543
  size: "xl",
4549
4544
  class: {
4550
4545
  label: [
4551
- "text-md",
4546
+ "text-base",
4552
4547
  "group-focus-within:text-sm",
4553
4548
  "group-focus-within:-translate-y-3",
4554
4549
  "group-[.is-filled]:text-sm",
@@ -6483,6 +6478,7 @@ var import_plugin = __toESM(require("tailwindcss/plugin.js"));
6483
6478
  var import_lodash = __toESM(require("lodash.foreach"));
6484
6479
  var import_flat = __toESM(require("flat"));
6485
6480
  var import_lodash2 = __toESM(require("lodash.get"));
6481
+ var import_lodash3 = __toESM(require("lodash.omit"));
6486
6482
  var import_deepmerge = __toESM(require("deepmerge"));
6487
6483
 
6488
6484
  // src/animations/index.ts
@@ -6746,10 +6742,12 @@ var nextui = (config = {}) => {
6746
6742
  const userLightColors = (0, import_lodash2.default)(config.themes, "light", {});
6747
6743
  const userDarkColors = (0, import_lodash2.default)(config.themes, "dark", {});
6748
6744
  const defaultTheme = config.defaultTheme || "light";
6745
+ const otherThemes = (0, import_lodash3.default)(config.themes, ["light", "dark"]) || {};
6749
6746
  return corePlugin(
6750
6747
  {
6751
6748
  light: (0, import_deepmerge.default)(semanticColors.light, userLightColors),
6752
- dark: (0, import_deepmerge.default)(semanticColors.dark, userDarkColors)
6749
+ dark: (0, import_deepmerge.default)(semanticColors.dark, userDarkColors),
6750
+ ...otherThemes
6753
6751
  },
6754
6752
  defaultTheme
6755
6753
  );
package/dist/index.mjs CHANGED
@@ -1,4 +1,10 @@
1
1
  import "./chunk-T6HAGWX5.mjs";
2
+ import {
3
+ spinner
4
+ } from "./chunk-XUL76UJD.mjs";
5
+ import {
6
+ table
7
+ } from "./chunk-KWWWVBJL.mjs";
2
8
  import {
3
9
  tabs
4
10
  } from "./chunk-UUJTS7XS.mjs";
@@ -8,6 +14,12 @@ import {
8
14
  import {
9
15
  user
10
16
  } from "./chunk-MW7UVOSP.mjs";
17
+ import {
18
+ navbar
19
+ } from "./chunk-U3BMJPED.mjs";
20
+ import {
21
+ pagination
22
+ } from "./chunk-3LME35GX.mjs";
11
23
  import {
12
24
  popover
13
25
  } from "./chunk-JWVJZEAT.mjs";
@@ -27,17 +39,17 @@ import {
27
39
  spacer
28
40
  } from "./chunk-3B4SYPW2.mjs";
29
41
  import {
30
- spinner
31
- } from "./chunk-XUL76UJD.mjs";
42
+ dropdownSection
43
+ } from "./chunk-AVGEHFT4.mjs";
32
44
  import {
33
- table
34
- } from "./chunk-KWWWVBJL.mjs";
45
+ dropdown
46
+ } from "./chunk-UNMHV7HH.mjs";
35
47
  import {
36
48
  image
37
49
  } from "./chunk-6GGRJ6I7.mjs";
38
50
  import {
39
51
  input
40
- } from "./chunk-DO44X4Z2.mjs";
52
+ } from "./chunk-PH4OFVEH.mjs";
41
53
  import {
42
54
  kbd
43
55
  } from "./chunk-KUQBSI5S.mjs";
@@ -48,11 +60,11 @@ import {
48
60
  modal
49
61
  } from "./chunk-YMIOHWCD.mjs";
50
62
  import {
51
- navbar
52
- } from "./chunk-U3BMJPED.mjs";
63
+ checkbox
64
+ } from "./chunk-7EKGN7JP.mjs";
53
65
  import {
54
- pagination
55
- } from "./chunk-KDFSOQOQ.mjs";
66
+ chip
67
+ } from "./chunk-W5WYYDCM.mjs";
56
68
  import {
57
69
  circularProgress
58
70
  } from "./chunk-AU7WYHMP.mjs";
@@ -72,80 +84,68 @@ import {
72
84
  dropdownMenu
73
85
  } from "./chunk-FCYNUVAR.mjs";
74
86
  import {
75
- dropdownSection
76
- } from "./chunk-AVGEHFT4.mjs";
87
+ accordion
88
+ } from "./chunk-YYBLBQIV.mjs";
77
89
  import {
78
- dropdown
79
- } from "./chunk-UNMHV7HH.mjs";
90
+ avatarGroup
91
+ } from "./chunk-MLH3XSY7.mjs";
80
92
  import {
81
93
  avatar
82
- } from "./chunk-VZVHC65R.mjs";
94
+ } from "./chunk-S7ZC2I7Y.mjs";
83
95
  import {
84
96
  badge
85
- } from "./chunk-NGIVT5FF.mjs";
97
+ } from "./chunk-CPWIXBDM.mjs";
86
98
  import {
87
99
  buttonGroup
88
100
  } from "./chunk-VKFQ7EZN.mjs";
89
101
  import {
90
102
  button
91
- } from "./chunk-PWHNLVBK.mjs";
103
+ } from "./chunk-UM54LZPC.mjs";
104
+ import "./chunk-CMYR6AOY.mjs";
105
+ import "./chunk-K7LK7NCE.mjs";
106
+ import {
107
+ colorVariants
108
+ } from "./chunk-RO3WUCFF.mjs";
92
109
  import {
93
110
  card
94
111
  } from "./chunk-6QKRZ3JE.mjs";
95
112
  import {
96
113
  checkboxGroup
97
114
  } from "./chunk-U77YMEWM.mjs";
98
- import {
99
- checkbox
100
- } from "./chunk-7EKGN7JP.mjs";
101
- import {
102
- chip
103
- } from "./chunk-W5WYYDCM.mjs";
104
115
  import {
105
116
  accordionItem
106
117
  } from "./chunk-XSFH4S4Y.mjs";
107
- import {
108
- accordion
109
- } from "./chunk-YYBLBQIV.mjs";
110
- import {
111
- avatarGroup
112
- } from "./chunk-MLH3XSY7.mjs";
113
118
  import {
114
119
  nextui
115
- } from "./chunk-K3AHB42P.mjs";
120
+ } from "./chunk-PTN3XJU3.mjs";
121
+ import "./chunk-XLATS5QU.mjs";
122
+ import {
123
+ absoluteFullClasses,
124
+ baseStyles,
125
+ focusVisibleClasses,
126
+ ringClasses,
127
+ translateCenterClasses
128
+ } from "./chunk-INZK6TTL.mjs";
129
+ import "./chunk-DMASP6FA.mjs";
116
130
  import "./chunk-WQEDQHKX.mjs";
117
131
  import {
118
132
  colors
119
- } from "./chunk-XMDX7HIE.mjs";
133
+ } from "./chunk-M74ZSXB7.mjs";
120
134
  import {
121
135
  semanticColors
122
- } from "./chunk-ZNTUEV24.mjs";
136
+ } from "./chunk-LQHWK6UV.mjs";
137
+ import "./chunk-37PIXVP4.mjs";
123
138
  import "./chunk-M63AFAHO.mjs";
124
139
  import {
125
140
  commonColors
126
- } from "./chunk-TPAK7DPZ.mjs";
141
+ } from "./chunk-CRCBVLUP.mjs";
142
+ import "./chunk-DCEG5LGX.mjs";
127
143
  import "./chunk-L2OL7R23.mjs";
128
144
  import "./chunk-YZYGFPNK.mjs";
129
145
  import "./chunk-Y4YW5MKL.mjs";
130
146
  import "./chunk-KZJBCC2H.mjs";
131
147
  import "./chunk-T3GWIVAM.mjs";
132
148
  import "./chunk-OR5PUD24.mjs";
133
- import "./chunk-DCEG5LGX.mjs";
134
- import "./chunk-DMASP6FA.mjs";
135
- import "./chunk-XLATS5QU.mjs";
136
- import "./chunk-CMYR6AOY.mjs";
137
- import "./chunk-K7LK7NCE.mjs";
138
- import {
139
- colorVariants
140
- } from "./chunk-RO3WUCFF.mjs";
141
- import {
142
- absoluteFullClasses,
143
- baseStyles,
144
- focusVisibleClasses,
145
- ringClasses,
146
- translateCenterClasses
147
- } from "./chunk-INZK6TTL.mjs";
148
- import "./chunk-37PIXVP4.mjs";
149
149
 
150
150
  // src/index.ts
151
151
  import { cn as cnBase } from "tailwind-variants";
package/dist/plugin.js CHANGED
@@ -34,6 +34,7 @@ var import_plugin = __toESM(require("tailwindcss/plugin.js"));
34
34
  var import_lodash = __toESM(require("lodash.foreach"));
35
35
  var import_flat = __toESM(require("flat"));
36
36
  var import_lodash2 = __toESM(require("lodash.get"));
37
+ var import_lodash3 = __toESM(require("lodash.omit"));
37
38
  var import_deepmerge = __toESM(require("deepmerge"));
38
39
 
39
40
  // src/colors/blue.ts
@@ -581,10 +582,12 @@ var nextui = (config = {}) => {
581
582
  const userLightColors = (0, import_lodash2.default)(config.themes, "light", {});
582
583
  const userDarkColors = (0, import_lodash2.default)(config.themes, "dark", {});
583
584
  const defaultTheme = config.defaultTheme || "light";
585
+ const otherThemes = (0, import_lodash3.default)(config.themes, ["light", "dark"]) || {};
584
586
  return corePlugin(
585
587
  {
586
588
  light: (0, import_deepmerge.default)(semanticColors.light, userLightColors),
587
- dark: (0, import_deepmerge.default)(semanticColors.dark, userDarkColors)
589
+ dark: (0, import_deepmerge.default)(semanticColors.dark, userDarkColors),
590
+ ...otherThemes
588
591
  },
589
592
  defaultTheme
590
593
  );
package/dist/plugin.mjs CHANGED
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  nextui
3
- } from "./chunk-K3AHB42P.mjs";
3
+ } from "./chunk-PTN3XJU3.mjs";
4
+ import "./chunk-XLATS5QU.mjs";
5
+ import "./chunk-INZK6TTL.mjs";
6
+ import "./chunk-DMASP6FA.mjs";
4
7
  import "./chunk-WQEDQHKX.mjs";
5
- import "./chunk-XMDX7HIE.mjs";
6
- import "./chunk-ZNTUEV24.mjs";
8
+ import "./chunk-M74ZSXB7.mjs";
9
+ import "./chunk-LQHWK6UV.mjs";
10
+ import "./chunk-37PIXVP4.mjs";
7
11
  import "./chunk-M63AFAHO.mjs";
8
- import "./chunk-TPAK7DPZ.mjs";
12
+ import "./chunk-CRCBVLUP.mjs";
13
+ import "./chunk-DCEG5LGX.mjs";
9
14
  import "./chunk-L2OL7R23.mjs";
10
15
  import "./chunk-YZYGFPNK.mjs";
11
16
  import "./chunk-Y4YW5MKL.mjs";
12
17
  import "./chunk-KZJBCC2H.mjs";
13
18
  import "./chunk-T3GWIVAM.mjs";
14
19
  import "./chunk-OR5PUD24.mjs";
15
- import "./chunk-DCEG5LGX.mjs";
16
- import "./chunk-DMASP6FA.mjs";
17
- import "./chunk-XLATS5QU.mjs";
18
- import "./chunk-INZK6TTL.mjs";
19
- import "./chunk-37PIXVP4.mjs";
20
20
  export {
21
21
  nextui
22
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextui-org/theme",
3
- "version": "0.0.0-dev-v2-20230428203230",
3
+ "version": "0.0.0-dev-v2-20230429140802",
4
4
  "description": "The default theme for NextUI components",
5
5
  "keywords": [
6
6
  "theme",
@@ -37,6 +37,7 @@
37
37
  "url": "https://github.com/nextui-org/nextui/issues"
38
38
  },
39
39
  "dependencies": {
40
+ "@types/lodash.omit": "^4.5.7",
40
41
  "color": "^4.2.3",
41
42
  "color2k": "^2.0.2",
42
43
  "deepmerge": "4.3.0",
@@ -44,6 +45,7 @@
44
45
  "lodash.foreach": "^4.5.0",
45
46
  "lodash.get": "^4.4.2",
46
47
  "lodash.isempty": "^4.4.0",
48
+ "lodash.omit": "^4.5.0",
47
49
  "tailwind-variants": "^0.1.3",
48
50
  "tailwindcss": "^3.2.7"
49
51
  },
@@ -1,3 +1,6 @@
1
+ import {
2
+ pink
3
+ } from "./chunk-DCEG5LGX.mjs";
1
4
  import {
2
5
  purple
3
6
  } from "./chunk-L2OL7R23.mjs";
@@ -16,9 +19,6 @@ import {
16
19
  import {
17
20
  green
18
21
  } from "./chunk-OR5PUD24.mjs";
19
- import {
20
- pink
21
- } from "./chunk-DCEG5LGX.mjs";
22
22
 
23
23
  // src/colors/common.ts
24
24
  var commonColors = {