soliq-design-system 1.0.2

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.
Files changed (38) hide show
  1. package/dist/NotFound/NotFound.d.ts +20 -0
  2. package/dist/NotFound/NotFound.js +56 -0
  3. package/dist/NotFound/NotFound.styles.d.ts +1 -0
  4. package/dist/NotFound/NotFound.styles.js +346 -0
  5. package/dist/NotFound/index.d.ts +1 -0
  6. package/dist/NotFound/index.js +1 -0
  7. package/dist/NotFound.d.ts +1 -0
  8. package/dist/NotFound.js +1 -0
  9. package/dist/SessionExpired/SessionExpired.d.ts +20 -0
  10. package/dist/SessionExpired/SessionExpired.js +56 -0
  11. package/dist/SessionExpired/SessionExpired.styles.d.ts +1 -0
  12. package/dist/SessionExpired/SessionExpired.styles.js +355 -0
  13. package/dist/SessionExpired/index.d.ts +1 -0
  14. package/dist/SessionExpired/index.js +1 -0
  15. package/dist/SessionExpired.d.ts +1 -0
  16. package/dist/SessionExpired.js +1 -0
  17. package/dist/SoliqLoader/SoliqLoader.d.ts +10 -0
  18. package/dist/SoliqLoader/SoliqLoader.js +12 -0
  19. package/dist/SoliqLoader/SoliqLoader.styles.d.ts +1 -0
  20. package/dist/SoliqLoader/SoliqLoader.styles.js +347 -0
  21. package/dist/SoliqLoader/index.d.ts +1 -0
  22. package/dist/SoliqLoader/index.js +1 -0
  23. package/dist/SoliqLoader.d.ts +1 -0
  24. package/dist/SoliqLoader.js +1 -0
  25. package/dist/ThemeToggleTransition/ThemeToggleTransition.d.ts +9 -0
  26. package/dist/ThemeToggleTransition/ThemeToggleTransition.js +86 -0
  27. package/dist/ThemeToggleTransition/ThemeToggleTransition.styles.d.ts +1 -0
  28. package/dist/ThemeToggleTransition/ThemeToggleTransition.styles.js +454 -0
  29. package/dist/ThemeToggleTransition/index.d.ts +1 -0
  30. package/dist/ThemeToggleTransition/index.js +1 -0
  31. package/dist/ThemeToggleTransition.d.ts +1 -0
  32. package/dist/ThemeToggleTransition.js +1 -0
  33. package/dist/assets/images/logo.svg +9 -0
  34. package/dist/assets/images/moon.svg +13 -0
  35. package/dist/assets/images/sun.svg +73 -0
  36. package/dist/index.d.ts +4 -0
  37. package/dist/index.js +4 -0
  38. package/package.json +31 -0
