better hover colors

This commit is contained in:
Víctor Losada Hernández
2026-09-06 18:13:11 +02:00
parent e0707e2bb1
commit 47b85966d2
2 changed files with 9 additions and 11 deletions
+5 -1
View File
@@ -7,7 +7,7 @@
@property --activeTriggerColor {
syntax: '<color>';
inherits: true;
initial-value: #DDD;
initial-value: #999;
}
:root{
@@ -30,4 +30,8 @@
}
.menu-wrapper:has(:popover-open) > button { // if menu is open...
background-color: var(--activeTriggerColor, hsl(from var(--menuColor) h s calc(l * .85))); // tint menu triggers based on menu color
}
.darkMode .menu-wrapper:has(:popover-open) > button { // if menu is open...
--activeTriggerColor : #444; // tint menu triggers based on menu color
}