mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-31 06:20:48 -08:00
Clean: SASS - use built in theme fn
This commit is contained in:
parent
2cb29c4d26
commit
aa7e85eb7b
3 changed files with 25 additions and 6418 deletions
|
|
@ -1,19 +1,16 @@
|
|||
// lwtheme-mozlightdark: Legacy - v96
|
||||
|
||||
/*= Lightmode - Color darker =================================================*/
|
||||
:root[lwtheme-mozlightdark]:not([lwthemetextcolor="bright"]), /* Legacy */
|
||||
:root[style*="--lwt-accent-color: rgb(240, 240, 244); --lwt-text-color: rgba(21, 20, 26);"] {
|
||||
#{built-in-light-theme()} {
|
||||
--lwt-accent-color: rgb(229, 229, 235) !important; /* Original: rgb(240, 240, 244) */
|
||||
}
|
||||
@include OS($win10, $mac) {
|
||||
:root[lwtheme-mozlightdark]:not([lwthemetextcolor="bright"]) #navigator-toolbox, /* Legacy */
|
||||
:root[style*="--lwt-accent-color: rgb(240, 240, 244); --lwt-text-color: rgba(21, 20, 26);"] {
|
||||
#{selector.nest(built-in-light-theme(), "#navigator-toolbox")} {
|
||||
background-color: var(--lwt-accent-color) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*= Darkmode - Color lighter =================================================*/
|
||||
:root[lwtheme-mozlightdark][lwthemetextcolor="bright"], /* Legacy */
|
||||
:root[style*="--lwt-accent-color: rgb(28, 27, 34); --lwt-text-color: rgba(251, 251, 254);"] {
|
||||
#{built-in-dark-theme()} {
|
||||
--toolbar-bgcolor: rgba(43, 42, 51, 5) !important; /* Original: rgba(43, 42, 51, 1) */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
@use "utils/os" as *;
|
||||
@use "utils/option" as *;
|
||||
@use "utils/color_scheme" as *;
|
||||
@use "utils/theme" as *;
|
||||
@use "sass:selector";
|
||||
|
||||
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||
@namespace html "http://www.w3.org/1999/xhtml";
|
||||
|
|
|
|||
6432
userChrome.css
6432
userChrome.css
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue