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. github.com.com/someuser/somerepo).
Create a org.css file inside the .github repository (e.g. github.com/someorg/.github).
-
Install required npm packages with
npm installafter cloning the repository. -
Building the extension
Run either
npm run build:allto build it for all browsers at the same time,
npm run build:chrometo just build for chromium or
npm run build:ffto 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
