add background image support to newtab page

also:
- updates styling on some newtab page elements
- centres search bar vertically when other elements are disabled
- adds new tweak: hide Firefox logo on newtab page
This commit is contained in:
bmFtZQ 2022-08-04 14:14:38 +08:00
parent 7d5016fbba
commit 45d8585437
3 changed files with 103 additions and 4 deletions

View file

@ -16,7 +16,7 @@ A Firefox userChrome.css theme that aims to recreate the look and feel of the Ch
###### On macOS:
1. To use the Edge style context menu on macOS then set `widget.macos.native-context-menus` = `false`
##### Recommended:
###### Recommended:
1. `browser.tabs.tabMinWidth` = `66`
2. `browser.tabs.tabClipWidth` = `86`
@ -38,6 +38,16 @@ Certain tweaks can be applied to the theme, to enable them navigate to `about:co
To disable a tweak, set the key to `false` or delete it, then restart the browser.
|use background image on newtab page|
|-|
|**SETUP: Add an image named `background-0.(jpg/png)` to the `chrome` folder.**|
|**OPTIONAL: Add a second image named `background-1.(jpg/png)` for seperate dark mode background.**|
|`uc.tweak.newtab-background`|
|hide Firefox logo on newtab page|
|-|
|`uc.tweak.hide-newtab-logo`|
|disable drag space above tabs|
|-|
|`uc.tweak.disable-drag-space`|