Skip to content

Commit

Permalink
update recommended prefs
Browse files Browse the repository at this point in the history
  • Loading branch information
aminomancer committed Jul 25, 2022
1 parent 9edffe9 commit 68a8bf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,10 @@ I also recommend setting the following prefs in `about:config`. There are two pr
| userChrome.css.menupopup-shadows | Boolean | false | Add a shadow behind context menus and panels |
| userChrome.css.overlay-scrollbars.in-content | Boolean | false | Overlay scrollbars are already enabled in the chrome UI. This pref enables them in web content |
| widget.non-native-theme.scrollbar.style | Number | 2 | Enable the GTK scrollbar style in web content, regardless of your OS. Supports: 0 (default), 1 (macOS), 2 (GTK), 3 (android), 4 (win10), 5 (win11) |
| widget.non-native-theme.win.scrollbar.use-system-size | Boolean | false | Override the scrollbar size (for Windows) |
| widget.non-native-theme.scrollbar.size.override | Number | 11 | Make the scrollbar track 11px wide for GTK (scrollbar.style = 2) |
| widget.non-native-theme.gtk.scrollbar.thumb-size | Number | 0.818 | Make the scrollbar thumb 9px wide for GTK |
| widget.non-native-theme.win.scrollbar.use-system-size | Boolean | false | Override the scrollbar size (for Windows) |
| <i>widget.non-native-theme.solid-outline-style</i> | Boolean | true | Whether `outline-style: auto` should be one big stroke or two contrasting strokes |
| userChrome.css.remove-tooltip-borders | Boolean | false | Remove the thin border on tooltips. Not recommended |
| userChrome.css.titlebar-buttons-on-left | Boolean | false | If true, move the titlebar buttons (close/min/max) to the left side of the window |
| userChrome.css.wikipedia.dark-theme-enabled | Boolean | false | Enable the custom dark theme for Wikipedia.org (this is deprecated, I recommend skipping it) |
Expand Down
2 changes: 2 additions & 0 deletions prefs/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ user_pref("widget.non-native-theme.scrollbar.size.override", 11);
user_pref("widget.non-native-theme.gtk.scrollbar.thumb-size", "0.818");
// set the default background color for color-scheme: dark. see it for example on about:blank
user_pref("browser.display.background_color.dark", "#19191b");
// make `outline-style: auto` result in one big stroke instead of two contrasting strokes
user_pref("widget.non-native-theme.solid-outline-style", true);
// findbar highlight and selection colors
user_pref("ui.textHighlightBackground", "#7755FF");
user_pref("ui.textHighlightForeground", "#FFFFFF");
Expand Down

0 comments on commit 68a8bf6

Please sign in to comment.