Enhance documentation with new features: added dark/light/system theme support, instructions page, and application catalog. Updated API and domain model for app management and automatic migrations on startup. Improved frontend structure with new routes and features for user instructions and app management.
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
@import 'tailwindcss';
|
||||
|
||||
/* Класс-стратегия тёмной темы: .dark на <html> (см. theme.tsx). */
|
||||
@custom-variant dark (&:where(.dark, .dark *));
|
||||
|
||||
:root {
|
||||
--background: #ffffff;
|
||||
--foreground: #0a0a0f;
|
||||
--muted: #f4f4f5;
|
||||
--muted-foreground: #6b7280;
|
||||
--border: #e5e7eb;
|
||||
--primary: #7c3aed;
|
||||
--primary-foreground: #ffffff;
|
||||
}
|
||||
|
||||
.dark {
|
||||
--background: #0b0c10;
|
||||
--foreground: #e5e7eb;
|
||||
--muted: #17181f;
|
||||
--muted-foreground: #9ca3af;
|
||||
--border: #2a2c37;
|
||||
--primary: #a78bfa;
|
||||
--primary-foreground: #0b0c10;
|
||||
}
|
||||
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--color-muted: var(--muted);
|
||||
--color-muted-foreground: var(--muted-foreground);
|
||||
--color-border: var(--border);
|
||||
--color-primary: var(--primary);
|
||||
--color-primary-foreground: var(--primary-foreground);
|
||||
--font-sans: system-ui, 'Segoe UI', Roboto, sans-serif;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
html {
|
||||
color-scheme: light dark;
|
||||
}
|
||||
body {
|
||||
@apply bg-background text-foreground font-sans antialiased;
|
||||
margin: 0;
|
||||
min-height: 100svh;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user