From 696460f323478146ea1c3975cb5fc80678b6854a Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Fri, 16 Aug 2024 18:23:49 -0400 Subject: [PATCH] Add Aluminum styling for Swatch, ColorPickerMap, Dropdown --- internal/styles/aluminum/aluminum.tss | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/internal/styles/aluminum/aluminum.tss b/internal/styles/aluminum/aluminum.tss index b7455ed..f759d0b 100644 --- a/internal/styles/aluminum/aluminum.tss +++ b/internal/styles/aluminum/aluminum.tss @@ -240,3 +240,41 @@ $BorderOuterShadow = #a4afc0 / 0 1 1 0; Color: $ColorRaised; Padding: 4 8; } + +*.Swatch { + Border: $BorderEngraved, $BorderGap; + Color: #FFF; + MinimumSize: 19; +} + +*.Swatch[focused] { + Border: $BorderEngraved, $BorderFocused; +} + +*.ColorPickerMap { + Border: $BorderEngraved, $BorderGap; + Color: $ColorSunken; + MinimumSize: 128; +} + +*.Dropdown { + Border: $BorderEngraved, $BorderGap, $BorderLifted; + Padding: 4 8; + Color: $ColorRaised; +} + +*.Dropdown[focused] { + Border: $BorderEngraved, $BorderGap, $BorderLiftedFocused; + Padding: 4 8; + Color: $ColorRaisedFocused; +} + +*.Dropdown[hovered] { + Color: $ColorRaisedHovered; +} + +*.Dropdown[pressed] { + Border: $BorderEngraved, $BorderGap, $BorderInnerShadow; + Padding: 5 8 4 9; + Color: $ColorRaisedPressed; +}