@nextui-org/theme 0.0.0-dev-v2-20230619185541 → 0.0.0-dev-v2-20230620142942
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.
- package/dist/{chunk-KZJBCC2H.mjs → chunk-DYAPDM2A.mjs} +1 -1
- package/dist/{chunk-CI2QPWUR.mjs → chunk-M7M7HWPI.mjs} +15 -9
- package/dist/{chunk-MPEOTJDC.mjs → chunk-N5YBIJN7.mjs} +2 -2
- package/dist/{chunk-T6BORZ45.mjs → chunk-OPENJYHK.mjs} +24 -24
- package/dist/{chunk-GNI32UV5.mjs → chunk-UNAW63FS.mjs} +8 -8
- package/dist/{chunk-CRCBVLUP.mjs → chunk-YGFZPBLQ.mjs} +4 -4
- package/dist/colors/blue.js +1 -1
- package/dist/colors/blue.mjs +1 -1
- package/dist/colors/common.js +1 -1
- package/dist/colors/common.mjs +3 -3
- package/dist/colors/index.js +8 -8
- package/dist/colors/index.mjs +5 -5
- package/dist/colors/semantic.js +8 -8
- package/dist/colors/semantic.mjs +4 -4
- package/dist/colors.js +8 -8
- package/dist/colors.mjs +5 -5
- package/dist/components/index.js +24 -24
- package/dist/components/index.mjs +25 -25
- package/dist/components/pagination.d.ts +20 -20
- package/dist/components/pagination.js +24 -24
- package/dist/components/pagination.mjs +1 -1
- package/dist/index.js +42 -36
- package/dist/index.mjs +33 -33
- package/dist/plugin.d.ts +4 -0
- package/dist/plugin.js +18 -12
- package/dist/plugin.mjs +7 -7
- package/package.json +1 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
utilities
|
|
3
|
-
} from "./chunk-JH2TR6BI.mjs";
|
|
4
1
|
import {
|
|
5
2
|
baseStyles
|
|
6
3
|
} from "./chunk-TSW7CNKY.mjs";
|
|
7
4
|
import {
|
|
8
5
|
semanticColors
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UNAW63FS.mjs";
|
|
10
7
|
import {
|
|
11
8
|
removeDefaultKeys
|
|
12
9
|
} from "./chunk-37PIXVP4.mjs";
|
|
13
10
|
import {
|
|
14
11
|
animations
|
|
15
12
|
} from "./chunk-DMASP6FA.mjs";
|
|
13
|
+
import {
|
|
14
|
+
utilities
|
|
15
|
+
} from "./chunk-JH2TR6BI.mjs";
|
|
16
16
|
import {
|
|
17
17
|
commonColors
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YGFZPBLQ.mjs";
|
|
19
19
|
|
|
20
20
|
// src/plugin.ts
|
|
21
21
|
import Color from "color";
|
|
@@ -91,7 +91,7 @@ var resolveConfig = (config = {}, defaultTheme, prefix) => {
|
|
|
91
91
|
});
|
|
92
92
|
return resolved;
|
|
93
93
|
};
|
|
94
|
-
var corePlugin = (config = {}, defaultTheme, prefix) => {
|
|
94
|
+
var corePlugin = (config = {}, defaultTheme, prefix, omitCommonColors) => {
|
|
95
95
|
const resolved = resolveConfig(config, defaultTheme, prefix);
|
|
96
96
|
return plugin(
|
|
97
97
|
({ addBase, addUtilities, addVariant }) => {
|
|
@@ -109,7 +109,7 @@ var corePlugin = (config = {}, defaultTheme, prefix) => {
|
|
|
109
109
|
theme: {
|
|
110
110
|
extend: {
|
|
111
111
|
colors: {
|
|
112
|
-
...commonColors,
|
|
112
|
+
...omitCommonColors ? {} : commonColors,
|
|
113
113
|
...resolved.colors
|
|
114
114
|
},
|
|
115
115
|
fontSize: {
|
|
@@ -130,7 +130,11 @@ var corePlugin = (config = {}, defaultTheme, prefix) => {
|
|
|
130
130
|
5: "1.25rem",
|
|
131
131
|
6: "1.5rem",
|
|
132
132
|
7: "1.75rem",
|
|
133
|
-
8: "2rem"
|
|
133
|
+
8: "2rem",
|
|
134
|
+
9: "2.25rem",
|
|
135
|
+
10: "2.5rem",
|
|
136
|
+
11: "2.75rem",
|
|
137
|
+
12: "3rem"
|
|
134
138
|
},
|
|
135
139
|
backgroundImage: {
|
|
136
140
|
"stripe-gradient": "linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, transparent 75%, transparent)"
|
|
@@ -155,6 +159,7 @@ var nextui = (config = {}) => {
|
|
|
155
159
|
const userDarkColors = get(themeObject, "dark", {});
|
|
156
160
|
const defaultTheme = config.defaultTheme || "light";
|
|
157
161
|
const defaultPrefix = config.prefix || DEFAULT_PREFIX;
|
|
162
|
+
const omitCommonColors = config.omitCommonColors || false;
|
|
158
163
|
const otherThemes = omit(themeObject, ["light", "dark"]) || {};
|
|
159
164
|
return corePlugin(
|
|
160
165
|
{
|
|
@@ -163,7 +168,8 @@ var nextui = (config = {}) => {
|
|
|
163
168
|
...otherThemes
|
|
164
169
|
},
|
|
165
170
|
defaultTheme,
|
|
166
|
-
defaultPrefix
|
|
171
|
+
defaultPrefix,
|
|
172
|
+
omitCommonColors
|
|
167
173
|
);
|
|
168
174
|
};
|
|
169
175
|
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import { tv } from "tailwind-variants";
|
|
7
7
|
var pagination = tv({
|
|
8
8
|
slots: {
|
|
9
|
-
base: "flex flex-
|
|
9
|
+
base: "flex flex-nowrap relative overflow-x-auto overflow-y-visible items-center gap-1 max-w-fit h-fit",
|
|
10
10
|
item: [],
|
|
11
11
|
prev: "",
|
|
12
12
|
next: "",
|
|
@@ -92,6 +92,11 @@ var pagination = tv({
|
|
|
92
92
|
showShadow: {
|
|
93
93
|
true: {}
|
|
94
94
|
},
|
|
95
|
+
hideCursor: {
|
|
96
|
+
true: {
|
|
97
|
+
cursor: "hidden"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
95
100
|
disableAnimation: {
|
|
96
101
|
true: {
|
|
97
102
|
item: "transition-none",
|
|
@@ -101,11 +106,6 @@ var pagination = tv({
|
|
|
101
106
|
item: "transition-background",
|
|
102
107
|
cursor: ["transition-transform", "!duration-300"]
|
|
103
108
|
}
|
|
104
|
-
},
|
|
105
|
-
disableCursor: {
|
|
106
|
-
true: {
|
|
107
|
-
cursor: "hidden"
|
|
108
|
-
}
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
111
|
defaultVariants: {
|
|
@@ -117,7 +117,7 @@ var pagination = tv({
|
|
|
117
117
|
isDisabled: false,
|
|
118
118
|
showShadow: false,
|
|
119
119
|
disableAnimation: false,
|
|
120
|
-
|
|
120
|
+
hideCursor: false
|
|
121
121
|
},
|
|
122
122
|
compoundVariants: [
|
|
123
123
|
{
|
|
@@ -170,7 +170,7 @@ var pagination = tv({
|
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
|
-
|
|
173
|
+
hideCursor: true,
|
|
174
174
|
color: "default",
|
|
175
175
|
class: {
|
|
176
176
|
item: [
|
|
@@ -181,7 +181,7 @@ var pagination = tv({
|
|
|
181
181
|
}
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
|
-
|
|
184
|
+
hideCursor: true,
|
|
185
185
|
color: "primary",
|
|
186
186
|
class: {
|
|
187
187
|
item: [
|
|
@@ -192,7 +192,7 @@ var pagination = tv({
|
|
|
192
192
|
}
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
|
-
|
|
195
|
+
hideCursor: true,
|
|
196
196
|
color: "secondary",
|
|
197
197
|
class: {
|
|
198
198
|
item: [
|
|
@@ -203,7 +203,7 @@ var pagination = tv({
|
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
|
-
|
|
206
|
+
hideCursor: true,
|
|
207
207
|
color: "success",
|
|
208
208
|
class: {
|
|
209
209
|
item: [
|
|
@@ -214,7 +214,7 @@ var pagination = tv({
|
|
|
214
214
|
}
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
|
-
|
|
217
|
+
hideCursor: true,
|
|
218
218
|
color: "warning",
|
|
219
219
|
class: {
|
|
220
220
|
item: [
|
|
@@ -225,7 +225,7 @@ var pagination = tv({
|
|
|
225
225
|
}
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
|
-
|
|
228
|
+
hideCursor: true,
|
|
229
229
|
color: "danger",
|
|
230
230
|
class: {
|
|
231
231
|
item: [
|
|
@@ -236,7 +236,7 @@ var pagination = tv({
|
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
|
-
|
|
239
|
+
hideCursor: true,
|
|
240
240
|
showShadow: true,
|
|
241
241
|
color: "default",
|
|
242
242
|
class: {
|
|
@@ -244,7 +244,7 @@ var pagination = tv({
|
|
|
244
244
|
}
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
|
-
|
|
247
|
+
hideCursor: true,
|
|
248
248
|
showShadow: true,
|
|
249
249
|
color: "primary",
|
|
250
250
|
class: {
|
|
@@ -252,7 +252,7 @@ var pagination = tv({
|
|
|
252
252
|
}
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
|
-
|
|
255
|
+
hideCursor: true,
|
|
256
256
|
showShadow: true,
|
|
257
257
|
color: "secondary",
|
|
258
258
|
class: {
|
|
@@ -260,7 +260,7 @@ var pagination = tv({
|
|
|
260
260
|
}
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
|
-
|
|
263
|
+
hideCursor: true,
|
|
264
264
|
showShadow: true,
|
|
265
265
|
color: "success",
|
|
266
266
|
class: {
|
|
@@ -268,7 +268,7 @@ var pagination = tv({
|
|
|
268
268
|
}
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
|
-
|
|
271
|
+
hideCursor: true,
|
|
272
272
|
showShadow: true,
|
|
273
273
|
color: "warning",
|
|
274
274
|
class: {
|
|
@@ -276,7 +276,7 @@ var pagination = tv({
|
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
|
-
|
|
279
|
+
hideCursor: true,
|
|
280
280
|
showShadow: true,
|
|
281
281
|
color: "danger",
|
|
282
282
|
class: {
|
|
@@ -324,27 +324,27 @@ var pagination = tv({
|
|
|
324
324
|
{
|
|
325
325
|
slots: ["item", "cursor", "prev", "next"],
|
|
326
326
|
size: "xs",
|
|
327
|
-
class: "w-7 h-7 text-xs"
|
|
327
|
+
class: "min-w-7 w-7 h-7 text-xs"
|
|
328
328
|
},
|
|
329
329
|
{
|
|
330
330
|
slots: ["item", "cursor", "prev", "next"],
|
|
331
331
|
size: "sm",
|
|
332
|
-
class: "w-8 h-8 text-sm"
|
|
332
|
+
class: "min-w-8 w-8 h-8 text-sm"
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
335
|
slots: ["item", "cursor", "prev", "next"],
|
|
336
336
|
size: "md",
|
|
337
|
-
class: "w-9 h-9 text-sm"
|
|
337
|
+
class: "min-w-9 w-9 h-9 text-sm"
|
|
338
338
|
},
|
|
339
339
|
{
|
|
340
340
|
slots: ["item", "cursor", "prev", "next"],
|
|
341
341
|
size: "lg",
|
|
342
|
-
class: "w-10 h-10 text-base"
|
|
342
|
+
class: "min-w-10 w-10 h-10 text-base"
|
|
343
343
|
},
|
|
344
344
|
{
|
|
345
345
|
slots: ["item", "cursor", "prev", "next"],
|
|
346
346
|
size: "xl",
|
|
347
|
-
class: "w-11 h-11 text-base"
|
|
347
|
+
class: "min-w-11 w-11 h-11 text-base"
|
|
348
348
|
},
|
|
349
349
|
{
|
|
350
350
|
slots: ["item", "cursor", "prev", "next"],
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-37PIXVP4.mjs";
|
|
4
4
|
import {
|
|
5
5
|
commonColors
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YGFZPBLQ.mjs";
|
|
7
7
|
|
|
8
8
|
// src/colors/semantic.ts
|
|
9
9
|
import twColors from "tailwindcss/colors.js";
|
|
@@ -73,22 +73,22 @@ var semanticColorsLight = {
|
|
|
73
73
|
},
|
|
74
74
|
primary: {
|
|
75
75
|
...commonColors.blue,
|
|
76
|
-
foreground: commonColors.
|
|
76
|
+
foreground: readableColor(commonColors.blue[500]),
|
|
77
77
|
DEFAULT: commonColors.blue[500]
|
|
78
78
|
},
|
|
79
79
|
secondary: {
|
|
80
80
|
...commonColors.purple,
|
|
81
|
-
foreground: commonColors.
|
|
81
|
+
foreground: readableColor(commonColors.purple[500]),
|
|
82
82
|
DEFAULT: commonColors.purple[500]
|
|
83
83
|
},
|
|
84
84
|
success: {
|
|
85
85
|
...commonColors.green,
|
|
86
|
-
foreground: commonColors.
|
|
86
|
+
foreground: commonColors.green[800],
|
|
87
87
|
DEFAULT: commonColors.green[500]
|
|
88
88
|
},
|
|
89
89
|
warning: {
|
|
90
90
|
...commonColors.yellow,
|
|
91
|
-
foreground: commonColors.
|
|
91
|
+
foreground: commonColors.yellow[900],
|
|
92
92
|
DEFAULT: commonColors.yellow[500]
|
|
93
93
|
},
|
|
94
94
|
danger: {
|
|
@@ -106,12 +106,12 @@ var semanticColorsDark = {
|
|
|
106
106
|
},
|
|
107
107
|
primary: {
|
|
108
108
|
...swapColorValues(commonColors.blue),
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
foreground: readableColor(commonColors.blue[500]),
|
|
110
|
+
DEFAULT: commonColors.blue[500]
|
|
111
111
|
},
|
|
112
112
|
secondary: {
|
|
113
113
|
...swapColorValues(commonColors.purple),
|
|
114
|
-
foreground: commonColors.
|
|
114
|
+
foreground: readableColor(commonColors.purple[400]),
|
|
115
115
|
DEFAULT: commonColors.purple[400]
|
|
116
116
|
},
|
|
117
117
|
success: {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
green
|
|
3
|
+
} from "./chunk-OR5PUD24.mjs";
|
|
1
4
|
import {
|
|
2
5
|
pink
|
|
3
6
|
} from "./chunk-DCEG5LGX.mjs";
|
|
@@ -12,13 +15,10 @@ import {
|
|
|
12
15
|
} from "./chunk-Y4YW5MKL.mjs";
|
|
13
16
|
import {
|
|
14
17
|
blue
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DYAPDM2A.mjs";
|
|
16
19
|
import {
|
|
17
20
|
cyan
|
|
18
21
|
} from "./chunk-T3GWIVAM.mjs";
|
|
19
|
-
import {
|
|
20
|
-
green
|
|
21
|
-
} from "./chunk-OR5PUD24.mjs";
|
|
22
22
|
|
|
23
23
|
// src/colors/common.ts
|
|
24
24
|
var commonColors = {
|
package/dist/colors/blue.js
CHANGED
package/dist/colors/blue.mjs
CHANGED
package/dist/colors/common.js
CHANGED
package/dist/colors/common.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
commonColors
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-YGFZPBLQ.mjs";
|
|
4
|
+
import "../chunk-OR5PUD24.mjs";
|
|
4
5
|
import "../chunk-DCEG5LGX.mjs";
|
|
5
6
|
import "../chunk-L2OL7R23.mjs";
|
|
6
7
|
import "../chunk-YZYGFPNK.mjs";
|
|
7
8
|
import "../chunk-Y4YW5MKL.mjs";
|
|
8
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-DYAPDM2A.mjs";
|
|
9
10
|
import "../chunk-T3GWIVAM.mjs";
|
|
10
|
-
import "../chunk-OR5PUD24.mjs";
|
|
11
11
|
export {
|
|
12
12
|
commonColors
|
|
13
13
|
};
|
package/dist/colors/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var blue = {
|
|
|
39
39
|
200: "#99c7fb",
|
|
40
40
|
300: "#66aaf9",
|
|
41
41
|
400: "#338ef7",
|
|
42
|
-
500: "#
|
|
42
|
+
500: "#0069E0",
|
|
43
43
|
600: "#005bc4",
|
|
44
44
|
700: "#004493",
|
|
45
45
|
800: "#002e62",
|
|
@@ -231,22 +231,22 @@ var semanticColorsLight = {
|
|
|
231
231
|
},
|
|
232
232
|
primary: {
|
|
233
233
|
...commonColors.blue,
|
|
234
|
-
foreground: commonColors.
|
|
234
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
235
235
|
DEFAULT: commonColors.blue[500]
|
|
236
236
|
},
|
|
237
237
|
secondary: {
|
|
238
238
|
...commonColors.purple,
|
|
239
|
-
foreground: commonColors.
|
|
239
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[500]),
|
|
240
240
|
DEFAULT: commonColors.purple[500]
|
|
241
241
|
},
|
|
242
242
|
success: {
|
|
243
243
|
...commonColors.green,
|
|
244
|
-
foreground: commonColors.
|
|
244
|
+
foreground: commonColors.green[800],
|
|
245
245
|
DEFAULT: commonColors.green[500]
|
|
246
246
|
},
|
|
247
247
|
warning: {
|
|
248
248
|
...commonColors.yellow,
|
|
249
|
-
foreground: commonColors.
|
|
249
|
+
foreground: commonColors.yellow[900],
|
|
250
250
|
DEFAULT: commonColors.yellow[500]
|
|
251
251
|
},
|
|
252
252
|
danger: {
|
|
@@ -264,12 +264,12 @@ var semanticColorsDark = {
|
|
|
264
264
|
},
|
|
265
265
|
primary: {
|
|
266
266
|
...swapColorValues(commonColors.blue),
|
|
267
|
-
|
|
268
|
-
|
|
267
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
268
|
+
DEFAULT: commonColors.blue[500]
|
|
269
269
|
},
|
|
270
270
|
secondary: {
|
|
271
271
|
...swapColorValues(commonColors.purple),
|
|
272
|
-
foreground: commonColors.
|
|
272
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[400]),
|
|
273
273
|
DEFAULT: commonColors.purple[400]
|
|
274
274
|
},
|
|
275
275
|
success: {
|
package/dist/colors/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colors
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-N5YBIJN7.mjs";
|
|
4
4
|
import {
|
|
5
5
|
semanticColors
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-UNAW63FS.mjs";
|
|
7
7
|
import "../chunk-37PIXVP4.mjs";
|
|
8
8
|
import "../chunk-M63AFAHO.mjs";
|
|
9
9
|
import {
|
|
10
10
|
commonColors
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-YGFZPBLQ.mjs";
|
|
12
|
+
import "../chunk-OR5PUD24.mjs";
|
|
12
13
|
import "../chunk-DCEG5LGX.mjs";
|
|
13
14
|
import "../chunk-L2OL7R23.mjs";
|
|
14
15
|
import "../chunk-YZYGFPNK.mjs";
|
|
15
16
|
import "../chunk-Y4YW5MKL.mjs";
|
|
16
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-DYAPDM2A.mjs";
|
|
17
18
|
import "../chunk-T3GWIVAM.mjs";
|
|
18
|
-
import "../chunk-OR5PUD24.mjs";
|
|
19
19
|
export {
|
|
20
20
|
colors,
|
|
21
21
|
commonColors,
|
package/dist/colors/semantic.js
CHANGED
|
@@ -59,7 +59,7 @@ var blue = {
|
|
|
59
59
|
200: "#99c7fb",
|
|
60
60
|
300: "#66aaf9",
|
|
61
61
|
400: "#338ef7",
|
|
62
|
-
500: "#
|
|
62
|
+
500: "#0069E0",
|
|
63
63
|
600: "#005bc4",
|
|
64
64
|
700: "#004493",
|
|
65
65
|
800: "#002e62",
|
|
@@ -229,22 +229,22 @@ var semanticColorsLight = {
|
|
|
229
229
|
},
|
|
230
230
|
primary: {
|
|
231
231
|
...commonColors.blue,
|
|
232
|
-
foreground: commonColors.
|
|
232
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
233
233
|
DEFAULT: commonColors.blue[500]
|
|
234
234
|
},
|
|
235
235
|
secondary: {
|
|
236
236
|
...commonColors.purple,
|
|
237
|
-
foreground: commonColors.
|
|
237
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[500]),
|
|
238
238
|
DEFAULT: commonColors.purple[500]
|
|
239
239
|
},
|
|
240
240
|
success: {
|
|
241
241
|
...commonColors.green,
|
|
242
|
-
foreground: commonColors.
|
|
242
|
+
foreground: commonColors.green[800],
|
|
243
243
|
DEFAULT: commonColors.green[500]
|
|
244
244
|
},
|
|
245
245
|
warning: {
|
|
246
246
|
...commonColors.yellow,
|
|
247
|
-
foreground: commonColors.
|
|
247
|
+
foreground: commonColors.yellow[900],
|
|
248
248
|
DEFAULT: commonColors.yellow[500]
|
|
249
249
|
},
|
|
250
250
|
danger: {
|
|
@@ -262,12 +262,12 @@ var semanticColorsDark = {
|
|
|
262
262
|
},
|
|
263
263
|
primary: {
|
|
264
264
|
...swapColorValues(commonColors.blue),
|
|
265
|
-
|
|
266
|
-
|
|
265
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
266
|
+
DEFAULT: commonColors.blue[500]
|
|
267
267
|
},
|
|
268
268
|
secondary: {
|
|
269
269
|
...swapColorValues(commonColors.purple),
|
|
270
|
-
foreground: commonColors.
|
|
270
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[400]),
|
|
271
271
|
DEFAULT: commonColors.purple[400]
|
|
272
272
|
},
|
|
273
273
|
success: {
|
package/dist/colors/semantic.mjs
CHANGED
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
semanticColors,
|
|
3
3
|
semanticColorsDark,
|
|
4
4
|
semanticColorsLight
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-UNAW63FS.mjs";
|
|
6
6
|
import "../chunk-37PIXVP4.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-YGFZPBLQ.mjs";
|
|
8
|
+
import "../chunk-OR5PUD24.mjs";
|
|
8
9
|
import "../chunk-DCEG5LGX.mjs";
|
|
9
10
|
import "../chunk-L2OL7R23.mjs";
|
|
10
11
|
import "../chunk-YZYGFPNK.mjs";
|
|
11
12
|
import "../chunk-Y4YW5MKL.mjs";
|
|
12
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-DYAPDM2A.mjs";
|
|
13
14
|
import "../chunk-T3GWIVAM.mjs";
|
|
14
|
-
import "../chunk-OR5PUD24.mjs";
|
|
15
15
|
export {
|
|
16
16
|
semanticColors,
|
|
17
17
|
semanticColorsDark,
|
package/dist/colors.js
CHANGED
|
@@ -39,7 +39,7 @@ var blue = {
|
|
|
39
39
|
200: "#99c7fb",
|
|
40
40
|
300: "#66aaf9",
|
|
41
41
|
400: "#338ef7",
|
|
42
|
-
500: "#
|
|
42
|
+
500: "#0069E0",
|
|
43
43
|
600: "#005bc4",
|
|
44
44
|
700: "#004493",
|
|
45
45
|
800: "#002e62",
|
|
@@ -231,22 +231,22 @@ var semanticColorsLight = {
|
|
|
231
231
|
},
|
|
232
232
|
primary: {
|
|
233
233
|
...commonColors.blue,
|
|
234
|
-
foreground: commonColors.
|
|
234
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
235
235
|
DEFAULT: commonColors.blue[500]
|
|
236
236
|
},
|
|
237
237
|
secondary: {
|
|
238
238
|
...commonColors.purple,
|
|
239
|
-
foreground: commonColors.
|
|
239
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[500]),
|
|
240
240
|
DEFAULT: commonColors.purple[500]
|
|
241
241
|
},
|
|
242
242
|
success: {
|
|
243
243
|
...commonColors.green,
|
|
244
|
-
foreground: commonColors.
|
|
244
|
+
foreground: commonColors.green[800],
|
|
245
245
|
DEFAULT: commonColors.green[500]
|
|
246
246
|
},
|
|
247
247
|
warning: {
|
|
248
248
|
...commonColors.yellow,
|
|
249
|
-
foreground: commonColors.
|
|
249
|
+
foreground: commonColors.yellow[900],
|
|
250
250
|
DEFAULT: commonColors.yellow[500]
|
|
251
251
|
},
|
|
252
252
|
danger: {
|
|
@@ -264,12 +264,12 @@ var semanticColorsDark = {
|
|
|
264
264
|
},
|
|
265
265
|
primary: {
|
|
266
266
|
...swapColorValues(commonColors.blue),
|
|
267
|
-
|
|
268
|
-
|
|
267
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
268
|
+
DEFAULT: commonColors.blue[500]
|
|
269
269
|
},
|
|
270
270
|
secondary: {
|
|
271
271
|
...swapColorValues(commonColors.purple),
|
|
272
|
-
foreground: commonColors.
|
|
272
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[400]),
|
|
273
273
|
DEFAULT: commonColors.purple[400]
|
|
274
274
|
},
|
|
275
275
|
success: {
|
package/dist/colors.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "./chunk-WQEDQHKX.mjs";
|
|
2
2
|
import {
|
|
3
3
|
colors
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-N5YBIJN7.mjs";
|
|
5
5
|
import {
|
|
6
6
|
semanticColors
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UNAW63FS.mjs";
|
|
8
8
|
import "./chunk-37PIXVP4.mjs";
|
|
9
9
|
import "./chunk-M63AFAHO.mjs";
|
|
10
10
|
import {
|
|
11
11
|
commonColors
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YGFZPBLQ.mjs";
|
|
13
|
+
import "./chunk-OR5PUD24.mjs";
|
|
13
14
|
import "./chunk-DCEG5LGX.mjs";
|
|
14
15
|
import "./chunk-L2OL7R23.mjs";
|
|
15
16
|
import "./chunk-YZYGFPNK.mjs";
|
|
16
17
|
import "./chunk-Y4YW5MKL.mjs";
|
|
17
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-DYAPDM2A.mjs";
|
|
18
19
|
import "./chunk-T3GWIVAM.mjs";
|
|
19
|
-
import "./chunk-OR5PUD24.mjs";
|
|
20
20
|
export {
|
|
21
21
|
colors,
|
|
22
22
|
commonColors,
|