From 299934e832c8fd37cc9f6b3c6aedf808a92c4ee6 Mon Sep 17 00:00:00 2001 From: Albina Starykova Date: Fri, 7 Jul 2023 10:33:47 +0300 Subject: [PATCH] Update styles for userbar and a11y checker in dark mode --- client/scss/components/_userbar.scss | 6 +++++- wagtail/admin/templates/wagtailadmin/skeleton.html | 2 +- wagtail/admin/templates/wagtailadmin/userbar/base.html | 2 +- .../templates/wagtailadmin/userbar/item_accessibility.html | 4 +++- wagtail/admin/templatetags/wagtailadmin_tags.py | 5 +++-- 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/client/scss/components/_userbar.scss b/client/scss/components/_userbar.scss index 03c5b526e086..e662193f72b0 100644 --- a/client/scss/components/_userbar.scss +++ b/client/scss/components/_userbar.scss @@ -69,7 +69,7 @@ $positions: ( width: $size-home-button; height: $size-home-button; margin: 0; - background-color: theme('colors.surface-page'); + background-color: theme('colors.white.DEFAULT'); border: 2px solid transparent; border-radius: 50%; padding: 0; @@ -258,6 +258,10 @@ $positions: ( background: theme('colors.surface-page'); } + .w-dialog__close-icon { + color: theme('colors.text-context'); + } + .w-dialog__content { padding: 0; min-height: unset; diff --git a/wagtail/admin/templates/wagtailadmin/skeleton.html b/wagtail/admin/templates/wagtailadmin/skeleton.html index 108d0b0c78af..49aa0b91c5ad 100644 --- a/wagtail/admin/templates/wagtailadmin/skeleton.html +++ b/wagtail/admin/templates/wagtailadmin/skeleton.html @@ -2,7 +2,7 @@ {% load wagtailadmin_tags i18n %} {% get_current_language as LANGUAGE_CODE %} {% get_current_language_bidi as LANGUAGE_BIDI %} - + {% block titletag %}{% endblock %} - {% block branding_title %}Wagtail{% endblock %} diff --git a/wagtail/admin/templates/wagtailadmin/userbar/base.html b/wagtail/admin/templates/wagtailadmin/userbar/base.html index d617c46a4e76..ed63785f334d 100644 --- a/wagtail/admin/templates/wagtailadmin/userbar/base.html +++ b/wagtail/admin/templates/wagtailadmin/userbar/base.html @@ -1,7 +1,7 @@ {% load wagtailadmin_tags i18n %}