Implemented Global CSS draft

This commit is contained in:
2025-02-07 13:39:46 +01:00
parent 44438dab64
commit 9efca268c9
43 changed files with 327 additions and 68 deletions

View File

@@ -11,8 +11,10 @@ nginx:
streams: "/etc/nginx/conf.d/streams/" # Contains streams configuration e.g. for ldaps
well_known: "/usr/share/nginx/well-known/" # Path where well-known files are stored
homepage: "/usr/share/nginx/homepage/" # Path where the static homepage files are stored. @todo Move this variable to the role
global: "/var/www/global/" # Directory containing files which will be globaly accessable
user: "http" # Default nginx user in ArchLinux
## Nginx static repository
nginx_static_repository_address: NULL #This should contain the url to an git repository which has a static homepage included and an index.html file. @todo move this variable to the role
nginx_matomo_tracking: false # Activates matomo tracking on all html pages
global_matomo_tracking_enabled: false # Activates matomo tracking on all html pages

View File

@@ -0,0 +1,20 @@
global_theming:
enabled: true
css:
colors:
primary: "#007BFF" # Main brand color (e.g., buttons, highlights)
secondary: "#0056B3" # Secondary color (e.g., navigation, footers)
background: "#FFFFFF" # Background color (light mode)
background_dark: "#1E1E1E" # Background color (dark mode)
text: "#333333" # Main text color (dark mode text: "#EAEAEA")
accent: "#FF9900" # Accent color (used for highlights, CTAs)
success: "#28A745" # Success color (e.g., confirmation messages)
warning: "#FFC107" # Warning color (e.g., alerts, notifications)
error: "#DC3545" # Error color (e.g., form validation errors)
info: "#17A2B8" # Information color (e.g., tooltips, messages)
link: "#0056B3" # Link color (often matches primary/secondary)
button_text: "#FFFFFF" # Button text color
shadow: "rgba(0, 0, 0, 0.1)" # Shadow color for UI elements
border: "#DDDDDD" # Border color for UI components
global_theming_enabled: false # Needs to be set to true in every vars/main.yml of every role which supports this