diff --git a/group_vars/all/13_theming.yml b/group_vars/all/13_theming.yml index 6554e937..38f2de7c 100644 --- a/group_vars/all/13_theming.yml +++ b/group_vars/all/13_theming.yml @@ -17,4 +17,8 @@ global_theming: saturation_change: 50 hue_shift: 0 -global_theming_enabled: true +# Global Theming is default enabled for all roles +# If you want to disable the global css for a role, set +# global_theming_enabled: false +# in var/main.yml +global_theming_enabled: true \ No newline at end of file diff --git a/roles/docker-wordpress/vars/main.yml b/roles/docker-wordpress/vars/main.yml index 9277e76d..5e919537 100644 --- a/roles/docker-wordpress/vars/main.yml +++ b/roles/docker-wordpress/vars/main.yml @@ -2,4 +2,12 @@ application_id: "wordpress" wordpress_max_upload_size: "64M" database_type: "mariadb" database_password: "{{wordpress_database_password}}" -custom_wordpress_image: "custom_wordpress" \ No newline at end of file +custom_wordpress_image: "custom_wordpress" + +# Deactivate Global theming for wordpress role +# due to the reason that wordpress has to much different themes +# and one styling for all is not possible. +# +# May a solution could be to generate a template or css file dedicated +# for wordpress based on the theming values and import it. +global_theming_enabled: false \ No newline at end of file diff --git a/roles/nginx-global-css/templates/global.css.j2 b/roles/nginx-global-css/templates/global.css.j2 index 7f439d6d..e66bc2eb 100644 --- a/roles/nginx-global-css/templates/global.css.j2 +++ b/roles/nginx-global-css/templates/global.css.j2 @@ -603,17 +603,6 @@ div.modal div.modal-content { --dropdown-item-active-color: var(--color-99);/* Active state: very light (white) */ } -/* Wordpress */ -:root { - --wp--preset--color--black: var(--color-05); - --wp--preset--color--contrast: var(--color-22); - --wp--preset--color--contrast-2: var(--color-40); - --wp--preset--color--contrast-3: var(--color-50); - --wp--preset--color--base: var(--color-90); - --wp--preset--color--base-2: var(--color-95); - --wp--preset--color--white: var(--color-99); -} - /* Global Defaults (Colors Only) */ body, html[native-dark-active] { background-color: var(--color-93); @@ -812,8 +801,3 @@ div.master, div.kanban-header, div.kanban-table-inner, section.kanban button,a.d section.kanban h1, section.kanban h2{ color: var(--color-40) !important; } - -/* Wordpress */ -.has-contrast-background-color{ - color: var(--color-90) !important; -}