π Nginx Global Theming RoleΒΆ
This Ansible role provides a global theming solution for Nginx-based web applications. It ensures a consistent look and feel across multiple applications by injecting a unified global.css with customizable theming options.ΒΆ
π FeaturesΒΆ
β
Automatic CSS Deployment β Injects global.css
into all Nginx-served applications.
β
Dynamic Theming β Uses design.css.colors
from Ansible variables for full customization.
β
Bootstrap Override Support β Ensures Bootstrap-based apps use the unified global styles.
β
Versioning System β Prevents caching issues with automatic timestamp-based versioning.
β
Dark Mode Support β Automatically adapts to user preferences.
β
Runs Once Per Deployment β Avoids redundant executions with run_once_nginx_global_css
.
π¨ Theming DetailsΒΆ
The CSS template (global.css.j2
) dynamically applies the defined theme colors and ensures Bootstrap, buttons, alerts, forms, and other UI elements follow the unified design.
π οΈ ContributionΒΆ
Feel free to fork, modify, and improve this role! Contributions are always welcome. π οΈπ₯
π Happy Theming! π¨β¨
*Created by Kevin Veen-Birkenbach with the assistance of ChatGPT.