synops/frontend/src/app.css
vegard 543b0ca29f Mørkt tema på alle sider: workspace, canvas, blockshell, traits, collection
Erstattet alle hardkodede lyse farger (white, #f0f2f5, #f3f4f6)
med mørke (#0a0a0b, #1c1c20, #242428) i alle Svelte-komponenter.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 02:27:15 +00:00

91 lines
3.3 KiB
CSS

@import 'tailwindcss';
/* Synops mørkt tema — matcher landingssiden */
@theme {
--color-bg: #0a0a0b;
--color-surface: #1c1c20;
--color-surface-hover: #242428;
--color-border: #2a2a2e;
--color-border-hover: #3a3a3e;
--color-text: #e8e8ec;
--color-text-muted: #8a8a96;
--color-text-dim: #5a5a66;
--color-accent: #6366f1;
--color-accent-hover: #7577f5;
--color-accent-glow: rgba(99, 102, 241, 0.15);
--color-success: #22c55e;
--color-warning: #f59e0b;
--color-error: #ef4444;
}
html, body {
background-color: var(--color-bg) !important;
color: var(--color-text) !important;
font-family: 'Inter', -apple-system, system-ui, sans-serif;
}
/* Alle div-er med min-h-screen bakgrunn */
.min-h-screen { background-color: var(--color-bg) !important; }
div[style*="display: contents"] { background-color: var(--color-bg) !important; }
/* Override Tailwind defaults for dark theme — utenfor @layer for høy spesifisitet */
.bg-white { background-color: #1c1c20 !important; }
.bg-gray-50 { background-color: #0a0a0b !important; }
.bg-gray-100 { background-color: #1c1c20 !important; }
.bg-gray-200 { background-color: #2a2a2e !important; }
/* Tekst */
.text-gray-900 { color: #e8e8ec !important; }
.text-gray-800 { color: #e8e8ec !important; }
.text-gray-700 { color: #8a8a96 !important; }
.text-gray-600 { color: #8a8a96 !important; }
.text-gray-500 { color: #8a8a96 !important; }
.text-gray-400 { color: #5a5a66 !important; }
.text-gray-300 { color: #5a5a66 !important; }
/* Borders */
.border-gray-200 { border-color: #2a2a2e !important; }
.border-gray-300 { border-color: #2a2a2e !important; }
.border-gray-100 { border-color: #2a2a2e !important; }
/* Hover states */
.hover\:bg-gray-200:hover { background-color: #242428 !important; }
.hover\:bg-gray-100:hover { background-color: #242428 !important; }
.hover\:text-gray-700:hover { color: #e8e8ec !important; }
/* Accent-farger for knapper */
.bg-indigo-500, .bg-indigo-600 { background-color: #6366f1 !important; }
.hover\:bg-indigo-600:hover, .hover\:bg-indigo-700:hover { background-color: #7577f5 !important; }
.text-indigo-600, .text-indigo-500, .text-indigo-700 { color: #6366f1 !important; }
.bg-indigo-50, .bg-indigo-100 { background-color: rgba(99, 102, 241, 0.15) !important; }
.border-indigo-300 { border-color: #6366f1 !important; }
.hover\:border-indigo-300:hover { border-color: #6366f1 !important; }
/* Inputs og textareas */
input, textarea, select {
background-color: #1c1c20 !important;
color: #e8e8ec !important;
border-color: #2a2a2e !important;
}
input:focus, textarea:focus, select:focus {
border-color: #6366f1 !important;
outline-color: #6366f1 !important;
}
input::placeholder, textarea::placeholder {
color: #5a5a66 !important;
}
/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important; }
.shadow { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important; }
/* Status-farger */
.text-green-600 { color: #22c55e !important; }
.text-yellow-600 { color: #f59e0b !important; }
.text-red-600 { color: #ef4444 !important; }
/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0b; }
::-webkit-scrollbar-thumb { background: #2a2a2e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3e; }