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:
Pontoporeia
2026-04-02 17:24:43 +02:00
parent ae499e45b5
commit 758bdce669
5 changed files with 105 additions and 108 deletions

View File

@@ -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;