@open-cloud-initiative/editor-x 0.0.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.
- package/.devcontainer/Dockerfile +13 -0
- package/.devcontainer/devcontainer.json +52 -0
- package/.github/dependabot.yml +10 -0
- package/.github/workflows/pages.yml +42 -0
- package/.github/workflows/publish.yml +41 -0
- package/.vscode/settings.json +7 -0
- package/LICENSE +9 -0
- package/README.md +9 -0
- package/app/_component/editor.tsx +383 -0
- package/app/layout.tsx +46 -0
- package/app/page.tsx +11 -0
- package/app/r/registry.json/route.ts +22 -0
- package/components/editorx/editor.tsx +1794 -0
- package/components/editorx/extensions/floating-menu.tsx +376 -0
- package/components/editorx/extensions/floating-toolbar.tsx +97 -0
- package/components/editorx/extensions/image-placeholder.tsx +316 -0
- package/components/editorx/extensions/image.tsx +462 -0
- package/components/editorx/extensions/search-and-replace.tsx +438 -0
- package/components/editorx/rich-text-editor.tsx +383 -0
- package/components/editorx/tiptap.css +421 -0
- package/components/editorx/toolbars/alignment.tsx +126 -0
- package/components/editorx/toolbars/blockquote.tsx +47 -0
- package/components/editorx/toolbars/bold.tsx +48 -0
- package/components/editorx/toolbars/bullet-list.tsx +48 -0
- package/components/editorx/toolbars/code-block.tsx +47 -0
- package/components/editorx/toolbars/code.tsx +43 -0
- package/components/editorx/toolbars/color-and-highlight.tsx +215 -0
- package/components/editorx/toolbars/editor-toolbar.tsx +77 -0
- package/components/editorx/toolbars/hard-break.tsx +46 -0
- package/components/editorx/toolbars/headings.tsx +97 -0
- package/components/editorx/toolbars/horizontal-rule.tsx +42 -0
- package/components/editorx/toolbars/image-placeholder-toolbar.tsx +47 -0
- package/components/editorx/toolbars/italic.tsx +48 -0
- package/components/editorx/toolbars/link.tsx +130 -0
- package/components/editorx/toolbars/mobile-toolbar-group.tsx +76 -0
- package/components/editorx/toolbars/ordered-list.tsx +47 -0
- package/components/editorx/toolbars/redo.tsx +44 -0
- package/components/editorx/toolbars/strikethrough.tsx +48 -0
- package/components/editorx/toolbars/toolbar-provider.tsx +29 -0
- package/components/editorx/toolbars/underline.tsx +48 -0
- package/components/editorx/toolbars/undo.tsx +43 -0
- package/components/layout/theme-switcher.tsx +26 -0
- package/components/main-nav.tsx +24 -0
- package/components/mobile-nav.tsx +46 -0
- package/components/open-in-v0-button.tsx +38 -0
- package/components/page-header.tsx +30 -0
- package/components/site-footer.tsx +41 -0
- package/components/site-header.tsx +32 -0
- package/components/theme-provider.tsx +8 -0
- package/components/ui/button.tsx +57 -0
- package/components/ui/checkbox.tsx +30 -0
- package/components/ui/collapsible.tsx +11 -0
- package/components/ui/command.tsx +148 -0
- package/components/ui/dialog.tsx +122 -0
- package/components/ui/drawer.tsx +118 -0
- package/components/ui/dropdown-menu.tsx +201 -0
- package/components/ui/input.tsx +22 -0
- package/components/ui/label.tsx +26 -0
- package/components/ui/popover.tsx +33 -0
- package/components/ui/resizable.tsx +40 -0
- package/components/ui/scroll-area.tsx +42 -0
- package/components/ui/separator.tsx +31 -0
- package/components/ui/sheet.tsx +140 -0
- package/components/ui/sidebar.tsx +763 -0
- package/components/ui/skeleton.tsx +15 -0
- package/components/ui/spinner.tsx +29 -0
- package/components/ui/tabs.tsx +55 -0
- package/components/ui/toggle-group.tsx +61 -0
- package/components/ui/toggle.tsx +45 -0
- package/components/ui/tooltip.tsx +32 -0
- package/components.json +21 -0
- package/config/site.ts +15 -0
- package/eslint.config.mjs +20 -0
- package/hooks/use-character-limit.ts +28 -0
- package/hooks/use-copy-to-clipboard.ts +16 -0
- package/hooks/use-debounce.ts +17 -0
- package/hooks/use-image-upload.ts +97 -0
- package/hooks/use-media-querry.ts +18 -0
- package/hooks/use-mobile.tsx +19 -0
- package/images/editor.png +0 -0
- package/lib/content.ts +39 -0
- package/lib/cookie-client.ts +19 -0
- package/lib/localstorage-client.ts +19 -0
- package/lib/package.ts +144 -0
- package/lib/preferences-config.ts +72 -0
- package/lib/preferences-storage.ts +20 -0
- package/lib/theme-utils.ts +12 -0
- package/lib/theme.ts +50 -0
- package/lib/tiptap-utils.ts +45 -0
- package/lib/utils.ts +11 -0
- package/next-env.d.ts +6 -0
- package/next.config.mjs +11 -0
- package/package.json +92 -0
- package/postcss.config.mjs +8 -0
- package/prettier.config.mjs +15 -0
- package/public/android-chrome-192x192.png +0 -0
- package/public/android-chrome-512x512.png +0 -0
- package/public/apple-touch-icon.png +0 -0
- package/public/favicon-16x16.png +0 -0
- package/public/favicon-32x32.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/file.svg +1 -0
- package/public/globe.svg +1 -0
- package/public/next.svg +1 -0
- package/public/og.webp +0 -0
- package/public/r/editor-x.json +85 -0
- package/public/r/registry.json +93 -0
- package/public/site.webmanifest +19 -0
- package/public/vercel.svg +1 -0
- package/public/window.svg +1 -0
- package/registry/editor/components/editor.tsx +1794 -0
- package/registry/editor/components/extensions/floating-menu.tsx +376 -0
- package/registry/editor/components/extensions/floating-toolbar.tsx +97 -0
- package/registry/editor/components/extensions/image-placeholder.tsx +316 -0
- package/registry/editor/components/extensions/image.tsx +462 -0
- package/registry/editor/components/extensions/search-and-replace.tsx +438 -0
- package/registry/editor/components/rich-text-editor.tsx +383 -0
- package/registry/editor/components/tiptap.css +421 -0
- package/registry/editor/components/toolbars/alignment.tsx +126 -0
- package/registry/editor/components/toolbars/blockquote.tsx +47 -0
- package/registry/editor/components/toolbars/bold.tsx +48 -0
- package/registry/editor/components/toolbars/bullet-list.tsx +48 -0
- package/registry/editor/components/toolbars/code-block.tsx +47 -0
- package/registry/editor/components/toolbars/code.tsx +43 -0
- package/registry/editor/components/toolbars/color-and-highlight.tsx +215 -0
- package/registry/editor/components/toolbars/editor-toolbar.tsx +77 -0
- package/registry/editor/components/toolbars/hard-break.tsx +46 -0
- package/registry/editor/components/toolbars/headings.tsx +97 -0
- package/registry/editor/components/toolbars/horizontal-rule.tsx +42 -0
- package/registry/editor/components/toolbars/image-placeholder-toolbar.tsx +47 -0
- package/registry/editor/components/toolbars/italic.tsx +48 -0
- package/registry/editor/components/toolbars/link.tsx +130 -0
- package/registry/editor/components/toolbars/mobile-toolbar-group.tsx +76 -0
- package/registry/editor/components/toolbars/ordered-list.tsx +47 -0
- package/registry/editor/components/toolbars/redo.tsx +44 -0
- package/registry/editor/components/toolbars/strikethrough.tsx +48 -0
- package/registry/editor/components/toolbars/toolbar-provider.tsx +29 -0
- package/registry/editor/components/toolbars/underline.tsx +48 -0
- package/registry/editor/components/toolbars/undo.tsx +43 -0
- package/registry/editor/components/ui/button.tsx +57 -0
- package/registry/editor/components/ui/checkbox.tsx +30 -0
- package/registry/editor/components/ui/collapsible.tsx +11 -0
- package/registry/editor/components/ui/command.tsx +148 -0
- package/registry/editor/components/ui/dialog.tsx +122 -0
- package/registry/editor/components/ui/drawer.tsx +118 -0
- package/registry/editor/components/ui/dropdown-menu.tsx +201 -0
- package/registry/editor/components/ui/input.tsx +22 -0
- package/registry/editor/components/ui/label.tsx +26 -0
- package/registry/editor/components/ui/popover.tsx +33 -0
- package/registry/editor/components/ui/resizable.tsx +40 -0
- package/registry/editor/components/ui/scroll-area.tsx +42 -0
- package/registry/editor/components/ui/separator.tsx +31 -0
- package/registry/editor/components/ui/sheet.tsx +140 -0
- package/registry/editor/components/ui/sidebar.tsx +763 -0
- package/registry/editor/components/ui/skeleton.tsx +15 -0
- package/registry/editor/components/ui/spinner.tsx +29 -0
- package/registry/editor/components/ui/tabs.tsx +55 -0
- package/registry/editor/components/ui/toggle-group.tsx +61 -0
- package/registry/editor/components/ui/toggle.tsx +45 -0
- package/registry/editor/components/ui/tooltip.tsx +32 -0
- package/registry/editor/hooks/use-character-limit.ts +28 -0
- package/registry/editor/hooks/use-copy-to-clipboard.ts +16 -0
- package/registry/editor/hooks/use-debounce.ts +17 -0
- package/registry/editor/hooks/use-image-upload.ts +97 -0
- package/registry/editor/hooks/use-media-querry.ts +18 -0
- package/registry/editor/hooks/use-mobile.tsx +19 -0
- package/registry/editor/lib/content.ts +39 -0
- package/registry/editor/lib/cookie-client.ts +19 -0
- package/registry/editor/lib/localstorage-client.ts +19 -0
- package/registry/editor/lib/package.ts +144 -0
- package/registry/editor/lib/preferences-config.ts +72 -0
- package/registry/editor/lib/preferences-storage.ts +20 -0
- package/registry/editor/lib/theme-utils.ts +12 -0
- package/registry/editor/lib/theme.ts +50 -0
- package/registry/editor/lib/tiptap-utils.ts +45 -0
- package/registry/editor/lib/utils.ts +11 -0
- package/registry/editor/page.tsx +9 -0
- package/registry.json +93 -0
- package/reset.d.ts +1 -0
- package/scripts/generate-theme-presets.ts +128 -0
- package/scripts/postCreateCommand.sh +0 -0
- package/scripts/theme-boot.tsx +105 -0
- package/server/server-actions.ts +27 -0
- package/stores/preferences/preferences-provider.tsx +55 -0
- package/stores/preferences/preferences-store.ts +23 -0
- package/styles/globals.css +288 -0
- package/styles/presets/brutalist.css +89 -0
- package/styles/presets/soft-pop.css +89 -0
- package/styles/presets/tangerine.css +89 -0
- package/tsconfig.json +50 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
@import 'tailwindcss';
|
|
2
|
+
@import 'tw-animate-css';
|
|
3
|
+
|
|
4
|
+
/* Theme preset styles: these override CSS variables based on the selected data-theme-preset */
|
|
5
|
+
@import './presets/brutalist.css';
|
|
6
|
+
@import './presets/soft-pop.css';
|
|
7
|
+
@import './presets/tangerine.css';
|
|
8
|
+
|
|
9
|
+
@custom-variant dark (&:is(.dark *));
|
|
10
|
+
|
|
11
|
+
@theme inline {
|
|
12
|
+
--color-background: var(--background);
|
|
13
|
+
--color-foreground: var(--foreground);
|
|
14
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
15
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
16
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
17
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
18
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
19
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
20
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
21
|
+
--color-sidebar: var(--sidebar);
|
|
22
|
+
--color-chart-5: var(--chart-5);
|
|
23
|
+
--color-chart-4: var(--chart-4);
|
|
24
|
+
--color-chart-3: var(--chart-3);
|
|
25
|
+
--color-chart-2: var(--chart-2);
|
|
26
|
+
--color-chart-1: var(--chart-1);
|
|
27
|
+
--color-ring: var(--ring);
|
|
28
|
+
--color-input: var(--input);
|
|
29
|
+
--color-border: var(--border);
|
|
30
|
+
--color-destructive: var(--destructive);
|
|
31
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
32
|
+
--color-accent: var(--accent);
|
|
33
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
34
|
+
--color-muted: var(--muted);
|
|
35
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
36
|
+
--color-secondary: var(--secondary);
|
|
37
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
38
|
+
--color-primary: var(--primary);
|
|
39
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
40
|
+
--color-popover: var(--popover);
|
|
41
|
+
--color-card-foreground: var(--card-foreground);
|
|
42
|
+
--color-card: var(--card);
|
|
43
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
44
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
45
|
+
--radius-lg: var(--radius);
|
|
46
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
47
|
+
--radius-2xl: calc(var(--radius) + 8px);
|
|
48
|
+
--radius-3xl: calc(var(--radius) + 12px);
|
|
49
|
+
--radius-4xl: calc(var(--radius) + 16px);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Default theme styles (used when no data-theme-preset is set or when 'default' is selected).
|
|
53
|
+
These serve as the fallback; there is no separate default.css file. */
|
|
54
|
+
:root {
|
|
55
|
+
--radius: 0.625rem;
|
|
56
|
+
--card: oklch(1 0 0);
|
|
57
|
+
--card-foreground: oklch(0.145 0 0);
|
|
58
|
+
--popover: oklch(1 0 0);
|
|
59
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
60
|
+
--primary: oklch(0.205 0 0);
|
|
61
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
62
|
+
--secondary: oklch(0.97 0 0);
|
|
63
|
+
--secondary-foreground: oklch(0.205 0 0);
|
|
64
|
+
--muted: oklch(0.97 0 0);
|
|
65
|
+
--muted-foreground: oklch(0.556 0 0);
|
|
66
|
+
--accent: oklch(0.97 0 0);
|
|
67
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
68
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
69
|
+
--border: oklch(0.922 0 0);
|
|
70
|
+
--input: oklch(0.922 0 0);
|
|
71
|
+
--ring: oklch(0.708 0 0);
|
|
72
|
+
--chart-1: oklch(0.3211 0 0);
|
|
73
|
+
--chart-2: oklch(0.4495 0 0);
|
|
74
|
+
--chart-3: oklch(0.5693 0 0);
|
|
75
|
+
--chart-4: oklch(0.683 0 0);
|
|
76
|
+
--chart-5: oklch(0.7921 0 0);
|
|
77
|
+
--sidebar: oklch(0.985 0 0);
|
|
78
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
79
|
+
--sidebar-primary: oklch(0.205 0 0);
|
|
80
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
81
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
82
|
+
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
83
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
84
|
+
--sidebar-ring: oklch(0.708 0 0);
|
|
85
|
+
--background: oklch(1 0 0);
|
|
86
|
+
--foreground: oklch(0.145 0 0);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.dark {
|
|
90
|
+
--background: oklch(0.145 0 0);
|
|
91
|
+
--foreground: oklch(0.985 0 0);
|
|
92
|
+
--card: oklch(0.205 0 0);
|
|
93
|
+
--card-foreground: oklch(0.985 0 0);
|
|
94
|
+
--popover: oklch(0.205 0 0);
|
|
95
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
96
|
+
--primary: oklch(0.922 0 0);
|
|
97
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
98
|
+
--secondary: oklch(0.269 0 0);
|
|
99
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
100
|
+
--muted: oklch(0.269 0 0);
|
|
101
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
102
|
+
--accent: oklch(0.269 0 0);
|
|
103
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
104
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
105
|
+
--border: oklch(1 0 0 / 10%);
|
|
106
|
+
--input: oklch(1 0 0 / 15%);
|
|
107
|
+
--ring: oklch(0.556 0 0);
|
|
108
|
+
--chart-1: oklch(0.9521 0 0);
|
|
109
|
+
--chart-2: oklch(0.8576 0 0);
|
|
110
|
+
--chart-3: oklch(0.7572 0 0);
|
|
111
|
+
--chart-4: oklch(0.6534 0 0);
|
|
112
|
+
--chart-5: oklch(0.5452 0 0);
|
|
113
|
+
--sidebar: oklch(0.205 0 0);
|
|
114
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
115
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
116
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
117
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
118
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
119
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
120
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@layer utilities {
|
|
124
|
+
[data-theme-preset]:not([data-theme-preset='default']) .shadow-2xs {
|
|
125
|
+
box-shadow: var(--shadow-2xs);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
[data-theme-preset]:not([data-theme-preset='default']) .shadow-xs {
|
|
129
|
+
box-shadow: var(--shadow-xs);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
[data-theme-preset]:not([data-theme-preset='default']) .shadow-sm {
|
|
133
|
+
box-shadow: var(--shadow-sm);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
[data-theme-preset]:not([data-theme-preset='default']) .shadow {
|
|
137
|
+
box-shadow: var(--shadow);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
[data-theme-preset]:not([data-theme-preset='default']) .shadow-md {
|
|
141
|
+
box-shadow: var(--shadow-md);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
[data-theme-preset]:not([data-theme-preset='default']) .shadow-lg {
|
|
145
|
+
box-shadow: var(--shadow-lg);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
[data-theme-preset]:not([data-theme-preset='default']) .shadow-xl {
|
|
149
|
+
box-shadow: var(--shadow-xl);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
[data-theme-preset]:not([data-theme-preset='default']) .shadow-2xl {
|
|
153
|
+
box-shadow: var(--shadow-2xl);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@layer base {
|
|
158
|
+
* {
|
|
159
|
+
@apply border-border outline-ring/50;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
body {
|
|
163
|
+
@apply bg-background text-foreground;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
html {
|
|
168
|
+
overscroll-behavior: none;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.disable-transitions * {
|
|
172
|
+
transition: none !important;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* Markdown Editor Styles */
|
|
176
|
+
.w-md-editor {
|
|
177
|
+
background-color: hsl(var(--card)) !important;
|
|
178
|
+
border: 1px solid hsl(var(--border)) !important;
|
|
179
|
+
border-radius: calc(var(--radius) - 2px) !important;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.w-md-editor-text-container,
|
|
183
|
+
.w-md-editor-text,
|
|
184
|
+
.w-md-editor-preview {
|
|
185
|
+
background-color: hsl(var(--background)) !important;
|
|
186
|
+
color: hsl(var(--foreground)) !important;
|
|
187
|
+
font-size: 14px !important;
|
|
188
|
+
line-height: 1.5 !important;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.w-md-editor-toolbar {
|
|
192
|
+
background-color: hsl(var(--muted)) !important;
|
|
193
|
+
border-bottom: 1px solid hsl(var(--border)) !important;
|
|
194
|
+
padding: 8px !important;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.w-md-editor-toolbar ul li button {
|
|
198
|
+
background-color: transparent !important;
|
|
199
|
+
color: hsl(var(--muted-foreground)) !important;
|
|
200
|
+
border: none !important;
|
|
201
|
+
border-radius: calc(var(--radius) - 4px) !important;
|
|
202
|
+
padding: 4px 8px !important;
|
|
203
|
+
transition: all 0.2s ease !important;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.w-md-editor-toolbar ul li button:hover {
|
|
207
|
+
background-color: hsl(var(--accent)) !important;
|
|
208
|
+
color: hsl(var(--accent-foreground)) !important;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.w-md-editor-toolbar ul li button.active {
|
|
212
|
+
background-color: hsl(var(--primary)) !important;
|
|
213
|
+
color: hsl(var(--primary-foreground)) !important;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.w-md-editor.w-md-editor-focus {
|
|
217
|
+
border-color: hsl(var(--ring)) !important;
|
|
218
|
+
box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2) !important;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.w-md-editor-text:focus {
|
|
222
|
+
outline: none !important;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.w-md-editor-preview h1,
|
|
226
|
+
.w-md-editor-preview h2,
|
|
227
|
+
.w-md-editor-preview h3,
|
|
228
|
+
.w-md-editor-preview h4,
|
|
229
|
+
.w-md-editor-preview h5,
|
|
230
|
+
.w-md-editor-preview h6 {
|
|
231
|
+
color: hsl(var(--foreground)) !important;
|
|
232
|
+
margin-top: 1.5em !important;
|
|
233
|
+
margin-bottom: 0.5em !important;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.w-md-editor-preview p {
|
|
237
|
+
margin-bottom: 1em !important;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.w-md-editor-preview code {
|
|
241
|
+
background-color: hsl(var(--muted)) !important;
|
|
242
|
+
color: hsl(var(--muted-foreground)) !important;
|
|
243
|
+
padding: 2px 4px !important;
|
|
244
|
+
border-radius: calc(var(--radius) - 4px) !important;
|
|
245
|
+
font-size: 0.875em !important;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.w-md-editor-preview pre {
|
|
249
|
+
background-color: hsl(var(--muted)) !important;
|
|
250
|
+
color: hsl(var(--foreground)) !important;
|
|
251
|
+
padding: 1em !important;
|
|
252
|
+
border-radius: calc(var(--radius) - 2px) !important;
|
|
253
|
+
overflow-x: auto !important;
|
|
254
|
+
margin: 1em 0 !important;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.w-md-editor-preview pre code {
|
|
258
|
+
background-color: transparent !important;
|
|
259
|
+
padding: 0 !important;
|
|
260
|
+
color: inherit !important;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.w-md-editor-preview blockquote {
|
|
264
|
+
border-left: 4px solid hsl(var(--border)) !important;
|
|
265
|
+
margin: 1em 0 !important;
|
|
266
|
+
padding-left: 1em !important;
|
|
267
|
+
color: hsl(var(--muted-foreground)) !important;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.w-md-editor-preview ul,
|
|
271
|
+
.w-md-editor-preview ol {
|
|
272
|
+
margin: 1em 0 !important;
|
|
273
|
+
padding-left: 1.5em !important;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.w-md-editor-preview li {
|
|
277
|
+
margin: 0.25em 0 !important;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.w-md-editor-preview a {
|
|
281
|
+
color: hsl(var(--primary)) !important;
|
|
282
|
+
text-decoration: underline !important;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.w-md-editor-preview a:hover {
|
|
286
|
+
color: hsl(var(--primary)) !important;
|
|
287
|
+
opacity: 0.8 !important;
|
|
288
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
label: Brutalist
|
|
3
|
+
value: brutalist
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:root[data-theme-preset="brutalist"] {
|
|
7
|
+
--radius: 0px;
|
|
8
|
+
--card: oklch(1 0 0);
|
|
9
|
+
--card-foreground: oklch(0 0 0);
|
|
10
|
+
--popover: oklch(1 0 0);
|
|
11
|
+
--popover-foreground: oklch(0 0 0);
|
|
12
|
+
--primary: oklch(0.6489 0.237 26.9728);
|
|
13
|
+
--primary-foreground: oklch(1 0 0);
|
|
14
|
+
--secondary: oklch(0.968 0.211 109.7692);
|
|
15
|
+
--secondary-foreground: oklch(0 0 0);
|
|
16
|
+
--muted: oklch(0.9551 0 0);
|
|
17
|
+
--muted-foreground: oklch(0.3211 0 0);
|
|
18
|
+
--accent: oklch(0.5635 0.2408 260.8178);
|
|
19
|
+
--accent-foreground: oklch(1 0 0);
|
|
20
|
+
--destructive: oklch(0 0 0);
|
|
21
|
+
--border: oklch(0 0 0);
|
|
22
|
+
--input: oklch(0 0 0);
|
|
23
|
+
--ring: oklch(0.6489 0.237 26.9728);
|
|
24
|
+
--chart-1: oklch(0.6489 0.237 26.9728);
|
|
25
|
+
--chart-2: oklch(0.968 0.211 109.7692);
|
|
26
|
+
--chart-3: oklch(0.5635 0.2408 260.8178);
|
|
27
|
+
--chart-4: oklch(0.7323 0.2492 142.4953);
|
|
28
|
+
--chart-5: oklch(0.5931 0.2726 328.3634);
|
|
29
|
+
--sidebar: oklch(0.9551 0 0);
|
|
30
|
+
--sidebar-foreground: oklch(0 0 0);
|
|
31
|
+
--sidebar-primary: oklch(0.6489 0.237 26.9728);
|
|
32
|
+
--sidebar-primary-foreground: oklch(1 0 0);
|
|
33
|
+
--sidebar-accent: oklch(0.5635 0.2408 260.8178);
|
|
34
|
+
--sidebar-accent-foreground: oklch(1 0 0);
|
|
35
|
+
--sidebar-border: oklch(0 0 0);
|
|
36
|
+
--sidebar-ring: oklch(0.6489 0.237 26.9728);
|
|
37
|
+
--background: oklch(1 0 0);
|
|
38
|
+
--foreground: oklch(0 0 0);
|
|
39
|
+
--shadow-2xs: 4px 4px 0px 0px hsl(0 0% 0% / 0.5);
|
|
40
|
+
--shadow-xs: 4px 4px 0px 0px hsl(0 0% 0% / 0.5);
|
|
41
|
+
--shadow-sm: 4px 4px 0px 0px hsl(0 0% 0% / 1), 4px 1px 2px -1px hsl(0 0% 0% / 1);
|
|
42
|
+
--shadow: 4px 4px 0px 0px hsl(0 0% 0% / 1), 4px 1px 2px -1px hsl(0 0% 0% / 1);
|
|
43
|
+
--shadow-md: 4px 4px 0px 0px hsl(0 0% 0% / 1), 4px 2px 4px -1px hsl(0 0% 0% / 1);
|
|
44
|
+
--shadow-lg: 4px 4px 0px 0px hsl(0 0% 0% / 1), 4px 4px 6px -1px hsl(0 0% 0% / 1);
|
|
45
|
+
--shadow-xl: 4px 4px 0px 0px hsl(0 0% 0% / 1), 4px 8px 10px -1px hsl(0 0% 0% / 1);
|
|
46
|
+
--shadow-2xl: 4px 4px 0px 0px hsl(0 0% 0% / 2.5);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.dark:root[data-theme-preset="brutalist"] {
|
|
50
|
+
--background: oklch(0 0 0);
|
|
51
|
+
--foreground: oklch(1 0 0);
|
|
52
|
+
--card: oklch(0.3211 0 0);
|
|
53
|
+
--card-foreground: oklch(1 0 0);
|
|
54
|
+
--popover: oklch(0.3211 0 0);
|
|
55
|
+
--popover-foreground: oklch(1 0 0);
|
|
56
|
+
--primary: oklch(0.7044 0.1872 23.1858);
|
|
57
|
+
--primary-foreground: oklch(0 0 0);
|
|
58
|
+
--secondary: oklch(0.9691 0.2005 109.6228);
|
|
59
|
+
--secondary-foreground: oklch(0 0 0);
|
|
60
|
+
--muted: oklch(0.3211 0 0);
|
|
61
|
+
--muted-foreground: oklch(0.8452 0 0);
|
|
62
|
+
--accent: oklch(0.6755 0.1765 252.2592);
|
|
63
|
+
--accent-foreground: oklch(0 0 0);
|
|
64
|
+
--destructive: oklch(1 0 0);
|
|
65
|
+
--border: oklch(1 0 0);
|
|
66
|
+
--input: oklch(1 0 0);
|
|
67
|
+
--ring: oklch(0.7044 0.1872 23.1858);
|
|
68
|
+
--chart-1: oklch(0.7044 0.1872 23.1858);
|
|
69
|
+
--chart-2: oklch(0.9691 0.2005 109.6228);
|
|
70
|
+
--chart-3: oklch(0.6755 0.1765 252.2592);
|
|
71
|
+
--chart-4: oklch(0.7395 0.2268 142.8504);
|
|
72
|
+
--chart-5: oklch(0.6131 0.2458 328.0714);
|
|
73
|
+
--sidebar: oklch(0 0 0);
|
|
74
|
+
--sidebar-foreground: oklch(1 0 0);
|
|
75
|
+
--sidebar-primary: oklch(0.7044 0.1872 23.1858);
|
|
76
|
+
--sidebar-primary-foreground: oklch(0 0 0);
|
|
77
|
+
--sidebar-accent: oklch(0.6755 0.1765 252.2592);
|
|
78
|
+
--sidebar-accent-foreground: oklch(0 0 0);
|
|
79
|
+
--sidebar-border: oklch(1 0 0);
|
|
80
|
+
--sidebar-ring: oklch(0.7044 0.1872 23.1858);
|
|
81
|
+
--shadow-2xs: 4px 4px 0px 0px hsl(0 0% 0% / 0.5);
|
|
82
|
+
--shadow-xs: 4px 4px 0px 0px hsl(0 0% 0% / 0.5);
|
|
83
|
+
--shadow-sm: 4px 4px 0px 0px hsl(0 0% 0% / 1), 4px 1px 2px -1px hsl(0 0% 0% / 1);
|
|
84
|
+
--shadow: 4px 4px 0px 0px hsl(0 0% 0% / 1), 4px 1px 2px -1px hsl(0 0% 0% / 1);
|
|
85
|
+
--shadow-md: 4px 4px 0px 0px hsl(0 0% 0% / 1), 4px 2px 4px -1px hsl(0 0% 0% / 1);
|
|
86
|
+
--shadow-lg: 4px 4px 0px 0px hsl(0 0% 0% / 1), 4px 4px 6px -1px hsl(0 0% 0% / 1);
|
|
87
|
+
--shadow-xl: 4px 4px 0px 0px hsl(0 0% 0% / 1), 4px 8px 10px -1px hsl(0 0% 0% / 1);
|
|
88
|
+
--shadow-2xl: 4px 4px 0px 0px hsl(0 0% 0% / 2.5);
|
|
89
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
label: Soft Pop
|
|
3
|
+
value: soft-pop
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:root[data-theme-preset="soft-pop"] {
|
|
7
|
+
--radius: 1rem;
|
|
8
|
+
--card: oklch(1 0 0);
|
|
9
|
+
--card-foreground: oklch(0 0 0);
|
|
10
|
+
--popover: oklch(1 0 0);
|
|
11
|
+
--popover-foreground: oklch(0 0 0);
|
|
12
|
+
--primary: oklch(0.5106 0.2301 276.9656);
|
|
13
|
+
--primary-foreground: oklch(1 0 0);
|
|
14
|
+
--secondary: oklch(0.7038 0.123 182.5025);
|
|
15
|
+
--secondary-foreground: oklch(1 0 0);
|
|
16
|
+
--muted: oklch(0.9551 0 0);
|
|
17
|
+
--muted-foreground: oklch(0.3211 0 0);
|
|
18
|
+
--accent: oklch(0.7686 0.1647 70.0804);
|
|
19
|
+
--accent-foreground: oklch(0 0 0);
|
|
20
|
+
--destructive: oklch(0.6368 0.2078 25.3313);
|
|
21
|
+
--border: oklch(0 0 0);
|
|
22
|
+
--input: oklch(0.5555 0 0);
|
|
23
|
+
--ring: oklch(0.7853 0.1041 274.7134);
|
|
24
|
+
--chart-1: oklch(0.5106 0.2301 276.9656);
|
|
25
|
+
--chart-2: oklch(0.7038 0.123 182.5025);
|
|
26
|
+
--chart-3: oklch(0.7686 0.1647 70.0804);
|
|
27
|
+
--chart-4: oklch(0.6559 0.2118 354.3084);
|
|
28
|
+
--chart-5: oklch(0.7227 0.192 149.5793);
|
|
29
|
+
--sidebar: oklch(0.9789 0.0082 121.6272);
|
|
30
|
+
--sidebar-foreground: oklch(0 0 0);
|
|
31
|
+
--sidebar-primary: oklch(0.5106 0.2301 276.9656);
|
|
32
|
+
--sidebar-primary-foreground: oklch(1 0 0);
|
|
33
|
+
--sidebar-accent: oklch(0.7686 0.1647 70.0804);
|
|
34
|
+
--sidebar-accent-foreground: oklch(0 0 0);
|
|
35
|
+
--sidebar-border: oklch(0 0 0);
|
|
36
|
+
--sidebar-ring: oklch(0.7853 0.1041 274.7134);
|
|
37
|
+
--background: oklch(0.9789 0.0082 121.6272);
|
|
38
|
+
--foreground: oklch(0 0 0);
|
|
39
|
+
--shadow-2xs: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.03);
|
|
40
|
+
--shadow-xs: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.03);
|
|
41
|
+
--shadow-sm: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.05), 0px 1px 2px -1px hsl(0 0% 10.1961% / 0.05);
|
|
42
|
+
--shadow: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.05), 0px 1px 2px -1px hsl(0 0% 10.1961% / 0.05);
|
|
43
|
+
--shadow-md: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.05), 0px 2px 4px -1px hsl(0 0% 10.1961% / 0.05);
|
|
44
|
+
--shadow-lg: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.05), 0px 4px 6px -1px hsl(0 0% 10.1961% / 0.05);
|
|
45
|
+
--shadow-xl: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.05), 0px 8px 10px -1px hsl(0 0% 10.1961% / 0.05);
|
|
46
|
+
--shadow-2xl: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.13);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.dark:root[data-theme-preset="soft-pop"] {
|
|
50
|
+
--background: oklch(0 0 0);
|
|
51
|
+
--foreground: oklch(1 0 0);
|
|
52
|
+
--card: oklch(0.2455 0.0217 257.2823);
|
|
53
|
+
--card-foreground: oklch(1 0 0);
|
|
54
|
+
--popover: oklch(0.2455 0.0217 257.2823);
|
|
55
|
+
--popover-foreground: oklch(1 0 0);
|
|
56
|
+
--primary: oklch(0.6801 0.1583 276.9349);
|
|
57
|
+
--primary-foreground: oklch(0 0 0);
|
|
58
|
+
--secondary: oklch(0.7845 0.1325 181.912);
|
|
59
|
+
--secondary-foreground: oklch(0 0 0);
|
|
60
|
+
--muted: oklch(0.3211 0 0);
|
|
61
|
+
--muted-foreground: oklch(0.8452 0 0);
|
|
62
|
+
--accent: oklch(0.879 0.1534 91.6054);
|
|
63
|
+
--accent-foreground: oklch(0 0 0);
|
|
64
|
+
--destructive: oklch(0.7106 0.1661 22.2162);
|
|
65
|
+
--border: oklch(0.4459 0 0);
|
|
66
|
+
--input: oklch(1 0 0);
|
|
67
|
+
--ring: oklch(0.6801 0.1583 276.9349);
|
|
68
|
+
--chart-1: oklch(0.6801 0.1583 276.9349);
|
|
69
|
+
--chart-2: oklch(0.7845 0.1325 181.912);
|
|
70
|
+
--chart-3: oklch(0.879 0.1534 91.6054);
|
|
71
|
+
--chart-4: oklch(0.7253 0.1752 349.7607);
|
|
72
|
+
--chart-5: oklch(0.8003 0.1821 151.711);
|
|
73
|
+
--sidebar: oklch(0 0 0);
|
|
74
|
+
--sidebar-foreground: oklch(1 0 0);
|
|
75
|
+
--sidebar-primary: oklch(0.6801 0.1583 276.9349);
|
|
76
|
+
--sidebar-primary-foreground: oklch(0 0 0);
|
|
77
|
+
--sidebar-accent: oklch(0.879 0.1534 91.6054);
|
|
78
|
+
--sidebar-accent-foreground: oklch(0 0 0);
|
|
79
|
+
--sidebar-border: oklch(1 0 0);
|
|
80
|
+
--sidebar-ring: oklch(0.6801 0.1583 276.9349);
|
|
81
|
+
--shadow-2xs: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.03);
|
|
82
|
+
--shadow-xs: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.03);
|
|
83
|
+
--shadow-sm: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.05), 0px 1px 2px -1px hsl(0 0% 10.1961% / 0.05);
|
|
84
|
+
--shadow: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.05), 0px 1px 2px -1px hsl(0 0% 10.1961% / 0.05);
|
|
85
|
+
--shadow-md: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.05), 0px 2px 4px -1px hsl(0 0% 10.1961% / 0.05);
|
|
86
|
+
--shadow-lg: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.05), 0px 4px 6px -1px hsl(0 0% 10.1961% / 0.05);
|
|
87
|
+
--shadow-xl: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.05), 0px 8px 10px -1px hsl(0 0% 10.1961% / 0.05);
|
|
88
|
+
--shadow-2xl: 0px 0px 0px 0px hsl(0 0% 10.1961% / 0.13);
|
|
89
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
label: Tangerine
|
|
3
|
+
value: tangerine
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:root[data-theme-preset="tangerine"] {
|
|
7
|
+
--radius: 0.625rem;
|
|
8
|
+
--card: oklch(1 0 0);
|
|
9
|
+
--card-foreground: oklch(0.32 0 0);
|
|
10
|
+
--popover: oklch(1 0 0);
|
|
11
|
+
--popover-foreground: oklch(0.32 0 0);
|
|
12
|
+
--primary: oklch(0.64 0.17 36.44);
|
|
13
|
+
--primary-foreground: oklch(1 0 0);
|
|
14
|
+
--secondary: oklch(0.97 0 264.54);
|
|
15
|
+
--secondary-foreground: oklch(0.45 0.03 256.8);
|
|
16
|
+
--muted: oklch(0.98 0 247.84);
|
|
17
|
+
--muted-foreground: oklch(0.55 0.02 264.36);
|
|
18
|
+
--accent: oklch(0.91 0.02 243.82);
|
|
19
|
+
--accent-foreground: oklch(0.38 0.14 265.52);
|
|
20
|
+
--destructive: oklch(0.64 0.21 25.33);
|
|
21
|
+
--border: oklch(0.9 0.01 247.88);
|
|
22
|
+
--input: oklch(0.97 0 264.54);
|
|
23
|
+
--ring: oklch(0.64 0.17 36.44);
|
|
24
|
+
--chart-1: oklch(0.72 0.06 248.68);
|
|
25
|
+
--chart-2: oklch(0.79 0.09 35.96);
|
|
26
|
+
--chart-3: oklch(0.58 0.08 254.16);
|
|
27
|
+
--chart-4: oklch(0.5 0.08 259.49);
|
|
28
|
+
--chart-5: oklch(0.42 0.1 264.03);
|
|
29
|
+
--sidebar: oklch(0.9 0 258.33);
|
|
30
|
+
--sidebar-foreground: oklch(0.32 0 0);
|
|
31
|
+
--sidebar-primary: oklch(0.64 0.17 36.44);
|
|
32
|
+
--sidebar-primary-foreground: oklch(1 0 0);
|
|
33
|
+
--sidebar-accent: oklch(0.91 0.02 243.82);
|
|
34
|
+
--sidebar-accent-foreground: oklch(0.38 0.14 265.52);
|
|
35
|
+
--sidebar-border: oklch(0.93 0.01 264.53);
|
|
36
|
+
--sidebar-ring: oklch(0.64 0.17 36.44);
|
|
37
|
+
--background: oklch(0.94 0 236.5);
|
|
38
|
+
--foreground: oklch(0.32 0 0);
|
|
39
|
+
--shadow-2xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);
|
|
40
|
+
--shadow-xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);
|
|
41
|
+
--shadow-sm: 0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 1px 2px -1px hsl(0 0% 0% / 0.1);
|
|
42
|
+
--shadow: 0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 1px 2px -1px hsl(0 0% 0% / 0.1);
|
|
43
|
+
--shadow-md: 0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 2px 4px -1px hsl(0 0% 0% / 0.1);
|
|
44
|
+
--shadow-lg: 0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 4px 6px -1px hsl(0 0% 0% / 0.1);
|
|
45
|
+
--shadow-xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 8px 10px -1px hsl(0 0% 0% / 0.1);
|
|
46
|
+
--shadow-2xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.25);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.dark:root[data-theme-preset="tangerine"] {
|
|
50
|
+
--background: oklch(0.26 0.03 262.67);
|
|
51
|
+
--foreground: oklch(0.92 0 0);
|
|
52
|
+
--card: oklch(0.31 0.03 268.64);
|
|
53
|
+
--card-foreground: oklch(0.92 0 0);
|
|
54
|
+
--popover: oklch(0.29 0.02 268.4);
|
|
55
|
+
--popover-foreground: oklch(0.92 0 0);
|
|
56
|
+
--primary: oklch(0.64 0.17 36.44);
|
|
57
|
+
--primary-foreground: oklch(1 0 0);
|
|
58
|
+
--secondary: oklch(0.31 0.03 266.71);
|
|
59
|
+
--secondary-foreground: oklch(0.92 0 0);
|
|
60
|
+
--muted: oklch(0.31 0.03 266.71);
|
|
61
|
+
--muted-foreground: oklch(0.72 0 0);
|
|
62
|
+
--accent: oklch(0.34 0.06 267.59);
|
|
63
|
+
--accent-foreground: oklch(0.88 0.06 254.13);
|
|
64
|
+
--destructive: oklch(0.64 0.21 25.33);
|
|
65
|
+
--border: oklch(0.38 0.03 269.73);
|
|
66
|
+
--input: oklch(0.38 0.03 269.73);
|
|
67
|
+
--ring: oklch(0.64 0.17 36.44);
|
|
68
|
+
--chart-1: oklch(0.72 0.06 248.68);
|
|
69
|
+
--chart-2: oklch(0.77 0.09 34.19);
|
|
70
|
+
--chart-3: oklch(0.58 0.08 254.16);
|
|
71
|
+
--chart-4: oklch(0.5 0.08 259.49);
|
|
72
|
+
--chart-5: oklch(0.42 0.1 264.03);
|
|
73
|
+
--sidebar: oklch(0.31 0.03 267.74);
|
|
74
|
+
--sidebar-foreground: oklch(0.92 0 0);
|
|
75
|
+
--sidebar-primary: oklch(0.64 0.17 36.44);
|
|
76
|
+
--sidebar-primary-foreground: oklch(1 0 0);
|
|
77
|
+
--sidebar-accent: oklch(0.34 0.06 267.59);
|
|
78
|
+
--sidebar-accent-foreground: oklch(0.88 0.06 254.13);
|
|
79
|
+
--sidebar-border: oklch(0.38 0.03 269.73);
|
|
80
|
+
--sidebar-ring: oklch(0.64 0.17 36.44);
|
|
81
|
+
--shadow-2xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);
|
|
82
|
+
--shadow-xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);
|
|
83
|
+
--shadow-sm: 0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 1px 2px -1px hsl(0 0% 0% / 0.1);
|
|
84
|
+
--shadow: 0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 1px 2px -1px hsl(0 0% 0% / 0.1);
|
|
85
|
+
--shadow-md: 0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 2px 4px -1px hsl(0 0% 0% / 0.1);
|
|
86
|
+
--shadow-lg: 0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 4px 6px -1px hsl(0 0% 0% / 0.1);
|
|
87
|
+
--shadow-xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 8px 10px -1px hsl(0 0% 0% / 0.1);
|
|
88
|
+
--shadow-2xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.25);
|
|
89
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ts-node": {
|
|
3
|
+
"require": [
|
|
4
|
+
"tsconfig-paths/register"
|
|
5
|
+
]
|
|
6
|
+
},
|
|
7
|
+
"compilerOptions": {
|
|
8
|
+
"baseUrl": ".",
|
|
9
|
+
"target": "ES2017",
|
|
10
|
+
"lib": [
|
|
11
|
+
"dom",
|
|
12
|
+
"dom.iterable",
|
|
13
|
+
"esnext"
|
|
14
|
+
],
|
|
15
|
+
"allowJs": true,
|
|
16
|
+
"skipLibCheck": true,
|
|
17
|
+
"strict": true,
|
|
18
|
+
"noEmit": true,
|
|
19
|
+
"esModuleInterop": true,
|
|
20
|
+
"module": "esnext",
|
|
21
|
+
"moduleResolution": "bundler",
|
|
22
|
+
"resolveJsonModule": true,
|
|
23
|
+
"isolatedModules": true,
|
|
24
|
+
"jsx": "react-jsx",
|
|
25
|
+
"incremental": true,
|
|
26
|
+
"allowSyntheticDefaultImports": true,
|
|
27
|
+
"experimentalDecorators": true,
|
|
28
|
+
"strictPropertyInitialization": false,
|
|
29
|
+
"plugins": [
|
|
30
|
+
{
|
|
31
|
+
"name": "next"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"paths": {
|
|
35
|
+
"@/*": [
|
|
36
|
+
"./*"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"include": [
|
|
41
|
+
"next-env.d.ts",
|
|
42
|
+
"**/*.ts",
|
|
43
|
+
"**/*.tsx",
|
|
44
|
+
".next/types/**/*.ts",
|
|
45
|
+
".next/dev/types/**/*.ts"
|
|
46
|
+
],
|
|
47
|
+
"exclude": [
|
|
48
|
+
"node_modules"
|
|
49
|
+
]
|
|
50
|
+
}
|