Create a user.css
file inside your user profile repository (e.g. github.com/someuser/someuser).
Create a repo.css
file inside your repository. (e.g. git.luolix.top.com/someuser/somerepo).
Create a org.css
file inside the .github
repository (e.g. github.com/someorg/.github).
-
Install required npm packages with
npm install
after cloning the repository. -
Building the extension
Run either
npm run build:all
to build it for all browsers at the same time,
npm run build:chrome
to just build for chromium or
npm run build:ff
to build the extension for firefox. -
The build output is located in
dist/
Note
If you try to use the firefox build, you may need to update the manifest.json because there is an issue with the current build tool.
To do this either change background/services.js
to background/service_worker.js
yourself or simply run the following command:
sed -i 's/background\/scripts\.js/background\/service_worker\.js/g' dist/firefox/manifest.json