From 13557bd13fea3e2ed2c43f7c5d8feb2baebbb168 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Sun, 15 Feb 2026 18:27:01 +0100 Subject: [PATCH] selection in colorwell --- AppKit/Themes/Aristo3/ThemeDescriptors.j | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/AppKit/Themes/Aristo3/ThemeDescriptors.j b/AppKit/Themes/Aristo3/ThemeDescriptors.j index 7d34631b5..1f08a2e5f 100644 --- a/AppKit/Themes/Aristo3/ThemeDescriptors.j +++ b/AppKit/Themes/Aristo3/ThemeDescriptors.j @@ -8438,11 +8438,23 @@ var themedButtonValues = nil, bezelColor = [CPColor colorWithCSSDictionary:@{ @"border": @"1px solid " + A3ColorBorderDark, - @"background-color": A3ColorBackgroundWhite + @"background-color": A3ColorBackgroundWhite, + @"box-sizing": @"border-box" + }], + + // Add Focused State + bezelFocusedColor = [CPColor colorWithCSSDictionary:@{ + @"border": @"1px solid " + A3ColorBorderBlue, + @"background-color": A3ColorBackgroundWhite, + @"box-shadow": @"0 0 0 1px " + A3ColorBorderBlue + " inset", + @"box-sizing": @"border-box" }], themedColorWellValues = [ [@"bezel-color", bezelColor, CPThemeStateBordered], + // Register the focused state + [@"bezel-color", bezelFocusedColor, [CPThemeStateBordered, CPThemeStateFirstResponder]], + [@"content-inset", CGInsetMake(5.0, 5.0, 5.0, 5.0), CPThemeStateBordered], [@"content-border-inset", CGInsetMake(5.0, 5.0, 4.0, 5.0), CPThemeStateBordered] ];