@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,67 @@
|
|
|
1
|
+
declare const colorVariants: {
|
|
2
|
+
solid: {
|
|
3
|
+
default: string;
|
|
4
|
+
primary: string;
|
|
5
|
+
secondary: string;
|
|
6
|
+
success: string;
|
|
7
|
+
warning: string;
|
|
8
|
+
danger: string;
|
|
9
|
+
foreground: string;
|
|
10
|
+
};
|
|
11
|
+
shadow: {
|
|
12
|
+
default: string;
|
|
13
|
+
primary: string;
|
|
14
|
+
secondary: string;
|
|
15
|
+
success: string;
|
|
16
|
+
warning: string;
|
|
17
|
+
danger: string;
|
|
18
|
+
foreground: string;
|
|
19
|
+
};
|
|
20
|
+
bordered: {
|
|
21
|
+
default: string;
|
|
22
|
+
primary: string;
|
|
23
|
+
secondary: string;
|
|
24
|
+
success: string;
|
|
25
|
+
warning: string;
|
|
26
|
+
danger: string;
|
|
27
|
+
foreground: string;
|
|
28
|
+
};
|
|
29
|
+
flat: {
|
|
30
|
+
default: string;
|
|
31
|
+
primary: string;
|
|
32
|
+
secondary: string;
|
|
33
|
+
success: string;
|
|
34
|
+
warning: string;
|
|
35
|
+
danger: string;
|
|
36
|
+
foreground: string;
|
|
37
|
+
};
|
|
38
|
+
faded: {
|
|
39
|
+
default: string;
|
|
40
|
+
primary: string;
|
|
41
|
+
secondary: string;
|
|
42
|
+
success: string;
|
|
43
|
+
warning: string;
|
|
44
|
+
danger: string;
|
|
45
|
+
foreground: string;
|
|
46
|
+
};
|
|
47
|
+
light: {
|
|
48
|
+
default: string;
|
|
49
|
+
primary: string;
|
|
50
|
+
secondary: string;
|
|
51
|
+
success: string;
|
|
52
|
+
warning: string;
|
|
53
|
+
danger: string;
|
|
54
|
+
foreground: string;
|
|
55
|
+
};
|
|
56
|
+
ghost: {
|
|
57
|
+
default: string;
|
|
58
|
+
primary: string;
|
|
59
|
+
secondary: string;
|
|
60
|
+
success: string;
|
|
61
|
+
warning: string;
|
|
62
|
+
danger: string;
|
|
63
|
+
foreground: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export { colorVariants };
|
|
@@ -0,0 +1,101 @@
|
|
|
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/utils/variants.ts
|
|
21
|
+
var variants_exports = {};
|
|
22
|
+
__export(variants_exports, {
|
|
23
|
+
colorVariants: () => colorVariants
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(variants_exports);
|
|
26
|
+
var solid = {
|
|
27
|
+
default: "bg-default text-default-foreground",
|
|
28
|
+
primary: "bg-primary text-primary-foreground",
|
|
29
|
+
secondary: "bg-secondary text-secondary-foreground",
|
|
30
|
+
success: "bg-success text-success-foreground",
|
|
31
|
+
warning: "bg-warning text-warning-foreground",
|
|
32
|
+
danger: "bg-danger text-danger-foreground",
|
|
33
|
+
foreground: "bg-foreground text-background"
|
|
34
|
+
};
|
|
35
|
+
var shadow = {
|
|
36
|
+
default: "shadow-lg shadow-default/50 bg-default text-default-foreground",
|
|
37
|
+
primary: "shadow-lg shadow-primary/40 bg-primary text-primary-foreground",
|
|
38
|
+
secondary: "shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",
|
|
39
|
+
success: "shadow-lg shadow-success/40 bg-success text-success-foreground",
|
|
40
|
+
warning: "shadow-lg shadow-warning/40 bg-warning text-warning-foreground",
|
|
41
|
+
danger: "shadow-lg shadow-danger/40 bg-danger text-danger-foreground",
|
|
42
|
+
foreground: "shadow-lg shadow-foreground/40 bg-foreground text-background"
|
|
43
|
+
};
|
|
44
|
+
var bordered = {
|
|
45
|
+
default: "bg-transparent border-default text-foreground",
|
|
46
|
+
primary: "bg-transparent border-primary text-primary",
|
|
47
|
+
secondary: "bg-transparent border-secondary text-secondary",
|
|
48
|
+
success: "bg-transparent border-success text-success",
|
|
49
|
+
warning: "bg-transparent border-warning text-warning",
|
|
50
|
+
danger: "bg-transparent border-danger text-danger",
|
|
51
|
+
foreground: "bg-transparent border-foreground text-foreground"
|
|
52
|
+
};
|
|
53
|
+
var flat = {
|
|
54
|
+
default: "bg-default/40 text-default-700",
|
|
55
|
+
primary: "bg-primary/20 text-primary-600",
|
|
56
|
+
secondary: "bg-secondary/20 text-secondary-600",
|
|
57
|
+
success: "bg-success/20 text-success-700 dark:text-success",
|
|
58
|
+
warning: "bg-warning/20 text-warning-700 dark:text-warning",
|
|
59
|
+
danger: "bg-danger/20 text-danger-600 dark:text-danger-500",
|
|
60
|
+
foreground: "bg-foreground/10 text-foreground"
|
|
61
|
+
};
|
|
62
|
+
var faded = {
|
|
63
|
+
default: "border-default bg-default-100 text-default-foreground",
|
|
64
|
+
primary: "border-default bg-default-100 text-primary",
|
|
65
|
+
secondary: "border-default bg-default-100 text-secondary",
|
|
66
|
+
success: "border-default bg-default-100 text-success",
|
|
67
|
+
warning: "border-default bg-default-100 text-warning",
|
|
68
|
+
danger: "border-default bg-default-100 text-danger",
|
|
69
|
+
foreground: "border-default bg-default-100 text-foreground"
|
|
70
|
+
};
|
|
71
|
+
var light = {
|
|
72
|
+
default: "bg-transparent text-default-foreground",
|
|
73
|
+
primary: "bg-transparent text-primary",
|
|
74
|
+
secondary: "bg-transparent text-secondary",
|
|
75
|
+
success: "bg-transparent text-success",
|
|
76
|
+
warning: "bg-transparent text-warning",
|
|
77
|
+
danger: "bg-transparent text-danger",
|
|
78
|
+
foreground: "bg-transparent text-foreground"
|
|
79
|
+
};
|
|
80
|
+
var ghost = {
|
|
81
|
+
default: "border-default text-default-foreground",
|
|
82
|
+
primary: "border-primary text-primary",
|
|
83
|
+
secondary: "border-secondary text-secondary",
|
|
84
|
+
success: "border-success text-success",
|
|
85
|
+
warning: "border-warning text-warning",
|
|
86
|
+
danger: "border-danger text-danger",
|
|
87
|
+
foreground: "border-foreground text-foreground hover:!bg-foreground"
|
|
88
|
+
};
|
|
89
|
+
var colorVariants = {
|
|
90
|
+
solid,
|
|
91
|
+
shadow,
|
|
92
|
+
bordered,
|
|
93
|
+
flat,
|
|
94
|
+
faded,
|
|
95
|
+
light,
|
|
96
|
+
ghost
|
|
97
|
+
};
|
|
98
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
99
|
+
0 && (module.exports = {
|
|
100
|
+
colorVariants
|
|
101
|
+
});
|
package/package.json
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sytechui/theme",
|
|
3
|
+
"version": "2.4.26",
|
|
4
|
+
"description": "The default theme for HeroUI components",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"theme",
|
|
7
|
+
"theming",
|
|
8
|
+
"design",
|
|
9
|
+
"ui",
|
|
10
|
+
"components",
|
|
11
|
+
"classNames",
|
|
12
|
+
"css"
|
|
13
|
+
],
|
|
14
|
+
"author": "HeroUI <support@heroui.com>",
|
|
15
|
+
"homepage": "https://heroui.com",
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"main": "dist/index.js",
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"files": [
|
|
20
|
+
"dist",
|
|
21
|
+
"config.js",
|
|
22
|
+
"config.d.ts",
|
|
23
|
+
"plugin.js",
|
|
24
|
+
"plugin.d.ts",
|
|
25
|
+
"colors.js",
|
|
26
|
+
"colors.d.ts"
|
|
27
|
+
],
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "git+https://github.com/heroui-inc/heroui.git",
|
|
34
|
+
"directory": "packages/core/theme"
|
|
35
|
+
},
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://github.com/heroui-inc/heroui/issues"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"color": "^4.2.3",
|
|
41
|
+
"color2k": "^2.0.3",
|
|
42
|
+
"deepmerge": "4.3.1",
|
|
43
|
+
"tailwind-variants": "3.2.2",
|
|
44
|
+
"tailwind-merge": "3.4.0",
|
|
45
|
+
"@sytechui/shared-utils": "2.1.12"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"tailwindcss": ">=4.0.0"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@types/color": "^4.2.0",
|
|
52
|
+
"@types/flat": "^5.0.2",
|
|
53
|
+
"tailwindcss": "4.1.11",
|
|
54
|
+
"clean-package": "2.2.0"
|
|
55
|
+
},
|
|
56
|
+
"tsup": {
|
|
57
|
+
"clean": true,
|
|
58
|
+
"target": "es2019",
|
|
59
|
+
"format": [
|
|
60
|
+
"cjs",
|
|
61
|
+
"esm"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"module": "dist/index.mjs",
|
|
65
|
+
"types": "dist/index.d.ts",
|
|
66
|
+
"exports": {
|
|
67
|
+
".": {
|
|
68
|
+
"types": "./dist/index.d.ts",
|
|
69
|
+
"import": "./dist/index.mjs",
|
|
70
|
+
"require": "./dist/index.js"
|
|
71
|
+
},
|
|
72
|
+
"./plugin": {
|
|
73
|
+
"types": "./dist/plugin.d.ts",
|
|
74
|
+
"import": "./dist/plugin.mjs",
|
|
75
|
+
"require": "./dist/plugin.js"
|
|
76
|
+
},
|
|
77
|
+
"./colors": {
|
|
78
|
+
"types": "./dist/colors.d.ts",
|
|
79
|
+
"import": "./dist/colors.mjs",
|
|
80
|
+
"require": "./dist/colors.js"
|
|
81
|
+
},
|
|
82
|
+
"./package.json": "./package.json"
|
|
83
|
+
},
|
|
84
|
+
"scripts": {
|
|
85
|
+
"build": "tsup src --dts",
|
|
86
|
+
"build:fast": "tsup src",
|
|
87
|
+
"dev": "pnpm build:fast --watch",
|
|
88
|
+
"clean": "rimraf dist .turbo",
|
|
89
|
+
"typecheck": "tsc --noEmit"
|
|
90
|
+
}
|
|
91
|
+
}
|
package/plugin.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./dist/plugin";
|
package/plugin.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("./dist/plugin");
|