This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { execSync } = require('child_process') | |
const { createHash } = require('crypto') | |
const invertColor = require('invert-color') | |
const branchName = execSync('git rev-parse --abbrev-ref HEAD') | |
const hash = createHash('sha256') | |
hash.update(branchName) | |
const color = '#' + hash.digest().toString('hex').substring(0, 6) | |
const invertedColor = invertColor(color, true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* userChrome.css can change the Firefox UI. | |
For details, see https://www.userchrome.org/ | |
Instructions | |
------------ | |
Save it to your Firefox 'Profile Folder'. To find that folder: | |
enter about:support in the Firefox address bar and look for it in the list. | |
Save this file to that folder. Then tell Firefox to load it: | |
enter about:config in the address bar, and search for userprof | |
and if that setting exists, set the following value to true: |
OlderNewer