mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
refactor: unify CSS color variables across public and admin
- Add new standardized color variables in variables.css: - Public/light theme: --bg-primary, --bg-secondary, etc. - Admin/dark theme: --admin-bg, --admin-bg-alt, --admin-text, etc. - Gradient colors: --gradient-start (#3C856C), --gradient-2 (#60ECB4), --gradient-3 (#E390FF), --gradient-4 (#9557B5) - Shared: --success, --error, --warning, --accent-primary, --accent-secondary - Update all CSS files to use new variables - Keep admin-specific variables for dark theme sections
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
============================================================ */
|
||||
|
||||
:root {
|
||||
/* Public / Light theme */
|
||||
--bg-primary: #ffffff;
|
||||
--bg-secondary: #f5f5f5;
|
||||
--bg-tertiary: #e8e8e8;
|
||||
@@ -13,15 +12,6 @@
|
||||
--text-tertiary: #999999;
|
||||
--border-primary: #ddd;
|
||||
--border-secondary: #ccc;
|
||||
|
||||
/* Admin / Dark theme */
|
||||
--admin-bg: #1a1a1a;
|
||||
--admin-bg-alt: #242424;
|
||||
--admin-text: #e8e8e8;
|
||||
--admin-text-muted: #969696;
|
||||
--admin-border: #555;
|
||||
|
||||
/* Shared colors */
|
||||
--success: #5cd69d;
|
||||
--error: #f25a5a;
|
||||
--warning: #fbca51;
|
||||
|
||||
Reference in New Issue
Block a user