fix(ui): Avoid the background invisible when selecting text with background color

This commit is contained in:
SiriusXT 2025-05-12 14:09:35 +08:00
parent 5f2735749e
commit 729a32610a
3 changed files with 8 additions and 0 deletions

View File

@ -1222,6 +1222,10 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
background-color: inherit;
}
::selection {
background-color: var(--selection-background-color);
}
[data-bs-toggle="tooltip"]:not(.button-widget) span {
padding-bottom: 0;
border-bottom: 1px dotted;

View File

@ -195,6 +195,8 @@
--scrollbar-background-color: transparent;
--scrollbar-border-color: unset; /* Deprecated */
--selection-background-color: #3399FF70;
--link-color: lightskyblue;
--mermaid-theme: dark;

View File

@ -194,6 +194,8 @@
--scrollbar-background-color: transparent;
--scrollbar-border-color: unset; /* Deprecated */
--selection-background-color: #3399FF70;
--link-color: blue;
--mermaid-theme: default;