@sytechui/theme 2.4.26
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.mts +105 -0
- package/dist/animations/index.d.ts +105 -0
- package/dist/animations/index.js +133 -0
- package/dist/animations/index.mjs +6 -0
- package/dist/chunk-3LKKH4AR.mjs +17 -0
- package/dist/chunk-5ICJA2GK.mjs +71 -0
- package/dist/chunk-6FGGVHAY.mjs +63 -0
- package/dist/chunk-6GMZ2XIO.mjs +241 -0
- package/dist/chunk-7V3PIXOO.mjs +28 -0
- package/dist/chunk-A3QMPIR3.mjs +12 -0
- package/dist/chunk-AWXUGVFR.mjs +19 -0
- package/dist/chunk-B3WML4XC.mjs +37 -0
- package/dist/chunk-B5YWUSAH.mjs +307 -0
- package/dist/chunk-D2XMP2NC.mjs +6 -0
- package/dist/chunk-DCEG5LGX.mjs +17 -0
- package/dist/chunk-DKJNATV2.mjs +13 -0
- package/dist/chunk-EJLBCE3V.mjs +12 -0
- package/dist/chunk-GHZ36ATJ.mjs +17 -0
- package/dist/chunk-GMH4QQZS.mjs +16 -0
- package/dist/chunk-GQT3YUX3.mjs +77 -0
- package/dist/chunk-GSRZWDGA.mjs +62 -0
- package/dist/chunk-HJWFZEER.mjs +225 -0
- package/dist/chunk-HO2ILFC5.mjs +33 -0
- package/dist/chunk-HUBDRSA4.mjs +49 -0
- package/dist/chunk-JC3ABGTC.mjs +155 -0
- package/dist/chunk-JFTCRIQA.mjs +21 -0
- package/dist/chunk-JGY6VQQQ.mjs +87 -0
- package/dist/chunk-JLA3YAT4.mjs +470 -0
- package/dist/chunk-JUEOCLA3.mjs +17 -0
- package/dist/chunk-KKENQYAQ.mjs +21 -0
- package/dist/chunk-KXPLHLA6.mjs +109 -0
- package/dist/chunk-L2OL7R23.mjs +17 -0
- package/dist/chunk-M63AFAHO.mjs +0 -0
- package/dist/chunk-MPVWW3DX.mjs +30 -0
- package/dist/chunk-NPGM3ZLN.mjs +31 -0
- package/dist/chunk-NTTT6BHX.mjs +42 -0
- package/dist/chunk-OR5PUD24.mjs +17 -0
- package/dist/chunk-PGQDBCOS.mjs +28 -0
- package/dist/chunk-Q7SJBJ2C.mjs +140 -0
- package/dist/chunk-QPJMPRZG.mjs +33 -0
- package/dist/chunk-RUIUXVZ4.mjs +26 -0
- package/dist/chunk-T3FWPDDU.mjs +10411 -0
- package/dist/chunk-T3GWIVAM.mjs +17 -0
- package/dist/chunk-T7YZ5PRR.mjs +59 -0
- package/dist/chunk-U5MU6YGM.mjs +62 -0
- package/dist/chunk-UCUZEPMT.mjs +74 -0
- package/dist/chunk-WBQAMGXK.mjs +0 -0
- package/dist/chunk-WH6SPIFG.mjs +30 -0
- package/dist/chunk-WQEDQHKX.mjs +0 -0
- package/dist/chunk-YZYGFPNK.mjs +17 -0
- package/dist/colors/blue.d.mts +14 -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.mts +103 -0
- package/dist/colors/common.d.ts +103 -0
- package/dist/colors/common.js +155 -0
- package/dist/colors/common.mjs +14 -0
- package/dist/colors/cyan.d.mts +14 -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.mts +14 -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.mts +109 -0
- package/dist/colors/index.d.ts +109 -0
- package/dist/colors/index.js +328 -0
- package/dist/colors/index.mjs +24 -0
- package/dist/colors/pink.d.mts +14 -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.mts +14 -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.mts +14 -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.mts +10 -0
- package/dist/colors/semantic.d.ts +10 -0
- package/dist/colors/semantic.js +320 -0
- package/dist/colors/semantic.mjs +20 -0
- package/dist/colors/types.d.mts +39 -0
- package/dist/colors/types.d.ts +39 -0
- package/dist/colors/types.js +18 -0
- package/dist/colors/types.mjs +1 -0
- package/dist/colors/yellow.d.mts +14 -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/zinc.d.mts +14 -0
- package/dist/colors/zinc.d.ts +14 -0
- package/dist/colors/zinc.js +41 -0
- package/dist/colors/zinc.mjs +6 -0
- package/dist/colors.d.mts +4 -0
- package/dist/colors.d.ts +4 -0
- package/dist/colors.js +328 -0
- package/dist/colors.mjs +25 -0
- package/dist/components/accordion.d.mts +228 -0
- package/dist/components/accordion.d.ts +228 -0
- package/dist/components/accordion.js +335 -0
- package/dist/components/accordion.mjs +53 -0
- package/dist/components/alert.d.mts +211 -0
- package/dist/components/alert.d.ts +211 -0
- package/dist/components/alert.js +642 -0
- package/dist/components/alert.mjs +51 -0
- package/dist/components/autocomplete.d.mts +95 -0
- package/dist/components/autocomplete.d.ts +95 -0
- package/dist/components/autocomplete.js +293 -0
- package/dist/components/autocomplete.mjs +14 -0
- package/dist/components/avatar.d.mts +300 -0
- package/dist/components/avatar.d.ts +300 -0
- package/dist/components/avatar.js +509 -0
- package/dist/components/avatar.mjs +53 -0
- package/dist/components/badge.d.mts +223 -0
- package/dist/components/badge.d.ts +223 -0
- package/dist/components/badge.js +689 -0
- package/dist/components/badge.mjs +51 -0
- package/dist/components/breadcrumbs.d.mts +379 -0
- package/dist/components/breadcrumbs.d.ts +379 -0
- package/dist/components/breadcrumbs.js +482 -0
- package/dist/components/breadcrumbs.mjs +53 -0
- package/dist/components/button.d.mts +188 -0
- package/dist/components/button.d.ts +188 -0
- package/dist/components/button.js +767 -0
- package/dist/components/button.mjs +53 -0
- package/dist/components/calendar.d.mts +279 -0
- package/dist/components/calendar.d.ts +279 -0
- package/dist/components/calendar.js +680 -0
- package/dist/components/calendar.mjs +51 -0
- package/dist/components/card.d.mts +257 -0
- package/dist/components/card.d.ts +257 -0
- package/dist/components/card.js +393 -0
- package/dist/components/card.mjs +51 -0
- package/dist/components/checkbox.d.mts +375 -0
- package/dist/components/checkbox.d.ts +375 -0
- package/dist/components/checkbox.js +479 -0
- package/dist/components/checkbox.mjs +53 -0
- package/dist/components/chip.d.mts +340 -0
- package/dist/components/chip.d.ts +340 -0
- package/dist/components/chip.js +803 -0
- package/dist/components/chip.mjs +51 -0
- package/dist/components/code.d.mts +80 -0
- package/dist/components/code.d.ts +80 -0
- package/dist/components/code.js +343 -0
- package/dist/components/code.mjs +51 -0
- package/dist/components/date-input.d.mts +392 -0
- package/dist/components/date-input.d.ts +392 -0
- package/dist/components/date-input.js +700 -0
- package/dist/components/date-input.mjs +14 -0
- package/dist/components/date-picker.d.mts +220 -0
- package/dist/components/date-picker.d.ts +220 -0
- package/dist/components/date-picker.js +262 -0
- package/dist/components/date-picker.mjs +16 -0
- package/dist/components/divider.d.mts +31 -0
- package/dist/components/divider.d.ts +31 -0
- package/dist/components/divider.js +251 -0
- package/dist/components/divider.mjs +14 -0
- package/dist/components/drawer.d.mts +169 -0
- package/dist/components/drawer.d.ts +169 -0
- package/dist/components/drawer.js +292 -0
- package/dist/components/drawer.mjs +14 -0
- package/dist/components/drip.d.mts +13 -0
- package/dist/components/drip.d.ts +13 -0
- package/dist/components/drip.js +242 -0
- package/dist/components/drip.mjs +14 -0
- package/dist/components/drop-zone.d.mts +434 -0
- package/dist/components/drop-zone.d.ts +434 -0
- package/dist/components/drop-zone.js +546 -0
- package/dist/components/drop-zone.mjs +51 -0
- package/dist/components/dropdown.d.mts +247 -0
- package/dist/components/dropdown.d.ts +247 -0
- package/dist/components/dropdown.js +611 -0
- package/dist/components/dropdown.mjs +57 -0
- package/dist/components/form.d.mts +19 -0
- package/dist/components/form.d.ts +19 -0
- package/dist/components/form.js +242 -0
- package/dist/components/form.mjs +14 -0
- package/dist/components/image.d.mts +174 -0
- package/dist/components/image.d.ts +174 -0
- package/dist/components/image.js +370 -0
- package/dist/components/image.mjs +14 -0
- package/dist/components/index.d.mts +48 -0
- package/dist/components/index.d.ts +48 -0
- package/dist/components/index.js +12311 -0
- package/dist/components/index.mjs +189 -0
- package/dist/components/input-otp.d.mts +282 -0
- package/dist/components/input-otp.d.ts +282 -0
- package/dist/components/input-otp.js +685 -0
- package/dist/components/input-otp.mjs +51 -0
- package/dist/components/input.d.mts +458 -0
- package/dist/components/input.d.ts +458 -0
- package/dist/components/input.js +1153 -0
- package/dist/components/input.mjs +51 -0
- package/dist/components/kbd.d.mts +50 -0
- package/dist/components/kbd.d.ts +50 -0
- package/dist/components/kbd.js +263 -0
- package/dist/components/kbd.mjs +14 -0
- package/dist/components/link.d.mts +107 -0
- package/dist/components/link.d.ts +107 -0
- package/dist/components/link.js +345 -0
- package/dist/components/link.mjs +53 -0
- package/dist/components/listbox.d.mts +3 -0
- package/dist/components/listbox.d.ts +3 -0
- package/dist/components/listbox.js +729 -0
- package/dist/components/listbox.mjs +55 -0
- package/dist/components/menu.d.mts +324 -0
- package/dist/components/menu.d.ts +324 -0
- package/dist/components/menu.js +729 -0
- package/dist/components/menu.mjs +55 -0
- package/dist/components/modal.d.mts +380 -0
- package/dist/components/modal.d.ts +380 -0
- package/dist/components/modal.js +429 -0
- package/dist/components/modal.mjs +51 -0
- package/dist/components/navbar.d.mts +246 -0
- package/dist/components/navbar.d.ts +246 -0
- package/dist/components/navbar.js +446 -0
- package/dist/components/navbar.mjs +51 -0
- package/dist/components/number-input.d.mts +476 -0
- package/dist/components/number-input.d.ts +476 -0
- package/dist/components/number-input.js +1118 -0
- package/dist/components/number-input.mjs +51 -0
- package/dist/components/pagination.d.mts +288 -0
- package/dist/components/pagination.d.ts +288 -0
- package/dist/components/pagination.js +736 -0
- package/dist/components/pagination.mjs +51 -0
- package/dist/components/popover.d.mts +339 -0
- package/dist/components/popover.d.ts +339 -0
- package/dist/components/popover.js +495 -0
- package/dist/components/popover.mjs +51 -0
- package/dist/components/progress.d.mts +498 -0
- package/dist/components/progress.d.ts +498 -0
- package/dist/components/progress.js +472 -0
- package/dist/components/progress.mjs +16 -0
- package/dist/components/radio.d.mts +354 -0
- package/dist/components/radio.d.ts +354 -0
- package/dist/components/radio.js +425 -0
- package/dist/components/radio.mjs +53 -0
- package/dist/components/scroll-area.d.mts +109 -0
- package/dist/components/scroll-area.d.ts +109 -0
- package/dist/components/scroll-area.js +304 -0
- package/dist/components/scroll-area.mjs +14 -0
- package/dist/components/scroll-shadow.d.mts +48 -0
- package/dist/components/scroll-shadow.d.ts +48 -0
- package/dist/components/scroll-shadow.js +267 -0
- package/dist/components/scroll-shadow.mjs +14 -0
- package/dist/components/select.d.mts +530 -0
- package/dist/components/select.d.ts +530 -0
- package/dist/components/select.js +1118 -0
- package/dist/components/select.mjs +51 -0
- package/dist/components/skeleton.d.mts +60 -0
- package/dist/components/skeleton.d.ts +60 -0
- package/dist/components/skeleton.js +289 -0
- package/dist/components/skeleton.mjs +14 -0
- package/dist/components/slider.d.mts +482 -0
- package/dist/components/slider.d.ts +482 -0
- package/dist/components/slider.js +619 -0
- package/dist/components/slider.mjs +51 -0
- package/dist/components/snippet.d.mts +206 -0
- package/dist/components/snippet.d.ts +206 -0
- package/dist/components/snippet.js +611 -0
- package/dist/components/snippet.mjs +51 -0
- package/dist/components/spacer.d.mts +31 -0
- package/dist/components/spacer.d.ts +31 -0
- package/dist/components/spacer.js +251 -0
- package/dist/components/spacer.mjs +14 -0
- package/dist/components/spinner.d.mts +398 -0
- package/dist/components/spinner.d.ts +398 -0
- package/dist/components/spinner.js +537 -0
- package/dist/components/spinner.mjs +14 -0
- package/dist/components/table.d.mts +428 -0
- package/dist/components/table.d.ts +428 -0
- package/dist/components/table.js +522 -0
- package/dist/components/table.mjs +51 -0
- package/dist/components/tabs.d.mts +347 -0
- package/dist/components/tabs.d.ts +347 -0
- package/dist/components/tabs.js +723 -0
- package/dist/components/tabs.mjs +51 -0
- package/dist/components/toast.d.mts +329 -0
- package/dist/components/toast.d.ts +329 -0
- package/dist/components/toast.js +719 -0
- package/dist/components/toast.mjs +53 -0
- package/dist/components/toggle.d.mts +243 -0
- package/dist/components/toggle.d.ts +243 -0
- package/dist/components/toggle.js +438 -0
- package/dist/components/toggle.mjs +51 -0
- package/dist/components/user.d.mts +63 -0
- package/dist/components/user.d.ts +63 -0
- package/dist/components/user.js +260 -0
- package/dist/components/user.mjs +51 -0
- package/dist/default-layout.d.mts +8 -0
- package/dist/default-layout.d.ts +8 -0
- package/dist/default-layout.js +75 -0
- package/dist/default-layout.mjs +10 -0
- package/dist/index.d.mts +63 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.js +13087 -0
- package/dist/index.mjs +243 -0
- package/dist/plugin.d.mts +12 -0
- package/dist/plugin.d.ts +12 -0
- package/dist/plugin.js +895 -0
- package/dist/plugin.mjs +30 -0
- package/dist/types.d.mts +138 -0
- package/dist/types.d.ts +138 -0
- package/dist/types.js +18 -0
- package/dist/types.mjs +1 -0
- package/dist/utilities/animation.d.mts +16 -0
- package/dist/utilities/animation.d.ts +16 -0
- package/dist/utilities/animation.js +39 -0
- package/dist/utilities/animation.mjs +6 -0
- package/dist/utilities/custom.d.mts +27 -0
- package/dist/utilities/custom.d.ts +27 -0
- package/dist/utilities/custom.js +50 -0
- package/dist/utilities/custom.mjs +6 -0
- package/dist/utilities/index.d.mts +115 -0
- package/dist/utilities/index.d.ts +115 -0
- package/dist/utilities/index.js +189 -0
- package/dist/utilities/index.mjs +11 -0
- package/dist/utilities/scrollbar-hide.d.mts +24 -0
- package/dist/utilities/scrollbar-hide.d.ts +24 -0
- package/dist/utilities/scrollbar-hide.js +50 -0
- package/dist/utilities/scrollbar-hide.mjs +6 -0
- package/dist/utilities/text.d.mts +23 -0
- package/dist/utilities/text.d.ts +23 -0
- package/dist/utilities/text.js +46 -0
- package/dist/utilities/text.mjs +6 -0
- package/dist/utilities/transition.d.mts +58 -0
- package/dist/utilities/transition.d.ts +58 -0
- package/dist/utilities/transition.js +86 -0
- package/dist/utilities/transition.mjs +8 -0
- package/dist/utils/classes.d.mts +35 -0
- package/dist/utils/classes.d.ts +35 -0
- package/dist/utils/classes.js +119 -0
- package/dist/utils/classes.mjs +22 -0
- package/dist/utils/cn.d.mts +13 -0
- package/dist/utils/cn.d.ts +13 -0
- package/dist/utils/cn.js +220 -0
- package/dist/utils/cn.mjs +13 -0
- package/dist/utils/index.d.mts +7 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/index.js +409 -0
- package/dist/utils/index.mjs +81 -0
- package/dist/utils/merge-classes.d.mts +12 -0
- package/dist/utils/merge-classes.d.ts +12 -0
- package/dist/utils/merge-classes.js +233 -0
- package/dist/utils/merge-classes.mjs +51 -0
- package/dist/utils/object.d.mts +13 -0
- package/dist/utils/object.d.ts +13 -0
- package/dist/utils/object.js +98 -0
- package/dist/utils/object.mjs +12 -0
- package/dist/utils/theme.d.mts +9 -0
- package/dist/utils/theme.d.ts +9 -0
- package/dist/utils/theme.js +30 -0
- package/dist/utils/theme.mjs +6 -0
- package/dist/utils/tv.d.mts +5 -0
- package/dist/utils/tv.d.ts +5 -0
- package/dist/utils/tv.js +235 -0
- package/dist/utils/tv.mjs +13 -0
- package/dist/utils/tw-merge-config.d.mts +25 -0
- package/dist/utils/tw-merge-config.d.ts +25 -0
- package/dist/utils/tw-merge-config.js +216 -0
- package/dist/utils/tw-merge-config.mjs +14 -0
- package/dist/utils/types.d.mts +10 -0
- package/dist/utils/types.d.ts +10 -0
- package/dist/utils/types.js +18 -0
- package/dist/utils/types.mjs +0 -0
- package/dist/utils/variants.d.mts +67 -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 +91 -0
- package/plugin.d.ts +1 -0
- package/plugin.js +1 -0
|
@@ -0,0 +1,320 @@
|
|
|
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/semantic.ts
|
|
21
|
+
var semantic_exports = {};
|
|
22
|
+
__export(semantic_exports, {
|
|
23
|
+
semanticColors: () => semanticColors,
|
|
24
|
+
themeColorsDark: () => themeColorsDark,
|
|
25
|
+
themeColorsLight: () => themeColorsLight
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(semantic_exports);
|
|
28
|
+
var import_color2k = require("color2k");
|
|
29
|
+
|
|
30
|
+
// src/utils/object.ts
|
|
31
|
+
function swapColorValues(colors) {
|
|
32
|
+
const swappedColors = {};
|
|
33
|
+
const keys = Object.keys(colors);
|
|
34
|
+
const length = keys.length;
|
|
35
|
+
for (let i = 0; i < length / 2; i++) {
|
|
36
|
+
const key1 = keys[i];
|
|
37
|
+
const key2 = keys[length - 1 - i];
|
|
38
|
+
swappedColors[key1] = colors[key2];
|
|
39
|
+
swappedColors[key2] = colors[key1];
|
|
40
|
+
}
|
|
41
|
+
if (length % 2 !== 0) {
|
|
42
|
+
const middleKey = keys[Math.floor(length / 2)];
|
|
43
|
+
swappedColors[middleKey] = colors[middleKey];
|
|
44
|
+
}
|
|
45
|
+
return swappedColors;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// src/colors/blue.ts
|
|
49
|
+
var blue = {
|
|
50
|
+
50: "#e6f1fe",
|
|
51
|
+
100: "#cce3fd",
|
|
52
|
+
200: "#99c7fb",
|
|
53
|
+
300: "#66aaf9",
|
|
54
|
+
400: "#338ef7",
|
|
55
|
+
500: "#006FEE",
|
|
56
|
+
600: "#005bc4",
|
|
57
|
+
700: "#004493",
|
|
58
|
+
800: "#002e62",
|
|
59
|
+
900: "#001731"
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
// src/colors/green.ts
|
|
63
|
+
var green = {
|
|
64
|
+
50: "#e8faf0",
|
|
65
|
+
100: "#d1f4e0",
|
|
66
|
+
200: "#a2e9c1",
|
|
67
|
+
300: "#74dfa2",
|
|
68
|
+
400: "#45d483",
|
|
69
|
+
500: "#17c964",
|
|
70
|
+
600: "#12a150",
|
|
71
|
+
700: "#0e793c",
|
|
72
|
+
800: "#095028",
|
|
73
|
+
900: "#052814"
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
// src/colors/pink.ts
|
|
77
|
+
var pink = {
|
|
78
|
+
50: "#ffedfa",
|
|
79
|
+
100: "#ffdcf5",
|
|
80
|
+
200: "#ffb8eb",
|
|
81
|
+
300: "#ff95e1",
|
|
82
|
+
400: "#ff71d7",
|
|
83
|
+
500: "#ff4ecd",
|
|
84
|
+
600: "#cc3ea4",
|
|
85
|
+
700: "#992f7b",
|
|
86
|
+
800: "#661f52",
|
|
87
|
+
900: "#331029"
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
// src/colors/purple.ts
|
|
91
|
+
var purple = {
|
|
92
|
+
50: "#f2eafa",
|
|
93
|
+
100: "#e4d4f4",
|
|
94
|
+
200: "#c9a9e9",
|
|
95
|
+
300: "#ae7ede",
|
|
96
|
+
400: "#9353d3",
|
|
97
|
+
500: "#7828c8",
|
|
98
|
+
600: "#6020a0",
|
|
99
|
+
700: "#481878",
|
|
100
|
+
800: "#301050",
|
|
101
|
+
900: "#180828"
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
// src/colors/red.ts
|
|
105
|
+
var red = {
|
|
106
|
+
50: "#fee7ef",
|
|
107
|
+
100: "#fdd0df",
|
|
108
|
+
200: "#faa0bf",
|
|
109
|
+
300: "#f871a0",
|
|
110
|
+
400: "#f54180",
|
|
111
|
+
500: "#f31260",
|
|
112
|
+
600: "#c20e4d",
|
|
113
|
+
700: "#920b3a",
|
|
114
|
+
800: "#610726",
|
|
115
|
+
900: "#310413"
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
// src/colors/yellow.ts
|
|
119
|
+
var yellow = {
|
|
120
|
+
50: "#fefce8",
|
|
121
|
+
100: "#fdedd3",
|
|
122
|
+
200: "#fbdba7",
|
|
123
|
+
300: "#f9c97c",
|
|
124
|
+
400: "#f7b750",
|
|
125
|
+
500: "#f5a524",
|
|
126
|
+
600: "#c4841d",
|
|
127
|
+
700: "#936316",
|
|
128
|
+
800: "#62420e",
|
|
129
|
+
900: "#312107"
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
// src/colors/cyan.ts
|
|
133
|
+
var cyan = {
|
|
134
|
+
50: "#F0FCFF",
|
|
135
|
+
100: "#E6FAFE",
|
|
136
|
+
200: "#D7F8FE",
|
|
137
|
+
300: "#C3F4FD",
|
|
138
|
+
400: "#A5EEFD",
|
|
139
|
+
500: "#7EE7FC",
|
|
140
|
+
600: "#06B7DB",
|
|
141
|
+
700: "#09AACD",
|
|
142
|
+
800: "#0E8AAA",
|
|
143
|
+
900: "#053B48"
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
// src/colors/zinc.ts
|
|
147
|
+
var zinc = {
|
|
148
|
+
"50": "#fafafa",
|
|
149
|
+
"100": "#f4f4f5",
|
|
150
|
+
"200": "#e4e4e7",
|
|
151
|
+
"300": "#d4d4d8",
|
|
152
|
+
"400": "#a1a1aa",
|
|
153
|
+
"500": "#71717a",
|
|
154
|
+
"600": "#52525b",
|
|
155
|
+
"700": "#3f3f46",
|
|
156
|
+
"800": "#27272a",
|
|
157
|
+
"900": "#18181b"
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
// src/colors/common.ts
|
|
161
|
+
var commonColors = {
|
|
162
|
+
white: "#ffffff",
|
|
163
|
+
black: "#000000",
|
|
164
|
+
blue,
|
|
165
|
+
green,
|
|
166
|
+
pink,
|
|
167
|
+
purple,
|
|
168
|
+
red,
|
|
169
|
+
yellow,
|
|
170
|
+
cyan,
|
|
171
|
+
zinc
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
// src/colors/semantic.ts
|
|
175
|
+
var base = {
|
|
176
|
+
light: {
|
|
177
|
+
background: {
|
|
178
|
+
DEFAULT: "#FFFFFF"
|
|
179
|
+
},
|
|
180
|
+
foreground: {
|
|
181
|
+
...commonColors.zinc,
|
|
182
|
+
DEFAULT: "#11181C"
|
|
183
|
+
},
|
|
184
|
+
divider: {
|
|
185
|
+
DEFAULT: "rgba(17, 17, 17, 0.15)"
|
|
186
|
+
},
|
|
187
|
+
focus: {
|
|
188
|
+
DEFAULT: commonColors.blue[500]
|
|
189
|
+
},
|
|
190
|
+
overlay: {
|
|
191
|
+
DEFAULT: "#000000"
|
|
192
|
+
},
|
|
193
|
+
content1: {
|
|
194
|
+
DEFAULT: "#FFFFFF",
|
|
195
|
+
foreground: "#11181C"
|
|
196
|
+
},
|
|
197
|
+
content2: {
|
|
198
|
+
DEFAULT: commonColors.zinc[100],
|
|
199
|
+
foreground: commonColors.zinc[800]
|
|
200
|
+
},
|
|
201
|
+
content3: {
|
|
202
|
+
DEFAULT: commonColors.zinc[200],
|
|
203
|
+
foreground: commonColors.zinc[700]
|
|
204
|
+
},
|
|
205
|
+
content4: {
|
|
206
|
+
DEFAULT: commonColors.zinc[300],
|
|
207
|
+
foreground: commonColors.zinc[600]
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
dark: {
|
|
211
|
+
background: {
|
|
212
|
+
DEFAULT: "#000000"
|
|
213
|
+
},
|
|
214
|
+
foreground: {
|
|
215
|
+
...swapColorValues(commonColors.zinc),
|
|
216
|
+
DEFAULT: "#ECEDEE"
|
|
217
|
+
},
|
|
218
|
+
focus: {
|
|
219
|
+
DEFAULT: commonColors.blue[500]
|
|
220
|
+
},
|
|
221
|
+
overlay: {
|
|
222
|
+
DEFAULT: "#000000"
|
|
223
|
+
},
|
|
224
|
+
divider: {
|
|
225
|
+
DEFAULT: "rgba(255, 255, 255, 0.15)"
|
|
226
|
+
},
|
|
227
|
+
content1: {
|
|
228
|
+
DEFAULT: commonColors.zinc[900],
|
|
229
|
+
foreground: commonColors.zinc[50]
|
|
230
|
+
},
|
|
231
|
+
content2: {
|
|
232
|
+
DEFAULT: commonColors.zinc[800],
|
|
233
|
+
foreground: commonColors.zinc[100]
|
|
234
|
+
},
|
|
235
|
+
content3: {
|
|
236
|
+
DEFAULT: commonColors.zinc[700],
|
|
237
|
+
foreground: commonColors.zinc[200]
|
|
238
|
+
},
|
|
239
|
+
content4: {
|
|
240
|
+
DEFAULT: commonColors.zinc[600],
|
|
241
|
+
foreground: commonColors.zinc[300]
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
var themeColorsLight = {
|
|
246
|
+
...base.light,
|
|
247
|
+
default: {
|
|
248
|
+
...commonColors.zinc,
|
|
249
|
+
foreground: (0, import_color2k.readableColor)(commonColors.zinc[300]),
|
|
250
|
+
DEFAULT: commonColors.zinc[300]
|
|
251
|
+
},
|
|
252
|
+
primary: {
|
|
253
|
+
...commonColors.blue,
|
|
254
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
255
|
+
DEFAULT: commonColors.blue[500]
|
|
256
|
+
},
|
|
257
|
+
secondary: {
|
|
258
|
+
...commonColors.purple,
|
|
259
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[500]),
|
|
260
|
+
DEFAULT: commonColors.purple[500]
|
|
261
|
+
},
|
|
262
|
+
success: {
|
|
263
|
+
...commonColors.green,
|
|
264
|
+
foreground: (0, import_color2k.readableColor)(commonColors.green[500]),
|
|
265
|
+
DEFAULT: commonColors.green[500]
|
|
266
|
+
},
|
|
267
|
+
warning: {
|
|
268
|
+
...commonColors.yellow,
|
|
269
|
+
foreground: (0, import_color2k.readableColor)(commonColors.yellow[500]),
|
|
270
|
+
DEFAULT: commonColors.yellow[500]
|
|
271
|
+
},
|
|
272
|
+
danger: {
|
|
273
|
+
...commonColors.red,
|
|
274
|
+
foreground: commonColors.white,
|
|
275
|
+
DEFAULT: commonColors.red[500]
|
|
276
|
+
}
|
|
277
|
+
};
|
|
278
|
+
var themeColorsDark = {
|
|
279
|
+
...base.dark,
|
|
280
|
+
default: {
|
|
281
|
+
...swapColorValues(commonColors.zinc),
|
|
282
|
+
foreground: (0, import_color2k.readableColor)(commonColors.zinc[700]),
|
|
283
|
+
DEFAULT: commonColors.zinc[700]
|
|
284
|
+
},
|
|
285
|
+
primary: {
|
|
286
|
+
...swapColorValues(commonColors.blue),
|
|
287
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
288
|
+
DEFAULT: commonColors.blue[500]
|
|
289
|
+
},
|
|
290
|
+
secondary: {
|
|
291
|
+
...swapColorValues(commonColors.purple),
|
|
292
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[400]),
|
|
293
|
+
DEFAULT: commonColors.purple[400]
|
|
294
|
+
},
|
|
295
|
+
success: {
|
|
296
|
+
...swapColorValues(commonColors.green),
|
|
297
|
+
foreground: (0, import_color2k.readableColor)(commonColors.green[500]),
|
|
298
|
+
DEFAULT: commonColors.green[500]
|
|
299
|
+
},
|
|
300
|
+
warning: {
|
|
301
|
+
...swapColorValues(commonColors.yellow),
|
|
302
|
+
foreground: (0, import_color2k.readableColor)(commonColors.yellow[500]),
|
|
303
|
+
DEFAULT: commonColors.yellow[500]
|
|
304
|
+
},
|
|
305
|
+
danger: {
|
|
306
|
+
...swapColorValues(commonColors.red),
|
|
307
|
+
foreground: commonColors.white,
|
|
308
|
+
DEFAULT: commonColors.red[500]
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
var semanticColors = {
|
|
312
|
+
light: themeColorsLight,
|
|
313
|
+
dark: themeColorsDark
|
|
314
|
+
};
|
|
315
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
316
|
+
0 && (module.exports = {
|
|
317
|
+
semanticColors,
|
|
318
|
+
themeColorsDark,
|
|
319
|
+
themeColorsLight
|
|
320
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
semanticColors,
|
|
3
|
+
themeColorsDark,
|
|
4
|
+
themeColorsLight
|
|
5
|
+
} from "../chunk-JC3ABGTC.mjs";
|
|
6
|
+
import "../chunk-5ICJA2GK.mjs";
|
|
7
|
+
import "../chunk-NTTT6BHX.mjs";
|
|
8
|
+
import "../chunk-DCEG5LGX.mjs";
|
|
9
|
+
import "../chunk-L2OL7R23.mjs";
|
|
10
|
+
import "../chunk-YZYGFPNK.mjs";
|
|
11
|
+
import "../chunk-JUEOCLA3.mjs";
|
|
12
|
+
import "../chunk-3LKKH4AR.mjs";
|
|
13
|
+
import "../chunk-GHZ36ATJ.mjs";
|
|
14
|
+
import "../chunk-T3GWIVAM.mjs";
|
|
15
|
+
import "../chunk-OR5PUD24.mjs";
|
|
16
|
+
export {
|
|
17
|
+
semanticColors,
|
|
18
|
+
themeColorsDark,
|
|
19
|
+
themeColorsLight
|
|
20
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
foreground: string;
|
|
13
|
+
DEFAULT: string;
|
|
14
|
+
}> | string;
|
|
15
|
+
type BaseColors = {
|
|
16
|
+
background: ColorScale;
|
|
17
|
+
foreground: ColorScale;
|
|
18
|
+
divider: ColorScale;
|
|
19
|
+
overlay: ColorScale;
|
|
20
|
+
focus: ColorScale;
|
|
21
|
+
content1: ColorScale;
|
|
22
|
+
content2: ColorScale;
|
|
23
|
+
content3: ColorScale;
|
|
24
|
+
content4: ColorScale;
|
|
25
|
+
};
|
|
26
|
+
type ThemeColors = BaseColors & {
|
|
27
|
+
default: ColorScale;
|
|
28
|
+
primary: ColorScale;
|
|
29
|
+
secondary: ColorScale;
|
|
30
|
+
success: ColorScale;
|
|
31
|
+
warning: ColorScale;
|
|
32
|
+
danger: ColorScale;
|
|
33
|
+
};
|
|
34
|
+
type SemanticBaseColors = {
|
|
35
|
+
light: BaseColors;
|
|
36
|
+
dark: BaseColors;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export type { BaseColors, ColorScale, SemanticBaseColors, ThemeColors };
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
foreground: string;
|
|
13
|
+
DEFAULT: string;
|
|
14
|
+
}> | string;
|
|
15
|
+
type BaseColors = {
|
|
16
|
+
background: ColorScale;
|
|
17
|
+
foreground: ColorScale;
|
|
18
|
+
divider: ColorScale;
|
|
19
|
+
overlay: ColorScale;
|
|
20
|
+
focus: ColorScale;
|
|
21
|
+
content1: ColorScale;
|
|
22
|
+
content2: ColorScale;
|
|
23
|
+
content3: ColorScale;
|
|
24
|
+
content4: ColorScale;
|
|
25
|
+
};
|
|
26
|
+
type ThemeColors = BaseColors & {
|
|
27
|
+
default: ColorScale;
|
|
28
|
+
primary: ColorScale;
|
|
29
|
+
secondary: ColorScale;
|
|
30
|
+
success: ColorScale;
|
|
31
|
+
warning: ColorScale;
|
|
32
|
+
danger: ColorScale;
|
|
33
|
+
};
|
|
34
|
+
type SemanticBaseColors = {
|
|
35
|
+
light: BaseColors;
|
|
36
|
+
dark: BaseColors;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export type { BaseColors, ColorScale, SemanticBaseColors, ThemeColors };
|
|
@@ -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: "#fefce8",
|
|
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
|
+
});
|
|
@@ -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/zinc.ts
|
|
21
|
+
var zinc_exports = {};
|
|
22
|
+
__export(zinc_exports, {
|
|
23
|
+
zinc: () => zinc
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(zinc_exports);
|
|
26
|
+
var zinc = {
|
|
27
|
+
"50": "#fafafa",
|
|
28
|
+
"100": "#f4f4f5",
|
|
29
|
+
"200": "#e4e4e7",
|
|
30
|
+
"300": "#d4d4d8",
|
|
31
|
+
"400": "#a1a1aa",
|
|
32
|
+
"500": "#71717a",
|
|
33
|
+
"600": "#52525b",
|
|
34
|
+
"700": "#3f3f46",
|
|
35
|
+
"800": "#27272a",
|
|
36
|
+
"900": "#18181b"
|
|
37
|
+
};
|
|
38
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
+
0 && (module.exports = {
|
|
40
|
+
zinc
|
|
41
|
+
});
|
package/dist/colors.d.ts
ADDED