vela 0.1.0 → 0.9.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.
- package/LICENSE +21 -0
- package/README.md +186 -0
- package/dist/bin.js +6245 -0
- package/dist/bin.js.map +7 -0
- package/package.json +85 -17
- package/templates/minimal/.ignore +3 -0
- package/templates/minimal/.prettierignore +9 -0
- package/templates/minimal/.prettierrc +15 -0
- package/templates/minimal/.vscode/extensions.json +3 -0
- package/templates/minimal/.vscode/settings.json +5 -0
- package/templates/minimal/_gitignore +30 -0
- package/templates/minimal/_npmrc +1 -0
- package/templates/minimal/components.json +16 -0
- package/templates/minimal/data/fixtures/README.md +1 -0
- package/templates/minimal/data/hooks/README.md +3 -0
- package/templates/minimal/data/seeds/README.md +1 -0
- package/templates/minimal/package.template.json +54 -0
- package/templates/minimal/src/app.css +121 -0
- package/templates/minimal/src/app.d.ts +19 -0
- package/templates/minimal/src/app.html +13 -0
- package/templates/minimal/src/hooks.server.ts +8 -0
- package/templates/minimal/src/lib/assets/favicon.svg +8 -0
- package/templates/minimal/src/lib/components/ui/button/button.svelte +80 -0
- package/templates/minimal/src/lib/components/ui/button/index.ts +17 -0
- package/templates/minimal/src/lib/components/ui/navbar/index.ts +11 -0
- package/templates/minimal/src/lib/components/ui/navbar/navbar-brand.svelte +8 -0
- package/templates/minimal/src/lib/components/ui/navbar/navbar-brandname.svelte +8 -0
- package/templates/minimal/src/lib/components/ui/navbar/navbar-item.svelte +6 -0
- package/templates/minimal/src/lib/components/ui/navbar/navbar-link.svelte +13 -0
- package/templates/minimal/src/lib/components/ui/navbar/navbar-list.svelte +22 -0
- package/templates/minimal/src/lib/components/ui/navbar/navbar-logo.svelte +10 -0
- package/templates/minimal/src/lib/components/ui/navbar/navbar-mobile-toggle.svelte +20 -0
- package/templates/minimal/src/lib/components/ui/navbar/navbar-mode.svelte +12 -0
- package/templates/minimal/src/lib/components/ui/navbar/navbar-store.ts +5 -0
- package/templates/minimal/src/lib/components/ui/navbar/navbar.svelte +20 -0
- package/templates/minimal/src/lib/components/ui/sonner/index.ts +1 -0
- package/templates/minimal/src/lib/components/ui/sonner/sonner.svelte +13 -0
- package/templates/minimal/src/lib/index.ts +1 -0
- package/templates/minimal/src/lib/utils.ts +13 -0
- package/templates/minimal/src/routes/(public)/+layout.svelte +9 -0
- package/templates/minimal/src/routes/(public)/+page.svelte +65 -0
- package/templates/minimal/src/routes/(public)/root-layout.svelte +55 -0
- package/templates/minimal/src/routes/(public)/server.test.ts +10 -0
- package/templates/minimal/src/routes/+error.svelte +29 -0
- package/templates/minimal/src/routes/+layout.server.ts +30 -0
- package/templates/minimal/src/routes/+layout.svelte +38 -0
- package/templates/minimal/src/routes/api/README.md +26 -0
- package/templates/minimal/static/og.jpg +0 -0
- package/templates/minimal/static/robots.txt +3 -0
- package/templates/minimal/template.json +4 -0
- package/templates/minimal/test/setup.ts +46 -0
- package/templates/minimal/tsconfig.json +15 -0
- package/templates/minimal/vite.config.ts +17 -0
- package/templates/minimal/vitest.config.ts +15 -0
- package/templates/static/.ignore +3 -0
- package/templates/static/.prettierignore +9 -0
- package/templates/static/.prettierrc +15 -0
- package/templates/static/.vscode/extensions.json +3 -0
- package/templates/static/.vscode/settings.json +5 -0
- package/templates/static/_gitignore +23 -0
- package/templates/static/_npmrc +1 -0
- package/templates/static/components.json +16 -0
- package/templates/static/package.template.json +44 -0
- package/templates/static/src/app.css +121 -0
- package/templates/static/src/app.d.ts +13 -0
- package/templates/static/src/app.html +13 -0
- package/templates/static/src/hooks.server.ts +26 -0
- package/templates/static/src/lib/assets/favicon.svg +8 -0
- package/templates/static/src/lib/components/ui/button/button.svelte +80 -0
- package/templates/static/src/lib/components/ui/button/index.ts +17 -0
- package/templates/static/src/lib/components/ui/navbar/index.ts +11 -0
- package/templates/static/src/lib/components/ui/navbar/navbar-brand.svelte +8 -0
- package/templates/static/src/lib/components/ui/navbar/navbar-brandname.svelte +8 -0
- package/templates/static/src/lib/components/ui/navbar/navbar-item.svelte +6 -0
- package/templates/static/src/lib/components/ui/navbar/navbar-link.svelte +13 -0
- package/templates/static/src/lib/components/ui/navbar/navbar-list.svelte +22 -0
- package/templates/static/src/lib/components/ui/navbar/navbar-logo.svelte +10 -0
- package/templates/static/src/lib/components/ui/navbar/navbar-mobile-toggle.svelte +20 -0
- package/templates/static/src/lib/components/ui/navbar/navbar-mode.svelte +12 -0
- package/templates/static/src/lib/components/ui/navbar/navbar-store.ts +5 -0
- package/templates/static/src/lib/components/ui/navbar/navbar.svelte +20 -0
- package/templates/static/src/lib/components/ui/sonner/index.ts +1 -0
- package/templates/static/src/lib/components/ui/sonner/sonner.svelte +13 -0
- package/templates/static/src/lib/index.ts +1 -0
- package/templates/static/src/lib/site.template.ts +11 -0
- package/templates/static/src/lib/utils.ts +13 -0
- package/templates/static/src/routes/(public)/+layout.svelte +9 -0
- package/templates/static/src/routes/(public)/+page.svelte +65 -0
- package/templates/static/src/routes/(public)/root-layout.svelte +55 -0
- package/templates/static/src/routes/+error.svelte +29 -0
- package/templates/static/src/routes/+layout.svelte +25 -0
- package/templates/static/src/routes/+layout.ts +35 -0
- package/templates/static/static/og.jpg +0 -0
- package/templates/static/static/robots.txt +3 -0
- package/templates/static/template.json +4 -0
- package/templates/static/tsconfig.json +15 -0
- package/templates/static/vite.config.ts +31 -0
- package/templates/ui/css/gray.css +68 -0
- package/templates/ui/css/neutral.css +68 -0
- package/templates/ui/css/slate.css +68 -0
- package/templates/ui/css/stone.css +68 -0
- package/templates/ui/css/zinc.css +68 -0
- package/src/Component.js +0 -10
- package/src/index.js +0 -14
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import '../app.css';
|
|
3
|
+
|
|
4
|
+
import favicon from '$lib/assets/favicon.svg';
|
|
5
|
+
|
|
6
|
+
import { ModeWatcher } from 'mode-watcher';
|
|
7
|
+
import { page } from '$app/state';
|
|
8
|
+
import { Toaster } from '$lib/components/ui/sonner';
|
|
9
|
+
import { MetaTags, deepMerge } from 'svelte-meta-tags';
|
|
10
|
+
|
|
11
|
+
let { data, children } = $props();
|
|
12
|
+
|
|
13
|
+
let metaTags = $derived(deepMerge(data.baseMetaTags, page.data.pageMetaTags));
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<svelte:head>
|
|
17
|
+
<title>{data.meta.appName}</title>
|
|
18
|
+
<link rel="icon" href={favicon} />
|
|
19
|
+
</svelte:head>
|
|
20
|
+
|
|
21
|
+
<MetaTags {...metaTags} />
|
|
22
|
+
<ModeWatcher />
|
|
23
|
+
<Toaster />
|
|
24
|
+
|
|
25
|
+
{@render children?.()}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineBaseMetaTags } from 'svelte-meta-tags';
|
|
2
|
+
import { site } from '$lib/site';
|
|
3
|
+
import type { LayoutLoad } from './$types';
|
|
4
|
+
|
|
5
|
+
export const prerender = true;
|
|
6
|
+
|
|
7
|
+
export const load: LayoutLoad = ({ url }) => {
|
|
8
|
+
// Built from `site.url`, not `url.origin`: during prerender the origin is
|
|
9
|
+
// SvelteKit's placeholder host, which would end up in every canonical link.
|
|
10
|
+
const canonical = new URL(url.pathname, site.url).href;
|
|
11
|
+
|
|
12
|
+
const baseTags = defineBaseMetaTags({
|
|
13
|
+
title: '',
|
|
14
|
+
titleTemplate: `%s | ${site.name}`,
|
|
15
|
+
description: '',
|
|
16
|
+
canonical,
|
|
17
|
+
openGraph: {
|
|
18
|
+
type: 'website',
|
|
19
|
+
url: canonical,
|
|
20
|
+
images: [
|
|
21
|
+
{
|
|
22
|
+
url: `${site.url}/og.jpg`,
|
|
23
|
+
alt: site.name,
|
|
24
|
+
width: 1200,
|
|
25
|
+
height: 630
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
return {
|
|
32
|
+
meta: { appName: site.name, appURL: site.url },
|
|
33
|
+
...baseTags
|
|
34
|
+
};
|
|
35
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./.svelte-kit/tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"rewriteRelativeImportExtensions": true,
|
|
5
|
+
"allowJs": true,
|
|
6
|
+
"checkJs": true,
|
|
7
|
+
"esModuleInterop": true,
|
|
8
|
+
"forceConsistentCasingInFileNames": true,
|
|
9
|
+
"resolveJsonModule": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"sourceMap": true,
|
|
12
|
+
"strict": true,
|
|
13
|
+
"moduleResolution": "bundler"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { defineConfig } from 'vite';
|
|
2
|
+
import tailwindcss from '@tailwindcss/vite';
|
|
3
|
+
import { sveltekit } from '@sveltejs/kit/vite';
|
|
4
|
+
import adapter from '@sveltejs/adapter-static';
|
|
5
|
+
|
|
6
|
+
export default defineConfig({
|
|
7
|
+
plugins: [
|
|
8
|
+
tailwindcss(),
|
|
9
|
+
sveltekit({
|
|
10
|
+
compilerOptions: {
|
|
11
|
+
runes: ({ filename }) =>
|
|
12
|
+
filename.split(/[/\\]/).includes('node_modules') ? undefined : true
|
|
13
|
+
},
|
|
14
|
+
adapter: adapter({
|
|
15
|
+
fallback: '200.html'
|
|
16
|
+
}),
|
|
17
|
+
prerender: {
|
|
18
|
+
handleHttpError: ({ path, message }) => {
|
|
19
|
+
// The footer links to these before they exist; `vela legal privacy`
|
|
20
|
+
// and `vela legal terms` generate them. Warn rather than fail the
|
|
21
|
+
// build, but keep every other broken link fatal.
|
|
22
|
+
if (path === '/privacy' || path === '/terms') {
|
|
23
|
+
console.warn(`${path} not generated yet — run \`vela legal ${path.slice(1)}\``);
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
throw new Error(message);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
]
|
|
31
|
+
});
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
--border: oklch(0.928 0.006 264.531);
|
|
19
|
+
--input: oklch(0.928 0.006 264.531);
|
|
20
|
+
--ring: oklch(0.707 0.022 261.325);
|
|
21
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
22
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
23
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
24
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
25
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
26
|
+
--sidebar: oklch(0.985 0.002 247.839);
|
|
27
|
+
--sidebar-foreground: oklch(0.13 0.028 261.692);
|
|
28
|
+
--sidebar-primary: oklch(0.21 0.034 264.665);
|
|
29
|
+
--sidebar-primary-foreground: oklch(0.985 0.002 247.839);
|
|
30
|
+
--sidebar-accent: oklch(0.967 0.003 264.542);
|
|
31
|
+
--sidebar-accent-foreground: oklch(0.21 0.034 264.665);
|
|
32
|
+
--sidebar-border: oklch(0.928 0.006 264.531);
|
|
33
|
+
--sidebar-ring: oklch(0.707 0.022 261.325);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.dark {
|
|
37
|
+
--background: oklch(0.13 0.028 261.692);
|
|
38
|
+
--foreground: oklch(0.985 0.002 247.839);
|
|
39
|
+
--card: oklch(0.21 0.034 264.665);
|
|
40
|
+
--card-foreground: oklch(0.985 0.002 247.839);
|
|
41
|
+
--popover: oklch(0.21 0.034 264.665);
|
|
42
|
+
--popover-foreground: oklch(0.985 0.002 247.839);
|
|
43
|
+
--primary: oklch(0.928 0.006 264.531);
|
|
44
|
+
--primary-foreground: oklch(0.21 0.034 264.665);
|
|
45
|
+
--secondary: oklch(0.278 0.033 256.848);
|
|
46
|
+
--secondary-foreground: oklch(0.985 0.002 247.839);
|
|
47
|
+
--muted: oklch(0.278 0.033 256.848);
|
|
48
|
+
--muted-foreground: oklch(0.707 0.022 261.325);
|
|
49
|
+
--accent: oklch(0.278 0.033 256.848);
|
|
50
|
+
--accent-foreground: oklch(0.985 0.002 247.839);
|
|
51
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
52
|
+
--border: oklch(1 0 0 / 10%);
|
|
53
|
+
--input: oklch(1 0 0 / 15%);
|
|
54
|
+
--ring: oklch(0.551 0.027 264.364);
|
|
55
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
56
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
57
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
58
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
59
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
60
|
+
--sidebar: oklch(0.21 0.034 264.665);
|
|
61
|
+
--sidebar-foreground: oklch(0.985 0.002 247.839);
|
|
62
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
63
|
+
--sidebar-primary-foreground: oklch(0.985 0.002 247.839);
|
|
64
|
+
--sidebar-accent: oklch(0.278 0.033 256.848);
|
|
65
|
+
--sidebar-accent-foreground: oklch(0.985 0.002 247.839);
|
|
66
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
67
|
+
--sidebar-ring: oklch(0.551 0.027 264.364);
|
|
68
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
--border: oklch(0.922 0 0);
|
|
19
|
+
--input: oklch(0.922 0 0);
|
|
20
|
+
--ring: oklch(0.708 0 0);
|
|
21
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
22
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
23
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
24
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
25
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
26
|
+
--sidebar: oklch(0.985 0 0);
|
|
27
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
28
|
+
--sidebar-primary: oklch(0.205 0 0);
|
|
29
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
30
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
31
|
+
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
32
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
33
|
+
--sidebar-ring: oklch(0.708 0 0);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.dark {
|
|
37
|
+
--background: oklch(0.145 0 0);
|
|
38
|
+
--foreground: oklch(0.985 0 0);
|
|
39
|
+
--card: oklch(0.205 0 0);
|
|
40
|
+
--card-foreground: oklch(0.985 0 0);
|
|
41
|
+
--popover: oklch(0.205 0 0);
|
|
42
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
43
|
+
--primary: oklch(0.922 0 0);
|
|
44
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
45
|
+
--secondary: oklch(0.269 0 0);
|
|
46
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
47
|
+
--muted: oklch(0.269 0 0);
|
|
48
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
49
|
+
--accent: oklch(0.269 0 0);
|
|
50
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
51
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
52
|
+
--border: oklch(1 0 0 / 10%);
|
|
53
|
+
--input: oklch(1 0 0 / 15%);
|
|
54
|
+
--ring: oklch(0.556 0 0);
|
|
55
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
56
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
57
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
58
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
59
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
60
|
+
--sidebar: oklch(0.205 0 0);
|
|
61
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
62
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
63
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
64
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
65
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
66
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
67
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
68
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
--border: oklch(0.929 0.013 255.508);
|
|
19
|
+
--input: oklch(0.929 0.013 255.508);
|
|
20
|
+
--ring: oklch(0.704 0.04 256.788);
|
|
21
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
22
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
23
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
24
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
25
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
26
|
+
--sidebar: oklch(0.984 0.003 247.858);
|
|
27
|
+
--sidebar-foreground: oklch(0.129 0.042 264.695);
|
|
28
|
+
--sidebar-primary: oklch(0.208 0.042 265.755);
|
|
29
|
+
--sidebar-primary-foreground: oklch(0.984 0.003 247.858);
|
|
30
|
+
--sidebar-accent: oklch(0.968 0.007 247.896);
|
|
31
|
+
--sidebar-accent-foreground: oklch(0.208 0.042 265.755);
|
|
32
|
+
--sidebar-border: oklch(0.929 0.013 255.508);
|
|
33
|
+
--sidebar-ring: oklch(0.704 0.04 256.788);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.dark {
|
|
37
|
+
--background: oklch(0.129 0.042 264.695);
|
|
38
|
+
--foreground: oklch(0.984 0.003 247.858);
|
|
39
|
+
--card: oklch(0.208 0.042 265.755);
|
|
40
|
+
--card-foreground: oklch(0.984 0.003 247.858);
|
|
41
|
+
--popover: oklch(0.208 0.042 265.755);
|
|
42
|
+
--popover-foreground: oklch(0.984 0.003 247.858);
|
|
43
|
+
--primary: oklch(0.929 0.013 255.508);
|
|
44
|
+
--primary-foreground: oklch(0.208 0.042 265.755);
|
|
45
|
+
--secondary: oklch(0.279 0.041 260.031);
|
|
46
|
+
--secondary-foreground: oklch(0.984 0.003 247.858);
|
|
47
|
+
--muted: oklch(0.279 0.041 260.031);
|
|
48
|
+
--muted-foreground: oklch(0.704 0.04 256.788);
|
|
49
|
+
--accent: oklch(0.279 0.041 260.031);
|
|
50
|
+
--accent-foreground: oklch(0.984 0.003 247.858);
|
|
51
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
52
|
+
--border: oklch(1 0 0 / 10%);
|
|
53
|
+
--input: oklch(1 0 0 / 15%);
|
|
54
|
+
--ring: oklch(0.551 0.027 264.364);
|
|
55
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
56
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
57
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
58
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
59
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
60
|
+
--sidebar: oklch(0.208 0.042 265.755);
|
|
61
|
+
--sidebar-foreground: oklch(0.984 0.003 247.858);
|
|
62
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
63
|
+
--sidebar-primary-foreground: oklch(0.984 0.003 247.858);
|
|
64
|
+
--sidebar-accent: oklch(0.279 0.041 260.031);
|
|
65
|
+
--sidebar-accent-foreground: oklch(0.984 0.003 247.858);
|
|
66
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
67
|
+
--sidebar-ring: oklch(0.551 0.027 264.364);
|
|
68
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
--border: oklch(0.923 0.003 48.717);
|
|
19
|
+
--input: oklch(0.923 0.003 48.717);
|
|
20
|
+
--ring: oklch(0.709 0.01 56.259);
|
|
21
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
22
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
23
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
24
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
25
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
26
|
+
--sidebar: oklch(0.985 0.001 106.423);
|
|
27
|
+
--sidebar-foreground: oklch(0.147 0.004 49.25);
|
|
28
|
+
--sidebar-primary: oklch(0.216 0.006 56.043);
|
|
29
|
+
--sidebar-primary-foreground: oklch(0.985 0.001 106.423);
|
|
30
|
+
--sidebar-accent: oklch(0.97 0.001 106.424);
|
|
31
|
+
--sidebar-accent-foreground: oklch(0.216 0.006 56.043);
|
|
32
|
+
--sidebar-border: oklch(0.923 0.003 48.717);
|
|
33
|
+
--sidebar-ring: oklch(0.709 0.01 56.259);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.dark {
|
|
37
|
+
--background: oklch(0.147 0.004 49.25);
|
|
38
|
+
--foreground: oklch(0.985 0.001 106.423);
|
|
39
|
+
--card: oklch(0.216 0.006 56.043);
|
|
40
|
+
--card-foreground: oklch(0.985 0.001 106.423);
|
|
41
|
+
--popover: oklch(0.216 0.006 56.043);
|
|
42
|
+
--popover-foreground: oklch(0.985 0.001 106.423);
|
|
43
|
+
--primary: oklch(0.923 0.003 48.717);
|
|
44
|
+
--primary-foreground: oklch(0.216 0.006 56.043);
|
|
45
|
+
--secondary: oklch(0.268 0.007 34.298);
|
|
46
|
+
--secondary-foreground: oklch(0.985 0.001 106.423);
|
|
47
|
+
--muted: oklch(0.268 0.007 34.298);
|
|
48
|
+
--muted-foreground: oklch(0.709 0.01 56.259);
|
|
49
|
+
--accent: oklch(0.268 0.007 34.298);
|
|
50
|
+
--accent-foreground: oklch(0.985 0.001 106.423);
|
|
51
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
52
|
+
--border: oklch(1 0 0 / 10%);
|
|
53
|
+
--input: oklch(1 0 0 / 15%);
|
|
54
|
+
--ring: oklch(0.553 0.013 58.071);
|
|
55
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
56
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
57
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
58
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
59
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
60
|
+
--sidebar: oklch(0.216 0.006 56.043);
|
|
61
|
+
--sidebar-foreground: oklch(0.985 0.001 106.423);
|
|
62
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
63
|
+
--sidebar-primary-foreground: oklch(0.985 0.001 106.423);
|
|
64
|
+
--sidebar-accent: oklch(0.268 0.007 34.298);
|
|
65
|
+
--sidebar-accent-foreground: oklch(0.985 0.001 106.423);
|
|
66
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
67
|
+
--sidebar-ring: oklch(0.553 0.013 58.071);
|
|
68
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--radius: 0.625rem;
|
|
3
|
+
--background: oklch(1 0 0);
|
|
4
|
+
--foreground: oklch(0.141 0.005 285.823);
|
|
5
|
+
--card: oklch(1 0 0);
|
|
6
|
+
--card-foreground: oklch(0.141 0.005 285.823);
|
|
7
|
+
--popover: oklch(1 0 0);
|
|
8
|
+
--popover-foreground: oklch(0.141 0.005 285.823);
|
|
9
|
+
--primary: oklch(0.21 0.006 285.885);
|
|
10
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
11
|
+
--secondary: oklch(0.967 0.001 286.375);
|
|
12
|
+
--secondary-foreground: oklch(0.21 0.006 285.885);
|
|
13
|
+
--muted: oklch(0.967 0.001 286.375);
|
|
14
|
+
--muted-foreground: oklch(0.552 0.016 285.938);
|
|
15
|
+
--accent: oklch(0.967 0.001 286.375);
|
|
16
|
+
--accent-foreground: oklch(0.21 0.006 285.885);
|
|
17
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
18
|
+
--border: oklch(0.92 0.004 286.32);
|
|
19
|
+
--input: oklch(0.92 0.004 286.32);
|
|
20
|
+
--ring: oklch(0.705 0.015 286.067);
|
|
21
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
22
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
23
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
24
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
25
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
26
|
+
--sidebar: oklch(0.985 0 0);
|
|
27
|
+
--sidebar-foreground: oklch(0.141 0.005 285.823);
|
|
28
|
+
--sidebar-primary: oklch(0.21 0.006 285.885);
|
|
29
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
30
|
+
--sidebar-accent: oklch(0.967 0.001 286.375);
|
|
31
|
+
--sidebar-accent-foreground: oklch(0.21 0.006 285.885);
|
|
32
|
+
--sidebar-border: oklch(0.92 0.004 286.32);
|
|
33
|
+
--sidebar-ring: oklch(0.705 0.015 286.067);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.dark {
|
|
37
|
+
--background: oklch(0.141 0.005 285.823);
|
|
38
|
+
--foreground: oklch(0.985 0 0);
|
|
39
|
+
--card: oklch(0.21 0.006 285.885);
|
|
40
|
+
--card-foreground: oklch(0.985 0 0);
|
|
41
|
+
--popover: oklch(0.21 0.006 285.885);
|
|
42
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
43
|
+
--primary: oklch(0.92 0.004 286.32);
|
|
44
|
+
--primary-foreground: oklch(0.21 0.006 285.885);
|
|
45
|
+
--secondary: oklch(0.274 0.006 286.033);
|
|
46
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
47
|
+
--muted: oklch(0.274 0.006 286.033);
|
|
48
|
+
--muted-foreground: oklch(0.705 0.015 286.067);
|
|
49
|
+
--accent: oklch(0.274 0.006 286.033);
|
|
50
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
51
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
52
|
+
--border: oklch(1 0 0 / 10%);
|
|
53
|
+
--input: oklch(1 0 0 / 15%);
|
|
54
|
+
--ring: oklch(0.552 0.016 285.938);
|
|
55
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
56
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
57
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
58
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
59
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
60
|
+
--sidebar: oklch(0.21 0.006 285.885);
|
|
61
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
62
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
63
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
64
|
+
--sidebar-accent: oklch(0.274 0.006 286.033);
|
|
65
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
66
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
67
|
+
--sidebar-ring: oklch(0.552 0.016 285.938);
|
|
68
|
+
}
|
package/src/Component.js
DELETED