mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
fix serve recipe: filter output to Development Server start + [200] requests only
refactor: unify CSS color variables across public and admin - Replace old variable structure with new standardized naming: - Background: --bg-primary, --bg-secondary, --bg-tertiary, --bg-active - Text: --text-primary, --text-secondary, --text-tertiary - Border: --border-primary, --border-secondary - Status: --success, --error, --warning - Accent: --accent-primary, --accent-secondary, --accent-foreground, --accent-muted - Remove admin-specific color variables (--admin-*) - Update all CSS files to use shared variables: - variables.css, common.css, main.css, admin.css - tfe.css, search.css, apropos.css, system.css, colors.css
This commit is contained in:
36
public/assets/css/variables.css
Normal file
36
public/assets/css/variables.css
Normal file
@@ -0,0 +1,36 @@
|
||||
/* ============================================================
|
||||
CSS VARIABLES (CUSTOM PROPERTIES)
|
||||
============================================================ */
|
||||
|
||||
:root {
|
||||
/* Public / Light theme */
|
||||
--bg-primary: #ffffff;
|
||||
--bg-secondary: #f5f5f5;
|
||||
--bg-tertiary: #e8e8e8;
|
||||
--bg-active: #d0d0d0;
|
||||
--text-primary: #111111;
|
||||
--text-secondary: #666666;
|
||||
--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;
|
||||
--accent-primary: #9557b5;
|
||||
--accent-secondary: #683d7f;
|
||||
--accent-foreground: #ffffff;
|
||||
--accent-muted: rgba(149, 87, 181, 0.12);
|
||||
--gradient-start: #3C856C;
|
||||
--gradient-2: #60ECB4;
|
||||
--gradient-3: #E390FF;
|
||||
--gradient-4: #9557B5;
|
||||
}
|
||||
Reference in New Issue
Block a user