@@ -0,0 +1,347 @@
1
+ export const styles = `
2
+ .soliq-loader {
3
+ --bg: #F8FAFC;
4
+ --primary: #0B4F8A;
5
+ --gold: #D8C1AA;
6
+ --ring: rgba(11, 79, 138, 0.22);
7
+ --text: #0B4F8A;
8
+ --sub: rgba(11, 79, 138, 0.45);
9
+ --divider: rgba(11, 79, 138, 0.12);
10
+ position: relative;
11
+ width: 100%;
12
+ height: 100%;
13
+ min-height: 420px;
14
+ width: 100%;
15
+ overflow: hidden;
16
+ background: var(--bg);
17
+ transition: background 0.4s;
18
+ font-family: Outfit, Inter, system-ui, sans-serif;
19
+ display: flex;
20
+ align-items: center;
21
+ justify-content: center;
22
+ opacity: 1;
23
+ visibility: visible;
24
+ pointer-events: auto;
25
+ transition: opacity var(--loader-fade-duration, 380ms) ease, visibility 0s linear 0s;
26
+ }
27
+
28
+ .soliq-loader--fullscreen {
29
+ position: fixed;
30
+ inset: 0;
31
+ width: 100vw;
32
+ height: 100vh;
33
+ min-height: 100vh;
34
+ z-index: 9999;
35
+ border: none;
36
+ border-radius: 0;
37
+ }
38
+
39
+ .soliq-loader--hidden {
40
+ opacity: 0;
41
+ visibility: hidden;
42
+ pointer-events: none;
43
+ transition: opacity var(--loader-fade-duration, 380ms) ease, visibility 0s linear var(--loader-fade-duration, 380ms);
44
+ }
45
+
46
+ .soliq-loader[data-mode="dark"] {
47
+ --bg: #020F25;
48
+ --primary: #5B7FBF;
49
+ --gold: #D8C1AA;
50
+ --ring: rgba(216, 193, 170, 0.25);
51
+ --text: #CBD5E1;
52
+ --sub: rgba(203, 213, 225, 0.45);
53
+ --divider: rgba(216, 193, 170, 0.18);
54
+ }
55
+
56
+ @media (prefers-color-scheme: dark) {
57
+ .soliq-loader[data-mode="auto"] {
58
+ --bg: #020F25;
59
+ --primary: #5B7FBF;
60
+ --gold: #D8C1AA;
61
+ --ring: rgba(216, 193, 170, 0.25);
62
+ --text: #CBD5E1;
63
+ --sub: rgba(203, 213, 225, 0.45);
64
+ --divider: rgba(216, 193, 170, 0.18);
65
+ }
66
+ }
67
+
68
+ .soliq-loader__glow {
69
+ position: absolute;
70
+ width: 460px;
71
+ height: 460px;
72
+ border-radius: 50%;
73
+ background: radial-gradient(circle, rgba(11, 79, 138, 0.12) 0%, transparent 70%);
74
+ pointer-events: none;
75
+ }
76
+
77
+ .soliq-loader[data-mode="dark"] .soliq-loader__glow {
78
+ background: radial-gradient(circle, rgba(11, 79, 138, 0.16) 0%, transparent 70%);
79
+ }
80
+
81
+ @media (prefers-color-scheme: dark) {
82
+ .soliq-loader[data-mode="auto"] .soliq-loader__glow {
83
+ background: radial-gradient(circle, rgba(11, 79, 138, 0.16) 0%, transparent 70%);
84
+ }
85
+ }
86
+
87
+ .soliq-loader__pulse-wrap {
88
+ position: absolute;
89
+ width: 180px;
90
+ height: 180px;
91
+ top: 50%;
92
+ left: 50%;
93
+ margin-top: -90px;
94
+ margin-left: -90px;
95
+ pointer-events: none;
96
+ }
97
+
98
+ .soliq-loader__pulse {
99
+ position: absolute;
100
+ inset: 0;
101
+ border-radius: 50%;
102
+ border: 1px solid var(--ring);
103
+ animation: pulse 2.8s ease-out infinite;
104
+ opacity: 0;
105
+ }
106
+
107
+ .soliq-loader__pulse--1 { animation-delay: 0.8s; }
108
+ .soliq-loader__pulse--2 { animation-delay: 1.6s; }
109
+ .soliq-loader__pulse--3 { animation-delay: 2.4s; }
110
+
111
+ .soliq-loader__rings {
112
+ position: absolute;
113
+ top: 50%;
114
+ left: 50%;
115
+ transform: translate(-50%, -50%);
116
+ pointer-events: none;
117
+ animation: fade-in 0.8s 0.4s both;
118
+ }
119
+
120
+ .soliq-loader__ring-inner {
121
+ animation: spin-ccw 18s linear infinite;
122
+ transform-origin: 98px 98px;
123
+ }
124
+
125
+ .soliq-loader__ring-outer {
126
+ animation: spin-cw 28s linear infinite;
127
+ transform-origin: 98px 98px;
128
+ }
129
+
130
+ .soliq-loader__card {
131
+ position: relative;
132
+ z-index: 3;
133
+ display: flex;
134
+ flex-direction: column;
135
+ align-items: center;
136
+ animation: card-in 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) both;
137
+ }
138
+
139
+ .soliq-loader__logo-wrap {
140
+ width: 96px;
141
+ height: 84px;
142
+ position: relative;
143
+ overflow: hidden;
144
+ animation: logo-scale 0.7s 0.15s cubic-bezier(0.25, 0.1, 0.25, 1) both;
145
+ }
146
+
147
+ .soliq-loader__mark {
148
+ width: 96px;
149
+ height: 84px;
150
+ display: block;
151
+ }
152
+
153
+ .soliq-loader__logo-clip {
154
+ animation: reveal-down 1.1s 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
155
+ }
156
+
157
+ .soliq-loader__divider {
158
+ width: 1px;
159
+ height: 20px;
160
+ background: var(--divider);
161
+ margin: 15px 0;
162
+ animation: divider-in 0.5s 1.4s both;
163
+ transform-origin: top;
164
+ }
165
+
166
+ .soliq-loader__title {
167
+ margin: 0 0 5px;
168
+ color: var(--text);
169
+ font-family: Outfit, sans-serif;
170
+ font-size: 13px;
171
+ font-weight: 500;
172
+ letter-spacing: 0.06em;
173
+ text-transform: uppercase;
174
+ animation: text-in 0.6s 1.5s ease-out both;
175
+ }
176
+
177
+ .soliq-loader__subtitle {
178
+ color: var(--sub);
179
+ font-family: Inter, sans-serif;
180
+ font-size: 10px;
181
+ font-weight: 400;
182
+ letter-spacing: 0.08em;
183
+ text-transform: uppercase;
184
+ margin-top: 6px;
185
+ animation: text-in 0.6s 1.85s ease-out both;
186
+ }
187
+
188
+ .soliq-loader__dots {
189
+ display: flex;
190
+ gap: 6px;
191
+ align-items: center;
192
+ margin-top: 24px;
193
+ }
194
+
195
+ .soliq-loader__dot {
196
+ width: 4px;
197
+ height: 4px;
198
+ border-radius: 50%;
199
+ background: var(--ring);
200
+ animation: dot-pulse 1.4s ease-in-out infinite both;
201
+ }
202
+
203
+ .soliq-loader__dot:nth-child(1) { animation-delay: 2s; }
204
+ .soliq-loader__dot:nth-child(2) { animation-delay: 2.18s; }
205
+ .soliq-loader__dot:nth-child(3) { animation-delay: 2.36s; }
206
+
207
+ .soliq-loader__progress-track {
208
+ position: absolute;
209
+ bottom: 0;
210
+ left: 0;
211
+ right: 0;
212
+ height: 1px;
213
+ background: rgba(0, 0, 0, 0.05);
214
+ }
215
+
216
+ .soliq-loader[data-mode="dark"] .soliq-loader__progress-track {
217
+ background: rgba(255, 255, 255, 0.04);
218
+ }
219
+
220
+ @media (prefers-color-scheme: dark) {
221
+ .soliq-loader[data-mode="auto"] .soliq-loader__progress-track {
222
+ background: rgba(255, 255, 255, 0.04);
223
+ }
224
+ }
225
+
226
+ .soliq-loader__progress-fill {
227
+ height: 100%;
228
+ width: 0;
229
+ background: linear-gradient(90deg, transparent, var(--gold), var(--primary));
230
+ animation: progress-fill 3.5s 0.1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
231
+ }
232
+
233
+ @keyframes card-in {
234
+ from {
235
+ opacity: 0;
236
+ transform: translateY(12px);
237
+ }
238
+ to {
239
+ opacity: 1;
240
+ transform: translateY(0);
241
+ }
242
+ }
243
+
244
+ @keyframes logo-scale {
245
+ from {
246
+ opacity: 0;
247
+ transform: scale(0.88);
248
+ }
249
+ to {
250
+ opacity: 1;
251
+ transform: scale(1);
252
+ }
253
+ }
254
+
255
+ @keyframes reveal-down {
256
+ from { clip-path: inset(0 0 100% 0); }
257
+ to { clip-path: inset(0 0 0 0); }
258
+ }
259
+
260
+ @keyframes divider-in {
261
+ from {
262
+ opacity: 0;
263
+ transform: scaleY(0);
264
+ }
265
+ to {
266
+ opacity: 1;
267
+ transform: scaleY(1);
268
+ }
269
+ }
270
+
271
+ @keyframes text-in {
272
+ from {
273
+ opacity: 0;
274
+ transform: translateY(6px);
275
+ }
276
+ to {
277
+ opacity: 1;
278
+ transform: translateY(0);
279
+ }
280
+ }
281
+
282
+ @keyframes dot-pulse {
283
+ 0%, 100% {
284
+ opacity: 0.3;
285
+ transform: scale(0.7);
286
+ }
287
+ 50% {
288
+ opacity: 1;
289
+ transform: scale(1);
290
+ }
291
+ }
292
+
293
+ @keyframes pulse {
294
+ 0% {
295
+ transform: scale(0.6);
296
+ opacity: 0.85;
297
+ }
298
+ 100% {
299
+ transform: scale(1.6);
300
+ opacity: 0;
301
+ }
302
+ }
303
+
304
+ @keyframes fade-in {
305
+ from { opacity: 0; }
306
+ to { opacity: 1; }
307
+ }
308
+
309
+ @keyframes spin-cw {
310
+ to { transform: rotate(360deg); }
311
+ }
312
+
313
+ @keyframes spin-ccw {
314
+ to { transform: rotate(-360deg); }
315
+ }
316
+
317
+ @keyframes progress-fill {
318
+ from { width: 0; }
319
+ to { width: 100%; }
320
+ }
321
+
322
+ @media (prefers-reduced-motion: reduce) {
323
+ .soliq-loader__pulse,
324
+ .soliq-loader__ring-inner,
325
+ .soliq-loader__ring-outer,
326
+ .soliq-loader__card,
327
+ .soliq-loader__logo-wrap,
328
+ .soliq-loader__logo-clip,
329
+ .soliq-loader__divider,
330
+ .soliq-loader__title,
331
+ .soliq-loader__subtitle,
332
+ .soliq-loader__dot,
333
+ .soliq-loader__progress-fill {
334
+ animation: none !important;
335
+ transition: none !important;
336
+ }
337
+
338
+ .soliq-loader__logo-clip,
339
+ .soliq-loader__title,
340
+ .soliq-loader__subtitle,
341
+ .soliq-loader__divider,
342
+ .soliq-loader__card,
343
+ .soliq-loader__logo-wrap {
344
+ opacity: 1;
345
+ }
346
+ }
347
+ `;
@@ -0,0 +1 @@
1
+ export * from "./SoliqLoader";
@@ -0,0 +1 @@
1
+ export * from "./SoliqLoader";
@@ -0,0 +1 @@
1
+ export * from "./SoliqLoader/index";
@@ -0,0 +1 @@
1
+ export * from "./SoliqLoader/index";
@@ -0,0 +1,9 @@
1
+ type ThemeMode = "light" | "dark";
2
+ type InitialTheme = ThemeMode | "auto";
3
+ export interface ThemeToggleTransitionProps {
4
+ initialTheme?: InitialTheme;
5
+ className?: string;
6
+ onThemeChange?: (theme: ThemeMode) => void;
7
+ }
8
+ export declare function ThemeToggleTransition({ initialTheme, className, onThemeChange }: ThemeToggleTransitionProps): import("react").JSX.Element;
9
+ export {};
@@ -0,0 +1,86 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { useEffect, useMemo, useRef, useState } from "react";
3
+ import moonIconUrl from "../assets/images/moon.svg";
4
+ import sunIconUrl from "../assets/images/sun.svg";
5
+ import { styles } from "./ThemeToggleTransition.styles";
6
+ export function ThemeToggleTransition({ initialTheme = "auto", className, onThemeChange }) {
7
+ const reduceMotion = useMemo(() => typeof window !== "undefined" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, []);
8
+ const [theme, setTheme] = useState("light");
9
+ const [targetTheme, setTargetTheme] = useState("light");
10
+ const [isTransitioning, setIsTransitioning] = useState(false);
11
+ const [isClosing, setIsClosing] = useState(false);
12
+ const timersRef = useRef([]);
13
+ const sparkleSeeds = useMemo(() => [
14
+ { x: "16%", y: "32%", delay: "110ms" },
15
+ { x: "24%", y: "68%", delay: "220ms" },
16
+ { x: "38%", y: "24%", delay: "320ms" },
17
+ { x: "50%", y: "78%", delay: "470ms" },
18
+ { x: "62%", y: "22%", delay: "560ms" },
19
+ { x: "74%", y: "66%", delay: "710ms" },
20
+ { x: "84%", y: "38%", delay: "840ms" }
21
+ ], []);
22
+ const userClass = className ? ` ${className}` : "";
23
+ useEffect(() => {
24
+ const root = document.documentElement;
25
+ const resolvedTheme = initialTheme === "auto"
26
+ ? window.matchMedia("(prefers-color-scheme: dark)").matches
27
+ ? "dark"
28
+ : "light"
29
+ : initialTheme;
30
+ setTheme(resolvedTheme);
31
+ setTargetTheme(resolvedTheme);
32
+ root.setAttribute("data-soliq-theme", resolvedTheme);
33
+ }, [initialTheme]);
34
+ useEffect(() => {
35
+ return () => {
36
+ timersRef.current.forEach((timerId) => window.clearTimeout(timerId));
37
+ timersRef.current = [];
38
+ };
39
+ }, []);
40
+ const applyTheme = (nextTheme) => {
41
+ document.documentElement.setAttribute("data-soliq-theme", nextTheme);
42
+ };
43
+ const clearTimers = () => {
44
+ timersRef.current.forEach((timerId) => window.clearTimeout(timerId));
45
+ timersRef.current = [];
46
+ };
47
+ const handleToggle = () => {
48
+ if (isTransitioning) {
49
+ return;
50
+ }
51
+ const nextTheme = theme === "dark" ? "light" : "dark";
52
+ if (reduceMotion) {
53
+ setTheme(nextTheme);
54
+ setTargetTheme(nextTheme);
55
+ applyTheme(nextTheme);
56
+ onThemeChange?.(nextTheme);
57
+ return;
58
+ }
59
+ clearTimers();
60
+ setTargetTheme(nextTheme);
61
+ setIsTransitioning(true);
62
+ setIsClosing(false);
63
+ timersRef.current.push(window.setTimeout(() => {
64
+ applyTheme(nextTheme);
65
+ }, 420));
66
+ timersRef.current.push(window.setTimeout(() => {
67
+ setIsClosing(true);
68
+ }, 1520));
69
+ timersRef.current.push(window.setTimeout(() => {
70
+ setTheme(nextTheme);
71
+ setIsTransitioning(false);
72
+ setIsClosing(false);
73
+ onThemeChange?.(nextTheme);
74
+ }, 1940));
75
+ };
76
+ const buttonTheme = isTransitioning ? targetTheme : theme;
77
+ const nextThemeLabel = theme === "dark" ? "Light" : "Dark";
78
+ return (_jsxs(_Fragment, { children: [_jsx("style", { children: styles }), _jsx("button", { className: `soliq-theme-toggle${userClass}`, "data-theme": buttonTheme, type: "button", onClick: handleToggle, "aria-label": `${nextThemeLabel} theme yoqish`, children: _jsx("span", { className: "soliq-theme-toggle__icon-wrap", "aria-hidden": "true", children: _jsx("img", { className: "soliq-theme-toggle__icon", src: buttonTheme === "dark" ? moonIconUrl : sunIconUrl, alt: "" }) }) }), isTransitioning && (_jsxs("div", { className: `soliq-theme-transition-overlay${isClosing ? " soliq-theme-transition-overlay--closing" : ""}`, "data-target": targetTheme, "aria-hidden": "true", children: [_jsx("div", { className: "soliq-theme-transition-overlay__veil" }), _jsx("div", { className: "soliq-theme-transition-overlay__wave soliq-theme-transition-overlay__wave--1" }), _jsx("div", { className: "soliq-theme-transition-overlay__wave soliq-theme-transition-overlay__wave--2" }), _jsx("div", { className: "soliq-theme-transition-overlay__wave soliq-theme-transition-overlay__wave--3" }), _jsx("div", { className: "soliq-theme-transition-overlay__flare" }), _jsxs("div", { className: "soliq-theme-transition-overlay__icon-shell", "data-target": targetTheme, children: [_jsx("span", { className: "soliq-theme-transition-overlay__orbit soliq-theme-transition-overlay__orbit--a" }), _jsx("span", { className: "soliq-theme-transition-overlay__orbit soliq-theme-transition-overlay__orbit--b" }), _jsx("img", { className: "soliq-theme-transition-overlay__icon", src: targetTheme === "dark" ? moonIconUrl : sunIconUrl, alt: "" })] }), _jsx("p", { className: "soliq-theme-transition-overlay__status", children: targetTheme === "dark" ? "NIGHT MODE" : "DAY MODE" }), _jsx("div", { className: "soliq-theme-transition-overlay__sparkles", children: sparkleSeeds.map((seed) => {
79
+ const sparkleStyle = {
80
+ "--spark-x": seed.x,
81
+ "--spark-y": seed.y,
82
+ "--spark-delay": seed.delay
83
+ };
84
+ return _jsx("span", { className: "soliq-theme-transition-overlay__sparkle", style: sparkleStyle }, `${seed.x}-${seed.y}`);
85
+ }) })] }))] }));
86
+ }
@@ -0,0 +1 @@
1
+ export declare const styles = "\n:root {\n --soliq-theme-bg: #f8fafc;\n --soliq-theme-surface: #ffffff;\n --soliq-theme-text: #0f172a;\n --soliq-theme-subtle: #64748b;\n --soliq-theme-accent: #d8c1aa;\n --soliq-theme-glow: rgba(11, 79, 138, 0.24);\n --soliq-theme-sunrise-1: #ffd7a1;\n --soliq-theme-sunrise-2: #ffb36b;\n --soliq-theme-sunrise-3: #ff8f7c;\n --soliq-theme-sunrise-4: #ffdcb4;\n}\n\n:root[data-soliq-theme=\"dark\"] {\n --soliq-theme-bg: #020f25;\n --soliq-theme-surface: #0c1d38;\n --soliq-theme-text: #d7e5f4;\n --soliq-theme-subtle: #8ba3c3;\n --soliq-theme-accent: #d8c1aa;\n --soliq-theme-glow: rgba(94, 143, 205, 0.26);\n}\n\nbody {\n background: var(--soliq-theme-bg);\n color: var(--soliq-theme-text);\n transition: background-color 900ms cubic-bezier(0.22, 1, 0.36, 1), color 900ms cubic-bezier(0.22, 1, 0.36, 1);\n}\n\n.soliq-theme-toggle {\n position: relative;\n z-index: 1;\n display: inline-block;\n width: 46px;\n height: 25px;\n border: 0;\n border-radius: 999px;\n padding: 0;\n background: #d1d5db;\n color: #ffffff;\n cursor: pointer;\n transition: background-color 260ms ease, transform 160ms ease;\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);\n}\n\n.soliq-theme-toggle[data-theme=\"light\"] {\n background: #d1d5db;\n}\n\n.soliq-theme-toggle[data-theme=\"dark\"] {\n background: #bfc4cc;\n}\n\n.soliq-theme-toggle:hover {\n transform: translateY(-1px);\n}\n\n.soliq-theme-toggle:active {\n transform: translateY(0);\n}\n\n.soliq-theme-toggle:focus-visible {\n outline: 2px solid rgba(11, 79, 138, 0.38);\n outline-offset: 2px;\n}\n\n.soliq-theme-toggle__icon-wrap {\n position: absolute;\n top: 2px;\n left: 2px;\n width: 21px;\n height: 21px;\n border-radius: 999px;\n display: grid;\n place-items: center;\n background: #fde68a;\n box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);\n transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), background-color 280ms ease;\n}\n\n.soliq-theme-toggle[data-theme=\"dark\"] .soliq-theme-toggle__icon-wrap {\n transform: translateX(21px);\n background: #f8fafc;\n}\n\n.soliq-theme-toggle[data-theme=\"light\"] .soliq-theme-toggle__icon-wrap {\n transform: translateX(0);\n background: #fde68a;\n}\n\n.soliq-theme-toggle__icon {\n width: 12px;\n height: 12px;\n display: block;\n object-fit: contain;\n}\n\n.soliq-theme-transition-overlay {\n position: fixed;\n inset: 0;\n z-index: 10000;\n display: grid;\n place-items: center;\n pointer-events: none;\n opacity: 0;\n overflow: hidden;\n animation: overlay-fade-in 340ms ease forwards;\n}\n\n.soliq-theme-transition-overlay[data-target=\"dark\"] {\n background:\n radial-gradient(circle at 50% 46%, rgba(11, 48, 96, 0.28), rgba(2, 15, 37, 0.93) 64%),\n linear-gradient(145deg, rgba(3, 18, 41, 0.86), rgba(1, 7, 22, 0.96));\n}\n\n.soliq-theme-transition-overlay[data-target=\"light\"] {\n background:\n radial-gradient(circle at 50% 45%, rgba(255, 194, 116, 0.4), rgba(255, 244, 224, 0.92) 58%),\n linear-gradient(145deg, rgba(255, 249, 236, 0.98), rgba(255, 224, 191, 0.9) 56%, rgba(255, 200, 154, 0.84));\n}\n\n.soliq-theme-transition-overlay[data-target=\"light\"] .soliq-theme-transition-overlay__veil {\n background: radial-gradient(circle at 50% 50%, rgba(255, 195, 118, 0.45), transparent 58%);\n}\n\n.soliq-theme-transition-overlay__veil {\n position: absolute;\n inset: 0;\n opacity: 0;\n background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.24), transparent 55%);\n animation: veil-breath 1240ms ease-out 90ms both;\n}\n\n.soliq-theme-transition-overlay__wave {\n position: absolute;\n width: 44vmax;\n height: 44vmax;\n border-radius: 50%;\n border: 1px solid rgba(216, 193, 170, 0.5);\n mix-blend-mode: screen;\n}\n\n.soliq-theme-transition-overlay__wave--1 {\n animation: overlay-wave-1 1580ms cubic-bezier(0.22, 1, 0.36, 1) 20ms both;\n}\n\n.soliq-theme-transition-overlay__wave--2 {\n width: 38vmax;\n height: 38vmax;\n border-color: rgba(139, 163, 195, 0.5);\n animation: overlay-wave-2 1480ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;\n}\n\n.soliq-theme-transition-overlay__wave--3 {\n width: 50vmax;\n height: 50vmax;\n border-color: rgba(255, 255, 255, 0.3);\n animation: overlay-wave-3 1720ms cubic-bezier(0.22, 1, 0.36, 1) 220ms both;\n}\n\n.soliq-theme-transition-overlay[data-target=\"light\"] .soliq-theme-transition-overlay__wave--1 {\n border-color: rgba(255, 171, 86, 0.56);\n}\n\n.soliq-theme-transition-overlay[data-target=\"light\"] .soliq-theme-transition-overlay__wave--2 {\n border-color: rgba(255, 147, 124, 0.45);\n}\n\n.soliq-theme-transition-overlay[data-target=\"light\"] .soliq-theme-transition-overlay__wave--3 {\n border-color: rgba(255, 220, 177, 0.52);\n}\n\n.soliq-theme-transition-overlay__flare {\n position: absolute;\n width: 58vmax;\n height: 58vmax;\n border-radius: 50%;\n background: radial-gradient(circle, rgba(216, 193, 170, 0.22), transparent 66%);\n filter: blur(4px);\n opacity: 0;\n animation: flare-pulse 1300ms ease-out 150ms both;\n}\n\n.soliq-theme-transition-overlay[data-target=\"light\"] .soliq-theme-transition-overlay__flare {\n background: radial-gradient(circle, rgba(255, 167, 82, 0.34), transparent 68%);\n}\n\n.soliq-theme-transition-overlay__icon-shell {\n position: relative;\n width: 142px;\n height: 142px;\n border-radius: 50%;\n display: grid;\n place-items: center;\n border: none;\n box-shadow: none;\n animation: icon-shell-in 780ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;\n}\n\n.soliq-theme-transition-overlay__icon-shell[data-target=\"dark\"] {\n border: none;\n}\n\n.soliq-theme-transition-overlay__icon-shell[data-target=\"light\"] {\n border: none;\n}\n\n.soliq-theme-transition-overlay__orbit {\n position: absolute;\n border-radius: 50%;\n border: 1px dashed rgba(255, 255, 255, 0.28);\n opacity: 0;\n}\n\n.soliq-theme-transition-overlay__orbit--a {\n width: 166px;\n height: 166px;\n animation: orbit-spin-a 1400ms linear 120ms both;\n}\n\n.soliq-theme-transition-overlay__orbit--b {\n width: 194px;\n height: 194px;\n border-color: rgba(216, 193, 170, 0.3);\n animation: orbit-spin-b 1600ms linear 160ms both;\n}\n\n.soliq-theme-transition-overlay[data-target=\"light\"] .soliq-theme-transition-overlay__orbit--a {\n border-color: rgba(255, 189, 114, 0.46);\n}\n\n.soliq-theme-transition-overlay[data-target=\"light\"] .soliq-theme-transition-overlay__orbit--b {\n border-color: rgba(255, 155, 124, 0.36);\n}\n\n.soliq-theme-transition-overlay__icon {\n width: 50px;\n height: 50px;\n color: #d8c1aa;\n display: block;\n object-fit: contain;\n filter: drop-shadow(0 6px 18px rgba(216, 193, 170, 0.35));\n animation: icon-pop 860ms cubic-bezier(0.22, 1, 0.36, 1) 200ms both;\n}\n\n.soliq-theme-transition-overlay__status {\n position: absolute;\n bottom: max(9vh, 74px);\n margin: 0;\n font-size: 13px;\n letter-spacing: 0.28em;\n text-transform: uppercase;\n font-weight: 600;\n color: color-mix(in srgb, var(--soliq-theme-text) 84%, transparent);\n opacity: 0;\n animation: status-in 820ms ease 380ms both;\n}\n\n.soliq-theme-transition-overlay[data-target=\"light\"] .soliq-theme-transition-overlay__status {\n color: rgba(131, 74, 36, 0.85);\n}\n\n.soliq-theme-transition-overlay__sparkles {\n position: absolute;\n inset: 0;\n}\n\n.soliq-theme-transition-overlay__sparkle {\n position: absolute;\n left: var(--spark-x);\n top: var(--spark-y);\n width: 7px;\n height: 7px;\n border-radius: 50%;\n background: color-mix(in srgb, var(--soliq-theme-accent) 75%, #ffffff);\n box-shadow: 0 0 12px color-mix(in srgb, var(--soliq-theme-accent) 75%, transparent);\n opacity: 0;\n transform: scale(0.2);\n animation: sparkle-in 940ms ease-out var(--spark-delay) both;\n}\n\n.soliq-theme-transition-overlay[data-target=\"light\"] .soliq-theme-transition-overlay__sparkle {\n background: rgba(255, 163, 88, 0.95);\n box-shadow: 0 0 14px rgba(255, 167, 96, 0.65);\n}\n\n.soliq-theme-transition-overlay--closing {\n animation: overlay-fade-out 420ms ease forwards;\n}\n\n@keyframes overlay-fade-in {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n\n@keyframes overlay-fade-out {\n from { opacity: 1; }\n to { opacity: 0; }\n}\n\n@keyframes veil-breath {\n from {\n opacity: 0;\n }\n to {\n opacity: 0.82;\n }\n}\n\n@keyframes overlay-wave-1 {\n from {\n transform: scale(0.2);\n opacity: 0.7;\n }\n to {\n transform: scale(1.55);\n opacity: 0;\n }\n}\n\n@keyframes overlay-wave-2 {\n from {\n transform: scale(0.15);\n opacity: 0.68;\n }\n to {\n transform: scale(1.62);\n opacity: 0;\n }\n}\n\n@keyframes overlay-wave-3 {\n from {\n transform: scale(0.1);\n opacity: 0.62;\n }\n to {\n transform: scale(1.5);\n opacity: 0;\n }\n}\n\n@keyframes icon-shell-in {\n from {\n opacity: 0;\n transform: translateY(-16px) scale(0.88);\n }\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n }\n}\n\n@keyframes icon-pop {\n from {\n opacity: 0;\n transform: scale(0.75) rotate(-16deg);\n }\n to {\n opacity: 1;\n transform: scale(1) rotate(0deg);\n }\n}\n\n@keyframes flare-pulse {\n 0% {\n opacity: 0;\n transform: scale(0.4);\n }\n 40% {\n opacity: 0.8;\n }\n 100% {\n opacity: 0;\n transform: scale(1.3);\n }\n}\n\n@keyframes orbit-spin-a {\n 0% {\n opacity: 0;\n transform: scale(0.7) rotate(0deg);\n }\n 25% {\n opacity: 0.55;\n }\n 100% {\n opacity: 0;\n transform: scale(1) rotate(180deg);\n }\n}\n\n@keyframes orbit-spin-b {\n 0% {\n opacity: 0;\n transform: scale(0.6) rotate(0deg);\n }\n 32% {\n opacity: 0.48;\n }\n 100% {\n opacity: 0;\n transform: scale(1) rotate(-160deg);\n }\n}\n\n@keyframes status-in {\n from {\n opacity: 0;\n transform: translateY(10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n@keyframes sparkle-in {\n 0% {\n opacity: 0;\n transform: scale(0.2);\n }\n 30% {\n opacity: 1;\n transform: scale(1);\n }\n 100% {\n opacity: 0;\n transform: scale(0.45);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n body,\n .soliq-theme-toggle,\n .soliq-theme-transition-overlay,\n .soliq-theme-transition-overlay__veil,\n .soliq-theme-transition-overlay__wave,\n .soliq-theme-transition-overlay__flare,\n .soliq-theme-transition-overlay__icon-shell,\n .soliq-theme-transition-overlay__orbit,\n .soliq-theme-transition-overlay__icon {\n animation: none !important;\n transition: none !important;\n }\n\n .soliq-theme-transition-overlay__status,\n .soliq-theme-transition-overlay__sparkle {\n animation: none !important;\n opacity: 1;\n transform: none;\n }\n}\n";