@nextui-org/theme 0.0.0-dev-v2-20230326012034
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/LICENSE +21 -0
- package/README.md +24 -0
- package/colors.d.ts +1 -0
- package/colors.js +1 -0
- package/dist/animations/index.d.ts +57 -0
- package/dist/animations/index.js +84 -0
- package/dist/animations/index.mjs +6 -0
- package/dist/chunk-37PIXVP4.mjs +33 -0
- package/dist/chunk-45FXWIO6.mjs +70 -0
- package/dist/chunk-5OE5CWK6.mjs +84 -0
- package/dist/chunk-5SJ7B53O.mjs +0 -0
- package/dist/chunk-5Z3NCB7W.mjs +391 -0
- package/dist/chunk-7BYRB2YS.mjs +386 -0
- package/dist/chunk-7MQD7UA2.mjs +16 -0
- package/dist/chunk-B5S7HT6N.mjs +44 -0
- package/dist/chunk-CMYR6AOY.mjs +0 -0
- package/dist/chunk-CO6ANWRA.mjs +125 -0
- package/dist/chunk-CRCBVLUP.mjs +38 -0
- package/dist/chunk-D4TJV7NY.mjs +206 -0
- package/dist/chunk-DCEG5LGX.mjs +17 -0
- package/dist/chunk-FS36US4S.mjs +25 -0
- package/dist/chunk-HHWXPWYN.mjs +13 -0
- package/dist/chunk-IJCHUO4J.mjs +38 -0
- package/dist/chunk-K7LK7NCE.mjs +0 -0
- package/dist/chunk-KZJBCC2H.mjs +17 -0
- package/dist/chunk-L2OL7R23.mjs +17 -0
- package/dist/chunk-LGGZKBOO.mjs +77 -0
- package/dist/chunk-M63AFAHO.mjs +0 -0
- package/dist/chunk-MLH3XSY7.mjs +14 -0
- package/dist/chunk-NJQP2VWT.mjs +160 -0
- package/dist/chunk-OIVGIOVG.mjs +9 -0
- package/dist/chunk-OR5PUD24.mjs +17 -0
- package/dist/chunk-OSARGUKT.mjs +326 -0
- package/dist/chunk-QIC7EALL.mjs +277 -0
- package/dist/chunk-QMP2FDFR.mjs +240 -0
- package/dist/chunk-QPN3H4E3.mjs +60 -0
- package/dist/chunk-RD42SVXB.mjs +90 -0
- package/dist/chunk-T3GWIVAM.mjs +17 -0
- package/dist/chunk-TV7EJNXI.mjs +457 -0
- package/dist/chunk-U77YMEWM.mjs +13 -0
- package/dist/chunk-VB4T62HR.mjs +159 -0
- package/dist/chunk-VKFQ7EZN.mjs +17 -0
- package/dist/chunk-WQEDQHKX.mjs +0 -0
- package/dist/chunk-Y37XC5QN.mjs +169 -0
- package/dist/chunk-Y4YW5MKL.mjs +17 -0
- package/dist/chunk-Y52EXP4A.mjs +142 -0
- package/dist/chunk-YYBLBQIV.mjs +16 -0
- package/dist/chunk-YZYGFPNK.mjs +17 -0
- package/dist/chunk-Z5OKZPNV.mjs +190 -0
- package/dist/colors/blue.d.ts +14 -0
- package/dist/colors/blue.js +41 -0
- package/dist/colors/blue.mjs +6 -0
- package/dist/colors/common.d.ts +91 -0
- package/dist/colors/common.js +140 -0
- package/dist/colors/common.mjs +13 -0
- package/dist/colors/cyan.d.ts +14 -0
- package/dist/colors/cyan.js +41 -0
- package/dist/colors/cyan.mjs +6 -0
- package/dist/colors/green.d.ts +14 -0
- package/dist/colors/green.js +41 -0
- package/dist/colors/green.mjs +6 -0
- package/dist/colors/index.d.ts +97 -0
- package/dist/colors/index.js +306 -0
- package/dist/colors/index.mjs +23 -0
- package/dist/colors/pink.d.ts +14 -0
- package/dist/colors/pink.js +41 -0
- package/dist/colors/pink.mjs +6 -0
- package/dist/colors/purple.d.ts +14 -0
- package/dist/colors/purple.js +41 -0
- package/dist/colors/purple.mjs +6 -0
- package/dist/colors/red.d.ts +14 -0
- package/dist/colors/red.js +41 -0
- package/dist/colors/red.mjs +6 -0
- package/dist/colors/semantic.d.ts +10 -0
- package/dist/colors/semantic.js +298 -0
- package/dist/colors/semantic.mjs +19 -0
- package/dist/colors/types.d.ts +37 -0
- package/dist/colors/types.js +18 -0
- package/dist/colors/types.mjs +1 -0
- package/dist/colors/yellow.d.ts +14 -0
- package/dist/colors/yellow.js +41 -0
- package/dist/colors/yellow.mjs +6 -0
- package/dist/colors.d.ts +4 -0
- package/dist/colors.js +306 -0
- package/dist/colors.mjs +24 -0
- package/dist/components/accordion-item.d.ts +135 -0
- package/dist/components/accordion-item.js +122 -0
- package/dist/components/accordion-item.mjs +10 -0
- package/dist/components/accordion.d.ts +30 -0
- package/dist/components/accordion.js +40 -0
- package/dist/components/accordion.mjs +6 -0
- package/dist/components/avatar-group.d.ts +26 -0
- package/dist/components/avatar-group.js +38 -0
- package/dist/components/avatar-group.mjs +6 -0
- package/dist/components/avatar.d.ts +211 -0
- package/dist/components/avatar.js +315 -0
- package/dist/components/avatar.mjs +10 -0
- package/dist/components/badge.d.ts +235 -0
- package/dist/components/badge.js +487 -0
- package/dist/components/badge.mjs +10 -0
- package/dist/components/button-group.d.ts +26 -0
- package/dist/components/button-group.js +41 -0
- package/dist/components/button-group.mjs +6 -0
- package/dist/components/button.d.ts +122 -0
- package/dist/components/button.js +429 -0
- package/dist/components/button.mjs +10 -0
- package/dist/components/card.d.ts +239 -0
- package/dist/components/card.js +222 -0
- package/dist/components/card.mjs +10 -0
- package/dist/components/checkbox-group.d.ts +32 -0
- package/dist/components/checkbox-group.js +37 -0
- package/dist/components/checkbox-group.mjs +6 -0
- package/dist/components/checkbox.d.ts +226 -0
- package/dist/components/checkbox.js +192 -0
- package/dist/components/checkbox.mjs +10 -0
- package/dist/components/chip.d.ts +274 -0
- package/dist/components/chip.js +560 -0
- package/dist/components/chip.mjs +10 -0
- package/dist/components/code.d.ts +68 -0
- package/dist/components/code.js +140 -0
- package/dist/components/code.mjs +10 -0
- package/dist/components/drip.d.ts +14 -0
- package/dist/components/drip.js +33 -0
- package/dist/components/drip.mjs +6 -0
- package/dist/components/index.d.ts +24 -0
- package/dist/components/index.js +3442 -0
- package/dist/components/index.mjs +95 -0
- package/dist/components/link.d.ts +74 -0
- package/dist/components/link.js +117 -0
- package/dist/components/link.mjs +10 -0
- package/dist/components/pagination.d.ts +201 -0
- package/dist/components/pagination.js +489 -0
- package/dist/components/pagination.mjs +10 -0
- package/dist/components/radio-group.d.ts +32 -0
- package/dist/components/radio-group.js +37 -0
- package/dist/components/radio-group.mjs +6 -0
- package/dist/components/radio.d.ts +271 -0
- package/dist/components/radio.js +201 -0
- package/dist/components/radio.mjs +10 -0
- package/dist/components/snippet.d.ts +184 -0
- package/dist/components/snippet.js +343 -0
- package/dist/components/snippet.mjs +10 -0
- package/dist/components/spinner.d.ts +192 -0
- package/dist/components/spinner.js +149 -0
- package/dist/components/spinner.mjs +6 -0
- package/dist/components/toggle.d.ts +197 -0
- package/dist/components/toggle.js +191 -0
- package/dist/components/toggle.mjs +10 -0
- package/dist/components/tooltip.d.ts +176 -0
- package/dist/components/tooltip.js +373 -0
- package/dist/components/tooltip.mjs +10 -0
- package/dist/components/user.d.ts +40 -0
- package/dist/components/user.js +57 -0
- package/dist/components/user.mjs +10 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.js +3747 -0
- package/dist/index.mjs +138 -0
- package/dist/plugin.d.ts +38 -0
- package/dist/plugin.js +564 -0
- package/dist/plugin.mjs +151 -0
- package/dist/utilities/index.d.ts +72 -0
- package/dist/utilities/index.js +94 -0
- package/dist/utilities/index.mjs +6 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.js +144 -0
- package/dist/utils/index.mjs +20 -0
- package/dist/utils/object.d.ts +4 -0
- package/dist/utils/object.js +58 -0
- package/dist/utils/object.mjs +8 -0
- package/dist/utils/styles.d.ts +20 -0
- package/dist/utils/styles.js +66 -0
- package/dist/utils/styles.mjs +14 -0
- package/dist/utils/types.d.ts +10 -0
- package/dist/utils/types.js +18 -0
- package/dist/utils/types.mjs +1 -0
- package/dist/utils/variants.d.ts +67 -0
- package/dist/utils/variants.js +101 -0
- package/dist/utils/variants.mjs +6 -0
- package/package.json +85 -0
- package/plugin.d.ts +1 -0
- package/plugin.js +1 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/colors/pink.ts
|
|
21
|
+
var pink_exports = {};
|
|
22
|
+
__export(pink_exports, {
|
|
23
|
+
pink: () => pink
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(pink_exports);
|
|
26
|
+
var pink = {
|
|
27
|
+
50: "#ffedfa",
|
|
28
|
+
100: "#ffdcf5",
|
|
29
|
+
200: "#ffb8eb",
|
|
30
|
+
300: "#ff95e1",
|
|
31
|
+
400: "#ff71d7",
|
|
32
|
+
500: "#ff4ecd",
|
|
33
|
+
600: "#cc3ea4",
|
|
34
|
+
700: "#992f7b",
|
|
35
|
+
800: "#661f52",
|
|
36
|
+
900: "#331029"
|
|
37
|
+
};
|
|
38
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
+
0 && (module.exports = {
|
|
40
|
+
pink
|
|
41
|
+
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/colors/purple.ts
|
|
21
|
+
var purple_exports = {};
|
|
22
|
+
__export(purple_exports, {
|
|
23
|
+
purple: () => purple
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(purple_exports);
|
|
26
|
+
var purple = {
|
|
27
|
+
50: "#f2eafa",
|
|
28
|
+
100: "#e4d4f4",
|
|
29
|
+
200: "#c9a9e9",
|
|
30
|
+
300: "#ae7ede",
|
|
31
|
+
400: "#9353d3",
|
|
32
|
+
500: "#7828c8",
|
|
33
|
+
600: "#6020a0",
|
|
34
|
+
700: "#481878",
|
|
35
|
+
800: "#301050",
|
|
36
|
+
900: "#180828"
|
|
37
|
+
};
|
|
38
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
+
0 && (module.exports = {
|
|
40
|
+
purple
|
|
41
|
+
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/colors/red.ts
|
|
21
|
+
var red_exports = {};
|
|
22
|
+
__export(red_exports, {
|
|
23
|
+
red: () => red
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(red_exports);
|
|
26
|
+
var red = {
|
|
27
|
+
50: "#fee7ef",
|
|
28
|
+
100: "#fdd0df",
|
|
29
|
+
200: "#faa0bf",
|
|
30
|
+
300: "#f871a0",
|
|
31
|
+
400: "#f54180",
|
|
32
|
+
500: "#f31260",
|
|
33
|
+
600: "#c20e4d",
|
|
34
|
+
700: "#920b3a",
|
|
35
|
+
800: "#610726",
|
|
36
|
+
900: "#310413"
|
|
37
|
+
};
|
|
38
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
+
0 && (module.exports = {
|
|
40
|
+
red
|
|
41
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SemanticColors } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const semanticColorsLight: SemanticColors;
|
|
4
|
+
declare const semanticColorsDark: SemanticColors;
|
|
5
|
+
declare const semanticColors: {
|
|
6
|
+
light: SemanticColors;
|
|
7
|
+
dark: SemanticColors;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export { semanticColors, semanticColorsDark, semanticColorsLight };
|
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
|
+
mod
|
|
23
|
+
));
|
|
24
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
|
+
|
|
26
|
+
// src/colors/semantic.ts
|
|
27
|
+
var semantic_exports = {};
|
|
28
|
+
__export(semantic_exports, {
|
|
29
|
+
semanticColors: () => semanticColors,
|
|
30
|
+
semanticColorsDark: () => semanticColorsDark,
|
|
31
|
+
semanticColorsLight: () => semanticColorsLight
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(semantic_exports);
|
|
34
|
+
var import_colors = __toESM(require("tailwindcss/colors"));
|
|
35
|
+
var import_color2k = require("color2k");
|
|
36
|
+
|
|
37
|
+
// src/utils/object.ts
|
|
38
|
+
function swapColorValues(colors) {
|
|
39
|
+
const swappedColors = {};
|
|
40
|
+
const keys = Object.keys(colors);
|
|
41
|
+
const length = keys.length;
|
|
42
|
+
for (let i = 0; i < length / 2; i++) {
|
|
43
|
+
const key1 = keys[i];
|
|
44
|
+
const key2 = keys[length - 1 - i];
|
|
45
|
+
swappedColors[key1] = colors[key2];
|
|
46
|
+
swappedColors[key2] = colors[key1];
|
|
47
|
+
}
|
|
48
|
+
if (length % 2 !== 0) {
|
|
49
|
+
const middleKey = keys[Math.floor(length / 2)];
|
|
50
|
+
swappedColors[middleKey] = colors[middleKey];
|
|
51
|
+
}
|
|
52
|
+
return swappedColors;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// src/colors/blue.ts
|
|
56
|
+
var blue = {
|
|
57
|
+
50: "#e6f1fe",
|
|
58
|
+
100: "#cce3fd",
|
|
59
|
+
200: "#99c7fb",
|
|
60
|
+
300: "#66aaf9",
|
|
61
|
+
400: "#338ef7",
|
|
62
|
+
500: "#0072f5",
|
|
63
|
+
600: "#005bc4",
|
|
64
|
+
700: "#004493",
|
|
65
|
+
800: "#002e62",
|
|
66
|
+
900: "#001731"
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
// src/colors/green.ts
|
|
70
|
+
var green = {
|
|
71
|
+
50: "#e8faf0",
|
|
72
|
+
100: "#d1f4e0",
|
|
73
|
+
200: "#a2e9c1",
|
|
74
|
+
300: "#74dfa2",
|
|
75
|
+
400: "#45d483",
|
|
76
|
+
500: "#17c964",
|
|
77
|
+
600: "#12a150",
|
|
78
|
+
700: "#0e793c",
|
|
79
|
+
800: "#095028",
|
|
80
|
+
900: "#052814"
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
// src/colors/pink.ts
|
|
84
|
+
var pink = {
|
|
85
|
+
50: "#ffedfa",
|
|
86
|
+
100: "#ffdcf5",
|
|
87
|
+
200: "#ffb8eb",
|
|
88
|
+
300: "#ff95e1",
|
|
89
|
+
400: "#ff71d7",
|
|
90
|
+
500: "#ff4ecd",
|
|
91
|
+
600: "#cc3ea4",
|
|
92
|
+
700: "#992f7b",
|
|
93
|
+
800: "#661f52",
|
|
94
|
+
900: "#331029"
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
// src/colors/purple.ts
|
|
98
|
+
var purple = {
|
|
99
|
+
50: "#f2eafa",
|
|
100
|
+
100: "#e4d4f4",
|
|
101
|
+
200: "#c9a9e9",
|
|
102
|
+
300: "#ae7ede",
|
|
103
|
+
400: "#9353d3",
|
|
104
|
+
500: "#7828c8",
|
|
105
|
+
600: "#6020a0",
|
|
106
|
+
700: "#481878",
|
|
107
|
+
800: "#301050",
|
|
108
|
+
900: "#180828"
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
// src/colors/red.ts
|
|
112
|
+
var red = {
|
|
113
|
+
50: "#fee7ef",
|
|
114
|
+
100: "#fdd0df",
|
|
115
|
+
200: "#faa0bf",
|
|
116
|
+
300: "#f871a0",
|
|
117
|
+
400: "#f54180",
|
|
118
|
+
500: "#f31260",
|
|
119
|
+
600: "#c20e4d",
|
|
120
|
+
700: "#920b3a",
|
|
121
|
+
800: "#610726",
|
|
122
|
+
900: "#310413"
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
// src/colors/yellow.ts
|
|
126
|
+
var yellow = {
|
|
127
|
+
50: "#fef6e9",
|
|
128
|
+
100: "#fdedd3",
|
|
129
|
+
200: "#fbdba7",
|
|
130
|
+
300: "#f9c97c",
|
|
131
|
+
400: "#f7b750",
|
|
132
|
+
500: "#f5a524",
|
|
133
|
+
600: "#c4841d",
|
|
134
|
+
700: "#936316",
|
|
135
|
+
800: "#62420e",
|
|
136
|
+
900: "#312107"
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
// src/colors/cyan.ts
|
|
140
|
+
var cyan = {
|
|
141
|
+
50: "#F0FCFF",
|
|
142
|
+
100: "#E6FAFE",
|
|
143
|
+
200: "#D7F8FE",
|
|
144
|
+
300: "#C3F4FD",
|
|
145
|
+
400: "#A5EEFD",
|
|
146
|
+
500: "#7EE7FC",
|
|
147
|
+
600: "#06B7DB",
|
|
148
|
+
700: "#09AACD",
|
|
149
|
+
800: "#0E8AAA",
|
|
150
|
+
900: "#053B48"
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
// src/colors/common.ts
|
|
154
|
+
var commonColors = {
|
|
155
|
+
white: "#ffffff",
|
|
156
|
+
black: "#000000",
|
|
157
|
+
blue,
|
|
158
|
+
green,
|
|
159
|
+
pink,
|
|
160
|
+
purple,
|
|
161
|
+
red,
|
|
162
|
+
yellow,
|
|
163
|
+
cyan
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
// src/colors/semantic.ts
|
|
167
|
+
var base = {
|
|
168
|
+
light: {
|
|
169
|
+
background: {
|
|
170
|
+
DEFAULT: "#ffffff"
|
|
171
|
+
},
|
|
172
|
+
foreground: {
|
|
173
|
+
DEFAULT: "#11181C"
|
|
174
|
+
},
|
|
175
|
+
border: {
|
|
176
|
+
DEFAULT: "#00000026"
|
|
177
|
+
},
|
|
178
|
+
content1: {
|
|
179
|
+
DEFAULT: import_colors.default.zinc[50],
|
|
180
|
+
contrastText: import_colors.default.zinc[900]
|
|
181
|
+
},
|
|
182
|
+
content2: {
|
|
183
|
+
DEFAULT: import_colors.default.zinc[100],
|
|
184
|
+
contrastText: import_colors.default.zinc[800]
|
|
185
|
+
},
|
|
186
|
+
content3: {
|
|
187
|
+
DEFAULT: import_colors.default.zinc[200],
|
|
188
|
+
contrastText: import_colors.default.zinc[700]
|
|
189
|
+
},
|
|
190
|
+
content4: {
|
|
191
|
+
DEFAULT: import_colors.default.zinc[300],
|
|
192
|
+
contrastText: import_colors.default.zinc[600]
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
dark: {
|
|
196
|
+
background: {
|
|
197
|
+
DEFAULT: "#000000"
|
|
198
|
+
},
|
|
199
|
+
foreground: {
|
|
200
|
+
DEFAULT: "#ECEDEE"
|
|
201
|
+
},
|
|
202
|
+
border: {
|
|
203
|
+
DEFAULT: "#ffffff26"
|
|
204
|
+
},
|
|
205
|
+
content1: {
|
|
206
|
+
DEFAULT: import_colors.default.zinc[900],
|
|
207
|
+
contrastText: import_colors.default.zinc[50]
|
|
208
|
+
},
|
|
209
|
+
content2: {
|
|
210
|
+
DEFAULT: import_colors.default.zinc[800],
|
|
211
|
+
contrastText: import_colors.default.zinc[100]
|
|
212
|
+
},
|
|
213
|
+
content3: {
|
|
214
|
+
DEFAULT: import_colors.default.zinc[700],
|
|
215
|
+
contrastText: import_colors.default.zinc[200]
|
|
216
|
+
},
|
|
217
|
+
content4: {
|
|
218
|
+
DEFAULT: import_colors.default.zinc[600],
|
|
219
|
+
contrastText: import_colors.default.zinc[300]
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
var semanticColorsLight = {
|
|
224
|
+
...base.light,
|
|
225
|
+
neutral: {
|
|
226
|
+
...import_colors.default.zinc,
|
|
227
|
+
contrastText: (0, import_color2k.readableColor)(import_colors.default.zinc[300]),
|
|
228
|
+
DEFAULT: import_colors.default.zinc[300]
|
|
229
|
+
},
|
|
230
|
+
primary: {
|
|
231
|
+
...commonColors.blue,
|
|
232
|
+
contrastText: commonColors.white,
|
|
233
|
+
DEFAULT: commonColors.blue[500]
|
|
234
|
+
},
|
|
235
|
+
secondary: {
|
|
236
|
+
...commonColors.purple,
|
|
237
|
+
contrastText: commonColors.white,
|
|
238
|
+
DEFAULT: commonColors.purple[500]
|
|
239
|
+
},
|
|
240
|
+
success: {
|
|
241
|
+
...commonColors.green,
|
|
242
|
+
contrastText: commonColors.white,
|
|
243
|
+
DEFAULT: commonColors.green[500]
|
|
244
|
+
},
|
|
245
|
+
warning: {
|
|
246
|
+
...commonColors.yellow,
|
|
247
|
+
contrastText: commonColors.white,
|
|
248
|
+
DEFAULT: commonColors.yellow[500]
|
|
249
|
+
},
|
|
250
|
+
danger: {
|
|
251
|
+
...commonColors.red,
|
|
252
|
+
contrastText: commonColors.white,
|
|
253
|
+
DEFAULT: commonColors.red[500]
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
var semanticColorsDark = {
|
|
257
|
+
...base.dark,
|
|
258
|
+
neutral: {
|
|
259
|
+
...swapColorValues(import_colors.default.zinc),
|
|
260
|
+
contrastText: (0, import_color2k.readableColor)(import_colors.default.zinc[700]),
|
|
261
|
+
DEFAULT: import_colors.default.zinc[700]
|
|
262
|
+
},
|
|
263
|
+
primary: {
|
|
264
|
+
...swapColorValues(commonColors.blue),
|
|
265
|
+
DEFAULT: commonColors.blue[500],
|
|
266
|
+
contrastText: commonColors.white
|
|
267
|
+
},
|
|
268
|
+
secondary: {
|
|
269
|
+
...swapColorValues(commonColors.purple),
|
|
270
|
+
contrastText: commonColors.white,
|
|
271
|
+
DEFAULT: commonColors.purple[400]
|
|
272
|
+
},
|
|
273
|
+
success: {
|
|
274
|
+
...swapColorValues(commonColors.green),
|
|
275
|
+
contrastText: (0, import_color2k.readableColor)(commonColors.green[500]),
|
|
276
|
+
DEFAULT: commonColors.green[500]
|
|
277
|
+
},
|
|
278
|
+
warning: {
|
|
279
|
+
...swapColorValues(commonColors.yellow),
|
|
280
|
+
contrastText: (0, import_color2k.readableColor)(commonColors.yellow[500]),
|
|
281
|
+
DEFAULT: commonColors.yellow[500]
|
|
282
|
+
},
|
|
283
|
+
danger: {
|
|
284
|
+
...swapColorValues(commonColors.red),
|
|
285
|
+
contrastText: commonColors.white,
|
|
286
|
+
DEFAULT: commonColors.red[500]
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
var semanticColors = {
|
|
290
|
+
light: semanticColorsLight,
|
|
291
|
+
dark: semanticColorsDark
|
|
292
|
+
};
|
|
293
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
294
|
+
0 && (module.exports = {
|
|
295
|
+
semanticColors,
|
|
296
|
+
semanticColorsDark,
|
|
297
|
+
semanticColorsLight
|
|
298
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
semanticColors,
|
|
3
|
+
semanticColorsDark,
|
|
4
|
+
semanticColorsLight
|
|
5
|
+
} from "../chunk-Y52EXP4A.mjs";
|
|
6
|
+
import "../chunk-37PIXVP4.mjs";
|
|
7
|
+
import "../chunk-CRCBVLUP.mjs";
|
|
8
|
+
import "../chunk-DCEG5LGX.mjs";
|
|
9
|
+
import "../chunk-L2OL7R23.mjs";
|
|
10
|
+
import "../chunk-YZYGFPNK.mjs";
|
|
11
|
+
import "../chunk-Y4YW5MKL.mjs";
|
|
12
|
+
import "../chunk-KZJBCC2H.mjs";
|
|
13
|
+
import "../chunk-T3GWIVAM.mjs";
|
|
14
|
+
import "../chunk-OR5PUD24.mjs";
|
|
15
|
+
export {
|
|
16
|
+
semanticColors,
|
|
17
|
+
semanticColorsDark,
|
|
18
|
+
semanticColorsLight
|
|
19
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
type ColorScale = Partial<{
|
|
2
|
+
50: string;
|
|
3
|
+
100: string;
|
|
4
|
+
200: string;
|
|
5
|
+
300: string;
|
|
6
|
+
400: string;
|
|
7
|
+
500: string;
|
|
8
|
+
600: string;
|
|
9
|
+
700: string;
|
|
10
|
+
800: string;
|
|
11
|
+
900: string;
|
|
12
|
+
contrastText: string;
|
|
13
|
+
DEFAULT: string;
|
|
14
|
+
}>;
|
|
15
|
+
type BaseColors = {
|
|
16
|
+
background: ColorScale;
|
|
17
|
+
foreground: ColorScale;
|
|
18
|
+
border: ColorScale;
|
|
19
|
+
content1: ColorScale;
|
|
20
|
+
content2: ColorScale;
|
|
21
|
+
content3: ColorScale;
|
|
22
|
+
content4: ColorScale;
|
|
23
|
+
};
|
|
24
|
+
type SemanticColors = BaseColors & {
|
|
25
|
+
neutral: ColorScale;
|
|
26
|
+
primary: ColorScale;
|
|
27
|
+
secondary: ColorScale;
|
|
28
|
+
success: ColorScale;
|
|
29
|
+
warning: ColorScale;
|
|
30
|
+
danger: ColorScale;
|
|
31
|
+
};
|
|
32
|
+
type SemanticBaseColors = {
|
|
33
|
+
light: BaseColors;
|
|
34
|
+
dark: BaseColors;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export { BaseColors, ColorScale, SemanticBaseColors, SemanticColors };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/colors/types.ts
|
|
17
|
+
var types_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(types_exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../chunk-M63AFAHO.mjs";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/colors/yellow.ts
|
|
21
|
+
var yellow_exports = {};
|
|
22
|
+
__export(yellow_exports, {
|
|
23
|
+
yellow: () => yellow
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(yellow_exports);
|
|
26
|
+
var yellow = {
|
|
27
|
+
50: "#fef6e9",
|
|
28
|
+
100: "#fdedd3",
|
|
29
|
+
200: "#fbdba7",
|
|
30
|
+
300: "#f9c97c",
|
|
31
|
+
400: "#f7b750",
|
|
32
|
+
500: "#f5a524",
|
|
33
|
+
600: "#c4841d",
|
|
34
|
+
700: "#936316",
|
|
35
|
+
800: "#62420e",
|
|
36
|
+
900: "#312107"
|
|
37
|
+
};
|
|
38
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
+
0 && (module.exports = {
|
|
40
|
+
yellow
|
|
41
|
+
});
|
package/dist/colors.d.ts
ADDED