Implemented inverted color scheme

This commit is contained in:
2025-04-16 02:26:13 +02:00
parent 4ec3037474
commit dfcd35bacc
5 changed files with 568 additions and 563 deletions

View File

@@ -1,12 +1,15 @@
# Load this role via nginx-modifier-all for consistency
# roles/nginx-modifier-css/tasks/main.yml
- name: Generate color palette with colorscheme-generator
set_fact:
color_palette: "{{ lookup('colorscheme', global_css_base_color, count=global_css_count, shades=global_css_shades) }}"
when: run_once_nginx_global_css is not defined
- name: Generate inverted color palette with colorscheme-generator
set_fact:
inverted_color_palette: "{{ lookup('colorscheme', global_css_base_color, count=global_css_count, shades=global_css_shades, invert_lightness=True) }}"
when: run_once_nginx_global_css is not defined
- name: Deploy global.css
template:
src: global.css.j2