Deactivated global css for wordpress

This commit is contained in:
Kevin Veen-Birkenbach 2025-02-18 12:57:03 +01:00
parent 0a26499a34
commit c7901949cc
3 changed files with 14 additions and 18 deletions

View File

@ -17,4 +17,8 @@ global_theming:
saturation_change: 50 saturation_change: 50
hue_shift: 0 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

View File

@ -2,4 +2,12 @@ application_id: "wordpress"
wordpress_max_upload_size: "64M" wordpress_max_upload_size: "64M"
database_type: "mariadb" database_type: "mariadb"
database_password: "{{wordpress_database_password}}" database_password: "{{wordpress_database_password}}"
custom_wordpress_image: "custom_wordpress" 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

View File

@ -603,17 +603,6 @@ div.modal div.modal-content {
--dropdown-item-active-color: var(--color-99);/* Active state: very light (white) */ --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) */ /* Global Defaults (Colors Only) */
body, html[native-dark-active] { body, html[native-dark-active] {
background-color: var(--color-93); 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{ section.kanban h1, section.kanban h2{
color: var(--color-40) !important; color: var(--color-40) !important;
} }
/* Wordpress */
.has-contrast-background-color{
color: var(--color-90) !important;
}