ilyass-tv-kit 1.0.0
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/README.md +80 -0
- package/dist/animations/index.d.mts +60 -0
- package/dist/animations/index.d.ts +60 -0
- package/dist/animations/index.js +190 -0
- package/dist/animations/index.mjs +74 -0
- package/dist/chunk-656U4BHL.mjs +130 -0
- package/dist/chunk-GLAVLQFS.mjs +10 -0
- package/dist/chunk-ZSOYM7E5.mjs +78 -0
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +277 -0
- package/dist/index.mjs +84 -0
- package/dist/tokens/index.d.mts +75 -0
- package/dist/tokens/index.d.ts +75 -0
- package/dist/tokens/index.js +105 -0
- package/dist/tokens/index.mjs +8 -0
- package/dist/utils/index.d.mts +5 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/index.js +36 -0
- package/dist/utils/index.mjs +6 -0
- package/package.json +75 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { MotionA, MotionAside, MotionButton, MotionDiv, MotionFooter, MotionH1, MotionH2, MotionH3, MotionHeader, MotionImg, MotionLi, MotionMain, MotionNav, MotionP, MotionSection, MotionSpan, MotionUl, buttonTap, cardHover, dropdown, ease, fadeIn, fadeInLeft, fadeInRight, fadeInUp, float, listItem, listStagger, mobileMenu, pageTransition, scaleIn, shimmer, sidebarVariants, slideUp, staggerContainer } from './animations/index.js';
|
|
2
|
+
export { cn } from './utils/index.js';
|
|
3
|
+
export { ThemeTokens, darkTheme, lightTheme } from './tokens/index.js';
|
|
4
|
+
import 'framer-motion';
|
|
5
|
+
import 'clsx';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,277 @@
|
|
|
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/index.ts
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
|
+
MotionA: () => MotionA,
|
|
24
|
+
MotionAside: () => MotionAside,
|
|
25
|
+
MotionButton: () => MotionButton,
|
|
26
|
+
MotionDiv: () => MotionDiv,
|
|
27
|
+
MotionFooter: () => MotionFooter,
|
|
28
|
+
MotionH1: () => MotionH1,
|
|
29
|
+
MotionH2: () => MotionH2,
|
|
30
|
+
MotionH3: () => MotionH3,
|
|
31
|
+
MotionHeader: () => MotionHeader,
|
|
32
|
+
MotionImg: () => MotionImg,
|
|
33
|
+
MotionLi: () => MotionLi,
|
|
34
|
+
MotionMain: () => MotionMain,
|
|
35
|
+
MotionNav: () => MotionNav,
|
|
36
|
+
MotionP: () => MotionP,
|
|
37
|
+
MotionSection: () => MotionSection,
|
|
38
|
+
MotionSpan: () => MotionSpan,
|
|
39
|
+
MotionUl: () => MotionUl,
|
|
40
|
+
buttonTap: () => buttonTap,
|
|
41
|
+
cardHover: () => cardHover,
|
|
42
|
+
cn: () => cn,
|
|
43
|
+
darkTheme: () => darkTheme,
|
|
44
|
+
dropdown: () => dropdown,
|
|
45
|
+
ease: () => ease,
|
|
46
|
+
fadeIn: () => fadeIn,
|
|
47
|
+
fadeInLeft: () => fadeInLeft,
|
|
48
|
+
fadeInRight: () => fadeInRight,
|
|
49
|
+
fadeInUp: () => fadeInUp,
|
|
50
|
+
float: () => float,
|
|
51
|
+
lightTheme: () => lightTheme,
|
|
52
|
+
listItem: () => listItem,
|
|
53
|
+
listStagger: () => listStagger,
|
|
54
|
+
mobileMenu: () => mobileMenu,
|
|
55
|
+
pageTransition: () => pageTransition,
|
|
56
|
+
scaleIn: () => scaleIn,
|
|
57
|
+
shimmer: () => shimmer,
|
|
58
|
+
sidebarVariants: () => sidebarVariants,
|
|
59
|
+
slideUp: () => slideUp,
|
|
60
|
+
staggerContainer: () => staggerContainer
|
|
61
|
+
});
|
|
62
|
+
module.exports = __toCommonJS(index_exports);
|
|
63
|
+
|
|
64
|
+
// src/animations/variants.ts
|
|
65
|
+
var ease = [0.16, 1, 0.3, 1];
|
|
66
|
+
var fadeIn = {
|
|
67
|
+
hidden: { opacity: 0, y: 20 },
|
|
68
|
+
visible: { opacity: 1, y: 0, transition: { duration: 0.6, ease } }
|
|
69
|
+
};
|
|
70
|
+
var fadeInUp = {
|
|
71
|
+
hidden: { opacity: 0, y: 40 },
|
|
72
|
+
visible: { opacity: 1, y: 0, transition: { duration: 0.7, ease } }
|
|
73
|
+
};
|
|
74
|
+
var fadeInLeft = {
|
|
75
|
+
hidden: { opacity: 0, x: -30 },
|
|
76
|
+
visible: { opacity: 1, x: 0, transition: { duration: 0.6, ease } }
|
|
77
|
+
};
|
|
78
|
+
var fadeInRight = {
|
|
79
|
+
hidden: { opacity: 0, x: 30 },
|
|
80
|
+
visible: { opacity: 1, x: 0, transition: { duration: 0.6, ease } }
|
|
81
|
+
};
|
|
82
|
+
var scaleIn = {
|
|
83
|
+
hidden: { opacity: 0, scale: 0.92 },
|
|
84
|
+
visible: { opacity: 1, scale: 1, transition: { duration: 0.5, ease } }
|
|
85
|
+
};
|
|
86
|
+
var staggerContainer = {
|
|
87
|
+
hidden: {},
|
|
88
|
+
visible: {
|
|
89
|
+
transition: { staggerChildren: 0.08, delayChildren: 0.1 }
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
var slideUp = {
|
|
93
|
+
hidden: { opacity: 0, y: "100%" },
|
|
94
|
+
visible: { opacity: 1, y: 0, transition: { duration: 0.8, ease } }
|
|
95
|
+
};
|
|
96
|
+
var float = {
|
|
97
|
+
animate: {
|
|
98
|
+
y: [0, -10, 0],
|
|
99
|
+
transition: { duration: 4, repeat: Infinity, ease: "easeInOut" }
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
var cardHover = {
|
|
103
|
+
rest: { scale: 1, boxShadow: "var(--shadow-card)", transition: { duration: 0.3, ease } },
|
|
104
|
+
hover: { scale: 1.02, boxShadow: "var(--shadow-card-hover)", transition: { duration: 0.3, ease } }
|
|
105
|
+
};
|
|
106
|
+
var pageTransition = {
|
|
107
|
+
initial: { opacity: 0, y: 12 },
|
|
108
|
+
enter: { opacity: 1, y: 0, transition: { duration: 0.4, ease } },
|
|
109
|
+
exit: { opacity: 0, y: -12, transition: { duration: 0.2, ease } }
|
|
110
|
+
};
|
|
111
|
+
var sidebarVariants = {
|
|
112
|
+
open: { width: 260, transition: { duration: 0.3, ease } },
|
|
113
|
+
closed: { width: 72, transition: { duration: 0.3, ease } }
|
|
114
|
+
};
|
|
115
|
+
var mobileMenu = {
|
|
116
|
+
closed: { x: "-100%", transition: { duration: 0.3, ease } },
|
|
117
|
+
open: { x: 0, transition: { duration: 0.3, ease } }
|
|
118
|
+
};
|
|
119
|
+
var dropdown = {
|
|
120
|
+
closed: { opacity: 0, y: -8, scale: 0.96, pointerEvents: "none" },
|
|
121
|
+
open: { opacity: 1, y: 0, scale: 1, pointerEvents: "auto", transition: { duration: 0.2, ease } }
|
|
122
|
+
};
|
|
123
|
+
var shimmer = {
|
|
124
|
+
hidden: { backgroundPosition: "-200% 0" },
|
|
125
|
+
visible: { backgroundPosition: "200% 0", transition: { duration: 2, repeat: Infinity, ease: "linear" } }
|
|
126
|
+
};
|
|
127
|
+
var buttonTap = { scale: 0.97 };
|
|
128
|
+
var listStagger = {
|
|
129
|
+
hidden: {},
|
|
130
|
+
visible: { transition: { staggerChildren: 0.04, delayChildren: 0.05 } }
|
|
131
|
+
};
|
|
132
|
+
var listItem = {
|
|
133
|
+
hidden: { opacity: 0, x: -10 },
|
|
134
|
+
visible: { opacity: 1, x: 0, transition: { duration: 0.3, ease } }
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
// src/animations/motion.ts
|
|
138
|
+
var import_framer_motion = require("framer-motion");
|
|
139
|
+
var MotionDiv = import_framer_motion.motion.div;
|
|
140
|
+
var MotionSpan = import_framer_motion.motion.span;
|
|
141
|
+
var MotionSection = import_framer_motion.motion.section;
|
|
142
|
+
var MotionNav = import_framer_motion.motion.nav;
|
|
143
|
+
var MotionLi = import_framer_motion.motion.li;
|
|
144
|
+
var MotionButton = import_framer_motion.motion.button;
|
|
145
|
+
var MotionA = import_framer_motion.motion.a;
|
|
146
|
+
var MotionImg = import_framer_motion.motion.img;
|
|
147
|
+
var MotionP = import_framer_motion.motion.p;
|
|
148
|
+
var MotionH1 = import_framer_motion.motion.h1;
|
|
149
|
+
var MotionH2 = import_framer_motion.motion.h2;
|
|
150
|
+
var MotionH3 = import_framer_motion.motion.h3;
|
|
151
|
+
var MotionUl = import_framer_motion.motion.ul;
|
|
152
|
+
var MotionHeader = import_framer_motion.motion.header;
|
|
153
|
+
var MotionFooter = import_framer_motion.motion.footer;
|
|
154
|
+
var MotionMain = import_framer_motion.motion.main;
|
|
155
|
+
var MotionAside = import_framer_motion.motion.aside;
|
|
156
|
+
|
|
157
|
+
// src/utils/cn.ts
|
|
158
|
+
var import_clsx = require("clsx");
|
|
159
|
+
var import_tailwind_merge = require("tailwind-merge");
|
|
160
|
+
function cn(...inputs) {
|
|
161
|
+
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// src/tokens/colors.ts
|
|
165
|
+
var darkTheme = {
|
|
166
|
+
"--bg-primary": "#06061a",
|
|
167
|
+
"--bg-secondary": "#080828",
|
|
168
|
+
"--bg-tertiary": "#0a0a30",
|
|
169
|
+
"--surface": "#0b0b2e",
|
|
170
|
+
"--surface-hover": "#10103d",
|
|
171
|
+
"--surface-elevated": "#121242",
|
|
172
|
+
"--border": "rgba(34, 211, 238, 0.08)",
|
|
173
|
+
"--border-light": "rgba(255, 255, 255, 0.03)",
|
|
174
|
+
"--border-accent": "rgba(34, 211, 238, 0.18)",
|
|
175
|
+
"--text-primary": "#f0f0fa",
|
|
176
|
+
"--text-secondary": "#9292c0",
|
|
177
|
+
"--text-muted": "#5a5a8a",
|
|
178
|
+
"--accent": "#22d3ee",
|
|
179
|
+
"--accent-light": "#67e8f9",
|
|
180
|
+
"--accent-dark": "#0891b2",
|
|
181
|
+
"--accent-gradient": "linear-gradient(135deg, #22d3ee, #6366f1)",
|
|
182
|
+
"--accent-subtle": "rgba(34, 211, 238, 0.08)",
|
|
183
|
+
"--accent-green": "#34d399",
|
|
184
|
+
"--accent-orange": "#fbbf24",
|
|
185
|
+
"--accent-pink": "#f472b6",
|
|
186
|
+
"--accent-cyan": "#22d3ee",
|
|
187
|
+
"--accent-purple": "#a78bfa",
|
|
188
|
+
"--success": "#34d399",
|
|
189
|
+
"--warning": "#fbbf24",
|
|
190
|
+
"--error": "#f87171",
|
|
191
|
+
"--gradient-blue": "linear-gradient(135deg, #1e3a5f, #2563eb)",
|
|
192
|
+
"--gradient-green": "linear-gradient(135deg, #065f46, #10b981)",
|
|
193
|
+
"--gradient-orange": "linear-gradient(135deg, #92400e, #f59e0b)",
|
|
194
|
+
"--gradient-pink": "linear-gradient(135deg, #831843, #ec4899)",
|
|
195
|
+
"--gradient-cyan": "linear-gradient(135deg, #164e63, #06b6d4)",
|
|
196
|
+
"--gradient-purple": "linear-gradient(135deg, #4c1d95, #8b5cf6)",
|
|
197
|
+
"--gradient-page-bg": "linear-gradient(180deg, #06061a 0%, #080828 40%, #0a0a2c 100%)",
|
|
198
|
+
"--glass-bg": "rgba(8, 8, 36, 0.82)",
|
|
199
|
+
"--glass-border": "rgba(34, 211, 238, 0.06)"
|
|
200
|
+
};
|
|
201
|
+
var lightTheme = {
|
|
202
|
+
"--bg-primary": "#ffffff",
|
|
203
|
+
"--bg-secondary": "#f8faff",
|
|
204
|
+
"--bg-tertiary": "#f0f5ff",
|
|
205
|
+
"--surface": "#ffffff",
|
|
206
|
+
"--surface-hover": "#f8faff",
|
|
207
|
+
"--surface-elevated": "#ffffff",
|
|
208
|
+
"--border": "rgba(37, 99, 235, 0.08)",
|
|
209
|
+
"--border-light": "rgba(0, 0, 0, 0.04)",
|
|
210
|
+
"--border-accent": "rgba(37, 99, 235, 0.18)",
|
|
211
|
+
"--text-primary": "#0a0a1a",
|
|
212
|
+
"--text-secondary": "#52527a",
|
|
213
|
+
"--text-muted": "#8a8aaa",
|
|
214
|
+
"--accent": "#2563eb",
|
|
215
|
+
"--accent-light": "#3b82f6",
|
|
216
|
+
"--accent-dark": "#1d4ed8",
|
|
217
|
+
"--accent-gradient": "linear-gradient(135deg, #2563eb, #3b82f6)",
|
|
218
|
+
"--accent-subtle": "rgba(37, 99, 235, 0.08)",
|
|
219
|
+
"--accent-green": "#10b981",
|
|
220
|
+
"--accent-orange": "#f59e0b",
|
|
221
|
+
"--accent-pink": "#ec4899",
|
|
222
|
+
"--accent-cyan": "#06b6d4",
|
|
223
|
+
"--accent-purple": "#8b5cf6",
|
|
224
|
+
"--success": "#10b981",
|
|
225
|
+
"--warning": "#f59e0b",
|
|
226
|
+
"--error": "#ef4444",
|
|
227
|
+
"--gradient-blue": "linear-gradient(135deg, #dbeafe, #3b82f6)",
|
|
228
|
+
"--gradient-green": "linear-gradient(135deg, #d1fae5, #10b981)",
|
|
229
|
+
"--gradient-orange": "linear-gradient(135deg, #fef3c7, #f59e0b)",
|
|
230
|
+
"--gradient-pink": "linear-gradient(135deg, #fce7f3, #ec4899)",
|
|
231
|
+
"--gradient-cyan": "linear-gradient(135deg, #cffafe, #06b6d4)",
|
|
232
|
+
"--gradient-purple": "linear-gradient(135deg, #ede9fe, #8b5cf6)",
|
|
233
|
+
"--gradient-page-bg": "linear-gradient(180deg, #ffffff 0%, #f8faff 40%, #f0f5ff 100%)",
|
|
234
|
+
"--glass-bg": "rgba(255, 255, 255, 0.72)",
|
|
235
|
+
"--glass-border": "rgba(255, 255, 255, 0.25)"
|
|
236
|
+
};
|
|
237
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
238
|
+
0 && (module.exports = {
|
|
239
|
+
MotionA,
|
|
240
|
+
MotionAside,
|
|
241
|
+
MotionButton,
|
|
242
|
+
MotionDiv,
|
|
243
|
+
MotionFooter,
|
|
244
|
+
MotionH1,
|
|
245
|
+
MotionH2,
|
|
246
|
+
MotionH3,
|
|
247
|
+
MotionHeader,
|
|
248
|
+
MotionImg,
|
|
249
|
+
MotionLi,
|
|
250
|
+
MotionMain,
|
|
251
|
+
MotionNav,
|
|
252
|
+
MotionP,
|
|
253
|
+
MotionSection,
|
|
254
|
+
MotionSpan,
|
|
255
|
+
MotionUl,
|
|
256
|
+
buttonTap,
|
|
257
|
+
cardHover,
|
|
258
|
+
cn,
|
|
259
|
+
darkTheme,
|
|
260
|
+
dropdown,
|
|
261
|
+
ease,
|
|
262
|
+
fadeIn,
|
|
263
|
+
fadeInLeft,
|
|
264
|
+
fadeInRight,
|
|
265
|
+
fadeInUp,
|
|
266
|
+
float,
|
|
267
|
+
lightTheme,
|
|
268
|
+
listItem,
|
|
269
|
+
listStagger,
|
|
270
|
+
mobileMenu,
|
|
271
|
+
pageTransition,
|
|
272
|
+
scaleIn,
|
|
273
|
+
shimmer,
|
|
274
|
+
sidebarVariants,
|
|
275
|
+
slideUp,
|
|
276
|
+
staggerContainer
|
|
277
|
+
});
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MotionA,
|
|
3
|
+
MotionAside,
|
|
4
|
+
MotionButton,
|
|
5
|
+
MotionDiv,
|
|
6
|
+
MotionFooter,
|
|
7
|
+
MotionH1,
|
|
8
|
+
MotionH2,
|
|
9
|
+
MotionH3,
|
|
10
|
+
MotionHeader,
|
|
11
|
+
MotionImg,
|
|
12
|
+
MotionLi,
|
|
13
|
+
MotionMain,
|
|
14
|
+
MotionNav,
|
|
15
|
+
MotionP,
|
|
16
|
+
MotionSection,
|
|
17
|
+
MotionSpan,
|
|
18
|
+
MotionUl,
|
|
19
|
+
buttonTap,
|
|
20
|
+
cardHover,
|
|
21
|
+
dropdown,
|
|
22
|
+
ease,
|
|
23
|
+
fadeIn,
|
|
24
|
+
fadeInLeft,
|
|
25
|
+
fadeInRight,
|
|
26
|
+
fadeInUp,
|
|
27
|
+
float,
|
|
28
|
+
listItem,
|
|
29
|
+
listStagger,
|
|
30
|
+
mobileMenu,
|
|
31
|
+
pageTransition,
|
|
32
|
+
scaleIn,
|
|
33
|
+
shimmer,
|
|
34
|
+
sidebarVariants,
|
|
35
|
+
slideUp,
|
|
36
|
+
staggerContainer
|
|
37
|
+
} from "./chunk-656U4BHL.mjs";
|
|
38
|
+
import {
|
|
39
|
+
darkTheme,
|
|
40
|
+
lightTheme
|
|
41
|
+
} from "./chunk-ZSOYM7E5.mjs";
|
|
42
|
+
import {
|
|
43
|
+
cn
|
|
44
|
+
} from "./chunk-GLAVLQFS.mjs";
|
|
45
|
+
export {
|
|
46
|
+
MotionA,
|
|
47
|
+
MotionAside,
|
|
48
|
+
MotionButton,
|
|
49
|
+
MotionDiv,
|
|
50
|
+
MotionFooter,
|
|
51
|
+
MotionH1,
|
|
52
|
+
MotionH2,
|
|
53
|
+
MotionH3,
|
|
54
|
+
MotionHeader,
|
|
55
|
+
MotionImg,
|
|
56
|
+
MotionLi,
|
|
57
|
+
MotionMain,
|
|
58
|
+
MotionNav,
|
|
59
|
+
MotionP,
|
|
60
|
+
MotionSection,
|
|
61
|
+
MotionSpan,
|
|
62
|
+
MotionUl,
|
|
63
|
+
buttonTap,
|
|
64
|
+
cardHover,
|
|
65
|
+
cn,
|
|
66
|
+
darkTheme,
|
|
67
|
+
dropdown,
|
|
68
|
+
ease,
|
|
69
|
+
fadeIn,
|
|
70
|
+
fadeInLeft,
|
|
71
|
+
fadeInRight,
|
|
72
|
+
fadeInUp,
|
|
73
|
+
float,
|
|
74
|
+
lightTheme,
|
|
75
|
+
listItem,
|
|
76
|
+
listStagger,
|
|
77
|
+
mobileMenu,
|
|
78
|
+
pageTransition,
|
|
79
|
+
scaleIn,
|
|
80
|
+
shimmer,
|
|
81
|
+
sidebarVariants,
|
|
82
|
+
slideUp,
|
|
83
|
+
staggerContainer
|
|
84
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
declare const darkTheme: {
|
|
2
|
+
readonly "--bg-primary": "#06061a";
|
|
3
|
+
readonly "--bg-secondary": "#080828";
|
|
4
|
+
readonly "--bg-tertiary": "#0a0a30";
|
|
5
|
+
readonly "--surface": "#0b0b2e";
|
|
6
|
+
readonly "--surface-hover": "#10103d";
|
|
7
|
+
readonly "--surface-elevated": "#121242";
|
|
8
|
+
readonly "--border": "rgba(34, 211, 238, 0.08)";
|
|
9
|
+
readonly "--border-light": "rgba(255, 255, 255, 0.03)";
|
|
10
|
+
readonly "--border-accent": "rgba(34, 211, 238, 0.18)";
|
|
11
|
+
readonly "--text-primary": "#f0f0fa";
|
|
12
|
+
readonly "--text-secondary": "#9292c0";
|
|
13
|
+
readonly "--text-muted": "#5a5a8a";
|
|
14
|
+
readonly "--accent": "#22d3ee";
|
|
15
|
+
readonly "--accent-light": "#67e8f9";
|
|
16
|
+
readonly "--accent-dark": "#0891b2";
|
|
17
|
+
readonly "--accent-gradient": "linear-gradient(135deg, #22d3ee, #6366f1)";
|
|
18
|
+
readonly "--accent-subtle": "rgba(34, 211, 238, 0.08)";
|
|
19
|
+
readonly "--accent-green": "#34d399";
|
|
20
|
+
readonly "--accent-orange": "#fbbf24";
|
|
21
|
+
readonly "--accent-pink": "#f472b6";
|
|
22
|
+
readonly "--accent-cyan": "#22d3ee";
|
|
23
|
+
readonly "--accent-purple": "#a78bfa";
|
|
24
|
+
readonly "--success": "#34d399";
|
|
25
|
+
readonly "--warning": "#fbbf24";
|
|
26
|
+
readonly "--error": "#f87171";
|
|
27
|
+
readonly "--gradient-blue": "linear-gradient(135deg, #1e3a5f, #2563eb)";
|
|
28
|
+
readonly "--gradient-green": "linear-gradient(135deg, #065f46, #10b981)";
|
|
29
|
+
readonly "--gradient-orange": "linear-gradient(135deg, #92400e, #f59e0b)";
|
|
30
|
+
readonly "--gradient-pink": "linear-gradient(135deg, #831843, #ec4899)";
|
|
31
|
+
readonly "--gradient-cyan": "linear-gradient(135deg, #164e63, #06b6d4)";
|
|
32
|
+
readonly "--gradient-purple": "linear-gradient(135deg, #4c1d95, #8b5cf6)";
|
|
33
|
+
readonly "--gradient-page-bg": "linear-gradient(180deg, #06061a 0%, #080828 40%, #0a0a2c 100%)";
|
|
34
|
+
readonly "--glass-bg": "rgba(8, 8, 36, 0.82)";
|
|
35
|
+
readonly "--glass-border": "rgba(34, 211, 238, 0.06)";
|
|
36
|
+
};
|
|
37
|
+
declare const lightTheme: {
|
|
38
|
+
readonly "--bg-primary": "#ffffff";
|
|
39
|
+
readonly "--bg-secondary": "#f8faff";
|
|
40
|
+
readonly "--bg-tertiary": "#f0f5ff";
|
|
41
|
+
readonly "--surface": "#ffffff";
|
|
42
|
+
readonly "--surface-hover": "#f8faff";
|
|
43
|
+
readonly "--surface-elevated": "#ffffff";
|
|
44
|
+
readonly "--border": "rgba(37, 99, 235, 0.08)";
|
|
45
|
+
readonly "--border-light": "rgba(0, 0, 0, 0.04)";
|
|
46
|
+
readonly "--border-accent": "rgba(37, 99, 235, 0.18)";
|
|
47
|
+
readonly "--text-primary": "#0a0a1a";
|
|
48
|
+
readonly "--text-secondary": "#52527a";
|
|
49
|
+
readonly "--text-muted": "#8a8aaa";
|
|
50
|
+
readonly "--accent": "#2563eb";
|
|
51
|
+
readonly "--accent-light": "#3b82f6";
|
|
52
|
+
readonly "--accent-dark": "#1d4ed8";
|
|
53
|
+
readonly "--accent-gradient": "linear-gradient(135deg, #2563eb, #3b82f6)";
|
|
54
|
+
readonly "--accent-subtle": "rgba(37, 99, 235, 0.08)";
|
|
55
|
+
readonly "--accent-green": "#10b981";
|
|
56
|
+
readonly "--accent-orange": "#f59e0b";
|
|
57
|
+
readonly "--accent-pink": "#ec4899";
|
|
58
|
+
readonly "--accent-cyan": "#06b6d4";
|
|
59
|
+
readonly "--accent-purple": "#8b5cf6";
|
|
60
|
+
readonly "--success": "#10b981";
|
|
61
|
+
readonly "--warning": "#f59e0b";
|
|
62
|
+
readonly "--error": "#ef4444";
|
|
63
|
+
readonly "--gradient-blue": "linear-gradient(135deg, #dbeafe, #3b82f6)";
|
|
64
|
+
readonly "--gradient-green": "linear-gradient(135deg, #d1fae5, #10b981)";
|
|
65
|
+
readonly "--gradient-orange": "linear-gradient(135deg, #fef3c7, #f59e0b)";
|
|
66
|
+
readonly "--gradient-pink": "linear-gradient(135deg, #fce7f3, #ec4899)";
|
|
67
|
+
readonly "--gradient-cyan": "linear-gradient(135deg, #cffafe, #06b6d4)";
|
|
68
|
+
readonly "--gradient-purple": "linear-gradient(135deg, #ede9fe, #8b5cf6)";
|
|
69
|
+
readonly "--gradient-page-bg": "linear-gradient(180deg, #ffffff 0%, #f8faff 40%, #f0f5ff 100%)";
|
|
70
|
+
readonly "--glass-bg": "rgba(255, 255, 255, 0.72)";
|
|
71
|
+
readonly "--glass-border": "rgba(255, 255, 255, 0.25)";
|
|
72
|
+
};
|
|
73
|
+
type ThemeTokens = typeof darkTheme;
|
|
74
|
+
|
|
75
|
+
export { type ThemeTokens, darkTheme, lightTheme };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
declare const darkTheme: {
|
|
2
|
+
readonly "--bg-primary": "#06061a";
|
|
3
|
+
readonly "--bg-secondary": "#080828";
|
|
4
|
+
readonly "--bg-tertiary": "#0a0a30";
|
|
5
|
+
readonly "--surface": "#0b0b2e";
|
|
6
|
+
readonly "--surface-hover": "#10103d";
|
|
7
|
+
readonly "--surface-elevated": "#121242";
|
|
8
|
+
readonly "--border": "rgba(34, 211, 238, 0.08)";
|
|
9
|
+
readonly "--border-light": "rgba(255, 255, 255, 0.03)";
|
|
10
|
+
readonly "--border-accent": "rgba(34, 211, 238, 0.18)";
|
|
11
|
+
readonly "--text-primary": "#f0f0fa";
|
|
12
|
+
readonly "--text-secondary": "#9292c0";
|
|
13
|
+
readonly "--text-muted": "#5a5a8a";
|
|
14
|
+
readonly "--accent": "#22d3ee";
|
|
15
|
+
readonly "--accent-light": "#67e8f9";
|
|
16
|
+
readonly "--accent-dark": "#0891b2";
|
|
17
|
+
readonly "--accent-gradient": "linear-gradient(135deg, #22d3ee, #6366f1)";
|
|
18
|
+
readonly "--accent-subtle": "rgba(34, 211, 238, 0.08)";
|
|
19
|
+
readonly "--accent-green": "#34d399";
|
|
20
|
+
readonly "--accent-orange": "#fbbf24";
|
|
21
|
+
readonly "--accent-pink": "#f472b6";
|
|
22
|
+
readonly "--accent-cyan": "#22d3ee";
|
|
23
|
+
readonly "--accent-purple": "#a78bfa";
|
|
24
|
+
readonly "--success": "#34d399";
|
|
25
|
+
readonly "--warning": "#fbbf24";
|
|
26
|
+
readonly "--error": "#f87171";
|
|
27
|
+
readonly "--gradient-blue": "linear-gradient(135deg, #1e3a5f, #2563eb)";
|
|
28
|
+
readonly "--gradient-green": "linear-gradient(135deg, #065f46, #10b981)";
|
|
29
|
+
readonly "--gradient-orange": "linear-gradient(135deg, #92400e, #f59e0b)";
|
|
30
|
+
readonly "--gradient-pink": "linear-gradient(135deg, #831843, #ec4899)";
|
|
31
|
+
readonly "--gradient-cyan": "linear-gradient(135deg, #164e63, #06b6d4)";
|
|
32
|
+
readonly "--gradient-purple": "linear-gradient(135deg, #4c1d95, #8b5cf6)";
|
|
33
|
+
readonly "--gradient-page-bg": "linear-gradient(180deg, #06061a 0%, #080828 40%, #0a0a2c 100%)";
|
|
34
|
+
readonly "--glass-bg": "rgba(8, 8, 36, 0.82)";
|
|
35
|
+
readonly "--glass-border": "rgba(34, 211, 238, 0.06)";
|
|
36
|
+
};
|
|
37
|
+
declare const lightTheme: {
|
|
38
|
+
readonly "--bg-primary": "#ffffff";
|
|
39
|
+
readonly "--bg-secondary": "#f8faff";
|
|
40
|
+
readonly "--bg-tertiary": "#f0f5ff";
|
|
41
|
+
readonly "--surface": "#ffffff";
|
|
42
|
+
readonly "--surface-hover": "#f8faff";
|
|
43
|
+
readonly "--surface-elevated": "#ffffff";
|
|
44
|
+
readonly "--border": "rgba(37, 99, 235, 0.08)";
|
|
45
|
+
readonly "--border-light": "rgba(0, 0, 0, 0.04)";
|
|
46
|
+
readonly "--border-accent": "rgba(37, 99, 235, 0.18)";
|
|
47
|
+
readonly "--text-primary": "#0a0a1a";
|
|
48
|
+
readonly "--text-secondary": "#52527a";
|
|
49
|
+
readonly "--text-muted": "#8a8aaa";
|
|
50
|
+
readonly "--accent": "#2563eb";
|
|
51
|
+
readonly "--accent-light": "#3b82f6";
|
|
52
|
+
readonly "--accent-dark": "#1d4ed8";
|
|
53
|
+
readonly "--accent-gradient": "linear-gradient(135deg, #2563eb, #3b82f6)";
|
|
54
|
+
readonly "--accent-subtle": "rgba(37, 99, 235, 0.08)";
|
|
55
|
+
readonly "--accent-green": "#10b981";
|
|
56
|
+
readonly "--accent-orange": "#f59e0b";
|
|
57
|
+
readonly "--accent-pink": "#ec4899";
|
|
58
|
+
readonly "--accent-cyan": "#06b6d4";
|
|
59
|
+
readonly "--accent-purple": "#8b5cf6";
|
|
60
|
+
readonly "--success": "#10b981";
|
|
61
|
+
readonly "--warning": "#f59e0b";
|
|
62
|
+
readonly "--error": "#ef4444";
|
|
63
|
+
readonly "--gradient-blue": "linear-gradient(135deg, #dbeafe, #3b82f6)";
|
|
64
|
+
readonly "--gradient-green": "linear-gradient(135deg, #d1fae5, #10b981)";
|
|
65
|
+
readonly "--gradient-orange": "linear-gradient(135deg, #fef3c7, #f59e0b)";
|
|
66
|
+
readonly "--gradient-pink": "linear-gradient(135deg, #fce7f3, #ec4899)";
|
|
67
|
+
readonly "--gradient-cyan": "linear-gradient(135deg, #cffafe, #06b6d4)";
|
|
68
|
+
readonly "--gradient-purple": "linear-gradient(135deg, #ede9fe, #8b5cf6)";
|
|
69
|
+
readonly "--gradient-page-bg": "linear-gradient(180deg, #ffffff 0%, #f8faff 40%, #f0f5ff 100%)";
|
|
70
|
+
readonly "--glass-bg": "rgba(255, 255, 255, 0.72)";
|
|
71
|
+
readonly "--glass-border": "rgba(255, 255, 255, 0.25)";
|
|
72
|
+
};
|
|
73
|
+
type ThemeTokens = typeof darkTheme;
|
|
74
|
+
|
|
75
|
+
export { type ThemeTokens, darkTheme, lightTheme };
|
|
@@ -0,0 +1,105 @@
|
|
|
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/tokens/index.ts
|
|
21
|
+
var tokens_exports = {};
|
|
22
|
+
__export(tokens_exports, {
|
|
23
|
+
darkTheme: () => darkTheme,
|
|
24
|
+
lightTheme: () => lightTheme
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(tokens_exports);
|
|
27
|
+
|
|
28
|
+
// src/tokens/colors.ts
|
|
29
|
+
var darkTheme = {
|
|
30
|
+
"--bg-primary": "#06061a",
|
|
31
|
+
"--bg-secondary": "#080828",
|
|
32
|
+
"--bg-tertiary": "#0a0a30",
|
|
33
|
+
"--surface": "#0b0b2e",
|
|
34
|
+
"--surface-hover": "#10103d",
|
|
35
|
+
"--surface-elevated": "#121242",
|
|
36
|
+
"--border": "rgba(34, 211, 238, 0.08)",
|
|
37
|
+
"--border-light": "rgba(255, 255, 255, 0.03)",
|
|
38
|
+
"--border-accent": "rgba(34, 211, 238, 0.18)",
|
|
39
|
+
"--text-primary": "#f0f0fa",
|
|
40
|
+
"--text-secondary": "#9292c0",
|
|
41
|
+
"--text-muted": "#5a5a8a",
|
|
42
|
+
"--accent": "#22d3ee",
|
|
43
|
+
"--accent-light": "#67e8f9",
|
|
44
|
+
"--accent-dark": "#0891b2",
|
|
45
|
+
"--accent-gradient": "linear-gradient(135deg, #22d3ee, #6366f1)",
|
|
46
|
+
"--accent-subtle": "rgba(34, 211, 238, 0.08)",
|
|
47
|
+
"--accent-green": "#34d399",
|
|
48
|
+
"--accent-orange": "#fbbf24",
|
|
49
|
+
"--accent-pink": "#f472b6",
|
|
50
|
+
"--accent-cyan": "#22d3ee",
|
|
51
|
+
"--accent-purple": "#a78bfa",
|
|
52
|
+
"--success": "#34d399",
|
|
53
|
+
"--warning": "#fbbf24",
|
|
54
|
+
"--error": "#f87171",
|
|
55
|
+
"--gradient-blue": "linear-gradient(135deg, #1e3a5f, #2563eb)",
|
|
56
|
+
"--gradient-green": "linear-gradient(135deg, #065f46, #10b981)",
|
|
57
|
+
"--gradient-orange": "linear-gradient(135deg, #92400e, #f59e0b)",
|
|
58
|
+
"--gradient-pink": "linear-gradient(135deg, #831843, #ec4899)",
|
|
59
|
+
"--gradient-cyan": "linear-gradient(135deg, #164e63, #06b6d4)",
|
|
60
|
+
"--gradient-purple": "linear-gradient(135deg, #4c1d95, #8b5cf6)",
|
|
61
|
+
"--gradient-page-bg": "linear-gradient(180deg, #06061a 0%, #080828 40%, #0a0a2c 100%)",
|
|
62
|
+
"--glass-bg": "rgba(8, 8, 36, 0.82)",
|
|
63
|
+
"--glass-border": "rgba(34, 211, 238, 0.06)"
|
|
64
|
+
};
|
|
65
|
+
var lightTheme = {
|
|
66
|
+
"--bg-primary": "#ffffff",
|
|
67
|
+
"--bg-secondary": "#f8faff",
|
|
68
|
+
"--bg-tertiary": "#f0f5ff",
|
|
69
|
+
"--surface": "#ffffff",
|
|
70
|
+
"--surface-hover": "#f8faff",
|
|
71
|
+
"--surface-elevated": "#ffffff",
|
|
72
|
+
"--border": "rgba(37, 99, 235, 0.08)",
|
|
73
|
+
"--border-light": "rgba(0, 0, 0, 0.04)",
|
|
74
|
+
"--border-accent": "rgba(37, 99, 235, 0.18)",
|
|
75
|
+
"--text-primary": "#0a0a1a",
|
|
76
|
+
"--text-secondary": "#52527a",
|
|
77
|
+
"--text-muted": "#8a8aaa",
|
|
78
|
+
"--accent": "#2563eb",
|
|
79
|
+
"--accent-light": "#3b82f6",
|
|
80
|
+
"--accent-dark": "#1d4ed8",
|
|
81
|
+
"--accent-gradient": "linear-gradient(135deg, #2563eb, #3b82f6)",
|
|
82
|
+
"--accent-subtle": "rgba(37, 99, 235, 0.08)",
|
|
83
|
+
"--accent-green": "#10b981",
|
|
84
|
+
"--accent-orange": "#f59e0b",
|
|
85
|
+
"--accent-pink": "#ec4899",
|
|
86
|
+
"--accent-cyan": "#06b6d4",
|
|
87
|
+
"--accent-purple": "#8b5cf6",
|
|
88
|
+
"--success": "#10b981",
|
|
89
|
+
"--warning": "#f59e0b",
|
|
90
|
+
"--error": "#ef4444",
|
|
91
|
+
"--gradient-blue": "linear-gradient(135deg, #dbeafe, #3b82f6)",
|
|
92
|
+
"--gradient-green": "linear-gradient(135deg, #d1fae5, #10b981)",
|
|
93
|
+
"--gradient-orange": "linear-gradient(135deg, #fef3c7, #f59e0b)",
|
|
94
|
+
"--gradient-pink": "linear-gradient(135deg, #fce7f3, #ec4899)",
|
|
95
|
+
"--gradient-cyan": "linear-gradient(135deg, #cffafe, #06b6d4)",
|
|
96
|
+
"--gradient-purple": "linear-gradient(135deg, #ede9fe, #8b5cf6)",
|
|
97
|
+
"--gradient-page-bg": "linear-gradient(180deg, #ffffff 0%, #f8faff 40%, #f0f5ff 100%)",
|
|
98
|
+
"--glass-bg": "rgba(255, 255, 255, 0.72)",
|
|
99
|
+
"--glass-border": "rgba(255, 255, 255, 0.25)"
|
|
100
|
+
};
|
|
101
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
102
|
+
0 && (module.exports = {
|
|
103
|
+
darkTheme,
|
|
104
|
+
lightTheme
|
|
105
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
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/index.ts
|
|
21
|
+
var utils_exports = {};
|
|
22
|
+
__export(utils_exports, {
|
|
23
|
+
cn: () => cn
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(utils_exports);
|
|
26
|
+
|
|
27
|
+
// src/utils/cn.ts
|
|
28
|
+
var import_clsx = require("clsx");
|
|
29
|
+
var import_tailwind_merge = require("tailwind-merge");
|
|
30
|
+
function cn(...inputs) {
|
|
31
|
+
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
32
|
+
}
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
cn
|
|
36
|
+
});
|