Sys-front-inj-css Role¶
Description: Global stylesheet injection for NGINX-served apps, unifying light and dark theming from a dynamic colorscheme
Variables¶
author: Kevin Veen-Birkenbach
description: Global stylesheet injection for NGINX-served apps, unifying light and dark theming from a dynamic colorscheme
license: Infinito.Nexus Community License (Non-Commercial)
company: Kevin Veen-Birkenbach https://www.veen.world
min_ansible_version: 2.9
platforms: [{‘name’: ‘ArchLinux’, ‘versions’: [‘all’]}, {‘name’: ‘Debian’, ‘versions’: [‘all’]}, {‘name’: ‘EL’, ‘versions’: [‘all’]}, {‘name’: ‘Fedora’, ‘versions’: [‘all’]}, {‘name’: ‘Ubuntu’, ‘versions’: [‘all’]}]
galaxy_tags: [‘nginx’, ‘css’, ‘colors’, ‘bootstrap’, ‘theming’, ‘dynamic’, ‘frontend’, ‘global’]
issue_tracker_url: https://s.infinito.nexus/issues
README¶
Global CSS Injection for NGINX¶
Description¶
`colorscheme-generator <https://github.com/kevinveenbirkenbach/colorscheme-generator/>`__
to generate a dynamic, customizable color palette for light and dark
mode, compatible with popular web tools like Bootstrap,
Keycloak, Nextcloud, Taiga, Mastodon, and many more.Overview¶
Cosmos¶
The diagram places Global CSS Injection for NGINX in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks).
flowchart LR
subgraph role [sys-front-inj-css 💻]
svc_css["css"]
endSolid 1:1 edges are fixed relationships; dashed 0..1 edges are
conditional (enabled only in matching deployments); red 0..0 edges
are turned off in this role. Node markers show the role’s deploy modes
(💻 host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly
turned off, and ⚙️ an Ansible role dependency declared in
meta/main.yml.
Purpose¶
Features¶
🎨 Dynamic Theming via
`colorscheme-generator<https://github.com/kevinveenbirkenbach/colorscheme-generator/>`__📁 Unified CSS Base Configuration deployment for all NGINX applications
🌒 Dark mode support out of the box
🚫 No duplication – tasks run once per deployment
⏱️ Versioning logic to bust browser cache
🎯 Bootstrap override compatibility
🧩 Theme support for Keycloak, Nextcloud, Gitea, LAM, Peertube, and more
Credits¶
Implemented by Kevin Veen-Birkenbach. Part of the Infinito.Nexus Project and maintained by Kevin Veen-Birkenbach. Licensed under the Infinito.Nexus Community License (Non-Commercial).