Fix private browsing colours in FF119(VIEW README)

This commit is contained in:
bmFtZQ 2023-10-25 23:36:38 +08:00
parent 21fb6e55f9
commit f6368602c4

View file

@ -1,7 +1,8 @@
/* EdgeFr-Fox by bmFtZQ - colors.css */
/* default colours (light & dark) */
:root:not(:-moz-lwtheme) {
:root:not(:-moz-lwtheme),
:root[privatebrowsingmode="temporary"][style*="--lwt-accent-color: rgb(28, 27, 34)"] {
--lwt-accent-color: light-dark(#cecece, #1C1C1C) !important;
--lwt-accent-color-inactive: light-dark(#e8e8e8, #2e2e2e) !important;
--lwt-text-color: light-dark(#000, #E5E5E5) !important;
@ -67,6 +68,13 @@
--tab-icon-overlay-fill: light-dark(#252525, #fff) !important;
}
/* ensure that dark mode is enabled completely in private browsing mode. */
:root[privatebrowsingmode="temporary"],
:root[privatebrowsingmode="temporary"] #nav-bar,
:root[privatebrowsingmode="temporary"] #PersonalToolbar {
color-scheme: dark !important;
}
#urlbar {
--urlbar-box-bgcolor: inherit !important;
--urlbar-box-hover-bgcolor: inherit !important;