pelatform-ui 1.1.21 → 1.2.1

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 (46) hide show
  1. package/README.md +60 -42
  2. package/css/animations.css +48 -0
  3. package/css/shadcn/gray.css +105 -0
  4. package/css/shadcn/neutral.css +105 -0
  5. package/css/shadcn/slate.css +105 -0
  6. package/css/shadcn/stone.css +105 -0
  7. package/css/shadcn/zinc.css +105 -0
  8. package/css/styles/style-lyra.css +1335 -0
  9. package/css/styles/style-maia.css +1360 -0
  10. package/css/styles/style-mira.css +1362 -0
  11. package/css/styles/style-nova.css +1360 -0
  12. package/css/styles/style-vega.css +1356 -0
  13. package/css/theme.css +122 -182
  14. package/dist/animation.d.ts +3 -7
  15. package/dist/animation.js +1 -1
  16. package/dist/base.d.ts +1 -1
  17. package/dist/base.js +1 -1
  18. package/dist/chunk-7EOSDFS3.js +10 -0
  19. package/dist/chunk-HW52LCWN.js +22 -0
  20. package/dist/{chunk-M2YFAZ2T.js → chunk-NOAZYT3J.js} +5 -1
  21. package/dist/colors-CUDWvz1g.d.ts +42 -0
  22. package/dist/components-B1rw2xzN.d.ts +46 -0
  23. package/dist/components.d.ts +23 -224
  24. package/dist/components.js +2283 -619
  25. package/dist/hooks.d.ts +2 -2
  26. package/dist/hooks.js +2 -1
  27. package/dist/index.d.ts +130 -2
  28. package/dist/index.js +636 -3
  29. package/dist/radix.d.ts +1 -0
  30. package/dist/radix.js +2 -0
  31. package/package.json +49 -33
  32. package/css/components/apexcharts.css +0 -101
  33. package/css/components/book.css +0 -19
  34. package/css/components/extra.css +0 -12
  35. package/css/components/image-input.css +0 -51
  36. package/css/components/leaflet.css +0 -25
  37. package/css/components/patterns.css +0 -34
  38. package/css/components/rating.css +0 -89
  39. package/css/components/scrollable.css +0 -118
  40. package/css/components/theme-transition.css +0 -51
  41. package/dist/aria.d.ts +0 -1
  42. package/dist/aria.js +0 -2
  43. package/dist/default.d.ts +0 -1
  44. package/dist/default.js +0 -2
  45. package/dist/server.d.ts +0 -1
  46. package/dist/server.js +0 -2
package/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # pelatform-ui
2
2
 
