2026-03-15 19:44:02 +01:00
|
|
|
/* ═══════════════════════════════════════════
|
|
|
|
|
DESIGN TOKENS — extracted from ui-mockup.html
|
|
|
|
|
Single source of truth for all colors/spacing
|
|
|
|
|
═══════════════════════════════════════════ */
|
|
|
|
|
|
|
|
|
|
:root {
|
|
|
|
|
/* Backgrounds */
|
2026-08-26 20:00:26 +02:00
|
|
|
--bg-tertiary: #1e1f22;
|
|
|
|
|
--bg-secondary: #2b2d31;
|
|
|
|
|
--bg-primary: #313338;
|
|
|
|
|
--bg-input: #383a40;
|
|
|
|
|
--bg-hover: #35373c;
|
|
|
|
|
--bg-active: #404249;
|
|
|
|
|
--bg-overlay: rgba(0, 0, 0, 0.7);
|
2026-03-15 19:44:02 +01:00
|
|
|
|
2026-03-21 22:10:30 +01:00
|
|
|
/* Background modifiers (semi-transparent overlays) */
|
2026-08-26 20:00:26 +02:00
|
|
|
--bg-modifier-hover: rgba(79, 84, 92, 0.16);
|
|
|
|
|
--bg-modifier-active: rgba(79, 84, 92, 0.24);
|
2026-03-21 22:10:30 +01:00
|
|
|
--bg-modifier-selected: rgba(79, 84, 92, 0.32);
|
|
|
|
|
|
2026-03-15 19:44:02 +01:00
|
|
|
/* Accent */
|
2026-08-26 20:00:26 +02:00
|
|
|
--accent: #5865f2;
|
|
|
|
|
--accent-hover: #4752c4;
|
2026-03-15 19:44:02 +01:00
|
|
|
--accent-active: #3c45a5;
|
|
|
|
|
|
2026-03-27 11:32:36 +01:00
|
|
|
/* Theme contract — overrideable by custom themes */
|
2026-08-26 20:00:26 +02:00
|
|
|
--accent-primary: var(--accent);
|
2026-03-27 11:32:36 +01:00
|
|
|
--accent-secondary: var(--accent-hover);
|
2026-08-26 20:00:26 +02:00
|
|
|
--accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
|
|
|
|
|
--border-glow: transparent;
|
2026-03-27 11:32:36 +01:00
|
|
|
|
2026-03-15 19:44:02 +01:00
|
|
|
/* Text */
|
2026-08-26 20:00:26 +02:00
|
|
|
--text-normal: #dbdee1;
|
|
|
|
|
--text-muted: #949ba4;
|
|
|
|
|
--text-faint: #80848e;
|
|
|
|
|
--text-micro: #6d6f78;
|
|
|
|
|
--text-link: #00a8fc;
|
2026-03-15 19:44:02 +01:00
|
|
|
|
2026-03-21 22:10:30 +01:00
|
|
|
/* Semantic text aliases */
|
|
|
|
|
--text-positive: #23a55a;
|
2026-08-26 20:00:26 +02:00
|
|
|
--text-warning: #f0b232;
|
|
|
|
|
--text-danger: #f23f43;
|
2026-03-21 22:10:30 +01:00
|
|
|
|
|
|
|
|
/* Header colors */
|
2026-08-26 20:00:26 +02:00
|
|
|
--header-primary: #f2f3f5;
|
2026-03-21 22:10:30 +01:00
|
|
|
--header-secondary: #b5bac1;
|
|
|
|
|
|
|
|
|
|
/* Interactive icon states */
|
|
|
|
|
--interactive-normal: #b5bac1;
|
2026-08-26 20:00:26 +02:00
|
|
|
--interactive-hover: #dbdee1;
|
2026-03-21 22:10:30 +01:00
|
|
|
--interactive-active: #fff;
|
2026-08-26 20:00:26 +02:00
|
|
|
--interactive-muted: #4e5058;
|
2026-03-21 22:10:30 +01:00
|
|
|
|
|
|
|
|
/* Channel icon */
|
|
|
|
|
--channel-icon: #80848e;
|
|
|
|
|
|
2026-03-15 19:44:02 +01:00
|
|
|
/* Status colors */
|
2026-08-26 20:00:26 +02:00
|
|
|
--green: #23a55a;
|
|
|
|
|
--yellow: #f0b232;
|
|
|
|
|
--red: #f23f43;
|
2026-03-15 19:44:02 +01:00
|
|
|
|
|
|
|
|
/* Borders */
|
2026-08-26 20:00:26 +02:00
|
|
|
--border: #3f4147;
|
2026-03-15 19:44:02 +01:00
|
|
|
--border-strong: #4e5058;
|
|
|
|
|
|
|
|
|
|
/* Role colors */
|
2026-08-26 20:00:26 +02:00
|
|
|
--role-owner: #e74c3c;
|
|
|
|
|
--role-admin: #f39c12;
|
|
|
|
|
--role-mod: #2ecc71;
|
|
|
|
|
--role-member: #949ba4;
|
2026-03-15 19:44:02 +01:00
|
|
|
|
2026-03-21 22:10:30 +01:00
|
|
|
/* Elevation shadows */
|
2026-08-26 20:00:26 +02:00
|
|
|
--elevation-low: 0 1px 0 rgba(4, 4, 5, 0.2), 0 1.5px 0 rgba(4, 4, 5, 0.05);
|
2026-03-21 22:10:30 +01:00
|
|
|
--elevation-high: 0 8px 16px rgba(0, 0, 0, 0.24);
|
|
|
|
|
|
|
|
|
|
/* Scrollbar colors */
|
2026-08-26 20:00:26 +02:00
|
|
|
--scrollbar-thin-thumb: #1a1b1e;
|
|
|
|
|
--scrollbar-auto-thumb: #1a1b1e;
|
|
|
|
|
--scrollbar-auto-track: transparent;
|
2026-03-21 22:10:30 +01:00
|
|
|
|
|
|
|
|
/* Transition timing */
|
2026-08-26 20:00:26 +02:00
|
|
|
--transition-fast: 100ms ease;
|
2026-03-21 22:10:30 +01:00
|
|
|
--transition-normal: 170ms ease;
|
2026-08-26 20:00:26 +02:00
|
|
|
--transition-slow: 200ms ease;
|
2026-03-21 22:10:30 +01:00
|
|
|
|
2026-03-15 19:44:02 +01:00
|
|
|
/* Typography */
|
|
|
|
|
--font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
|
2026-08-26 20:00:26 +02:00
|
|
|
--font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
|
|
|
|
|
--font-mono: "Cascadia Code", "Consolas", monospace;
|
2026-03-15 19:44:02 +01:00
|
|
|
|
2026-03-21 22:10:30 +01:00
|
|
|
/* Typography scale */
|
|
|
|
|
--font-size-xxs: 10px;
|
2026-08-26 20:00:26 +02:00
|
|
|
--font-size-xs: 12px;
|
|
|
|
|
--font-size-sm: 13px;
|
|
|
|
|
--font-size-md: 14px;
|
|
|
|
|
--font-size-lg: 16px;
|
|
|
|
|
--font-size-xl: 20px;
|
2026-03-21 22:10:30 +01:00
|
|
|
--font-size-xxl: 24px;
|
|
|
|
|
|
2026-03-15 19:44:02 +01:00
|
|
|
/* Radii */
|
2026-08-26 20:00:26 +02:00
|
|
|
--radius-sm: 4px;
|
|
|
|
|
--radius-md: 8px;
|
|
|
|
|
--radius-lg: 16px;
|
|
|
|
|
--radius-pill: 24px;
|
2026-03-15 19:44:02 +01:00
|
|
|
--radius-circle: 50%;
|
|
|
|
|
|
|
|
|
|
/* Spacing */
|
|
|
|
|
--sidebar-width: 240px;
|
|
|
|
|
--header-height: 48px;
|
2026-03-22 08:47:09 +01:00
|
|
|
|
|
|
|
|
/* Message layout */
|
|
|
|
|
--message-group-spacing: 17px;
|
2026-03-22 09:00:48 +01:00
|
|
|
--message-inline-spacing: 0;
|
2026-03-22 08:47:09 +01:00
|
|
|
--avatar-size: 40px;
|
|
|
|
|
--avatar-offset-left: 16px;
|
|
|
|
|
--message-content-left: 72px;
|
|
|
|
|
--message-content-right: 48px;
|
2026-03-15 19:44:02 +01:00
|
|
|
}
|