Pārlūkot izejas kodu

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

* Increase ::selection background-color aplha

* Improve comment for override

* Add compiled CSS

* Only override on dark theme
Louis Jarasius 1 gadu atpakaļ
vecāks
revīzija
18b43408ec

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
netbox/project-static/dist/netbox.css


+ 5 - 0
netbox/project-static/styles/overrides/_tabler.scss

@@ -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)
+}

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels