super-svelte-skeleton 0.0.3
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/.env.example +17 -0
- package/.github/workflows/ninja_i18n.yml +23 -0
- package/.prettierignore +9 -0
- package/.prettierrc +12 -0
- package/.vscode/extensions.json +5 -0
- package/.vscode/launch.json +15 -0
- package/.vscode/settings.json +30 -0
- package/README.md +237 -0
- package/_gitignore +27 -0
- package/eslint.config.js +40 -0
- package/messages/ar.json +70 -0
- package/messages/en.json +70 -0
- package/messages/es.json +70 -0
- package/package.json +54 -0
- package/project.inlang/settings.json +15 -0
- package/src/app.css +8 -0
- package/src/app.d.ts +20 -0
- package/src/app.html +40 -0
- package/src/auto-imports.d.ts +35 -0
- package/src/hooks.client.ts +17 -0
- package/src/hooks.server.ts +73 -0
- package/src/hooks.ts +15 -0
- package/src/lib/entities/auth/api/endpoints.ts +11 -0
- package/src/lib/entities/auth/api/service.ts +35 -0
- package/src/lib/entities/auth/index.ts +9 -0
- package/src/lib/entities/auth/store.svelte.ts +50 -0
- package/src/lib/entities/auth/types.ts +33 -0
- package/src/lib/entities/user/api/endpoints.ts +6 -0
- package/src/lib/entities/user/api/service.ts +10 -0
- package/src/lib/entities/user/index.ts +2 -0
- package/src/lib/entities/user/types.ts +18 -0
- package/src/lib/features/theme-editor/constants.ts +33 -0
- package/src/lib/features/theme-editor/index.ts +3 -0
- package/src/lib/features/theme-editor/types.ts +10 -0
- package/src/lib/features/theme-editor/ui/CSSOutput.svelte +17 -0
- package/src/lib/features/theme-editor/ui/ColorCard.svelte +66 -0
- package/src/lib/features/theme-editor/ui/ThemeEditorWidget.svelte +319 -0
- package/src/lib/features/theme-editor/ui/ThemePreview.svelte +121 -0
- package/src/lib/features/theme-editor/ui/TypographySettings.svelte +73 -0
- package/src/lib/features/theme-editor/utils.ts +10 -0
- package/src/lib/shared/api/client.ts +47 -0
- package/src/lib/shared/api/index.ts +3 -0
- package/src/lib/shared/api/types.ts +25 -0
- package/src/lib/shared/config/api.ts +1 -0
- package/src/lib/shared/config/index.ts +2 -0
- package/src/lib/shared/config/routes.ts +18 -0
- package/src/lib/shared/i18n/index.ts +1 -0
- package/src/lib/shared/index.ts +2 -0
- package/src/lib/tailwind.config.ts +28 -0
- package/src/lib/widgets/topbar/Topbar.svelte +122 -0
- package/src/lib/widgets/topbar/constants.ts +16 -0
- package/src/lib/widgets/topbar/index.ts +2 -0
- package/src/params/integer.ts +5 -0
- package/src/routes/(app)/(admin)/+layout.server.ts +14 -0
- package/src/routes/(app)/(admin)/admin/+page.svelte +101 -0
- package/src/routes/(app)/+layout.server.ts +9 -0
- package/src/routes/(app)/+layout.svelte +12 -0
- package/src/routes/(app)/settings/+page.svelte +48 -0
- package/src/routes/(app)/theme/+page.svelte +5 -0
- package/src/routes/(auth)/forgot-password/+page.svelte +83 -0
- package/src/routes/(auth)/login/+page.server.ts +66 -0
- package/src/routes/(auth)/login/+page.svelte +156 -0
- package/src/routes/(auth)/logout/+page.server.ts +16 -0
- package/src/routes/(auth)/register/+page.svelte +167 -0
- package/src/routes/(auth)/reset-password/+page.svelte +127 -0
- package/src/routes/+error.svelte +95 -0
- package/src/routes/+layout.svelte +36 -0
- package/src/routes/+layout.ts +24 -0
- package/src/routes/+page.svelte +192 -0
- package/src/routes/+page.ts +3 -0
- package/static/config/config.local.json +3 -0
- package/static/config/config.prod.json +3 -0
- package/static/favicon.svg +1 -0
- package/static/logo.svg +7 -0
- package/static/profile.avif +0 -0
- package/static/smile.jpg +0 -0
- package/static/styles/theme-dark.css +30 -0
- package/static/styles/theme-light.css +28 -0
- package/stats.html +4950 -0
- package/svelte.config.js +78 -0
- package/tsconfig.json +46 -0
- package/vite.config.ts +51 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="107" height="128" viewBox="0 0 107 128"><title>svelte-logo</title><path d="M94.157 22.819c-10.4-14.885-30.94-19.297-45.792-9.835L22.282 29.608A29.92 29.92 0 0 0 8.764 49.65a31.5 31.5 0 0 0 3.108 20.231 30 30 0 0 0-4.477 11.183 31.9 31.9 0 0 0 5.448 24.116c10.402 14.887 30.942 19.297 45.791 9.835l26.083-16.624A29.92 29.92 0 0 0 98.235 78.35a31.53 31.53 0 0 0-3.105-20.232 30 30 0 0 0 4.474-11.182 31.88 31.88 0 0 0-5.447-24.116" style="fill:#ff3e00"/><path d="M45.817 106.582a20.72 20.72 0 0 1-22.237-8.243 19.17 19.17 0 0 1-3.277-14.503 18 18 0 0 1 .624-2.435l.49-1.498 1.337.981a33.6 33.6 0 0 0 10.203 5.098l.97.294-.09.968a5.85 5.85 0 0 0 1.052 3.878 6.24 6.24 0 0 0 6.695 2.485 5.8 5.8 0 0 0 1.603-.704L69.27 76.28a5.43 5.43 0 0 0 2.45-3.631 5.8 5.8 0 0 0-.987-4.371 6.24 6.24 0 0 0-6.698-2.487 5.7 5.7 0 0 0-1.6.704l-9.953 6.345a19 19 0 0 1-5.296 2.326 20.72 20.72 0 0 1-22.237-8.243 19.17 19.17 0 0 1-3.277-14.502 17.99 17.99 0 0 1 8.13-12.052l26.081-16.623a19 19 0 0 1 5.3-2.329 20.72 20.72 0 0 1 22.237 8.243 19.17 19.17 0 0 1 3.277 14.503 18 18 0 0 1-.624 2.435l-.49 1.498-1.337-.98a33.6 33.6 0 0 0-10.203-5.1l-.97-.294.09-.968a5.86 5.86 0 0 0-1.052-3.878 6.24 6.24 0 0 0-6.696-2.485 5.8 5.8 0 0 0-1.602.704L37.73 51.72a5.42 5.42 0 0 0-2.449 3.63 5.79 5.79 0 0 0 .986 4.372 6.24 6.24 0 0 0 6.698 2.486 5.8 5.8 0 0 0 1.602-.704l9.952-6.342a19 19 0 0 1 5.295-2.328 20.72 20.72 0 0 1 22.237 8.242 19.17 19.17 0 0 1 3.277 14.503 18 18 0 0 1-8.13 12.053l-26.081 16.622a19 19 0 0 1-5.3 2.328" style="fill:#fff"/></svg>
|
package/static/logo.svg
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" fill="none">
|
|
2
|
+
<rect width="40" height="40" rx="9" fill="#ca0613"/>
|
|
3
|
+
<!-- App layout mark: topbar + sidebar + content -->
|
|
4
|
+
<rect x="7" y="7" width="26" height="8" rx="2" fill="white"/>
|
|
5
|
+
<rect x="7" y="18" width="8" height="15" rx="2" fill="white" opacity="0.75"/>
|
|
6
|
+
<rect x="18" y="18" width="15" height="15" rx="2" fill="white" opacity="0.5"/>
|
|
7
|
+
</svg>
|
|
Binary file
|
package/static/smile.jpg
ADDED
|
Binary file
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--surface-primary: #1e2a3a; /* cards, modals, elevated surfaces */
|
|
3
|
+
--surface-secondary: #151f2e; /* panels, inputs, sidebars */
|
|
4
|
+
--surface-tertiary: #0d1520; /* page background / deepest layer */
|
|
5
|
+
|
|
6
|
+
--on-surface-primary: #f1f5f9;
|
|
7
|
+
--on-surface-secondary: #94a3b8;
|
|
8
|
+
--on-surface-tertiary: #64748b;
|
|
9
|
+
|
|
10
|
+
--semantic-success: #4ade80;
|
|
11
|
+
--semantic-warning: #fbbf24;
|
|
12
|
+
--semantic-error: #f87171;
|
|
13
|
+
--semantic-info: #818cf8;
|
|
14
|
+
|
|
15
|
+
/* fixed accent — brighter than light-mode red so it reads well on dark surfaces */
|
|
16
|
+
--semantic-accent: #e53e3e;
|
|
17
|
+
|
|
18
|
+
--text-primary: #f1f5f9;
|
|
19
|
+
--text-secondary: #94a3b8;
|
|
20
|
+
--text-tertiary: #64748b;
|
|
21
|
+
|
|
22
|
+
--on-success: #052e16;
|
|
23
|
+
--on-warning: #1c1002;
|
|
24
|
+
--on-error: #450a0a;
|
|
25
|
+
--on-info: #1e1b4b;
|
|
26
|
+
--on-accent: #ffffff;
|
|
27
|
+
|
|
28
|
+
/* fixed border */
|
|
29
|
+
--border-primary: #2d3f55;
|
|
30
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--surface-primary: #ffffff;
|
|
3
|
+
--surface-secondary: #fafafa;
|
|
4
|
+
--surface-tertiary: #f8f8f8;
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
--on-surface-primary: #000000;
|
|
8
|
+
--on-surface-secondary: #5e5253;
|
|
9
|
+
--on-surface-tertiary: #606060;
|
|
10
|
+
|
|
11
|
+
--semantic-success: #107c10;
|
|
12
|
+
--semantic-warning: #f8d22a;
|
|
13
|
+
--semantic-error: #d13438;
|
|
14
|
+
--semantic-info: #6264a7;
|
|
15
|
+
--semantic-accent: #ca0613;
|
|
16
|
+
|
|
17
|
+
--text-primary: #000000;
|
|
18
|
+
--text-secondary: #657487;
|
|
19
|
+
--text-tertiary: #606060;
|
|
20
|
+
|
|
21
|
+
--on-success: #ffffff;
|
|
22
|
+
--on-warning: #000000;
|
|
23
|
+
--on-error: #ffffff;
|
|
24
|
+
--on-info: #ffffff;
|
|
25
|
+
--on-accent: #ffffff;
|
|
26
|
+
|
|
27
|
+
--border-primary: #e1dfdd;
|
|
28
|
+
}
|