@jbpark/ui-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.
Files changed (45) hide show
  1. package/README.md +267 -0
  2. package/dist/Menu.cjs +10 -0
  3. package/dist/Menu.d.cts +2 -0
  4. package/dist/Menu.d.mts +2 -0
  5. package/dist/Menu.mjs +8 -0
  6. package/dist/Reveals-BIKKnQpn.cjs +119 -0
  7. package/dist/Reveals-BpnYZJUk.mjs +89 -0
  8. package/dist/Reveals.cjs +9 -0
  9. package/dist/Reveals.d.cts +2 -0
  10. package/dist/Reveals.d.mts +2 -0
  11. package/dist/Reveals.mjs +4 -0
  12. package/dist/Typography-B3MWBAA6.cjs +102 -0
  13. package/dist/Typography-LYvEW-c8.mjs +72 -0
  14. package/dist/Typography.cjs +9 -0
  15. package/dist/Typography.d.cts +2 -0
  16. package/dist/Typography.d.mts +2 -0
  17. package/dist/Typography.mjs +4 -0
  18. package/dist/enums-CP_LwqBM.cjs +18 -0
  19. package/dist/enums-HFC1lmIX.mjs +12 -0
  20. package/dist/enums.cjs +3 -0
  21. package/dist/enums.d.cts +4 -0
  22. package/dist/enums.d.mts +4 -0
  23. package/dist/enums.mjs +3 -0
  24. package/dist/globals.css +125 -0
  25. package/dist/index-BO7hcWjo.d.mts +59 -0
  26. package/dist/index-BqaluEQ4.d.mts +83 -0
  27. package/dist/index-CdyEmwZC.d.cts +97 -0
  28. package/dist/index-Cu2qFRc3.d.cts +83 -0
  29. package/dist/index-D1Bkn0Xy.d.cts +59 -0
  30. package/dist/index-DS-PGSIg.d.mts +97 -0
  31. package/dist/index.cjs +24 -0
  32. package/dist/index.d.cts +528 -0
  33. package/dist/index.d.mts +533 -0
  34. package/dist/index.mjs +6 -0
  35. package/dist/src-CkhEsWv5.css +124 -0
  36. package/dist/src-DfLPlkqV.css +124 -0
  37. package/dist/src-DlEgA3c9.mjs +5118 -0
  38. package/dist/src-Dvkx0I-F.cjs +5262 -0
  39. package/dist/utils-8r5MlYq5.cjs +16 -0
  40. package/dist/utils-DEenfsJ-.mjs +10 -0
  41. package/dist/utils.cjs +3 -0
  42. package/dist/utils.d.cts +6 -0
  43. package/dist/utils.d.mts +6 -0
  44. package/dist/utils.mjs +3 -0
  45. package/package.json +99 -0
