Fixes #16274: Dark mode highlight color (#16355)

* Increase ::selection background-color aplha

* Improve comment for override

* Add compiled CSS

* Only override on dark theme
This commit is contained in:
Louis Jarasius 2024-06-06 22:44:32 +10:00 committed by GitHub
parent b10fb67ce9
commit 18b43408ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

Binary file not shown.

View File

@ -39,3 +39,8 @@ table a {
// Adjust table anchor link contrast as not enough contrast in dark mode // Adjust table anchor link contrast as not enough contrast in dark mode
filter: brightness(110%); filter: brightness(110%);
} }
// Override background color alpha value
[data-bs-theme=dark] ::selection {
background-color: rgba(var(--tblr-primary-rgb),.48)
}