feat(ui): Primitives & Design Tokens fuer Cinematic Cinema OS

This commit is contained in:
Hitonabi
2026-07-24 16:04:41 +02:00
parent 7b6f836475
commit 7004d798d6
8 changed files with 403 additions and 49 deletions
+19 -49
View File
@@ -2,57 +2,13 @@
@tailwind components;
@tailwind utilities;
:root {
--bg-color: #f8fafc;
--bg-secondary: #f1f5f9;
--text-primary: #0f172a;
--text-secondary: #64748b;
--accent-color: #6366f1;
--accent-hover: #4f46e5;
--border-color: #e2e8f0;
--card-bg: #ffffff;
--input-bg: #ffffff;
--input-border: #e2e8f0;
--success-color: #22c55e;
--error-color: #ef4444;
@layer base {
body {
@apply m-0 bg-slate-50 text-slate-900 dark:bg-slate-950 dark:text-slate-100 font-sans antialiased selection:bg-amber-500/30 selection:text-amber-400;
}
}
[data-theme="dark"] {
--bg-color: #0f172a;
--bg-secondary: #1e293b;
--text-primary: #f1f5f9;
--text-secondary: #94a3b8;
--accent-color: #818cf8;
--accent-hover: #6366f1;
--border-color: #334155;
--card-bg: #1e293b;
--input-bg: #0f172a;
--input-border: #334155;
}
* {
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: var(--bg-color);
color: var(--text-primary);
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
background-color: var(--bg-secondary);
color: var(--text-primary);
}
/* Toast-Einflug (ToastContext): von rechts reinploppen */
/* Toast Einflug */
@keyframes toast-rein {
from {
opacity: 0;
@@ -67,3 +23,17 @@ code {
.toast-rein {
animation: toast-rein 0.25s ease-out;
}
/* Subtile Disc-Rotation für Cinematic Spotlight */
@keyframes disc-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.animate-disc-spin {
animation: disc-spin 14s linear infinite;
}