Files
kill-the-news/src/styles/variables.css
T
Julien HerrandClaude Sonnet 4.6 b95fbb468f design(admin): align with kill-the-news landing page visual identity
- variables.css: orange primary (#f6821f), dark bg (#0a0a0a), Inter font
- layout.css: orange radial glow, unified container 1200px (no width jump)
- components.css: orange buttons, remove backdrop-filter on inputs/cards

Fixes blurred form fields (double backdrop-filter), jarring width shift
between list/table views, and mismatched blue iOS aesthetic vs orange
Cloudflare identity of the site.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-22 18:21:34 +02:00

99 lines
2.8 KiB
CSS

:root {
/* Typography — Inter matches the landing page style */
--font-family:
"Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial,
sans-serif;
--font-family-mono:
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
color-scheme: light dark;
--font-size-xs: 12px;
--font-size-sm: 14px;
--font-size-md: 16px;
--font-size-lg: 20px;
--font-size-xl: 24px;
--font-size-xxl: 32px;
--font-weight-regular: 400;
--font-weight-medium: 500;
--font-weight-semibold: 600;
--font-weight-bold: 700;
/* Colors — Dark Mode (Default) — aligned with kill-the-news landing page */
--color-primary: #f6821f;
--color-primary-dark: #ffa050;
--color-secondary: #f0b429;
--color-success: #30d158;
--color-warning: #ff9f0a;
--color-danger: #ff453a;
--color-danger-dark: #ff6961;
--color-background: #0a0a0a;
--color-card: #111111;
--color-border: rgba(255, 255, 255, 0.1);
--color-text-primary: #f0f0f0;
--color-text-secondary: #888888;
--color-text-tertiary: #555555;
--color-text-on-primary: #ffffff;
--color-logout: rgba(246, 130, 31, 0.85);
/* Gradients */
--gradient-title: linear-gradient(135deg, #f6821f, #f0b429);
/* Shadows */
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
--shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
/* Spacing */
--spacing-xs: 4px;
--spacing-sm: 8px;
--spacing-md: 16px;
--spacing-lg: 24px;
--spacing-xl: 32px;
--spacing-xxl: 48px;
/* Radius */
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 12px;
--radius-pill: 9999px;
/* Animation */
--transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
--transition-normal: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
--transition-slow: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
/* Blur — only for modals and toasts */
--blur-sm: 8px;
--blur-md: 12px;
--blur-lg: 20px;
}
/* Light Mode */
@media (prefers-color-scheme: light) {
:root {
--color-primary: #e07010;
--color-primary-dark: #c05800;
--color-secondary: #d49800;
--color-success: #34c759;
--color-warning: #ff9500;
--color-danger: #ff3b30;
--color-danger-dark: #d70015;
--color-background: #f5f5f7;
--color-card: #ffffff;
--color-border: rgba(0, 0, 0, 0.1);
--color-text-primary: #111111;
--color-text-secondary: #555555;
--color-text-tertiary: #999999;
--color-text-on-primary: #ffffff;
--color-logout: rgba(224, 112, 16, 0.9);
--gradient-title: linear-gradient(135deg, #e07010, #d49800);
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
--shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
}
}