improve contrast for selection

This commit is contained in:
vcoppe
2025-11-14 18:45:49 +01:00
parent 3fb597a774
commit d624352a0b
2 changed files with 6 additions and 8 deletions

View File

@@ -34,6 +34,7 @@
--support: rgb(220 15 130); --support: rgb(220 15 130);
--link: rgb(0 110 180); --link: rgb(0 110 180);
--selection: hsl(240 4.8% 93%);
--radius: 0.5rem; --radius: 0.5rem;
} }
@@ -69,6 +70,7 @@
--support: rgb(255 110 190); --support: rgb(255 110 190);
--link: rgb(80 190 255); --link: rgb(80 190 255);
--selection: hsl(240 3.7% 22%);
} }
@theme inline { @theme inline {

View File

@@ -121,20 +121,16 @@
} }
.vertical :global(button) { .vertical :global(button) {
@apply hover:bg-muted; @apply hover:bg-[var(--selection)];
}
.vertical :global(.sortable-selected button) {
@apply hover:bg-accent;
} }
.vertical :global(.sortable-selected) { .vertical :global(.sortable-selected) {
@apply bg-accent; @apply bg-[var(--selection)];
} }
.horizontal :global(button) { .horizontal :global(button) {
@apply bg-accent; @apply bg-[var(--selection)];
@apply hover:bg-muted; @apply hover:bg-background;
} }
.horizontal :global(.sortable-selected button) { .horizontal :global(.sortable-selected button) {