Introduce CSS variables for consistent theming

This commit refactors existing styles to use CSS variables, centralizing values for colors, spacing, typography, and other design elements. It also adds a `variables.css` file for managing these variables. Updated affected components and stylesheets for better maintainability and consistency.
This commit is contained in:
2025-07-19 16:45:51 +02:00
parent 3b011bc463
commit b830f2edaf
10 changed files with 271 additions and 44 deletions

View File

@ -6,15 +6,15 @@
}
body {
font-family: 'Georgia', serif;
background-color: #1f1414;
color: #f5f5f5;
line-height: 1.6;
font-family: var(--font-family-primary);
background-color: var(--color-background);
color: var(--color-text);
line-height: var(--line-height);
}
/* === Container für zentralen Content === */
.container {
max-width: 1600px;
width: 90%;
max-width: var(--container-max-width);
width: var(--container-width);
margin: 0 auto;
}
}