From 50bdb724b570fbd79ba3f7e01bf09d9da8fcc867 Mon Sep 17 00:00:00 2001 From: Rohit Sharma Date: Wed, 29 Nov 2023 10:55:21 +0000 Subject: [PATCH] Fix chooser buttons focus color is too dark in dark mode Fixes #10875 --- CHANGELOG.txt | 2 +- client/scss/components/_chooser.scss | 2 +- docs/releases/6.0.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 8f81f0dd5e..70163f285d 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -45,7 +45,7 @@ Changelog * Add `WAGTAILADMIN_LOGIN_URL` setting to allow customising the login URL (Neeraj Yetheendran) * Replace legacy dropdown component with new Tippy dropdown-button (Thibaud Colas) * Add ability to filter by existence of child pages in the page listing view (Matt Westcott) - * Polish dark theme styles and update color tokens (Thibaud Colas) + * Polish dark theme styles and update color tokens (Thibaud Colas, Rohit Sharma) * Keep database state of pages and snippets updated while in draft state (Stefan Hammer) * Fix: Update system check for overwriting storage backends to recognise the `STORAGES` setting introduced in Django 4.2 (phijma-leukeleu) * Fix: Prevent password change form from raising a validation error when browser autocomplete fills in the "Old password" field (Chiemezuo Akujobi) diff --git a/client/scss/components/_chooser.scss b/client/scss/components/_chooser.scss index eaa158601c..6d63a1486d 100644 --- a/client/scss/components/_chooser.scss +++ b/client/scss/components/_chooser.scss @@ -28,7 +28,7 @@ $preview-size: 2.625rem; // 42px &:hover, &:focus { - color: theme('colors.surface-button-hover'); + color: theme('colors.text-link-hover'); background-color: theme('colors.surface-page'); } } diff --git a/docs/releases/6.0.md b/docs/releases/6.0.md index 6b2ee45a25..1e4668d22f 100644 --- a/docs/releases/6.0.md +++ b/docs/releases/6.0.md @@ -72,7 +72,7 @@ Thank you to Thibaud Colas, Badr Fourane, and Sage Abdullah for their work on th * Add `WAGTAILADMIN_LOGIN_URL` setting to allow customising the login URL (Neeraj Yetheendran) * Replace legacy dropdown component with new Tippy dropdown-button (Thibaud Colas) * Add ability to filter by existence of child pages in the page listing view (Matt Westcott) - * Polish dark theme styles and update color tokens (Thibaud Colas) + * Polish dark theme styles and update color tokens (Thibaud Colas, Rohit Sharma) * Keep database state of pages and snippets updated while in draft state (Stefan Hammer)