feat: add themeable design tokens with cookie-backed SSR

This commit is contained in:
2026-08-11 20:08:53 -04:00
parent a1f39a8dc8
commit d71b53b3c5
8 changed files with 629 additions and 71 deletions
+3 -1
View File
@@ -2,7 +2,8 @@
// for information about these interfaces
import type { ApiClient } from '$lib/server/api';
import type { User } from 'lucide-svelte';
import type { User } from '$lib/server/auth';
import type { ThemeConfig } from '$lib/theme/presets';
declare global {
namespace App {
@@ -11,6 +12,7 @@ declare global {
authToken: string | null;
api: ApiClient;
user: User;
theme: ThemeConfig;
}
// interface PageData {}
// interface PageState {}