Skip to content

Commit

Permalink
updated to 120
Browse files Browse the repository at this point in the history
  • Loading branch information
edelvarden committed Oct 31, 2023
1 parent 5040a90 commit 2aba467
Show file tree
Hide file tree
Showing 13 changed files with 91 additions and 252 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ dist-ssr

# ignore
node_modules
yarn.lock
package-lock.json
pnpm-lock.yaml
*.zip
custom-chrome.css
custom-content.css
custom.css
37 changes: 6 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ To disable, search by name and remove the preference:
<td><code>userChrome.default-theme-colors</code></td>
<td>Use the default Firefox colors. This can be useful if you want use with <a href="https://addons.mozilla.org/firefox/addon/adaptive-tab-bar-colour/" _blank>Adaptive Tab Bar Color</a> or native Firefox themes</td>
</tr>
<tr>
<td><code>userChrome.system-accent-colors</code></td>
<td>Use system accent colors</td>
</tr>
<tr>
<td><code>userChrome.force-enable-animations</code></td>
<td>Force enable control animation, because by default respects the user animation disable preference. <em>(Not required if you do not disable animation)</em></td>
Expand All @@ -110,12 +114,8 @@ Additionally, if you want to change some colors, you can override the default va

Follow this steps:

1. Find and rename in the root folder:

- `custom-chrome_example.css` to `custom-chrome.css`
- `custom-content_example.css` to `custom-content.css` _(this is for the "New Tab" page)_

2. Open `custom-base.css` in a text editor
1. Find and rename in the root folder `custom_example.css` to `custom.css`
2. Open `custom.css` in a text editor
3. Find the desired variable
4. Add your values, for example, set the accent color to red:

Expand All @@ -132,8 +132,6 @@ body {

Using these custom css files can separate your changes from the source project and you can easily backup your files and don't worry about overwriting your changes if you want to update or reinstall the main files.

You can also find pre-made color schemes in the `color-schemes` folder in this repo.

#### Available variables

<table>
Expand Down Expand Up @@ -207,8 +205,6 @@ You can also find pre-made color schemes in the `color-schemes` folder in this r

- Replacing the font with your own, change `"YourFontName"` to the name of your font:

_custom-chrome.css_

```css
:root,
html,
Expand All @@ -223,29 +219,8 @@ You can also find pre-made color schemes in the `color-schemes` folder in this r
}
```

_custom-content.css_

```css
/* only for about:* pages */
@-moz-document regexp("about:(?!blank|devtools).*") {
:root,
html,
body {
/* add your css below */
}

*,
*::before,
*::after {
font-family: "YourFontName" !important;
}
}
```

- Remove the separator line between browser and content:

_custom-chrome.css_

```css
:root,
html,
Expand Down
1 change: 0 additions & 1 deletion chrome/custom-chrome_example.css

This file was deleted.

1 change: 0 additions & 1 deletion chrome/custom-content_example.css

This file was deleted.

1 change: 1 addition & 0 deletions chrome/custom-base.css → chrome/custom_example.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
html,
body {
/* add your css below */

}
2 changes: 1 addition & 1 deletion chrome/user-chrome.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chrome/user-content.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chrome/userChrome.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@import "user-chrome.css";
@import "custom-chrome.css";
@import "custom.css";
2 changes: 1 addition & 1 deletion chrome/userContent.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@import "user-content.css";
@import "custom-content.css";
@import "custom.css";
30 changes: 0 additions & 30 deletions color-schemes/system-accent-colors.css

This file was deleted.

170 changes: 0 additions & 170 deletions install.sh

This file was deleted.

Loading

0 comments on commit 2aba467

Please sign in to comment.