@@ -0,0 +1,533 @@
1
+ import { t as Typography } from "./index-BqaluEQ4.mjs";
2
+ import { i as MenuProps, n as Menu } from "./index-BO7hcWjo.mjs";
3
+ import { a as Reveals } from "./index-DS-PGSIg.mjs";
4
+ import * as React$2 from "react";
5
+ import React$1, { HTMLAttributes, MouseEvent } from "react";
6
+ import { VariantProps } from "class-variance-authority";
7
+ import * as react_jsx_runtime12 from "react/jsx-runtime";
8
+ import * as swiper_react0 from "swiper/react";
9
+ import { SwiperProps } from "swiper/react";
10
+ import "swiper/css";
11
+ import "swiper/css/autoplay";
12
+ import "swiper/css/effect-cards";
13
+ import "swiper/css/navigation";
14
+ import "swiper/css/scrollbar";
15
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
16
+ import { SwiperOptions } from "swiper/types";
17
+
18
+ //#region src/core/button.d.ts
19
+ declare const buttonVariants: (props?: ({
20
+ variant?: "outline" | "link" | "default" | "destructive" | "secondary" | "ghost" | null | undefined;
21
+ size?: "icon" | "default" | "sm" | "lg" | null | undefined;
22
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
23
+ type Props$20 = React$2.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
24
+ asChild?: boolean;
25
+ };
26
+ //#endregion
27
+ //#region src/components/atoms/Button/index.d.ts
28
+ interface Props$19 extends Props$20 {
29
+ icon?: React.ReactNode;
30
+ block?: boolean;
31
+ disabled?: boolean;
32
+ loading?: boolean | {
33
+ icon: React.ReactNode;
34
+ };
35
+ }
36
+ declare const Button: ({
37
+ icon,
38
+ className,
39
+ variant,
40
+ block,
41
+ disabled,
42
+ loading,
43
+ children,
44
+ onMouseDown,
45
+ ...props
46
+ }: Props$19) => react_jsx_runtime12.JSX.Element;
47
+ //#endregion
48
+ //#region src/components/atoms/Checkbox/Group/index.d.ts
49
+ type Option = {
50
+ label: string;
51
+ value: OptionValue;
52
+ checked?: boolean;
53
+ };
54
+ type Options = string[] | number[] | boolean[] | Option[];
55
+ interface Props$18 extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
56
+ options?: Options;
57
+ direction?: string;
58
+ placement?: string;
59
+ classNames?: Record<string, string>;
60
+ onChange?: (values: OptionValue[]) => void;
61
+ }
62
+ //#endregion
63
+ //#region src/components/atoms/Checkbox/index.d.ts
64
+ type OptionValue = string | number | boolean;
65
+ interface Props$17 extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
66
+ placement?: string;
67
+ checked?: boolean;
68
+ value?: OptionValue;
69
+ onChange?: (checked: boolean) => void;
70
+ }
71
+ declare const Checkbox: {
72
+ ({
73
+ placement,
74
+ value,
75
+ children,
76
+ className,
77
+ checked: _checked,
78
+ onChange: _onChange,
79
+ ...props
80
+ }: Props$17): react_jsx_runtime12.JSX.Element;
81
+ Group: ({
82
+ direction,
83
+ placement,
84
+ className,
85
+ classNames,
86
+ options: _options,
87
+ onChange
88
+ }: Props$18) => react_jsx_runtime12.JSX.Element;
89
+ };
90
+ //#endregion
91
+ //#region src/components/atoms/FloatButton/BackTop/index.d.ts
92
+ interface Props$16 extends Props$19 {
93
+ visibilityHeight?: number;
94
+ onClick?: (e: MouseEvent<HTMLElement>) => void;
95
+ }
96
+ //#endregion
97
+ //#region src/components/atoms/FloatButton/index.d.ts
98
+ interface Props$15 extends Props$19 {}
99
+ declare const FloatButton: {
100
+ ({
101
+ className,
102
+ children,
103
+ ...props
104
+ }: Props$15): react_jsx_runtime12.JSX.Element;
105
+ BackTop: ({
106
+ visibilityHeight,
107
+ className,
108
+ onClick,
109
+ ...props
110
+ }: Props$16) => react_jsx_runtime12.JSX.Element;
111
+ };
112
+ //#endregion
113
+ //#region src/components/atoms/Progress/index.d.ts
114
+ interface Props$14 extends React.HTMLAttributes<HTMLElement> {
115
+ value: number;
116
+ direction?: 'horizontal' | 'vertical';
117
+ classNames?: {
118
+ background?: string;
119
+ bar?: string;
120
+ };
121
+ }
122
+ declare const Progress: ({
123
+ value,
124
+ className,
125
+ direction,
126
+ classNames
127
+ }: Props$14) => react_jsx_runtime12.JSX.Element;
128
+ //#endregion
129
+ //#region src/components/atoms/Skeleton/index.d.ts
130
+ interface Props$13 extends React.HTMLAttributes<HTMLDivElement> {
131
+ active?: boolean;
132
+ loading?: boolean;
133
+ avatar?: boolean;
134
+ size?: 'default' | 'small' | 'large';
135
+ count?: number;
136
+ gap?: number;
137
+ direction?: 'horizontal' | 'vertical';
138
+ width?: string | number | (string | number)[];
139
+ height?: string | number | (string | number)[];
140
+ classNames?: {
141
+ wrapper?: string;
142
+ avatar?: string;
143
+ item?: string;
144
+ };
145
+ }
146
+ declare const Skeleton: {
147
+ ({
148
+ active,
149
+ loading,
150
+ avatar,
151
+ size,
152
+ direction,
153
+ count,
154
+ gap,
155
+ className,
156
+ classNames,
157
+ style,
158
+ width,
159
+ height,
160
+ children,
161
+ ...props
162
+ }: Props$13): string | number | bigint | boolean | Iterable<React$2.ReactNode> | Promise<string | number | bigint | boolean | React$2.ReactPortal | React$2.ReactElement<unknown, string | React$2.JSXElementConstructor<any>> | Iterable<React$2.ReactNode> | null | undefined> | react_jsx_runtime12.JSX.Element | null | undefined;
163
+ Button: ({
164
+ className,
165
+ ...props
166
+ }: Props$13) => react_jsx_runtime12.JSX.Element;
167
+ Node: ({
168
+ className,
169
+ ...props
170
+ }: Props$13) => react_jsx_runtime12.JSX.Element;
171
+ };
172
+ //#endregion
173
+ //#region src/components/atoms/Spin/index.d.ts
174
+ interface Props$12 extends React.HTMLAttributes<HTMLDivElement> {
175
+ spinning?: boolean;
176
+ }
177
+ declare const Spin: ({
178
+ spinning,
179
+ className,
180
+ ...props
181
+ }: Props$12) => react_jsx_runtime12.JSX.Element | null;
182
+ //#endregion
183
+ //#region src/components/atoms/Switch/index.d.ts
184
+ interface Props$11 extends Omit<React.HTMLAttributes<HTMLElement>, 'onChange'> {
185
+ classNames?: {
186
+ track?: string;
187
+ handle?: string;
188
+ };
189
+ checked?: boolean;
190
+ disabled?: boolean;
191
+ onChange?: (checked: boolean) => void;
192
+ }
193
+ declare const Switch: ({
194
+ onChange,
195
+ className,
196
+ classNames,
197
+ ...props
198
+ }: Props$11) => react_jsx_runtime12.JSX.Element;
199
+ //#endregion
200
+ //#region src/components/molecules/Collapse/index.d.ts
201
+ interface Item {
202
+ key: React$1.Key;
203
+ label: React$1.ReactNode;
204
+ disabled?: boolean;
205
+ children: React$1.ReactNode;
206
+ }
207
+ interface Props$10 extends React$1.HTMLAttributes<HTMLElement> {
208
+ items?: Item[];
209
+ accordion?: boolean;
210
+ expandIcon?: React$1.ReactNode;
211
+ classNames?: {
212
+ item?: string;
213
+ header?: string;
214
+ body?: string;
215
+ };
216
+ defaultActiveKey?: string[] | number[];
217
+ }
218
+ declare const Collapse: ({
219
+ expandIcon,
220
+ accordion,
221
+ items: _items,
222
+ className,
223
+ classNames,
224
+ defaultActiveKey
225
+ }: Props$10) => react_jsx_runtime12.JSX.Element;
226
+ //#endregion
227
+ //#region src/components/molecules/Dropdown/index.d.ts
228
+ type ChangeEventHandler = (open: boolean) => void;
229
+ interface Props$9 extends React.HTMLAttributes<HTMLElement> {
230
+ open?: boolean;
231
+ trigger?: string;
232
+ menu?: MenuProps;
233
+ placement?: string;
234
+ onOpenChange?: ChangeEventHandler;
235
+ }
236
+ declare const Dropdown: ({
237
+ children,
238
+ menu,
239
+ trigger,
240
+ open: _open,
241
+ onOpenChange,
242
+ ...props
243
+ }: Props$9) => react_jsx_runtime12.JSX.Element;
244
+ //#endregion
245
+ //#region src/components/molecules/Marquees/Item/index.d.ts
246
+ interface ItemProps {
247
+ key?: React.Key;
248
+ speed?: number;
249
+ autoFill?: boolean | number;
250
+ pause?: boolean;
251
+ pauseOnHover?: boolean;
252
+ children?: React.ReactNode;
253
+ }
254
+ interface Props$8 extends React.HTMLAttributes<HTMLDivElement>, ItemProps {
255
+ width: string | number;
256
+ }
257
+ //#endregion
258
+ //#region src/components/molecules/Marquees/index.d.ts
259
+ interface Props$7 extends React.HTMLAttributes<HTMLDivElement> {
260
+ speed?: number;
261
+ autoFill?: boolean | number;
262
+ pauseOnHover?: boolean;
263
+ items?: ItemProps[];
264
+ }
265
+ declare const Marquees: {
266
+ ({
267
+ className,
268
+ items,
269
+ speed,
270
+ pauseOnHover,
271
+ autoFill,
272
+ ...props
273
+ }: Props$7): react_jsx_runtime12.JSX.Element;
274
+ Item: ({
275
+ width: _width,
276
+ speed,
277
+ autoFill,
278
+ pause: _pause,
279
+ pauseOnHover,
280
+ children
281
+ }: Props$8) => react_jsx_runtime12.JSX.Element;
282
+ };
283
+ //#endregion
284
+ //#region src/components/molecules/Space/index.d.ts
285
+ interface Props$6 extends HTMLAttributes<HTMLDivElement> {
286
+ loading?: boolean;
287
+ loader?: React.ReactNode;
288
+ direction?: 'horizontal' | 'vertical';
289
+ size?: 'small' | 'middle' | 'large' | number | number[];
290
+ align?: 'start' | 'end' | 'center' | 'baseline';
291
+ wrap?: boolean;
292
+ split?: React.ReactNode;
293
+ grid?: {
294
+ rows?: number;
295
+ cols?: number;
296
+ };
297
+ }
298
+ declare const Space: ({
299
+ loading,
300
+ loader,
301
+ children,
302
+ size,
303
+ direction,
304
+ align,
305
+ wrap,
306
+ split,
307
+ className,
308
+ grid,
309
+ hidden,
310
+ style,
311
+ ...props
312
+ }: Props$6) => react_jsx_runtime12.JSX.Element;
313
+ //#endregion
314
+ //#region src/components/organisms/Drawer/index.d.ts
315
+ interface Props$5 {
316
+ open: boolean;
317
+ children?: React.ReactNode;
318
+ title?: React.ReactNode;
319
+ footer?: React.ReactNode;
320
+ closable?: boolean;
321
+ closeIcon?: React.ReactNode;
322
+ direction?: 'top' | 'bottom' | 'left' | 'right';
323
+ maskClosable?: boolean;
324
+ handlebar?: boolean;
325
+ draggable?: boolean;
326
+ rounded?: boolean;
327
+ mask?: boolean;
328
+ className?: string;
329
+ style?: React.CSSProperties;
330
+ classNames?: {
331
+ mask?: string;
332
+ content?: string;
333
+ handlebar?: string;
334
+ header?: string;
335
+ title?: string;
336
+ close?: string;
337
+ body?: string;
338
+ footer?: string;
339
+ };
340
+ container?: HTMLElement;
341
+ onClose: () => void;
342
+ }
343
+ declare const Drawer: ({
344
+ open,
345
+ title,
346
+ footer,
347
+ closable,
348
+ closeIcon,
349
+ direction,
350
+ maskClosable,
351
+ handlebar,
352
+ draggable,
353
+ rounded,
354
+ mask,
355
+ className,
356
+ classNames,
357
+ style,
358
+ children,
359
+ container,
360
+ onClose,
361
+ ...props
362
+ }: Props$5) => react_jsx_runtime12.JSX.Element | null;
363
+ //#endregion
364
+ //#region src/components/organisms/List/index.d.ts
365
+ interface Props$4<T> extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'title'> {
366
+ loading?: boolean;
367
+ loaderProps?: React$1.ComponentProps<typeof Skeleton>;
368
+ loader?: React$1.ReactNode;
369
+ title?: React$1.ReactNode;
370
+ header?: React$1.ReactNode;
371
+ empty?: React$1.ReactNode;
372
+ classNames?: {
373
+ title?: string;
374
+ header?: string;
375
+ body?: string;
376
+ };
377
+ scroll?: {
378
+ hasMore: boolean;
379
+ loading: boolean;
380
+ loader?: React$1.ReactNode;
381
+ options?: IntersectionObserverInit;
382
+ next: () => void;
383
+ };
384
+ data?: T[];
385
+ renderItem?: (item: T, index: number) => React$1.ReactNode;
386
+ }
387
+ declare const List: {
388
+ <T>({
389
+ loading,
390
+ loaderProps,
391
+ loader,
392
+ header,
393
+ title,
394
+ empty,
395
+ scroll,
396
+ data,
397
+ className,
398
+ classNames,
399
+ renderItem,
400
+ ...props
401
+ }: Props$4<T>): string | number | bigint | true | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime12.JSX.Element;
402
+ Item: ({
403
+ children,
404
+ className,
405
+ ...props
406
+ }: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime12.JSX.Element;
407
+ };
408
+ //#endregion
409
+ //#region src/components/organisms/Modal/index.d.ts
410
+ interface Props$3 {
411
+ open?: boolean;
412
+ maskClosable?: boolean;
413
+ closable?: boolean | {
414
+ closeIcon?: React$1.ReactNode;
415
+ disabled?: boolean;
416
+ };
417
+ closeIcon?: React$1.ReactNode;
418
+ title?: React$1.ReactNode;
419
+ content?: React$1.ReactNode;
420
+ footer?: React$1.ReactNode;
421
+ className?: string;
422
+ classNames?: {
423
+ mask?: string;
424
+ header?: string;
425
+ body?: string;
426
+ footer?: string;
427
+ };
428
+ style?: React$1.CSSProperties;
429
+ okText?: string;
430
+ cancelText?: string;
431
+ container?: HTMLElement;
432
+ children?: React$1.ReactNode;
433
+ onOk?: () => void;
434
+ onCancel?: () => void;
435
+ }
436
+ interface StaticProps extends Props$3 {
437
+ type?: 'info' | 'success' | 'error' | 'warning' | 'confirm';
438
+ id?: string;
439
+ icon?: React$1.ReactNode;
440
+ container?: HTMLElement;
441
+ }
442
+ declare const Modal: {
443
+ ({
444
+ open,
445
+ maskClosable,
446
+ closable,
447
+ closeIcon,
448
+ className,
449
+ classNames,
450
+ style,
451
+ title,
452
+ footer,
453
+ container,
454
+ children,
455
+ okText,
456
+ cancelText,
457
+ onOk,
458
+ onCancel,
459
+ ...props
460
+ }: Props$3): react_jsx_runtime12.JSX.Element | null;
461
+ destroy(id?: string): void;
462
+ destroyAll(): void;
463
+ info(props: StaticProps): string | undefined;
464
+ success(props: StaticProps): string | undefined;
465
+ error(props: StaticProps): string | undefined;
466
+ warning(props: StaticProps): string | undefined;
467
+ confirm(props: StaticProps): string | undefined;
468
+ };
469
+ //#endregion
470
+ //#region src/components/organisms/Swiper/index.d.ts
471
+ interface Props$2<T> extends SwiperProps {
472
+ loading?: boolean;
473
+ loader?: React.ReactNode;
474
+ loadingClassName?: string;
475
+ options?: SwiperOptions;
476
+ data: T[];
477
+ renderItem(item: T, key: number): React.ReactNode;
478
+ }
479
+ declare const Swiper: {
480
+ <T>({
481
+ loading,
482
+ loader,
483
+ options,
484
+ data,
485
+ style,
486
+ renderItem,
487
+ loadingClassName,
488
+ ...props
489
+ }: Props$2<T>): react_jsx_runtime12.JSX.Element;
490
+ Slide: {
491
+ ({
492
+ children,
493
+ className,
494
+ ...props
495
+ }: swiper_react0.SwiperSlideProps): react_jsx_runtime12.JSX.Element;
496
+ displayName: string;
497
+ };
498
+ };
499
+ //#endregion
500
+ //#region src/components/templates/Layout/Header/index.d.ts
501
+ interface Props$1 extends React.HTMLAttributes<HTMLDivElement> {}
502
+ //#endregion
503
+ //#region src/components/templates/Layout/index.d.ts
504
+ interface Props extends React.HTMLAttributes<HTMLDivElement> {}
505
+ declare const Layout: {
506
+ ({
507
+ children,
508
+ className,
509
+ ...props
510
+ }: Props): react_jsx_runtime12.JSX.Element;
511
+ Content: ({
512
+ children,
513
+ className,
514
+ ...props
515
+ }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime12.JSX.Element;
516
+ Footer: ({
517
+ children,
518
+ className,
519
+ ...props
520
+ }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime12.JSX.Element;
521
+ Header: ({
522
+ children,
523
+ className,
524
+ ...props
525
+ }: Props$1) => react_jsx_runtime12.JSX.Element;
526
+ Sider: ({
527
+ children,
528
+ className,
529
+ ...props
530
+ }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime12.JSX.Element;
531
+ };
532
+ //#endregion
533
+ export { Button, Checkbox, Collapse, Drawer, Dropdown, FloatButton, Layout, List, Marquees, Menu, Modal, Progress, Reveals, Skeleton, Space, Spin, Swiper, Switch, Typography };
package/dist/index.mjs ADDED
@@ -0,0 +1,6 @@
1
+ import { _ as Checkbox_default, a as Drawer_default, c as Dropdown_default, d as Collapse_default, f as Switch_default, g as FloatButton_default, h as Progress_default, i as List_default, l as Menu_default, m as Skeleton_default, n as Swiper_default, o as Space_default, p as Spin_default, r as Modal_default, s as Marquees_default, t as Layout_default, v as Button_default } from "./src-DlEgA3c9.mjs";
2
+ import "./utils-DEenfsJ-.mjs";
3
+ import { t as Typography_default } from "./Typography-LYvEW-c8.mjs";
4
+ import { i as Reveals_default } from "./Reveals-BpnYZJUk.mjs";
5
+
6
+ export { Button_default as Button, Checkbox_default as Checkbox, Collapse_default as Collapse, Drawer_default as Drawer, Dropdown_default as Dropdown, FloatButton_default as FloatButton, Layout_default as Layout, List_default as List, Marquees_default as Marquees, Menu_default as Menu, Modal_default as Modal, Progress_default as Progress, Reveals_default as Reveals, Skeleton_default as Skeleton, Space_default as Space, Spin_default as Spin, Swiper_default as Swiper, Switch_default as Switch, Typography_default as Typography };
@@ -0,0 +1,124 @@
1
+
2
+ @config "../tailwind.config.js";
3
+
4
+ @custom-variant dark (&:is(.dark *));
5
+
6
+ :root {
7
+ --background: oklch(1 0 0);
8
+ --foreground: oklch(0.145 0 0);
9
+ --card: oklch(1 0 0);
10
+ --card-foreground: oklch(0.145 0 0);
11
+ --popover: oklch(1 0 0);
12
+ --popover-foreground: oklch(0.145 0 0);
13
+ --primary: oklch(0.205 0 0);
14
+ --primary-foreground: oklch(0.985 0 0);
15
+ --secondary: oklch(0.97 0 0);
16
+ --secondary-foreground: oklch(0.205 0 0);
17
+ --muted: oklch(0.97 0 0);
18
+ --muted-foreground: oklch(0.556 0 0);
19
+ --accent: oklch(0.97 0 0);
20
+ --accent-foreground: oklch(0.205 0 0);
21
+ --destructive: oklch(0.577 0.245 27.325);
22
+ --destructive-foreground: oklch(0.577 0.245 27.325);
23
+ --border: oklch(0.922 0 0);
24
+ --input: oklch(0.922 0 0);
25
+ --ring: oklch(0.708 0 0);
26
+ --chart-1: oklch(0.646 0.222 41.116);
27
+ --chart-2: oklch(0.6 0.118 184.704);
28
+ --chart-3: oklch(0.398 0.07 227.392);
29
+ --chart-4: oklch(0.828 0.189 84.429);
30
+ --chart-5: oklch(0.769 0.188 70.08);
31
+ --radius: 0.625rem;
32
+ --sidebar: oklch(0.985 0 0);
33
+ --sidebar-foreground: oklch(0.145 0 0);
34
+ --sidebar-primary: oklch(0.205 0 0);
35
+ --sidebar-primary-foreground: oklch(0.985 0 0);
36
+ --sidebar-accent: oklch(0.97 0 0);
37
+ --sidebar-accent-foreground: oklch(0.205 0 0);
38
+ --sidebar-border: oklch(0.922 0 0);
39
+ --sidebar-ring: oklch(0.708 0 0);
40
+ }
41
+
42
+ .dark {
43
+ --background: oklch(0.145 0 0);
44
+ --foreground: oklch(0.985 0 0);
45
+ --card: oklch(0.145 0 0);
46
+ --card-foreground: oklch(0.985 0 0);
47
+ --popover: oklch(0.145 0 0);
48
+ --popover-foreground: oklch(0.985 0 0);
49
+ --primary: oklch(0.985 0 0);
50
+ --primary-foreground: oklch(0.205 0 0);
51
+ --secondary: oklch(0.269 0 0);
52
+ --secondary-foreground: oklch(0.985 0 0);
53
+ --muted: oklch(0.269 0 0);
54
+ --muted-foreground: oklch(0.708 0 0);
55
+ --accent: oklch(0.269 0 0);
56
+ --accent-foreground: oklch(0.985 0 0);
57
+ --destructive: oklch(0.396 0.141 25.723);
58
+ --destructive-foreground: oklch(0.637 0.237 25.331);
59
+ --border: oklch(0.269 0 0);
60
+ --input: oklch(0.269 0 0);
61
+ --ring: oklch(0.439 0 0);
62
+ --chart-1: oklch(0.488 0.243 264.376);
63
+ --chart-2: oklch(0.696 0.17 162.48);
64
+ --chart-3: oklch(0.769 0.188 70.08);
65
+ --chart-4: oklch(0.627 0.265 303.9);
66
+ --chart-5: oklch(0.645 0.246 16.439);
67
+ --sidebar: oklch(0.205 0 0);
68
+ --sidebar-foreground: oklch(0.985 0 0);
69
+ --sidebar-primary: oklch(0.488 0.243 264.376);
70
+ --sidebar-primary-foreground: oklch(0.985 0 0);
71
+ --sidebar-accent: oklch(0.269 0 0);
72
+ --sidebar-accent-foreground: oklch(0.985 0 0);
73
+ --sidebar-border: oklch(0.269 0 0);
74
+ --sidebar-ring: oklch(0.439 0 0);
75
+ }
76
+
77
+ @theme inline {
78
+ --color-background: var(--background);
79
+ --color-foreground: var(--foreground);
80
+ --color-card: var(--card);
81
+ --color-card-foreground: var(--card-foreground);
82
+ --color-popover: var(--popover);
83
+ --color-popover-foreground: var(--popover-foreground);
84
+ --color-primary: var(--primary);
85
+ --color-primary-foreground: var(--primary-foreground);
86
+ --color-secondary: var(--secondary);
87
+ --color-secondary-foreground: var(--secondary-foreground);
88
+ --color-muted: var(--muted);
89
+ --color-muted-foreground: var(--muted-foreground);
90
+ --color-accent: var(--accent);
91
+ --color-accent-foreground: var(--accent-foreground);
92
+ --color-destructive: var(--destructive);
93
+ --color-destructive-foreground: var(--destructive-foreground);
94
+ --color-border: var(--border);
95
+ --color-input: var(--input);
96
+ --color-ring: var(--ring);
97
+ --color-chart-1: var(--chart-1);
98
+ --color-chart-2: var(--chart-2);
99
+ --color-chart-3: var(--chart-3);
100
+ --color-chart-4: var(--chart-4);
101
+ --color-chart-5: var(--chart-5);
102
+ --radius-sm: calc(var(--radius) - 4px);
103
+ --radius-md: calc(var(--radius) - 2px);
104
+ --radius-lg: var(--radius);
105
+ --radius-xl: calc(var(--radius) + 4px);
106
+ --color-sidebar: var(--sidebar);
107
+ --color-sidebar-foreground: var(--sidebar-foreground);
108
+ --color-sidebar-primary: var(--sidebar-primary);
109
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
110
+ --color-sidebar-accent: var(--sidebar-accent);
111
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
112
+ --color-sidebar-border: var(--sidebar-border);
113
+ --color-sidebar-ring: var(--sidebar-ring);
114
+ }
115
+
116
+ @layer base {
117
+ * {
118
+ @apply border-border outline-ring/50;
119
+ }
120
+ body {
121
+ @apply bg-background text-foreground;
122
+ }
123
+ }
124
+