From 5857dfbb71973f3d0be6a3d168f9f4ae1a2bc374 Mon Sep 17 00:00:00 2001 From: TallblokeUK Date: Thu, 3 Sep 2026 23:19:58 +0100 Subject: [PATCH] fix: colour the tags help text where the field actually lives --- src/css/edit/_gpt.scss | 7 +++++++ src/css/edit/_sidebar.scss | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/css/edit/_gpt.scss b/src/css/edit/_gpt.scss index 03e40cd50..668a99773 100644 --- a/src/css/edit/_gpt.scss +++ b/src/css/edit/_gpt.scss @@ -109,3 +109,10 @@ justify-content: flex-end; } } + +// The tags field sits in the lower form area, not the sidebar. Its help text +// takes the component's own grey, 4.05:1 on this surface, from an injected +// single-class rule; two classes outrank it and the muted token clears 4.5:1. +.snippet-tags-container .components-form-token-field__help { + color: var(--cs-color-text-muted); +} diff --git a/src/css/edit/_sidebar.scss b/src/css/edit/_sidebar.scss index 01df0e161..fbb9f783c 100644 --- a/src/css/edit/_sidebar.scss +++ b/src/css/edit/_sidebar.scss @@ -179,12 +179,6 @@ .components-form-token-field { inline-size: 100%; - - // The component's own grey is 4.05:1 on the sidebar surface; the muted - // text token clears the 4.5:1 floor. - .components-form-token-field__help { - color: var(--cs-color-text-muted); - } } .generate-button {