3
- A Modern and Minimal React UI Library built with TailwindCSS. The main package that provides access to all Pelatform UI components, hooks, and utilities through a unified interface. This package includes all the components, hooks, and utilities from the other Pelatform UI packages.
3
+ [![Version](https://img.shields.io/npm/v/pelatform-ui.svg)](https://www.npmjs.com/package/pelatform-ui)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+
6
+ A Modern and Minimal React UI Library built with TailwindCSS. The main package that provides access to all Pelatform UI components, hooks, and utilities through a unified interface.
4
7
 
5
8
  ## Installation
6
9
 
@@ -26,22 +29,20 @@ import "pelatform-ui/css";
26
29
 
27
30
  pelatform-ui is the main entry point that consolidates all Pelatform UI packages:
28
31
 
29
- - **@@pelatform/ui.general** - Core utilities and types
30
- - **@@pelatform/ui.hook** - React hooks (15 hooks)
31
- - **@@pelatform/ui.animation** - Animation components (14 components)
32
- - **@@pelatform/ui.aria** - Accessible ARIA components (2 components)
33
- - **@@pelatform/ui.base** - Base headless components (40+ components)
34
- - **@@pelatform/ui.default** - Styled default components (71 components)
35
-
36
- Plus additional ready-to-use components for layouts, navigation, and UI elements.
32
+ - **@pelatform/ui.components** - All UI components (172 components)
33
+ - Animation (18 components)
34
+ - Base (77 headless components)
35
+ - Radix (77 styled components)
36
+ - **@pelatform/ui.hook** - React hooks (18 hooks)
37
+ - **Custom components** - Ready-to-use layouts, navigation, providers, and utilities
37
38
 
38
39
  ## Import Paths
39
40
 
40
41
  ```typescript
41
42
  // Main exports (utilities, types, icons)
42
- import { cn, cva, googleTrackEvent } from "pelatform-ui";
43
+ import { cn, cva } from "pelatform-ui";
43
44
 
44
- // Hooks
45
+ // React hooks
45
46
  import { useHydrated, useMobile, useMediaQuery } from "pelatform-ui/hooks";
46
47
 
47
48
  // Animation components
@@ -51,16 +52,13 @@ import {
51
52
  Marquee,
52
53
  } from "pelatform-ui/animation";
53
54
 
54
- // ARIA components
55
- import { DateField, ShowMore } from "pelatform-ui/aria";
56
-
57
- // Base components
55
+ // Base headless components (full styling control)
58
56
  import { Button, Input, Select } from "pelatform-ui/base";
59
57
 
60
- // Default styled components
61
- import { Card, DataGrid, Kanban } from "pelatform-ui/default";
58
+ // Radix styled components (pre-styled)
59
+ import { Card, DataGrid, Calendar } from "pelatform-ui/radix";
62
60
 
63
- // All components (base + default + custom)
61
+ // Custom Pelatform components
64
62
  import { SiteHeader, SiteFooter, CommandMenu } from "pelatform-ui/components";
65
63
 
66
64
  // Styles
@@ -70,7 +68,7 @@ import "pelatform-ui/css";
70
68
  ## Quick Start
71
69
 
72
70
  ```typescript
73
- import { Button, Card, Input } from "pelatform-ui/default";
71
+ import { Card, Button, Input } from "pelatform-ui/radix";
74
72
  import { useHydrated } from "pelatform-ui/hooks";
75
73
  import "pelatform-ui/css";
76
74
 
@@ -88,7 +86,7 @@ function App() {
88
86
  }
89
87
  ```
90
88
 
91
- ## Components
89
+ ## Custom Components
92
90
 
93
91
  ### Layout Components
94
92
 
@@ -113,9 +111,6 @@ function App() {
113
111
  ### Feedback Components
114
112
 
115
113
  - **Alert** - Alert notifications
116
- - **AlertToast** - Toast notifications
117
- - **AlertNotification** - Notification alerts
118
- - **AlertComingsoon** - Coming soon alert
119
114
  - **Dialog** - Modal dialog
120
115
  - **ScreenLoader** - Loading screen
121
116
 
@@ -127,20 +122,18 @@ function App() {
127
122
  - **DotsPattern** - Dot pattern background
128
123
  - **GridBackground** - Grid pattern background
129
124
  - **HexagonBadge** - Hexagon-shaped badge
130
- - **Icons** - Icon components
131
125
  - **ImageInput** - Image upload input
132
126
  - **LanguageSwitcher** - Language selector
133
127
  - **Logo** - Brand logo
134
128
  - **ModeSwitcher** - Theme mode toggle
135
129
  - **MovingBorder** - Animated border effect
136
- - **Subscribe** - Email subscription
137
130
  - **Toolbar** - Toolbar component
138
131
  - **UserAvatar** - User avatar display
139
132
 
140
133
  ### Provider Components
141
134
 
142
135
  - **QueryProvider** - TanStack Query provider
143
- - **ThemeProvider** - Theme management (next-themes + tooltip)
136
+ - **ThemeProvider** - Theme management (next-themes)
144
137
 
145
138
  ### MDX Components
146
139
 
@@ -154,7 +147,6 @@ function App() {
154
147
  ### Utility Components
155
148
 
156
149
  - **Fonts** - Font configuration
157
- - **RecaptchaPopover** - reCAPTCHA integration
158
150
  - **Shared** - Shared utilities
159
151
 
160
152
  ## Theme Management
@@ -178,23 +170,48 @@ function App({ children }) {
178
170
 
179
171
  ## Hooks
180
172
 
181
- 15 production-ready hooks for common use cases:
173
+ 18 production-ready hooks for common use cases:
174
+
175
+ ### Analytics & Tracking
182
176
 
183
177
  - **useAnalytics** - CRUD operation tracking
184
- - **useBodyClass** - Body class management
185
- - **useCopyToClipboard** - Clipboard operations
186
- - **useFileUpload** - File upload with drag & drop
187
- - **useHydrated** - SSR-safe hydration detection
178
+
179
+ ### Responsive Design
180
+
188
181
  - **useMediaQuery** - Media query tracking
182
+ - **useIsMobile** - Mobile detection
183
+ - **useViewport** - Viewport dimensions
184
+ - **useIntersectionObserver** - Intersection observation
185
+
186
+ ### Form & Input Management
187
+
188
+ - **useFileUpload** - File upload with drag & drop
189
+ - **useSliderInput** - Slider input management
190
+ - **useCopyToClipboard** - Clipboard operations
191
+
192
+ ### Navigation & Scrolling
193
+
189
194
  - **useMenu** - Menu navigation state
190
- - **useMobile** - Mobile detection
191
- - **useMounted** - Mount state detection
195
+ - **useScrollPosition** - Scroll tracking
196
+
197
+ ### DOM Management
198
+
199
+ - **useBodyClass** - Body class management
192
200
  - **useMutationObserver** - DOM mutation observation
201
+
202
+ ### Platform Detection
203
+
204
+ - **useIsMac** - macOS detection
205
+
206
+ ### Security
207
+
193
208
  - **useRecaptchaV2** - reCAPTCHA integration
209
+
210
+ ### Utilities
211
+
212
+ - **useMounted** - Mount state detection
213
+ - **useHydrated** - SSR-safe hydration detection
194
214
  - **useRemoveGAParams** - GA parameter cleanup
195
- - **useScrollPosition** - Scroll tracking
196
- - **useSliderInput** - Slider input management
197
- - **useViewport** - Viewport dimensions
198
215
 
199
216
  ## Styling
200
217
 
@@ -218,8 +235,8 @@ Full TypeScript support with comprehensive type definitions for all components a
218
235
 
219
236
  ## Features
220
237
 
221
- - 100+ total components across all packages
222
- - 15 React hooks for common use cases
238
+ - 172+ total components across all packages
239
+ - 18 React hooks for common use cases
223
240
  - Full dark mode support
224
241
  - Responsive design
225
242
  - Accessibility (WCAG 2.1)
@@ -233,9 +250,10 @@ Full TypeScript support with comprehensive type definitions for all components a
233
250
 
234
251
  ### Production Dependencies
235
252
 
236
- - `@radix-ui/react-dialog`
237
- - `radix-ui`
238
- - `tw-animate-css`
253
+ - `class-variance-authority` - Component variants
254
+ - `clsx` - Conditional className
255
+ - `tailwind-merge` - Tailwind class merging
256
+ - `tw-animate-css` - Animation utilities
239
257
 
240
258
  ### Peer Dependencies
241
259
 
@@ -0,0 +1,48 @@
1
+ @theme inline {
2
+ --animate-collapsible-down: collapsible-down 0.2s ease-out;
3
+ --animate-collapsible-up: collapsible-up 0.2s ease-out;
4
+ --animate-marquee: marquee var(--duration) infinite linear;
5
+ --animate-marquee-vertical: marquee-vertical var(--duration) linear infinite;
6
+ }
7
+
8
+ @keyframes collapsible-down {
9
+ from {
10
+ height: 0;
11
+ }
12
+ to {
13
+ height: var(--radix-collapsible-content-height);
14
+ }
15
+ }
16
+
17
+ @keyframes collapsible-up {
18
+ from {
19
+ height: var(--radix-collapsible-content-height);
20
+ }
21
+ to {
22
+ height: 0;
23
+ }
24
+ }
25
+
26
+ @keyframes marquee {
27
+ from {
28
+ transform: translateX(0);
29
+ }
30
+ to {
31
+ transform: translateX(calc(-100% - var(--gap)));
32
+ }
33
+ }
34
+
35
+ @keyframes marquee-vertical {
36
+ from {
37
+ transform: translateY(0);
38
+ }
39
+ to {
40
+ transform: translateY(calc(-100% - var(--gap)));
41
+ }
42
+ }
43
+
44
+ @keyframes move {
45
+ to {
46
+ transform: translateX(0);
47
+ }
48
+ }
@@ -0,0 +1,105 @@
1
+ :root {
2
+ --radius: 0.625rem;
3
+ --background: oklch(1 0 0);
4
+ --foreground: oklch(0.13 0.028 261.692);
5
+ --card: oklch(1 0 0);
6
+ --card-foreground: oklch(0.13 0.028 261.692);
7
+ --popover: oklch(1 0 0);
8
+ --popover-foreground: oklch(0.13 0.028 261.692);
9
+ --primary: oklch(0.21 0.034 264.665);
10
+ --primary-foreground: oklch(0.985 0.002 247.839);
11
+ --secondary: oklch(0.967 0.003 264.542);
12
+ --secondary-foreground: oklch(0.21 0.034 264.665);
13
+ --muted: oklch(0.967 0.003 264.542);
14
+ --muted-foreground: oklch(0.551 0.027 264.364);
15
+ --accent: oklch(0.967 0.003 264.542);
16
+ --accent-foreground: oklch(0.21 0.034 264.665);
17
+ --destructive: oklch(0.577 0.245 27.325);
18
+ --destructive-foreground: oklch(0.985 0 0);
19
+ --border: oklch(0.928 0.006 264.531);
20
+ --input: oklch(0.928 0.006 264.531);
21
+ --ring: oklch(0.707 0.022 261.325);
22
+ --chart-1: oklch(0.646 0.222 41.116);
23
+ --chart-2: oklch(0.6 0.118 184.704);
24
+ --chart-3: oklch(0.398 0.07 227.392);
25
+ --chart-4: oklch(0.828 0.189 84.429);
26
+ --chart-5: oklch(0.769 0.188 70.08);
27
+ --sidebar: oklch(0.985 0.002 247.839);
28
+ --sidebar-foreground: oklch(0.13 0.028 261.692);
29
+ --sidebar-primary: oklch(0.21 0.034 264.665);
30
+ --sidebar-primary-foreground: oklch(0.985 0.002 247.839);
31
+ --sidebar-accent: oklch(0.967 0.003 264.542);
32
+ --sidebar-accent-foreground: oklch(0.21 0.034 264.665);
33
+ --sidebar-border: oklch(0.928 0.006 264.531);
34
+ --sidebar-ring: oklch(0.707 0.022 261.325);
35
+ }
36
+
37
+ .dark {
38
+ --background: oklch(0.13 0.028 261.692);
39
+ --foreground: oklch(0.985 0.002 247.839);
40
+ --card: oklch(0.21 0.034 264.665);
41
+ --card-foreground: oklch(0.985 0.002 247.839);
42
+ --popover: oklch(0.21 0.034 264.665);
43
+ --popover-foreground: oklch(0.985 0.002 247.839);
44
+ --primary: oklch(0.928 0.006 264.531);
45
+ --primary-foreground: oklch(0.21 0.034 264.665);
46
+ --secondary: oklch(0.278 0.033 256.848);
47
+ --secondary-foreground: oklch(0.985 0.002 247.839);
48
+ --muted: oklch(0.278 0.033 256.848);
49
+ --muted-foreground: oklch(0.707 0.022 261.325);
50
+ --accent: oklch(0.278 0.033 256.848);
51
+ --accent-foreground: oklch(0.985 0.002 247.839);
52
+ --destructive: oklch(0.704 0.191 22.216);
53
+ --destructive-foreground: oklch(0.985 0 0);
54
+ --border: oklch(1 0 0 / 10%);
55
+ --input: oklch(1 0 0 / 15%);
56
+ --ring: oklch(0.551 0.027 264.364);
57
+ --chart-1: oklch(0.488 0.243 264.376);
58
+ --chart-2: oklch(0.696 0.17 162.48);
59
+ --chart-3: oklch(0.769 0.188 70.08);
60
+ --chart-4: oklch(0.627 0.265 303.9);
61
+ --chart-5: oklch(0.645 0.246 16.439);
62
+ --sidebar: oklch(0.21 0.034 264.665);
63
+ --sidebar-foreground: oklch(0.985 0.002 247.839);
64
+ --sidebar-primary: oklch(0.488 0.243 264.376);
65
+ --sidebar-primary-foreground: oklch(0.985 0.002 247.839);
66
+ --sidebar-accent: oklch(0.278 0.033 256.848);
67
+ --sidebar-accent-foreground: oklch(0.985 0.002 247.839);
68
+ --sidebar-border: oklch(1 0 0 / 10%);
69
+ --sidebar-ring: oklch(0.551 0.027 264.364);
70
+ }
71
+
72
+ @theme inline {
73
+ --color-background: var(--background);
74
+ --color-foreground: var(--foreground);
75
+ --color-card: var(--card);
76
+ --color-card-foreground: var(--card-foreground);
77
+ --color-popover: var(--popover);
78
+ --color-popover-foreground: var(--popover-foreground);
79
+ --color-primary: var(--primary);
80
+ --color-primary-foreground: var(--primary-foreground);
81
+ --color-secondary: var(--secondary);
82
+ --color-secondary-foreground: var(--secondary-foreground);
83
+ --color-muted: var(--muted);
84
+ --color-muted-foreground: var(--muted-foreground);
85
+ --color-accent: var(--accent);
86
+ --color-accent-foreground: var(--accent-foreground);
87
+ --color-destructive: var(--destructive);
88
+ --color-destructive-foreground: var(--destructive-foreground);
89
+ --color-border: var(--border);
90
+ --color-input: var(--input);
91
+ --color-ring: var(--ring);
92
+ --color-chart-1: var(--chart-1);
93
+ --color-chart-2: var(--chart-2);
94
+ --color-chart-3: var(--chart-3);
95
+ --color-chart-4: var(--chart-4);
96
+ --color-chart-5: var(--chart-5);
97
+ --color-sidebar: var(--sidebar);
98
+ --color-sidebar-foreground: var(--sidebar-foreground);
99
+ --color-sidebar-primary: var(--sidebar-primary);
100
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
101
+ --color-sidebar-accent: var(--sidebar-accent);
102
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
103
+ --color-sidebar-border: var(--sidebar-border);
104
+ --color-sidebar-ring: var(--sidebar-ring);
105
+ }
@@ -0,0 +1,105 @@
1
+ :root {
2
+ --radius: 0.625rem;
3
+ --background: oklch(1 0 0);
4
+ --foreground: oklch(0.145 0 0);
5
+ --card: oklch(1 0 0);
6
+ --card-foreground: oklch(0.145 0 0);
7
+ --popover: oklch(1 0 0);
8
+ --popover-foreground: oklch(0.145 0 0);
9
+ --primary: oklch(0.205 0 0);
10
+ --primary-foreground: oklch(0.985 0 0);
11
+ --secondary: oklch(0.97 0 0);
12
+ --secondary-foreground: oklch(0.205 0 0);
13
+ --muted: oklch(0.97 0 0);
14
+ --muted-foreground: oklch(0.556 0 0);
15
+ --accent: oklch(0.97 0 0);
16
+ --accent-foreground: oklch(0.205 0 0);
17
+ --destructive: oklch(0.577 0.245 27.325);
18
+ --destructive-foreground: oklch(0.985 0 0);
19
+ --border: oklch(0.922 0 0);
20
+ --input: oklch(0.922 0 0);
21
+ --ring: oklch(0.708 0 0);
22
+ --chart-1: oklch(0.646 0.222 41.116);
23
+ --chart-2: oklch(0.6 0.118 184.704);
24
+ --chart-3: oklch(0.398 0.07 227.392);
25
+ --chart-4: oklch(0.828 0.189 84.429);
26
+ --chart-5: oklch(0.769 0.188 70.08);
27
+ --sidebar: oklch(0.985 0 0);
28
+ --sidebar-foreground: oklch(0.145 0 0);
29
+ --sidebar-primary: oklch(0.205 0 0);
30
+ --sidebar-primary-foreground: oklch(0.985 0 0);
31
+ --sidebar-accent: oklch(0.97 0 0);
32
+ --sidebar-accent-foreground: oklch(0.205 0 0);
33
+ --sidebar-border: oklch(0.922 0 0);
34
+ --sidebar-ring: oklch(0.708 0 0);
35
+ }
36
+
37
+ .dark {
38
+ --background: oklch(0.145 0 0);
39
+ --foreground: oklch(0.985 0 0);
40
+ --card: oklch(0.205 0 0);
41
+ --card-foreground: oklch(0.985 0 0);
42
+ --popover: oklch(0.205 0 0);
43
+ --popover-foreground: oklch(0.985 0 0);
44
+ --primary: oklch(0.922 0 0);
45
+ --primary-foreground: oklch(0.205 0 0);
46
+ --secondary: oklch(0.269 0 0);
47
+ --secondary-foreground: oklch(0.985 0 0);
48
+ --muted: oklch(0.269 0 0);
49
+ --muted-foreground: oklch(0.708 0 0);
50
+ --accent: oklch(0.269 0 0);
51
+ --accent-foreground: oklch(0.985 0 0);
52
+ --destructive: oklch(0.704 0.191 22.216);
53
+ --destructive-foreground: oklch(0.985 0 0);
54
+ --border: oklch(1 0 0 / 10%);
55
+ --input: oklch(1 0 0 / 15%);
56
+ --ring: oklch(0.556 0 0);
57
+ --chart-1: oklch(0.488 0.243 264.376);
58
+ --chart-2: oklch(0.696 0.17 162.48);
59
+ --chart-3: oklch(0.769 0.188 70.08);
60
+ --chart-4: oklch(0.627 0.265 303.9);
61
+ --chart-5: oklch(0.645 0.246 16.439);
62
+ --sidebar: oklch(0.205 0 0);
63
+ --sidebar-foreground: oklch(0.985 0 0);
64
+ --sidebar-primary: oklch(0.488 0.243 264.376);
65
+ --sidebar-primary-foreground: oklch(0.985 0 0);
66
+ --sidebar-accent: oklch(0.269 0 0);
67
+ --sidebar-accent-foreground: oklch(0.985 0 0);
68
+ --sidebar-border: oklch(1 0 0 / 10%);
69
+ --sidebar-ring: oklch(0.556 0 0);
70
+ }
71
+
72
+ @theme inline {
73
+ --color-background: var(--background);
74
+ --color-foreground: var(--foreground);
75
+ --color-card: var(--card);
76
+ --color-card-foreground: var(--card-foreground);
77
+ --color-popover: var(--popover);
78
+ --color-popover-foreground: var(--popover-foreground);
79
+ --color-primary: var(--primary);
80
+ --color-primary-foreground: var(--primary-foreground);
81
+ --color-secondary: var(--secondary);
82
+ --color-secondary-foreground: var(--secondary-foreground);
83
+ --color-muted: var(--muted);
84
+ --color-muted-foreground: var(--muted-foreground);
85
+ --color-accent: var(--accent);
86
+ --color-accent-foreground: var(--accent-foreground);
87
+ --color-destructive: var(--destructive);
88
+ --color-destructive-foreground: var(--destructive-foreground);
89
+ --color-border: var(--border);
90
+ --color-input: var(--input);
91
+ --color-ring: var(--ring);
92
+ --color-chart-1: var(--chart-1);
93
+ --color-chart-2: var(--chart-2);
94
+ --color-chart-3: var(--chart-3);
95
+ --color-chart-4: var(--chart-4);
96
+ --color-chart-5: var(--chart-5);
97
+ --color-sidebar: var(--sidebar);
98
+ --color-sidebar-foreground: var(--sidebar-foreground);
99
+ --color-sidebar-primary: var(--sidebar-primary);
100
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
101
+ --color-sidebar-accent: var(--sidebar-accent);
102
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
103
+ --color-sidebar-border: var(--sidebar-border);
104
+ --color-sidebar-ring: var(--sidebar-ring);
105
+ }
@@ -0,0 +1,105 @@
1
+ :root {
2
+ --radius: 0.625rem;
3
+ --background: oklch(1 0 0);
4
+ --foreground: oklch(0.129 0.042 264.695);
5
+ --card: oklch(1 0 0);
6
+ --card-foreground: oklch(0.129 0.042 264.695);
7
+ --popover: oklch(1 0 0);
8
+ --popover-foreground: oklch(0.129 0.042 264.695);
9
+ --primary: oklch(0.208 0.042 265.755);
10
+ --primary-foreground: oklch(0.984 0.003 247.858);
11
+ --secondary: oklch(0.968 0.007 247.896);
12
+ --secondary-foreground: oklch(0.208 0.042 265.755);
13
+ --muted: oklch(0.968 0.007 247.896);
14
+ --muted-foreground: oklch(0.554 0.046 257.417);
15
+ --accent: oklch(0.968 0.007 247.896);
16
+ --accent-foreground: oklch(0.208 0.042 265.755);
17
+ --destructive: oklch(0.577 0.245 27.325);
18
+ --destructive-foreground: oklch(0.985 0 0);
19
+ --border: oklch(0.929 0.013 255.508);
20
+ --input: oklch(0.929 0.013 255.508);
21
+ --ring: oklch(0.704 0.04 256.788);
22
+ --chart-1: oklch(0.646 0.222 41.116);
23
+ --chart-2: oklch(0.6 0.118 184.704);
24
+ --chart-3: oklch(0.398 0.07 227.392);
25
+ --chart-4: oklch(0.828 0.189 84.429);
26
+ --chart-5: oklch(0.769 0.188 70.08);
27
+ --sidebar: oklch(0.984 0.003 247.858);
28
+ --sidebar-foreground: oklch(0.129 0.042 264.695);
29
+ --sidebar-primary: oklch(0.208 0.042 265.755);
30
+ --sidebar-primary-foreground: oklch(0.984 0.003 247.858);
31
+ --sidebar-accent: oklch(0.968 0.007 247.896);
32
+ --sidebar-accent-foreground: oklch(0.208 0.042 265.755);
33
+ --sidebar-border: oklch(0.929 0.013 255.508);
34
+ --sidebar-ring: oklch(0.704 0.04 256.788);
35
+ }
36
+
37
+ .dark {
38
+ --background: oklch(0.129 0.042 264.695);
39
+ --foreground: oklch(0.984 0.003 247.858);
40
+ --card: oklch(0.208 0.042 265.755);
41
+ --card-foreground: oklch(0.984 0.003 247.858);
42
+ --popover: oklch(0.208 0.042 265.755);
43
+ --popover-foreground: oklch(0.984 0.003 247.858);
44
+ --primary: oklch(0.929 0.013 255.508);
45
+ --primary-foreground: oklch(0.208 0.042 265.755);
46
+ --secondary: oklch(0.279 0.041 260.031);
47
+ --secondary-foreground: oklch(0.984 0.003 247.858);
48
+ --muted: oklch(0.279 0.041 260.031);
49
+ --muted-foreground: oklch(0.704 0.04 256.788);
50
+ --accent: oklch(0.279 0.041 260.031);
51
+ --accent-foreground: oklch(0.984 0.003 247.858);
52
+ --destructive: oklch(0.704 0.191 22.216);
53
+ --destructive-foreground: oklch(0.985 0 0);
54
+ --border: oklch(1 0 0 / 10%);
55
+ --input: oklch(1 0 0 / 15%);
56
+ --ring: oklch(0.551 0.027 264.364);
57
+ --chart-1: oklch(0.488 0.243 264.376);
58
+ --chart-2: oklch(0.696 0.17 162.48);
59
+ --chart-3: oklch(0.769 0.188 70.08);
60
+ --chart-4: oklch(0.627 0.265 303.9);
61
+ --chart-5: oklch(0.645 0.246 16.439);
62
+ --sidebar: oklch(0.208 0.042 265.755);
63
+ --sidebar-foreground: oklch(0.984 0.003 247.858);
64
+ --sidebar-primary: oklch(0.488 0.243 264.376);
65
+ --sidebar-primary-foreground: oklch(0.984 0.003 247.858);
66
+ --sidebar-accent: oklch(0.279 0.041 260.031);
67
+ --sidebar-accent-foreground: oklch(0.984 0.003 247.858);
68
+ --sidebar-border: oklch(1 0 0 / 10%);
69
+ --sidebar-ring: oklch(0.551 0.027 264.364);
70
+ }
71
+
72
+ @theme inline {
73
+ --color-background: var(--background);
74
+ --color-foreground: var(--foreground);
75
+ --color-card: var(--card);
76
+ --color-card-foreground: var(--card-foreground);
77
+ --color-popover: var(--popover);
78
+ --color-popover-foreground: var(--popover-foreground);
79
+ --color-primary: var(--primary);
80
+ --color-primary-foreground: var(--primary-foreground);
81
+ --color-secondary: var(--secondary);
82
+ --color-secondary-foreground: var(--secondary-foreground);
83
+ --color-muted: var(--muted);
84
+ --color-muted-foreground: var(--muted-foreground);
85
+ --color-accent: var(--accent);
86
+ --color-accent-foreground: var(--accent-foreground);
87
+ --color-destructive: var(--destructive);
88
+ --color-destructive-foreground: var(--destructive-foreground);
89
+ --color-border: var(--border);
90
+ --color-input: var(--input);
91
+ --color-ring: var(--ring);
92
+ --color-chart-1: var(--chart-1);
93
+ --color-chart-2: var(--chart-2);
94
+ --color-chart-3: var(--chart-3);
95
+ --color-chart-4: var(--chart-4);
96
+ --color-chart-5: var(--chart-5);
97
+ --color-sidebar: var(--sidebar);
98
+ --color-sidebar-foreground: var(--sidebar-foreground);
99
+ --color-sidebar-primary: var(--sidebar-primary);
100
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
101
+ --color-sidebar-accent: var(--sidebar-accent);
102
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
103
+ --color-sidebar-border: var(--sidebar-border);
104
+ --color-sidebar-ring: var(--sidebar-ring);
105
+ }
@@ -0,0 +1,105 @@
1
+ :root {
2
+ --radius: 0.625rem;
3
+ --background: oklch(1 0 0);
4
+ --foreground: oklch(0.147 0.004 49.25);
5
+ --card: oklch(1 0 0);
6
+ --card-foreground: oklch(0.147 0.004 49.25);
7
+ --popover: oklch(1 0 0);
8
+ --popover-foreground: oklch(0.147 0.004 49.25);
9
+ --primary: oklch(0.216 0.006 56.043);
10
+ --primary-foreground: oklch(0.985 0.001 106.423);
11
+ --secondary: oklch(0.97 0.001 106.424);
12
+ --secondary-foreground: oklch(0.216 0.006 56.043);
13
+ --muted: oklch(0.97 0.001 106.424);
14
+ --muted-foreground: oklch(0.553 0.013 58.071);
15
+ --accent: oklch(0.97 0.001 106.424);
16
+ --accent-foreground: oklch(0.216 0.006 56.043);
17
+ --destructive: oklch(0.577 0.245 27.325);
18
+ --destructive-foreground: oklch(0.985 0 0);
19
+ --border: oklch(0.923 0.003 48.717);
20
+ --input: oklch(0.923 0.003 48.717);
21
+ --ring: oklch(0.709 0.01 56.259);
22
+ --chart-1: oklch(0.646 0.222 41.116);
23
+ --chart-2: oklch(0.6 0.118 184.704);
24
+ --chart-3: oklch(0.398 0.07 227.392);
25
+ --chart-4: oklch(0.828 0.189 84.429);
26
+ --chart-5: oklch(0.769 0.188 70.08);
27
+ --sidebar: oklch(0.985 0.001 106.423);
28
+ --sidebar-foreground: oklch(0.147 0.004 49.25);
29
+ --sidebar-primary: oklch(0.216 0.006 56.043);
30
+ --sidebar-primary-foreground: oklch(0.985 0.001 106.423);
31
+ --sidebar-accent: oklch(0.97 0.001 106.424);
32
+ --sidebar-accent-foreground: oklch(0.216 0.006 56.043);
33
+ --sidebar-border: oklch(0.923 0.003 48.717);
34
+ --sidebar-ring: oklch(0.709 0.01 56.259);
35
+ }
36
+
37
+ .dark {
38
+ --background: oklch(0.147 0.004 49.25);
39
+ --foreground: oklch(0.985 0.001 106.423);
40
+ --card: oklch(0.216 0.006 56.043);
41
+ --card-foreground: oklch(0.985 0.001 106.423);
42
+ --popover: oklch(0.216 0.006 56.043);
43
+ --popover-foreground: oklch(0.985 0.001 106.423);
44
+ --primary: oklch(0.923 0.003 48.717);
45
+ --primary-foreground: oklch(0.216 0.006 56.043);
46
+ --secondary: oklch(0.268 0.007 34.298);
47
+ --secondary-foreground: oklch(0.985 0.001 106.423);
48
+ --muted: oklch(0.268 0.007 34.298);
49
+ --muted-foreground: oklch(0.709 0.01 56.259);
50
+ --accent: oklch(0.268 0.007 34.298);
51
+ --accent-foreground: oklch(0.985 0.001 106.423);
52
+ --destructive: oklch(0.704 0.191 22.216);
53
+ --destructive-foreground: oklch(0.985 0 0);
54
+ --border: oklch(1 0 0 / 10%);
55
+ --input: oklch(1 0 0 / 15%);
56
+ --ring: oklch(0.553 0.013 58.071);
57
+ --chart-1: oklch(0.488 0.243 264.376);
58
+ --chart-2: oklch(0.696 0.17 162.48);
59
+ --chart-3: oklch(0.769 0.188 70.08);
60
+ --chart-4: oklch(0.627 0.265 303.9);
61
+ --chart-5: oklch(0.645 0.246 16.439);
62
+ --sidebar: oklch(0.216 0.006 56.043);
63
+ --sidebar-foreground: oklch(0.985 0.001 106.423);
64
+ --sidebar-primary: oklch(0.488 0.243 264.376);
65
+ --sidebar-primary-foreground: oklch(0.985 0.001 106.423);
66
+ --sidebar-accent: oklch(0.268 0.007 34.298);
67
+ --sidebar-accent-foreground: oklch(0.985 0.001 106.423);
68
+ --sidebar-border: oklch(1 0 0 / 10%);
69
+ --sidebar-ring: oklch(0.553 0.013 58.071);
70
+ }
71
+
72
+ @theme inline {
73
+ --color-background: var(--background);
74
+ --color-foreground: var(--foreground);
75
+ --color-card: var(--card);
76
+ --color-card-foreground: var(--card-foreground);
77
+ --color-popover: var(--popover);
78
+ --color-popover-foreground: var(--popover-foreground);
79
+ --color-primary: var(--primary);
80
+ --color-primary-foreground: var(--primary-foreground);
81
+ --color-secondary: var(--secondary);
82
+ --color-secondary-foreground: var(--secondary-foreground);
83
+ --color-muted: var(--muted);
84
+ --color-muted-foreground: var(--muted-foreground);
85
+ --color-accent: var(--accent);
86
+ --color-accent-foreground: var(--accent-foreground);
87
+ --color-destructive: var(--destructive);
88
+ --color-destructive-foreground: var(--destructive-foreground);
89
+ --color-border: var(--border);
90
+ --color-input: var(--input);
91
+ --color-ring: var(--ring);
92
+ --color-chart-1: var(--chart-1);
93
+ --color-chart-2: var(--chart-2);
94
+ --color-chart-3: var(--chart-3);
95
+ --color-chart-4: var(--chart-4);
96
+ --color-chart-5: var(--chart-5);
97
+ --color-sidebar: var(--sidebar);
98
+ --color-sidebar-foreground: var(--sidebar-foreground);
99
+ --color-sidebar-primary: var(--sidebar-primary);
100
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
101
+ --color-sidebar-accent: var(--sidebar-accent);
102
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
103
+ --color-sidebar-border: var(--sidebar-border);
104
+ --color-sidebar-ring: var(--sidebar-ring);
105
+ }