From 2aea7764d38cd2333985eccdb754c0c629bb40d4 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Sat, 24 Aug 2024 14:43:48 -0400 Subject: [PATCH] Update styles in response to new focus method for MenuItem --- internal/styles/aluminum/aluminum.tss | 8 -------- internal/styles/fallback/wintergreen.go | 15 --------------- 2 files changed, 23 deletions(-) diff --git a/internal/styles/aluminum/aluminum.tss b/internal/styles/aluminum/aluminum.tss index 48d7e59..a6effa5 100644 --- a/internal/styles/aluminum/aluminum.tss +++ b/internal/styles/aluminum/aluminum.tss @@ -198,10 +198,6 @@ $BorderOuterShadow = #a4afc0 ; Color: #0000; } -*.MenuItem[hovered] { - Color: $ColorDot; -} - *.MenuItem[focused] { Color: $ColorDot; } @@ -218,10 +214,6 @@ $BorderOuterShadow = #a4afc0 ; Border: $BorderTearPad / 3, $BorderTear / 1; } -*.TearLine[hovered] { - Border: $BorderTearPadFocused / 3, $BorderTearFocused / 1; -} - *.TearLine[focused] { Border: $BorderTearPadFocused / 3, $BorderTearFocused / 1; } diff --git a/internal/styles/fallback/wintergreen.go b/internal/styles/fallback/wintergreen.go index 9984008..73ccb65 100644 --- a/internal/styles/fallback/wintergreen.go +++ b/internal/styles/fallback/wintergreen.go @@ -369,11 +369,6 @@ rules := []style.Rule { style.Ru(style.AS ( tomo.AttrColor { Color: tomo.ColorAccent }, ), tomo.R("", "MenuItem"), "focused"), - - // *.MenuItem[hovered] - style.Ru(style.AS ( - tomo.AttrColor { Color: tomo.ColorAccent }, - ), tomo.R("", "MenuItem"), "hovered"), // *.File style.Ru(style.AS ( @@ -410,16 +405,6 @@ rules := []style.Rule { }, }, ), tomo.R("", "TearLine"), "focused"), - - // *.TearLine[hovered] - style.Ru(style.AS ( - tomo.AttrBorder { - tomo.Border { - Width: tomo.I(3), - Color: borderColorFocused, - }, - }, - ), tomo.R("", "TearLine"), "hovered"), // *.Calendar style.Ru(style.AS (