Skip to content

Commit

Permalink
Add: Tab - userChrome.tab.blue_accent #811
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Nov 26, 2023
1 parent 359c848 commit b02aad0
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 40 deletions.
46 changes: 24 additions & 22 deletions css/leptonChrome.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 13 additions & 10 deletions css/leptonChromeESR.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 11 additions & 8 deletions src/tab/_selected_tab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,18 @@
"userChrome.tab.photon_like_contextline",
"userChrome.tab.static_separator",
"userChrome.tab.bar_separator") {
:root[lwtheme-mozlightdark] #tabbrowser-tabs, /* Legacy: v96 */
:root[style*="--lwt-accent-color: rgb(240, 240, 244); --lwt-text-color: rgba(21, 20, 26);"],
:root[style*="--lwt-accent-color: rgb(28, 27, 34); --lwt-text-color: rgba(251, 251, 254);"] {
--tab-line-color: rgb(10, 132, 255) !important;
@include Option("userChrome.tab.blue_accent") {
:root,
#tabbrowser-tabs {
--tab-line-color: rgb(10, 132, 255) !important;
}
}
@include OS("linux") {
:root:not(:-moz-lwtheme) #tabbrowser-tabs {
@include AccentColor("Highlight") {
--tab-line-color: #{$accentColor} !important; /* -moz-accent-color */
@include NotOption("userChrome.tab.blue_accent") {
@include OS("linux") {
:root:not(:-moz-lwtheme) #tabbrowser-tabs {
@include AccentColor("Highlight") {
--tab-line-color: #{$accentColor} !important; /* -moz-accent-color */
}
}
}
}
Expand Down

0 comments on commit b02aad0

Please sign in to comment.