@cossistant/react 0.0.13 → 0.0.16
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/hooks/index.d.ts +2 -1
- package/hooks/index.js +2 -1
- package/hooks/use-home-page.js +1 -1
- package/hooks/use-home-page.js.map +1 -1
- package/hooks/use-scroll-mask.d.ts +24 -0
- package/hooks/use-scroll-mask.d.ts.map +1 -0
- package/hooks/use-scroll-mask.js +90 -0
- package/hooks/use-scroll-mask.js.map +1 -0
- package/hooks/use-send-message.js +1 -1
- package/hooks/use-send-message.js.map +1 -1
- package/index.d.ts +7 -2
- package/index.js +9 -5
- package/package.json +3 -3
- package/parse.d.ts.map +1 -1
- package/primitives/bubble.d.ts +10 -2
- package/primitives/bubble.d.ts.map +1 -1
- package/primitives/bubble.js +11 -3
- package/primitives/bubble.js.map +1 -1
- package/primitives/conversation-timeline.d.ts.map +1 -1
- package/primitives/conversation-timeline.js +10 -20
- package/primitives/conversation-timeline.js.map +1 -1
- package/primitives/index.d.ts +5 -2
- package/primitives/index.js +11 -3
- package/primitives/index.parts.d.ts +4 -1
- package/primitives/index.parts.js +5 -2
- package/primitives/page-registry.d.ts +30 -0
- package/primitives/page-registry.d.ts.map +1 -0
- package/primitives/page-registry.js +45 -0
- package/primitives/page-registry.js.map +1 -0
- package/primitives/page.d.ts +21 -0
- package/primitives/page.d.ts.map +1 -0
- package/primitives/page.js +18 -0
- package/primitives/page.js.map +1 -0
- package/primitives/router.d.ts +35 -0
- package/primitives/router.d.ts.map +1 -0
- package/primitives/router.js +22 -0
- package/primitives/router.js.map +1 -0
- package/primitives/window.d.ts +8 -3
- package/primitives/window.d.ts.map +1 -1
- package/primitives/window.js +8 -3
- package/primitives/window.js.map +1 -1
- package/realtime/index.js +1 -1
- package/realtime/provider.js +1 -1
- package/realtime/support-provider.js +0 -4
- package/realtime/support-provider.js.map +1 -1
- package/realtime-events.d.ts +1 -1
- package/schemas2.d.ts.map +1 -1
- package/support/components/avatar-stack.js +1 -1
- package/support/components/avatar-stack.js.map +1 -1
- package/support/components/bubble.js +1 -1
- package/support/components/bubble.js.map +1 -1
- package/support/components/button.d.ts +1 -1
- package/support/components/button.js +3 -3
- package/support/components/button.js.map +1 -1
- package/support/components/container.js +1 -1
- package/support/components/container.js.map +1 -1
- package/support/components/conversation-timeline.js +1 -1
- package/support/components/conversation-timeline.js.map +1 -1
- package/support/components/multimodal-input.js +2 -2
- package/support/components/multimodal-input.js.map +1 -1
- package/support/components/support-content.d.ts +5 -7
- package/support/components/support-content.d.ts.map +1 -1
- package/support/components/support-content.js +9 -11
- package/support/components/support-content.js.map +1 -1
- package/support/components/theme-wrapper.d.ts +15 -0
- package/support/components/theme-wrapper.d.ts.map +1 -0
- package/support/components/theme-wrapper.js +18 -0
- package/support/components/theme-wrapper.js.map +1 -0
- package/support/components/timeline-identification-tool.js +2 -2
- package/support/components/timeline-identification-tool.js.map +1 -1
- package/support/components/watermark.js +2 -2
- package/support/components/watermark.js.map +1 -1
- package/support/index.d.ts +36 -6
- package/support/index.d.ts.map +1 -1
- package/support/index.js +43 -20
- package/support/index.js.map +1 -1
- package/support/pages/articles.d.ts +4 -1
- package/support/pages/articles.d.ts.map +1 -1
- package/support/pages/articles.js +1 -1
- package/support/pages/articles.js.map +1 -1
- package/support/pages/conversation-history.d.ts +5 -10
- package/support/pages/conversation-history.d.ts.map +1 -1
- package/support/pages/conversation-history.js +2 -9
- package/support/pages/conversation-history.js.map +1 -1
- package/support/pages/conversation.d.ts +17 -12
- package/support/pages/conversation.d.ts.map +1 -1
- package/support/pages/conversation.js +5 -2
- package/support/pages/conversation.js.map +1 -1
- package/support/pages/home.d.ts +5 -12
- package/support/pages/home.d.ts.map +1 -1
- package/support/pages/home.js +3 -12
- package/support/pages/home.js.map +1 -1
- package/support/router.d.ts +9 -4
- package/support/router.d.ts.map +1 -1
- package/support/router.js +34 -15
- package/support/router.js.map +1 -1
- package/support/store/support-store.d.ts +17 -14
- package/support/store/support-store.d.ts.map +1 -1
- package/support/store/support-store.js +13 -10
- package/support/store/support-store.js.map +1 -1
- package/support/{support-DfYemt9I.css → support-BQhCt9Za.css} +80 -128
- package/support/support-BQhCt9Za.css.map +1 -0
- package/support/types.d.ts +28 -0
- package/support/types.d.ts.map +1 -0
- package/support/types.js +1 -0
- package/support.css +1 -1
- package/tailwind.css +79 -127
- package/utils/conversation.d.ts.map +1 -1
- package/utils/conversation.js +3 -1
- package/utils/conversation.js.map +1 -1
- package/utils/use-render-element.d.ts.map +1 -1
- package/zod-extensions.d.ts.map +1 -1
- package/index4.d.ts +0 -18
- package/index4.d.ts.map +0 -1
- package/index5.d.ts +0 -999
- package/index5.d.ts.map +0 -1
- package/index6.d.ts +0 -6
- package/react.d.ts +0 -4
- package/support/components/text-effect.d.ts +0 -53
- package/support/components/text-effect.d.ts.map +0 -1
- package/support/components/text-effect.js +0 -225
- package/support/components/text-effect.js.map +0 -1
- package/support/support-DfYemt9I.css.map +0 -1
- package/types.d-BJcRxCew.d.ts +0 -39
- package/types.d-BJcRxCew.d.ts.map +0 -1
|
@@ -5,74 +5,50 @@
|
|
|
5
5
|
@source "./components";
|
|
6
6
|
@source "./pages";
|
|
7
7
|
|
|
8
|
-
@
|
|
8
|
+
@plugin 'tailwind-scrollbar';
|
|
9
9
|
|
|
10
10
|
@layer base {
|
|
11
11
|
.cossistant {
|
|
12
|
-
@apply border-co-border;
|
|
13
12
|
@apply scroll-smooth;
|
|
13
|
+
@apply text-co-primary;
|
|
14
14
|
|
|
15
15
|
color-scheme: inherit;
|
|
16
16
|
|
|
17
17
|
/* Typeface tokens */
|
|
18
|
-
--co-font-sans: var(
|
|
19
|
-
--co-theme-font-sans,
|
|
20
|
-
var(--font-sans, "Geist", "Inter", sans-serif)
|
|
21
|
-
);
|
|
18
|
+
--co-font-sans: var(--co-theme-font-sans, "Geist", "Inter", sans-serif);
|
|
22
19
|
--co-font-mono: var(
|
|
23
20
|
--co-theme-font-mono,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
--co-border-color: var(
|
|
28
|
-
--co-theme-border-color,
|
|
29
|
-
var(--color-border, oklch(92.2% 0 0))
|
|
21
|
+
"Geist Mono",
|
|
22
|
+
"Inter Mono",
|
|
23
|
+
monospace
|
|
30
24
|
);
|
|
31
25
|
|
|
32
26
|
/* Core surfaces */
|
|
33
|
-
--co-radius: var(--co-theme-radius,
|
|
34
|
-
--co-background-base: var(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
);
|
|
38
|
-
--co-foreground-base: var(
|
|
39
|
-
--co-theme-foreground,
|
|
40
|
-
var(--foreground, oklch(14.5% 0 0))
|
|
41
|
-
);
|
|
42
|
-
--co-popover-base: var(
|
|
43
|
-
--co-theme-popover,
|
|
44
|
-
var(--popover, var(--co-background-base))
|
|
45
|
-
);
|
|
27
|
+
--co-radius: var(--co-theme-radius, 0.625rem);
|
|
28
|
+
--co-background-base: var(--co-theme-background, oklch(99% 0 0));
|
|
29
|
+
--co-foreground-base: var(--co-theme-foreground, oklch(20.5% 0 0));
|
|
30
|
+
--co-popover-base: var(--co-theme-popover, var(--co-background-base));
|
|
46
31
|
--co-popover-foreground-base: var(
|
|
47
32
|
--co-theme-popover-foreground,
|
|
48
|
-
var(--
|
|
49
|
-
);
|
|
50
|
-
--co-primary-base: var(
|
|
51
|
-
--co-theme-primary,
|
|
52
|
-
var(--primary, oklch(20.5% 0 0))
|
|
33
|
+
var(--co-foreground-base)
|
|
53
34
|
);
|
|
35
|
+
--co-primary-base: var(--co-theme-primary, oklch(14.5% 0 0));
|
|
54
36
|
--co-primary-foreground-base: var(
|
|
55
37
|
--co-theme-primary-foreground,
|
|
56
|
-
|
|
57
|
-
);
|
|
58
|
-
--co-secondary-base: var(
|
|
59
|
-
--co-theme-secondary,
|
|
60
|
-
var(--secondary, oklch(97% 0 0))
|
|
38
|
+
oklch(98.5% 0 0)
|
|
61
39
|
);
|
|
40
|
+
--co-secondary-base: var(--co-theme-secondary, oklch(97% 0 0));
|
|
62
41
|
--co-secondary-foreground-base: var(
|
|
63
42
|
--co-theme-secondary-foreground,
|
|
64
|
-
|
|
65
|
-
);
|
|
66
|
-
--co-border-base: var(--co-theme-border, var(--border, oklch(92.2% 0 0)));
|
|
67
|
-
--co-input-base: var(--co-theme-input, var(--input, oklch(92.2% 0 0)));
|
|
68
|
-
--co-ring-base: var(--co-theme-ring, var(--ring, var(--co-primary-base)));
|
|
69
|
-
--co-accent-base: var(
|
|
70
|
-
--co-theme-accent,
|
|
71
|
-
var(--accent, var(--co-primary-base))
|
|
43
|
+
oklch(14.5% 0 0)
|
|
72
44
|
);
|
|
45
|
+
--co-border-base: var(--co-theme-border, oklch(92.2% 0 0));
|
|
46
|
+
--co-input-base: var(--co-theme-input, oklch(92.2% 0 0));
|
|
47
|
+
--co-ring-base: var(--co-theme-ring, var(--co-primary-base));
|
|
48
|
+
--co-accent-base: var(--co-theme-accent, var(--co-primary-base));
|
|
73
49
|
--co-accent-foreground-base: var(
|
|
74
50
|
--co-theme-accent-foreground,
|
|
75
|
-
var(--
|
|
51
|
+
var(--co-primary-foreground-base)
|
|
76
52
|
);
|
|
77
53
|
|
|
78
54
|
/* Neutral shades derived from the background */
|
|
@@ -162,13 +138,10 @@
|
|
|
162
138
|
--co-primary-foreground: var(--co-primary-foreground-base);
|
|
163
139
|
--co-secondary: var(--co-secondary-base);
|
|
164
140
|
--co-secondary-foreground: var(--co-secondary-foreground-base);
|
|
165
|
-
--co-muted: var(
|
|
166
|
-
--co-theme-muted,
|
|
167
|
-
var(--muted, var(--co-muted-mix, oklch(97% 0 0)))
|
|
168
|
-
);
|
|
141
|
+
--co-muted: var(--co-theme-muted, var(--co-muted-mix, oklch(97% 0 0)));
|
|
169
142
|
--co-muted-foreground: var(
|
|
170
143
|
--co-theme-muted-foreground,
|
|
171
|
-
var(--
|
|
144
|
+
var(--co-muted-foreground-mix, oklch(55.6% 0 0))
|
|
172
145
|
);
|
|
173
146
|
--co-border: var(--co-border-base);
|
|
174
147
|
--co-input: var(--co-input-base);
|
|
@@ -203,57 +176,78 @@
|
|
|
203
176
|
--co-theme-warning-foreground,
|
|
204
177
|
oklch(41.4% 0.071 99)
|
|
205
178
|
);
|
|
179
|
+
|
|
180
|
+
/* Tailwind theme mapping - scoped to widget */
|
|
181
|
+
@theme inline {
|
|
182
|
+
--font-co-sans: var(--co-font-sans);
|
|
183
|
+
--font-co-mono: var(--co-font-mono);
|
|
184
|
+
--color-co-background: var(--co-background);
|
|
185
|
+
--color-co-background-50: var(--co-background-50);
|
|
186
|
+
--color-co-background-100: var(--co-background-100);
|
|
187
|
+
--color-co-background-200: var(--co-background-200);
|
|
188
|
+
--color-co-background-300: var(--co-background-300);
|
|
189
|
+
--color-co-background-400: var(--co-background-400);
|
|
190
|
+
--color-co-background-500: var(--co-background-500);
|
|
191
|
+
--color-co-background-600: var(--co-background-600);
|
|
192
|
+
|
|
193
|
+
--color-co-foreground: var(--co-foreground);
|
|
194
|
+
|
|
195
|
+
--color-co-primary: var(--co-primary);
|
|
196
|
+
--color-co-primary-foreground: var(--co-primary-foreground);
|
|
197
|
+
--color-co-secondary: var(--co-secondary);
|
|
198
|
+
--color-co-secondary-foreground: var(--co-secondary-foreground);
|
|
199
|
+
--color-co-muted: var(--co-muted);
|
|
200
|
+
--color-co-muted-foreground: var(--co-muted-foreground);
|
|
201
|
+
--color-co-border: var(--co-border);
|
|
202
|
+
--color-co-input: var(--co-input);
|
|
203
|
+
--color-co-ring: var(--co-ring);
|
|
204
|
+
--radius-co: var(--co-radius);
|
|
205
|
+
|
|
206
|
+
/* custom colors */
|
|
207
|
+
--color-co-pink: var(--co-pink);
|
|
208
|
+
--color-co-yellow: var(--co-yellow);
|
|
209
|
+
--color-co-blue: var(--co-blue);
|
|
210
|
+
--color-co-orange: var(--co-orange);
|
|
211
|
+
|
|
212
|
+
/* status colors */
|
|
213
|
+
--color-co-destructive: var(--co-destructive);
|
|
214
|
+
--color-co-destructive-foreground: var(--co-destructive-foreground);
|
|
215
|
+
--color-co-success: var(--co-success);
|
|
216
|
+
--color-co-success-foreground: var(--co-success-foreground);
|
|
217
|
+
--color-co-neutral: var(--co-neutral);
|
|
218
|
+
--color-co-neutral-foreground: var(--co-neutral-foreground);
|
|
219
|
+
--color-co-warning: var(--co-warning);
|
|
220
|
+
--color-co-warning-foreground: var(--co-warning-foreground);
|
|
221
|
+
}
|
|
206
222
|
}
|
|
207
223
|
|
|
208
224
|
.dark .cossistant,
|
|
209
225
|
.cossistant[data-color-scheme="dark"] {
|
|
210
|
-
/*
|
|
211
|
-
--co-background-base: var(
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
);
|
|
215
|
-
--co-foreground-base: var(
|
|
216
|
-
--co-theme-foreground,
|
|
217
|
-
var(--foreground, oklch(98.5% 0 0))
|
|
218
|
-
);
|
|
219
|
-
--co-border-color: var(
|
|
220
|
-
--co-theme-border-color,
|
|
221
|
-
var(--color-border, oklch(26.9% 0 0))
|
|
222
|
-
);
|
|
223
|
-
--co-popover-base: var(
|
|
224
|
-
--co-theme-popover,
|
|
225
|
-
var(--popover, oklch(14.5% 0 0))
|
|
226
|
-
);
|
|
226
|
+
/* Dark mode defaults */
|
|
227
|
+
--co-background-base: var(--co-theme-background, oklch(15.5% 0 0));
|
|
228
|
+
--co-foreground-base: var(--co-theme-foreground, oklch(95% 0 0));
|
|
229
|
+
--co-popover-base: var(--co-theme-popover, oklch(14.5% 0 0));
|
|
227
230
|
--co-popover-foreground-base: var(
|
|
228
231
|
--co-theme-popover-foreground,
|
|
229
|
-
|
|
230
|
-
);
|
|
231
|
-
--co-primary-base: var(
|
|
232
|
-
--co-theme-primary,
|
|
233
|
-
var(--primary, oklch(98.5% 0 0))
|
|
232
|
+
oklch(95% 0 0)
|
|
234
233
|
);
|
|
234
|
+
--co-primary-base: var(--co-theme-primary, oklch(98.5% 0 0));
|
|
235
235
|
--co-primary-foreground-base: var(
|
|
236
236
|
--co-theme-primary-foreground,
|
|
237
|
-
|
|
238
|
-
);
|
|
239
|
-
--co-secondary-base: var(
|
|
240
|
-
--co-theme-secondary,
|
|
241
|
-
var(--secondary, oklch(26.9% 0 0))
|
|
237
|
+
oklch(14.5% 0 0)
|
|
242
238
|
);
|
|
239
|
+
--co-secondary-base: var(--co-theme-secondary, oklch(26.9% 0 0));
|
|
243
240
|
--co-secondary-foreground-base: var(
|
|
244
241
|
--co-theme-secondary-foreground,
|
|
245
|
-
|
|
246
|
-
);
|
|
247
|
-
--co-border-base: var(--co-theme-border, var(--border, oklch(26.9% 0 0)));
|
|
248
|
-
--co-input-base: var(--co-theme-input, var(--input, oklch(26.9% 0 0)));
|
|
249
|
-
--co-ring-base: var(--co-theme-ring, var(--ring, var(--co-primary-base)));
|
|
250
|
-
--co-accent-base: var(
|
|
251
|
-
--co-theme-accent,
|
|
252
|
-
var(--accent, var(--co-primary-base))
|
|
242
|
+
oklch(95% 0 0)
|
|
253
243
|
);
|
|
244
|
+
--co-border-base: var(--co-theme-border, oklch(26.9% 0 0));
|
|
245
|
+
--co-input-base: var(--co-theme-input, oklch(26.9% 0 0));
|
|
246
|
+
--co-ring-base: var(--co-theme-ring, var(--co-primary-base));
|
|
247
|
+
--co-accent-base: var(--co-theme-accent, var(--co-primary-base));
|
|
254
248
|
--co-accent-foreground-base: var(
|
|
255
249
|
--co-theme-accent-foreground,
|
|
256
|
-
var(--
|
|
250
|
+
var(--co-primary-foreground-base)
|
|
257
251
|
);
|
|
258
252
|
|
|
259
253
|
--co-muted-mix: color-mix(
|
|
@@ -328,48 +322,6 @@
|
|
|
328
322
|
}
|
|
329
323
|
}
|
|
330
324
|
|
|
331
|
-
@theme inline {
|
|
332
|
-
--font-co-sans: var(--co-font-sans);
|
|
333
|
-
--font-co-mono: var(--co-font-mono);
|
|
334
|
-
--color-co-background: var(--co-background);
|
|
335
|
-
--color-co-background-50: var(--co-background-50);
|
|
336
|
-
--color-co-background-100: var(--co-background-100);
|
|
337
|
-
--color-co-background-200: var(--co-background-200);
|
|
338
|
-
--color-co-background-300: var(--co-background-300);
|
|
339
|
-
--color-co-background-400: var(--co-background-400);
|
|
340
|
-
--color-co-background-500: var(--co-background-500);
|
|
341
|
-
--color-co-background-600: var(--co-background-600);
|
|
342
|
-
|
|
343
|
-
--color-co-foreground: var(--co-foreground);
|
|
344
|
-
|
|
345
|
-
--color-co-primary: var(--co-primary);
|
|
346
|
-
--color-co-primary-foreground: var(--co-primary-foreground);
|
|
347
|
-
--color-co-secondary: var(--co-secondary);
|
|
348
|
-
--color-co-secondary-foreground: var(--co-secondary-foreground);
|
|
349
|
-
--color-co-muted: var(--co-muted);
|
|
350
|
-
--color-co-muted-foreground: var(--co-muted-foreground);
|
|
351
|
-
--color-co-border: var(--co-border);
|
|
352
|
-
--color-co-input: var(--co-input);
|
|
353
|
-
--color-co-ring: var(--co-ring);
|
|
354
|
-
--radius-co: var(--co-radius);
|
|
355
|
-
|
|
356
|
-
/* custom colors */
|
|
357
|
-
--color-co-pink: var(--co-pink);
|
|
358
|
-
--color-co-yellow: var(--co-yellow);
|
|
359
|
-
--color-co-blue: var(--co-blue);
|
|
360
|
-
--color-co-orange: var(--co-orange);
|
|
361
|
-
|
|
362
|
-
/* status colors */
|
|
363
|
-
--color-co-destructive: var(--co-destructive);
|
|
364
|
-
--color-co-destructive-foreground: var(--co-destructive-foreground);
|
|
365
|
-
--color-co-success: var(--co-success);
|
|
366
|
-
--color-co-success-foreground: var(--co-success-foreground);
|
|
367
|
-
--color-co-neutral: var(--co-neutral);
|
|
368
|
-
--color-co-neutral-foreground: var(--co-neutral-foreground);
|
|
369
|
-
--color-co-warning: var(--co-warning);
|
|
370
|
-
--color-co-warning-foreground: var(--co-warning-foreground);
|
|
371
|
-
}
|
|
372
|
-
|
|
373
325
|
@layer utilities {
|
|
374
326
|
.cossistant {
|
|
375
327
|
.animation-delay-0 {
|
|
@@ -411,4 +363,4 @@
|
|
|
411
363
|
}
|
|
412
364
|
|
|
413
365
|
|
|
414
|
-
/*# sourceMappingURL=support-
|
|
366
|
+
/*# sourceMappingURL=support-BQhCt9Za.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"support-BQhCt9Za.css","names":[],"sources":["../../src/support/support.css"],"sourcesContent":["/*\n* This indicates to tailwind to\n* compile classes from Cossistant with the host tailwind config\n*/\n@source \"./components\";\n@source \"./pages\";\n\n@plugin 'tailwind-scrollbar';\n\n@layer base {\n\t.cossistant {\n\t\t@apply scroll-smooth;\n\t\t@apply text-co-primary;\n\n\t\tcolor-scheme: inherit;\n\n\t\t/* Typeface tokens */\n\t\t--co-font-sans: var(--co-theme-font-sans, \"Geist\", \"Inter\", sans-serif);\n\t\t--co-font-mono: var(\n\t\t\t--co-theme-font-mono,\n\t\t\t\"Geist Mono\",\n\t\t\t\"Inter Mono\",\n\t\t\tmonospace\n\t\t);\n\n\t\t/* Core surfaces */\n\t\t--co-radius: var(--co-theme-radius, 0.625rem);\n\t\t--co-background-base: var(--co-theme-background, oklch(99% 0 0));\n\t\t--co-foreground-base: var(--co-theme-foreground, oklch(20.5% 0 0));\n\t\t--co-popover-base: var(--co-theme-popover, var(--co-background-base));\n\t\t--co-popover-foreground-base: var(\n\t\t\t--co-theme-popover-foreground,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-primary-base: var(--co-theme-primary, oklch(14.5% 0 0));\n\t\t--co-primary-foreground-base: var(\n\t\t\t--co-theme-primary-foreground,\n\t\t\toklch(98.5% 0 0)\n\t\t);\n\t\t--co-secondary-base: var(--co-theme-secondary, oklch(97% 0 0));\n\t\t--co-secondary-foreground-base: var(\n\t\t\t--co-theme-secondary-foreground,\n\t\t\toklch(14.5% 0 0)\n\t\t);\n\t\t--co-border-base: var(--co-theme-border, oklch(92.2% 0 0));\n\t\t--co-input-base: var(--co-theme-input, oklch(92.2% 0 0));\n\t\t--co-ring-base: var(--co-theme-ring, var(--co-primary-base));\n\t\t--co-accent-base: var(--co-theme-accent, var(--co-primary-base));\n\t\t--co-accent-foreground-base: var(\n\t\t\t--co-theme-accent-foreground,\n\t\t\tvar(--co-primary-foreground-base)\n\t\t);\n\n\t\t/* Neutral shades derived from the background */\n\t\t--co-background-50-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 98%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-background-100-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 97%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-background-200-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 96%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-background-300-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 95%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-background-400-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 94%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-background-500-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 93%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-background-600-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 92%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\n\t\t/* Muted tones */\n\t\t--co-muted-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 85%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-muted-foreground-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-foreground-base) 70%,\n\t\t\twhite\n\t\t);\n\n\t\t/* Public tokens consumed by Tailwind theme */\n\t\t--co-background: var(--co-background-base);\n\t\t--co-background-50: var(\n\t\t\t--co-theme-background-50,\n\t\t\tvar(--co-background-50-mix, oklch(92% 0 0))\n\t\t);\n\t\t--co-background-100: var(\n\t\t\t--co-theme-background-100,\n\t\t\tvar(--co-background-100-mix, oklch(93% 0 0))\n\t\t);\n\t\t--co-background-200: var(\n\t\t\t--co-theme-background-200,\n\t\t\tvar(--co-background-200-mix, oklch(94% 0 0))\n\t\t);\n\t\t--co-background-300: var(\n\t\t\t--co-theme-background-300,\n\t\t\tvar(--co-background-300-mix, oklch(95% 0 0))\n\t\t);\n\t\t--co-background-400: var(\n\t\t\t--co-theme-background-400,\n\t\t\tvar(--co-background-400-mix, oklch(96% 0 0))\n\t\t);\n\t\t--co-background-500: var(\n\t\t\t--co-theme-background-500,\n\t\t\tvar(--co-background-500-mix, oklch(97% 0 0))\n\t\t);\n\t\t--co-background-600: var(\n\t\t\t--co-theme-background-600,\n\t\t\tvar(--co-background-600-mix, oklch(98% 0 0))\n\t\t);\n\n\t\t--co-foreground: var(--co-foreground-base);\n\t\t--co-popover: var(--co-popover-base);\n\t\t--co-popover-foreground: var(--co-popover-foreground-base);\n\t\t--co-primary: var(--co-primary-base);\n\t\t--co-primary-foreground: var(--co-primary-foreground-base);\n\t\t--co-secondary: var(--co-secondary-base);\n\t\t--co-secondary-foreground: var(--co-secondary-foreground-base);\n\t\t--co-muted: var(--co-theme-muted, var(--co-muted-mix, oklch(97% 0 0)));\n\t\t--co-muted-foreground: var(\n\t\t\t--co-theme-muted-foreground,\n\t\t\tvar(--co-muted-foreground-mix, oklch(55.6% 0 0))\n\t\t);\n\t\t--co-border: var(--co-border-base);\n\t\t--co-input: var(--co-input-base);\n\t\t--co-ring: var(--co-ring-base);\n\t\t--co-accent: var(--co-accent-base);\n\t\t--co-accent-foreground: var(--co-accent-foreground-base);\n\n\t\t/* Accent palette */\n\t\t--co-pink: var(--co-theme-pink, oklch(76.3% 0.152 354));\n\t\t--co-yellow: var(--co-theme-yellow, oklch(86.4% 0.144 99));\n\t\t--co-blue: var(--co-theme-blue, oklch(72.5% 0.132 241));\n\t\t--co-orange: var(--co-theme-orange, oklch(74.5% 0.166 50));\n\n\t\t/* Status colors */\n\t\t--co-destructive: var(--co-theme-destructive, oklch(57.7% 0.245 27.325));\n\t\t--co-destructive-foreground: var(\n\t\t\t--co-theme-destructive-foreground,\n\t\t\toklch(57.7% 0.245 27.325)\n\t\t);\n\t\t--co-success: var(--co-theme-success, oklch(71.7% 0.18 142));\n\t\t--co-success-foreground: var(\n\t\t\t--co-theme-success-foreground,\n\t\t\toklch(26.5% 0.052 142.7)\n\t\t);\n\t\t--co-neutral: var(--co-theme-neutral, oklch(60.8% 0 0));\n\t\t--co-neutral-foreground: var(\n\t\t\t--co-theme-neutral-foreground,\n\t\t\toklch(25.6% 0 0)\n\t\t);\n\t\t--co-warning: var(--co-theme-warning, oklch(86.4% 0.144 99));\n\t\t--co-warning-foreground: var(\n\t\t\t--co-theme-warning-foreground,\n\t\t\toklch(41.4% 0.071 99)\n\t\t);\n\n\t\t/* Tailwind theme mapping - scoped to widget */\n\t\t@theme inline {\n\t\t\t--font-co-sans: var(--co-font-sans);\n\t\t\t--font-co-mono: var(--co-font-mono);\n\t\t\t--color-co-background: var(--co-background);\n\t\t\t--color-co-background-50: var(--co-background-50);\n\t\t\t--color-co-background-100: var(--co-background-100);\n\t\t\t--color-co-background-200: var(--co-background-200);\n\t\t\t--color-co-background-300: var(--co-background-300);\n\t\t\t--color-co-background-400: var(--co-background-400);\n\t\t\t--color-co-background-500: var(--co-background-500);\n\t\t\t--color-co-background-600: var(--co-background-600);\n\n\t\t\t--color-co-foreground: var(--co-foreground);\n\n\t\t\t--color-co-primary: var(--co-primary);\n\t\t\t--color-co-primary-foreground: var(--co-primary-foreground);\n\t\t\t--color-co-secondary: var(--co-secondary);\n\t\t\t--color-co-secondary-foreground: var(--co-secondary-foreground);\n\t\t\t--color-co-muted: var(--co-muted);\n\t\t\t--color-co-muted-foreground: var(--co-muted-foreground);\n\t\t\t--color-co-border: var(--co-border);\n\t\t\t--color-co-input: var(--co-input);\n\t\t\t--color-co-ring: var(--co-ring);\n\t\t\t--radius-co: var(--co-radius);\n\n\t\t\t/* custom colors */\n\t\t\t--color-co-pink: var(--co-pink);\n\t\t\t--color-co-yellow: var(--co-yellow);\n\t\t\t--color-co-blue: var(--co-blue);\n\t\t\t--color-co-orange: var(--co-orange);\n\n\t\t\t/* status colors */\n\t\t\t--color-co-destructive: var(--co-destructive);\n\t\t\t--color-co-destructive-foreground: var(--co-destructive-foreground);\n\t\t\t--color-co-success: var(--co-success);\n\t\t\t--color-co-success-foreground: var(--co-success-foreground);\n\t\t\t--color-co-neutral: var(--co-neutral);\n\t\t\t--color-co-neutral-foreground: var(--co-neutral-foreground);\n\t\t\t--color-co-warning: var(--co-warning);\n\t\t\t--color-co-warning-foreground: var(--co-warning-foreground);\n\t\t}\n\t}\n\n\t.dark .cossistant,\n\t.cossistant[data-color-scheme=\"dark\"] {\n\t\t/* Dark mode defaults */\n\t\t--co-background-base: var(--co-theme-background, oklch(15.5% 0 0));\n\t\t--co-foreground-base: var(--co-theme-foreground, oklch(95% 0 0));\n\t\t--co-popover-base: var(--co-theme-popover, oklch(14.5% 0 0));\n\t\t--co-popover-foreground-base: var(\n\t\t\t--co-theme-popover-foreground,\n\t\t\toklch(95% 0 0)\n\t\t);\n\t\t--co-primary-base: var(--co-theme-primary, oklch(98.5% 0 0));\n\t\t--co-primary-foreground-base: var(\n\t\t\t--co-theme-primary-foreground,\n\t\t\toklch(14.5% 0 0)\n\t\t);\n\t\t--co-secondary-base: var(--co-theme-secondary, oklch(26.9% 0 0));\n\t\t--co-secondary-foreground-base: var(\n\t\t\t--co-theme-secondary-foreground,\n\t\t\toklch(95% 0 0)\n\t\t);\n\t\t--co-border-base: var(--co-theme-border, oklch(26.9% 0 0));\n\t\t--co-input-base: var(--co-theme-input, oklch(26.9% 0 0));\n\t\t--co-ring-base: var(--co-theme-ring, var(--co-primary-base));\n\t\t--co-accent-base: var(--co-theme-accent, var(--co-primary-base));\n\t\t--co-accent-foreground-base: var(\n\t\t\t--co-theme-accent-foreground,\n\t\t\tvar(--co-primary-foreground-base)\n\t\t);\n\n\t\t--co-muted-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 55%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-muted-foreground-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-foreground-base) 65%,\n\t\t\twhite\n\t\t);\n\n\t\t--co-background-50-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 98%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-background-100-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 96%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-background-200-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 94%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-background-300-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 92%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-background-400-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 90%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-background-500-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 88%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\t\t--co-background-600-mix: color-mix(\n\t\t\tin oklch,\n\t\t\tvar(--co-background-base) 86%,\n\t\t\tvar(--co-foreground-base)\n\t\t);\n\n\t\t--co-pink: var(--co-theme-pink, oklch(84.2% 0.109 354));\n\t\t--co-yellow: var(--co-theme-yellow, oklch(90.3% 0.111 99));\n\t\t--co-blue: var(--co-theme-blue, oklch(79.8% 0.089 241));\n\t\t--co-orange: var(--co-theme-orange, oklch(68.2% 0.194 50));\n\n\t\t--co-destructive: var(--co-theme-destructive, oklch(39.6% 0.141 25.723));\n\t\t--co-destructive-foreground: var(\n\t\t\t--co-theme-destructive-foreground,\n\t\t\toklch(63.7% 0.237 25.331)\n\t\t);\n\t\t--co-success: var(--co-theme-success, oklch(60% 0.15 142));\n\t\t--co-success-foreground: var(\n\t\t\t--co-theme-success-foreground,\n\t\t\toklch(85% 0.12 142)\n\t\t);\n\t\t--co-neutral: var(--co-theme-neutral, oklch(50% 0 0));\n\t\t--co-neutral-foreground: var(--co-theme-neutral-foreground, oklch(85% 0 0));\n\t\t--co-warning: var(--co-theme-warning, oklch(90.3% 0.111 99));\n\t\t--co-warning-foreground: var(\n\t\t\t--co-theme-warning-foreground,\n\t\t\toklch(85% 0.1 99)\n\t\t);\n\t}\n}\n\n@layer utilities {\n\t.cossistant {\n\t\t.animation-delay-0 {\n\t\t\tanimation-delay: 0ms;\n\t\t}\n\t\t.animation-delay-200 {\n\t\t\tanimation-delay: 200ms;\n\t\t}\n\t\t.animation-delay-400 {\n\t\t\tanimation-delay: 400ms;\n\t\t}\n\n\t\t@keyframes bounce-dot {\n\t\t\t0%,\n\t\t\t80%,\n\t\t\t100% {\n\t\t\t\ttransform: translateY(0);\n\t\t\t}\n\t\t\t40% {\n\t\t\t\ttransform: translateY(-6px);\n\t\t\t}\n\t\t}\n\n\t\t.dot-bounce-1 {\n\t\t\tanimation: bounce-dot 1.4s infinite;\n\t\t\tanimation-delay: 0s;\n\t\t}\n\n\t\t.dot-bounce-2 {\n\t\t\tanimation: bounce-dot 1.4s infinite;\n\t\t\tanimation-delay: 0.16s;\n\t\t}\n\n\t\t.dot-bounce-3 {\n\t\t\tanimation: bounce-dot 1.4s infinite;\n\t\t\tanimation-delay: 0.32s;\n\t\t}\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/support/types.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Props for custom Bubble slot component
|
|
7
|
+
*/
|
|
8
|
+
type BubbleSlotProps = {
|
|
9
|
+
className?: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Props for custom Container slot component
|
|
13
|
+
*/
|
|
14
|
+
type ContainerSlotProps = {
|
|
15
|
+
className?: string;
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
position?: "top" | "bottom";
|
|
18
|
+
align?: "right" | "left";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Props for custom Router slot component
|
|
22
|
+
*/
|
|
23
|
+
type RouterSlotProps = {
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { BubbleSlotProps, ContainerSlotProps, RouterSlotProps };
|
|
28
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../src/support/types.ts"],"sourcesContent":[],"mappings":";;;;;;AAKA;AAOY,KAPA,eAAA,GAOkB;EAUlB,SAAA,CAAA,EAAA,MAAe;;;;;KAVf,kBAAA;;YAED,KAAA,CAAM;;;;;;;KAQL,eAAA;aACA,KAAA,CAAM"}
|
package/support/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/support.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
|
|
2
|
-
@layer base{.cossistant{border-color:var(--co-border);scroll-behavior:smooth;color-scheme:normal;--co-font-sans:var(--co-theme-font-sans,var(--font-sans,"Geist","Inter",sans-serif));--co-font-mono:var(--co-theme-font-mono,var(--font-mono,"Geist Mono","Inter Mono",monospace));--co-border-color:var(--co-theme-border-color,var(--color-border,oklch(92.2% 0 0)));--co-radius:var(--co-theme-radius,var(--radius,.625rem));--co-background-base:var(--co-theme-background,var(--background,oklch(99% 0 0)));--co-foreground-base:var(--co-theme-foreground,var(--foreground,oklch(14.5% 0 0)));--co-popover-base:var(--co-theme-popover,var(--popover,var(--co-background-base)));--co-popover-foreground-base:var(--co-theme-popover-foreground,var(--popover-foreground,var(--co-foreground-base)));--co-primary-base:var(--co-theme-primary,var(--primary,oklch(20.5% 0 0)));--co-primary-foreground-base:var(--co-theme-primary-foreground,var(--primary-foreground,oklch(98.5% 0 0)));--co-secondary-base:var(--co-theme-secondary,var(--secondary,oklch(97% 0 0)));--co-secondary-foreground-base:var(--co-theme-secondary-foreground,var(--secondary-foreground,oklch(20.5% 0 0)));--co-border-base:var(--co-theme-border,var(--border,oklch(92.2% 0 0)));--co-input-base:var(--co-theme-input,var(--input,oklch(92.2% 0 0)));--co-ring-base:var(--co-theme-ring,var(--ring,var(--co-primary-base)));--co-accent-base:var(--co-theme-accent,var(--accent,var(--co-primary-base)));--co-accent-foreground-base:var(--co-theme-accent-foreground,var(--accent-foreground,var(--co-primary-foreground-base)));--co-background-50-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-background-50-mix:color-mix(in oklch,var(--co-background-base)98%,var(--co-foreground-base))}}.cossistant{--co-background-100-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-background-100-mix:color-mix(in oklch,var(--co-background-base)97%,var(--co-foreground-base))}}.cossistant{--co-background-200-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-background-200-mix:color-mix(in oklch,var(--co-background-base)96%,var(--co-foreground-base))}}.cossistant{--co-background-300-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-background-300-mix:color-mix(in oklch,var(--co-background-base)95%,var(--co-foreground-base))}}.cossistant{--co-background-400-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-background-400-mix:color-mix(in oklch,var(--co-background-base)94%,var(--co-foreground-base))}}.cossistant{--co-background-500-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-background-500-mix:color-mix(in oklch,var(--co-background-base)93%,var(--co-foreground-base))}}.cossistant{--co-background-600-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-background-600-mix:color-mix(in oklch,var(--co-background-base)92%,var(--co-foreground-base))}}.cossistant{--co-muted-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-muted-mix:color-mix(in oklch,var(--co-background-base)85%,var(--co-foreground-base))}}.cossistant{--co-muted-foreground-mix:var(--co-foreground-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-muted-foreground-mix:color-mix(in oklch,var(--co-foreground-base)70%,white)}}.cossistant{--co-background:var(--co-background-base);--co-background-50:var(--co-theme-background-50,var(--co-background-50-mix,oklch(92% 0 0)));--co-background-100:var(--co-theme-background-100,var(--co-background-100-mix,oklch(93% 0 0)));--co-background-200:var(--co-theme-background-200,var(--co-background-200-mix,oklch(94% 0 0)));--co-background-300:var(--co-theme-background-300,var(--co-background-300-mix,oklch(95% 0 0)));--co-background-400:var(--co-theme-background-400,var(--co-background-400-mix,oklch(96% 0 0)));--co-background-500:var(--co-theme-background-500,var(--co-background-500-mix,oklch(97% 0 0)));--co-background-600:var(--co-theme-background-600,var(--co-background-600-mix,oklch(98% 0 0)));--co-foreground:var(--co-foreground-base);--co-popover:var(--co-popover-base);--co-popover-foreground:var(--co-popover-foreground-base);--co-primary:var(--co-primary-base);--co-primary-foreground:var(--co-primary-foreground-base);--co-secondary:var(--co-secondary-base);--co-secondary-foreground:var(--co-secondary-foreground-base);--co-muted:var(--co-theme-muted,var(--muted,var(--co-muted-mix,oklch(97% 0 0))));--co-muted-foreground:var(--co-theme-muted-foreground,var(--muted-foreground,var(--co-muted-foreground-mix,oklch(55.6% 0 0))));--co-border:var(--co-border-base);--co-input:var(--co-input-base);--co-ring:var(--co-ring-base);--co-accent:var(--co-accent-base);--co-accent-foreground:var(--co-accent-foreground-base);--co-pink:var(--co-theme-pink,oklch(76.3% .152 354));--co-yellow:var(--co-theme-yellow,oklch(86.4% .144 99));--co-blue:var(--co-theme-blue,oklch(72.5% .132 241));--co-orange:var(--co-theme-orange,oklch(74.5% .166 50));--co-destructive:var(--co-theme-destructive,oklch(57.7% .245 27.325));--co-destructive-foreground:var(--co-theme-destructive-foreground,oklch(57.7% .245 27.325));--co-success:var(--co-theme-success,oklch(71.7% .18 142));--co-success-foreground:var(--co-theme-success-foreground,oklch(26.5% .052 142.7));--co-neutral:var(--co-theme-neutral,oklch(60.8% 0 0));--co-neutral-foreground:var(--co-theme-neutral-foreground,oklch(25.6% 0 0));--co-warning:var(--co-theme-warning,oklch(86.4% .144 99));--co-warning-foreground:var(--co-theme-warning-foreground,oklch(41.4% .071 99))}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-base:var(--co-theme-background,var(--background,oklch(15.5% 0 0)));--co-foreground-base:var(--co-theme-foreground,var(--foreground,oklch(98.5% 0 0)));--co-border-color:var(--co-theme-border-color,var(--color-border,oklch(26.9% 0 0)));--co-popover-base:var(--co-theme-popover,var(--popover,oklch(14.5% 0 0)));--co-popover-foreground-base:var(--co-theme-popover-foreground,var(--popover-foreground,oklch(98.5% 0 0)));--co-primary-base:var(--co-theme-primary,var(--primary,oklch(98.5% 0 0)));--co-primary-foreground-base:var(--co-theme-primary-foreground,var(--primary-foreground,oklch(20.5% 0 0)));--co-secondary-base:var(--co-theme-secondary,var(--secondary,oklch(26.9% 0 0)));--co-secondary-foreground-base:var(--co-theme-secondary-foreground,var(--secondary-foreground,oklch(98.5% 0 0)));--co-border-base:var(--co-theme-border,var(--border,oklch(26.9% 0 0)));--co-input-base:var(--co-theme-input,var(--input,oklch(26.9% 0 0)));--co-ring-base:var(--co-theme-ring,var(--ring,var(--co-primary-base)));--co-accent-base:var(--co-theme-accent,var(--accent,var(--co-primary-base)));--co-accent-foreground-base:var(--co-theme-accent-foreground,var(--accent-foreground,var(--co-primary-foreground-base)));--co-muted-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-muted-mix:color-mix(in oklch,var(--co-background-base)55%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-muted-foreground-mix:var(--co-foreground-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-muted-foreground-mix:color-mix(in oklch,var(--co-foreground-base)65%,white)}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-50-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-50-mix:color-mix(in oklch,var(--co-background-base)98%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-100-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-100-mix:color-mix(in oklch,var(--co-background-base)96%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-200-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-200-mix:color-mix(in oklch,var(--co-background-base)94%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-300-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-300-mix:color-mix(in oklch,var(--co-background-base)92%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-400-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-400-mix:color-mix(in oklch,var(--co-background-base)90%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-500-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-500-mix:color-mix(in oklch,var(--co-background-base)88%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-600-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-600-mix:color-mix(in oklch,var(--co-background-base)86%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-pink:var(--co-theme-pink,oklch(84.2% .109 354));--co-yellow:var(--co-theme-yellow,oklch(90.3% .111 99));--co-blue:var(--co-theme-blue,oklch(79.8% .089 241));--co-orange:var(--co-theme-orange,oklch(68.2% .194 50));--co-destructive:var(--co-theme-destructive,oklch(39.6% .141 25.723));--co-destructive-foreground:var(--co-theme-destructive-foreground,oklch(63.7% .237 25.331));--co-success:var(--co-theme-success,oklch(60% .15 142));--co-success-foreground:var(--co-theme-success-foreground,oklch(85% .12 142));--co-neutral:var(--co-theme-neutral,oklch(50% 0 0));--co-neutral-foreground:var(--co-theme-neutral-foreground,oklch(85% 0 0));--co-warning:var(--co-theme-warning,oklch(90.3% .111 99));--co-warning-foreground:var(--co-theme-warning-foreground,oklch(85% .1 99))}}@layer utilities{.cossistant .animation-delay-0{animation-delay:0s}.cossistant .animation-delay-200{animation-delay:.2s}.cossistant .animation-delay-400{animation-delay:.4s}.cossistant .dot-bounce-1{animation:1.4s infinite bounce-dot}.cossistant .dot-bounce-2{animation:1.4s .16s infinite bounce-dot}.cossistant .dot-bounce-3{animation:1.4s .32s infinite bounce-dot}}
|
|
2
|
+
@layer base{.cossistant{scroll-behavior:smooth;color:var(--co-primary);color-scheme:normal;--co-font-sans:var(--co-theme-font-sans,"Geist","Inter",sans-serif);--co-font-mono:var(--co-theme-font-mono,"Geist Mono","Inter Mono",monospace);--co-radius:var(--co-theme-radius,.625rem);--co-background-base:var(--co-theme-background,oklch(99% 0 0));--co-foreground-base:var(--co-theme-foreground,oklch(20.5% 0 0));--co-popover-base:var(--co-theme-popover,var(--co-background-base));--co-popover-foreground-base:var(--co-theme-popover-foreground,var(--co-foreground-base));--co-primary-base:var(--co-theme-primary,oklch(14.5% 0 0));--co-primary-foreground-base:var(--co-theme-primary-foreground,oklch(98.5% 0 0));--co-secondary-base:var(--co-theme-secondary,oklch(97% 0 0));--co-secondary-foreground-base:var(--co-theme-secondary-foreground,oklch(14.5% 0 0));--co-border-base:var(--co-theme-border,oklch(92.2% 0 0));--co-input-base:var(--co-theme-input,oklch(92.2% 0 0));--co-ring-base:var(--co-theme-ring,var(--co-primary-base));--co-accent-base:var(--co-theme-accent,var(--co-primary-base));--co-accent-foreground-base:var(--co-theme-accent-foreground,var(--co-primary-foreground-base));--co-background-50-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-background-50-mix:color-mix(in oklch,var(--co-background-base)98%,var(--co-foreground-base))}}.cossistant{--co-background-100-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-background-100-mix:color-mix(in oklch,var(--co-background-base)97%,var(--co-foreground-base))}}.cossistant{--co-background-200-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-background-200-mix:color-mix(in oklch,var(--co-background-base)96%,var(--co-foreground-base))}}.cossistant{--co-background-300-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-background-300-mix:color-mix(in oklch,var(--co-background-base)95%,var(--co-foreground-base))}}.cossistant{--co-background-400-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-background-400-mix:color-mix(in oklch,var(--co-background-base)94%,var(--co-foreground-base))}}.cossistant{--co-background-500-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-background-500-mix:color-mix(in oklch,var(--co-background-base)93%,var(--co-foreground-base))}}.cossistant{--co-background-600-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-background-600-mix:color-mix(in oklch,var(--co-background-base)92%,var(--co-foreground-base))}}.cossistant{--co-muted-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-muted-mix:color-mix(in oklch,var(--co-background-base)85%,var(--co-foreground-base))}}.cossistant{--co-muted-foreground-mix:var(--co-foreground-base)}@supports (color:color-mix(in lab, red, red)){.cossistant{--co-muted-foreground-mix:color-mix(in oklch,var(--co-foreground-base)70%,white)}}.cossistant{--co-background:var(--co-background-base);--co-background-50:var(--co-theme-background-50,var(--co-background-50-mix,oklch(92% 0 0)));--co-background-100:var(--co-theme-background-100,var(--co-background-100-mix,oklch(93% 0 0)));--co-background-200:var(--co-theme-background-200,var(--co-background-200-mix,oklch(94% 0 0)));--co-background-300:var(--co-theme-background-300,var(--co-background-300-mix,oklch(95% 0 0)));--co-background-400:var(--co-theme-background-400,var(--co-background-400-mix,oklch(96% 0 0)));--co-background-500:var(--co-theme-background-500,var(--co-background-500-mix,oklch(97% 0 0)));--co-background-600:var(--co-theme-background-600,var(--co-background-600-mix,oklch(98% 0 0)));--co-foreground:var(--co-foreground-base);--co-popover:var(--co-popover-base);--co-popover-foreground:var(--co-popover-foreground-base);--co-primary:var(--co-primary-base);--co-primary-foreground:var(--co-primary-foreground-base);--co-secondary:var(--co-secondary-base);--co-secondary-foreground:var(--co-secondary-foreground-base);--co-muted:var(--co-theme-muted,var(--co-muted-mix,oklch(97% 0 0)));--co-muted-foreground:var(--co-theme-muted-foreground,var(--co-muted-foreground-mix,oklch(55.6% 0 0)));--co-border:var(--co-border-base);--co-input:var(--co-input-base);--co-ring:var(--co-ring-base);--co-accent:var(--co-accent-base);--co-accent-foreground:var(--co-accent-foreground-base);--co-pink:var(--co-theme-pink,oklch(76.3% .152 354));--co-yellow:var(--co-theme-yellow,oklch(86.4% .144 99));--co-blue:var(--co-theme-blue,oklch(72.5% .132 241));--co-orange:var(--co-theme-orange,oklch(74.5% .166 50));--co-destructive:var(--co-theme-destructive,oklch(57.7% .245 27.325));--co-destructive-foreground:var(--co-theme-destructive-foreground,oklch(57.7% .245 27.325));--co-success:var(--co-theme-success,oklch(71.7% .18 142));--co-success-foreground:var(--co-theme-success-foreground,oklch(26.5% .052 142.7));--co-neutral:var(--co-theme-neutral,oklch(60.8% 0 0));--co-neutral-foreground:var(--co-theme-neutral-foreground,oklch(25.6% 0 0));--co-warning:var(--co-theme-warning,oklch(86.4% .144 99));--co-warning-foreground:var(--co-theme-warning-foreground,oklch(41.4% .071 99))}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-base:var(--co-theme-background,oklch(15.5% 0 0));--co-foreground-base:var(--co-theme-foreground,oklch(95% 0 0));--co-popover-base:var(--co-theme-popover,oklch(14.5% 0 0));--co-popover-foreground-base:var(--co-theme-popover-foreground,oklch(95% 0 0));--co-primary-base:var(--co-theme-primary,oklch(98.5% 0 0));--co-primary-foreground-base:var(--co-theme-primary-foreground,oklch(14.5% 0 0));--co-secondary-base:var(--co-theme-secondary,oklch(26.9% 0 0));--co-secondary-foreground-base:var(--co-theme-secondary-foreground,oklch(95% 0 0));--co-border-base:var(--co-theme-border,oklch(26.9% 0 0));--co-input-base:var(--co-theme-input,oklch(26.9% 0 0));--co-ring-base:var(--co-theme-ring,var(--co-primary-base));--co-accent-base:var(--co-theme-accent,var(--co-primary-base));--co-accent-foreground-base:var(--co-theme-accent-foreground,var(--co-primary-foreground-base));--co-muted-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-muted-mix:color-mix(in oklch,var(--co-background-base)55%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-muted-foreground-mix:var(--co-foreground-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-muted-foreground-mix:color-mix(in oklch,var(--co-foreground-base)65%,white)}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-50-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-50-mix:color-mix(in oklch,var(--co-background-base)98%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-100-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-100-mix:color-mix(in oklch,var(--co-background-base)96%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-200-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-200-mix:color-mix(in oklch,var(--co-background-base)94%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-300-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-300-mix:color-mix(in oklch,var(--co-background-base)92%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-400-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-400-mix:color-mix(in oklch,var(--co-background-base)90%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-500-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-500-mix:color-mix(in oklch,var(--co-background-base)88%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-600-mix:var(--co-background-base)}@supports (color:color-mix(in lab, red, red)){.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-background-600-mix:color-mix(in oklch,var(--co-background-base)86%,var(--co-foreground-base))}}.dark .cossistant,.cossistant[data-color-scheme=dark]{--co-pink:var(--co-theme-pink,oklch(84.2% .109 354));--co-yellow:var(--co-theme-yellow,oklch(90.3% .111 99));--co-blue:var(--co-theme-blue,oklch(79.8% .089 241));--co-orange:var(--co-theme-orange,oklch(68.2% .194 50));--co-destructive:var(--co-theme-destructive,oklch(39.6% .141 25.723));--co-destructive-foreground:var(--co-theme-destructive-foreground,oklch(63.7% .237 25.331));--co-success:var(--co-theme-success,oklch(60% .15 142));--co-success-foreground:var(--co-theme-success-foreground,oklch(85% .12 142));--co-neutral:var(--co-theme-neutral,oklch(50% 0 0));--co-neutral-foreground:var(--co-theme-neutral-foreground,oklch(85% 0 0));--co-warning:var(--co-theme-warning,oklch(90.3% .111 99));--co-warning-foreground:var(--co-theme-warning-foreground,oklch(85% .1 99))}*{scrollbar-color:initial;scrollbar-width:initial}}@layer utilities{.cossistant .animation-delay-0{animation-delay:0s}.cossistant .animation-delay-200{animation-delay:.2s}.cossistant .animation-delay-400{animation-delay:.4s}.cossistant .dot-bounce-1{animation:1.4s infinite bounce-dot}.cossistant .dot-bounce-2{animation:1.4s .16s infinite bounce-dot}.cossistant .dot-bounce-3{animation:1.4s .32s infinite bounce-dot}}
|
package/tailwind.css
CHANGED
|
@@ -5,74 +5,50 @@
|
|
|
5
5
|
@source "./components";
|
|
6
6
|
@source "./pages";
|
|
7
7
|
|
|
8
|
-
@
|
|
8
|
+
@plugin 'tailwind-scrollbar';
|
|
9
9
|
|
|
10
10
|
@layer base {
|
|
11
11
|
.cossistant {
|
|
12
|
-
@apply border-co-border;
|
|
13
12
|
@apply scroll-smooth;
|
|
13
|
+
@apply text-co-primary;
|
|
14
14
|
|
|
15
15
|
color-scheme: inherit;
|
|
16
16
|
|
|
17
17
|
/* Typeface tokens */
|
|
18
|
-
--co-font-sans: var(
|
|
19
|
-
--co-theme-font-sans,
|
|
20
|
-
var(--font-sans, "Geist", "Inter", sans-serif)
|
|
21
|
-
);
|
|
18
|
+
--co-font-sans: var(--co-theme-font-sans, "Geist", "Inter", sans-serif);
|
|
22
19
|
--co-font-mono: var(
|
|
23
20
|
--co-theme-font-mono,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
--co-border-color: var(
|
|
28
|
-
--co-theme-border-color,
|
|
29
|
-
var(--color-border, oklch(92.2% 0 0))
|
|
21
|
+
"Geist Mono",
|
|
22
|
+
"Inter Mono",
|
|
23
|
+
monospace
|
|
30
24
|
);
|
|
31
25
|
|
|
32
26
|
/* Core surfaces */
|
|
33
|
-
--co-radius: var(--co-theme-radius,
|
|
34
|
-
--co-background-base: var(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
);
|
|
38
|
-
--co-foreground-base: var(
|
|
39
|
-
--co-theme-foreground,
|
|
40
|
-
var(--foreground, oklch(14.5% 0 0))
|
|
41
|
-
);
|
|
42
|
-
--co-popover-base: var(
|
|
43
|
-
--co-theme-popover,
|
|
44
|
-
var(--popover, var(--co-background-base))
|
|
45
|
-
);
|
|
27
|
+
--co-radius: var(--co-theme-radius, 0.625rem);
|
|
28
|
+
--co-background-base: var(--co-theme-background, oklch(99% 0 0));
|
|
29
|
+
--co-foreground-base: var(--co-theme-foreground, oklch(20.5% 0 0));
|
|
30
|
+
--co-popover-base: var(--co-theme-popover, var(--co-background-base));
|
|
46
31
|
--co-popover-foreground-base: var(
|
|
47
32
|
--co-theme-popover-foreground,
|
|
48
|
-
var(--
|
|
49
|
-
);
|
|
50
|
-
--co-primary-base: var(
|
|
51
|
-
--co-theme-primary,
|
|
52
|
-
var(--primary, oklch(20.5% 0 0))
|
|
33
|
+
var(--co-foreground-base)
|
|
53
34
|
);
|
|
35
|
+
--co-primary-base: var(--co-theme-primary, oklch(14.5% 0 0));
|
|
54
36
|
--co-primary-foreground-base: var(
|
|
55
37
|
--co-theme-primary-foreground,
|
|
56
|
-
|
|
57
|
-
);
|
|
58
|
-
--co-secondary-base: var(
|
|
59
|
-
--co-theme-secondary,
|
|
60
|
-
var(--secondary, oklch(97% 0 0))
|
|
38
|
+
oklch(98.5% 0 0)
|
|
61
39
|
);
|
|
40
|
+
--co-secondary-base: var(--co-theme-secondary, oklch(97% 0 0));
|
|
62
41
|
--co-secondary-foreground-base: var(
|
|
63
42
|
--co-theme-secondary-foreground,
|
|
64
|
-
|
|
65
|
-
);
|
|
66
|
-
--co-border-base: var(--co-theme-border, var(--border, oklch(92.2% 0 0)));
|
|
67
|
-
--co-input-base: var(--co-theme-input, var(--input, oklch(92.2% 0 0)));
|
|
68
|
-
--co-ring-base: var(--co-theme-ring, var(--ring, var(--co-primary-base)));
|
|
69
|
-
--co-accent-base: var(
|
|
70
|
-
--co-theme-accent,
|
|
71
|
-
var(--accent, var(--co-primary-base))
|
|
43
|
+
oklch(14.5% 0 0)
|
|
72
44
|
);
|
|
45
|
+
--co-border-base: var(--co-theme-border, oklch(92.2% 0 0));
|
|
46
|
+
--co-input-base: var(--co-theme-input, oklch(92.2% 0 0));
|
|
47
|
+
--co-ring-base: var(--co-theme-ring, var(--co-primary-base));
|
|
48
|
+
--co-accent-base: var(--co-theme-accent, var(--co-primary-base));
|
|
73
49
|
--co-accent-foreground-base: var(
|
|
74
50
|
--co-theme-accent-foreground,
|
|
75
|
-
var(--
|
|
51
|
+
var(--co-primary-foreground-base)
|
|
76
52
|
);
|
|
77
53
|
|
|
78
54
|
/* Neutral shades derived from the background */
|
|
@@ -162,13 +138,10 @@
|
|
|
162
138
|
--co-primary-foreground: var(--co-primary-foreground-base);
|
|
163
139
|
--co-secondary: var(--co-secondary-base);
|
|
164
140
|
--co-secondary-foreground: var(--co-secondary-foreground-base);
|
|
165
|
-
--co-muted: var(
|
|
166
|
-
--co-theme-muted,
|
|
167
|
-
var(--muted, var(--co-muted-mix, oklch(97% 0 0)))
|
|
168
|
-
);
|
|
141
|
+
--co-muted: var(--co-theme-muted, var(--co-muted-mix, oklch(97% 0 0)));
|
|
169
142
|
--co-muted-foreground: var(
|
|
170
143
|
--co-theme-muted-foreground,
|
|
171
|
-
var(--
|
|
144
|
+
var(--co-muted-foreground-mix, oklch(55.6% 0 0))
|
|
172
145
|
);
|
|
173
146
|
--co-border: var(--co-border-base);
|
|
174
147
|
--co-input: var(--co-input-base);
|
|
@@ -203,57 +176,78 @@
|
|
|
203
176
|
--co-theme-warning-foreground,
|
|
204
177
|
oklch(41.4% 0.071 99)
|
|
205
178
|
);
|
|
179
|
+
|
|
180
|
+
/* Tailwind theme mapping - scoped to widget */
|
|
181
|
+
@theme inline {
|
|
182
|
+
--font-co-sans: var(--co-font-sans);
|
|
183
|
+
--font-co-mono: var(--co-font-mono);
|
|
184
|
+
--color-co-background: var(--co-background);
|
|
185
|
+
--color-co-background-50: var(--co-background-50);
|
|
186
|
+
--color-co-background-100: var(--co-background-100);
|
|
187
|
+
--color-co-background-200: var(--co-background-200);
|
|
188
|
+
--color-co-background-300: var(--co-background-300);
|
|
189
|
+
--color-co-background-400: var(--co-background-400);
|
|
190
|
+
--color-co-background-500: var(--co-background-500);
|
|
191
|
+
--color-co-background-600: var(--co-background-600);
|
|
192
|
+
|
|
193
|
+
--color-co-foreground: var(--co-foreground);
|
|
194
|
+
|
|
195
|
+
--color-co-primary: var(--co-primary);
|
|
196
|
+
--color-co-primary-foreground: var(--co-primary-foreground);
|
|
197
|
+
--color-co-secondary: var(--co-secondary);
|
|
198
|
+
--color-co-secondary-foreground: var(--co-secondary-foreground);
|
|
199
|
+
--color-co-muted: var(--co-muted);
|
|
200
|
+
--color-co-muted-foreground: var(--co-muted-foreground);
|
|
201
|
+
--color-co-border: var(--co-border);
|
|
202
|
+
--color-co-input: var(--co-input);
|
|
203
|
+
--color-co-ring: var(--co-ring);
|
|
204
|
+
--radius-co: var(--co-radius);
|
|
205
|
+
|
|
206
|
+
/* custom colors */
|
|
207
|
+
--color-co-pink: var(--co-pink);
|
|
208
|
+
--color-co-yellow: var(--co-yellow);
|
|
209
|
+
--color-co-blue: var(--co-blue);
|
|
210
|
+
--color-co-orange: var(--co-orange);
|
|
211
|
+
|
|
212
|
+
/* status colors */
|
|
213
|
+
--color-co-destructive: var(--co-destructive);
|
|
214
|
+
--color-co-destructive-foreground: var(--co-destructive-foreground);
|
|
215
|
+
--color-co-success: var(--co-success);
|
|
216
|
+
--color-co-success-foreground: var(--co-success-foreground);
|
|
217
|
+
--color-co-neutral: var(--co-neutral);
|
|
218
|
+
--color-co-neutral-foreground: var(--co-neutral-foreground);
|
|
219
|
+
--color-co-warning: var(--co-warning);
|
|
220
|
+
--color-co-warning-foreground: var(--co-warning-foreground);
|
|
221
|
+
}
|
|
206
222
|
}
|
|
207
223
|
|
|
208
224
|
.dark .cossistant,
|
|
209
225
|
.cossistant[data-color-scheme="dark"] {
|
|
210
|
-
/*
|
|
211
|
-
--co-background-base: var(
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
);
|
|
215
|
-
--co-foreground-base: var(
|
|
216
|
-
--co-theme-foreground,
|
|
217
|
-
var(--foreground, oklch(98.5% 0 0))
|
|
218
|
-
);
|
|
219
|
-
--co-border-color: var(
|
|
220
|
-
--co-theme-border-color,
|
|
221
|
-
var(--color-border, oklch(26.9% 0 0))
|
|
222
|
-
);
|
|
223
|
-
--co-popover-base: var(
|
|
224
|
-
--co-theme-popover,
|
|
225
|
-
var(--popover, oklch(14.5% 0 0))
|
|
226
|
-
);
|
|
226
|
+
/* Dark mode defaults */
|
|
227
|
+
--co-background-base: var(--co-theme-background, oklch(15.5% 0 0));
|
|
228
|
+
--co-foreground-base: var(--co-theme-foreground, oklch(95% 0 0));
|
|
229
|
+
--co-popover-base: var(--co-theme-popover, oklch(14.5% 0 0));
|
|
227
230
|
--co-popover-foreground-base: var(
|
|
228
231
|
--co-theme-popover-foreground,
|
|
229
|
-
|
|
230
|
-
);
|
|
231
|
-
--co-primary-base: var(
|
|
232
|
-
--co-theme-primary,
|
|
233
|
-
var(--primary, oklch(98.5% 0 0))
|
|
232
|
+
oklch(95% 0 0)
|
|
234
233
|
);
|
|
234
|
+
--co-primary-base: var(--co-theme-primary, oklch(98.5% 0 0));
|
|
235
235
|
--co-primary-foreground-base: var(
|
|
236
236
|
--co-theme-primary-foreground,
|
|
237
|
-
|
|
238
|
-
);
|
|
239
|
-
--co-secondary-base: var(
|
|
240
|
-
--co-theme-secondary,
|
|
241
|
-
var(--secondary, oklch(26.9% 0 0))
|
|
237
|
+
oklch(14.5% 0 0)
|
|
242
238
|
);
|
|
239
|
+
--co-secondary-base: var(--co-theme-secondary, oklch(26.9% 0 0));
|
|
243
240
|
--co-secondary-foreground-base: var(
|
|
244
241
|
--co-theme-secondary-foreground,
|
|
245
|
-
|
|
246
|
-
);
|
|
247
|
-
--co-border-base: var(--co-theme-border, var(--border, oklch(26.9% 0 0)));
|
|
248
|
-
--co-input-base: var(--co-theme-input, var(--input, oklch(26.9% 0 0)));
|
|
249
|
-
--co-ring-base: var(--co-theme-ring, var(--ring, var(--co-primary-base)));
|
|
250
|
-
--co-accent-base: var(
|
|
251
|
-
--co-theme-accent,
|
|
252
|
-
var(--accent, var(--co-primary-base))
|
|
242
|
+
oklch(95% 0 0)
|
|
253
243
|
);
|
|
244
|
+
--co-border-base: var(--co-theme-border, oklch(26.9% 0 0));
|
|
245
|
+
--co-input-base: var(--co-theme-input, oklch(26.9% 0 0));
|
|
246
|
+
--co-ring-base: var(--co-theme-ring, var(--co-primary-base));
|
|
247
|
+
--co-accent-base: var(--co-theme-accent, var(--co-primary-base));
|
|
254
248
|
--co-accent-foreground-base: var(
|
|
255
249
|
--co-theme-accent-foreground,
|
|
256
|
-
var(--
|
|
250
|
+
var(--co-primary-foreground-base)
|
|
257
251
|
);
|
|
258
252
|
|
|
259
253
|
--co-muted-mix: color-mix(
|
|
@@ -328,48 +322,6 @@
|
|
|
328
322
|
}
|
|
329
323
|
}
|
|
330
324
|
|
|
331
|
-
@theme inline {
|
|
332
|
-
--font-co-sans: var(--co-font-sans);
|
|
333
|
-
--font-co-mono: var(--co-font-mono);
|
|
334
|
-
--color-co-background: var(--co-background);
|
|
335
|
-
--color-co-background-50: var(--co-background-50);
|
|
336
|
-
--color-co-background-100: var(--co-background-100);
|
|
337
|
-
--color-co-background-200: var(--co-background-200);
|
|
338
|
-
--color-co-background-300: var(--co-background-300);
|
|
339
|
-
--color-co-background-400: var(--co-background-400);
|
|
340
|
-
--color-co-background-500: var(--co-background-500);
|
|
341
|
-
--color-co-background-600: var(--co-background-600);
|
|
342
|
-
|
|
343
|
-
--color-co-foreground: var(--co-foreground);
|
|
344
|
-
|
|
345
|
-
--color-co-primary: var(--co-primary);
|
|
346
|
-
--color-co-primary-foreground: var(--co-primary-foreground);
|
|
347
|
-
--color-co-secondary: var(--co-secondary);
|
|
348
|
-
--color-co-secondary-foreground: var(--co-secondary-foreground);
|
|
349
|
-
--color-co-muted: var(--co-muted);
|
|
350
|
-
--color-co-muted-foreground: var(--co-muted-foreground);
|
|
351
|
-
--color-co-border: var(--co-border);
|
|
352
|
-
--color-co-input: var(--co-input);
|
|
353
|
-
--color-co-ring: var(--co-ring);
|
|
354
|
-
--radius-co: var(--co-radius);
|
|
355
|
-
|
|
356
|
-
/* custom colors */
|
|
357
|
-
--color-co-pink: var(--co-pink);
|
|
358
|
-
--color-co-yellow: var(--co-yellow);
|
|
359
|
-
--color-co-blue: var(--co-blue);
|
|
360
|
-
--color-co-orange: var(--co-orange);
|
|
361
|
-
|
|
362
|
-
/* status colors */
|
|
363
|
-
--color-co-destructive: var(--co-destructive);
|
|
364
|
-
--color-co-destructive-foreground: var(--co-destructive-foreground);
|
|
365
|
-
--color-co-success: var(--co-success);
|
|
366
|
-
--color-co-success-foreground: var(--co-success-foreground);
|
|
367
|
-
--color-co-neutral: var(--co-neutral);
|
|
368
|
-
--color-co-neutral-foreground: var(--co-neutral-foreground);
|
|
369
|
-
--color-co-warning: var(--co-warning);
|
|
370
|
-
--color-co-warning-foreground: var(--co-warning-foreground);
|
|
371
|
-
}
|
|
372
|
-
|
|
373
325
|
@layer utilities {
|
|
374
326
|
.cossistant {
|
|
375
327
|
.animation-delay-0 {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation.d.ts","names":[],"sources":["../../src/utils/conversation.ts"],"sourcesContent":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"conversation.d.ts","names":[],"sources":["../../src/utils/conversation.ts"],"sourcesContent":[],"mappings":";;;iBAmBgB,yBAAA,eAAwC"}
|