Skip to content

Commit

Permalink
Fix: Theme - Better contrast for linux system theme urlbar #864
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Jan 29, 2024
1 parent 192d83f commit ed31543
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
26 changes: 26 additions & 0 deletions css/leptonChrome.css

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

13 changes: 13 additions & 0 deletions css/leptonChromeESR.css

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

15 changes: 15 additions & 0 deletions src/theme/system_default_theme/_gtk.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,19 @@
--urlbar-popup-url-color: #{$accentColor};
}
}

// #864
:root:not(:-moz-lwtheme) {
@media not (-moz-gtk-theme-family) {
// Rollback to color
--toolbar-field-background-color: Field !important;
--toolbar-field-color: FieldText !important;
--toolbar-field-border-color: ThreeDShadow !important;
}

#urlbar-background, #searchbar {
// Original: light-dark(rgba(0, 0, 0, .05), rgba(0, 0, 0, .3))
background-color: var(--toolbar-field-background-color) !important;
}
}
}

0 comments on commit ed31543

Please sign in to comment.