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
/** | |
* Find and list every hashed class being used in our projects' Custom CSS | |
* @usage npx ts-node bin/custom-css-search.js | |
* @option --dataset=[classes|project] | |
* @note you can pipe the output directly in to a file using `tee`: | |
* `... | tee custom-css-usage.json >/dev/null` | |
*/ | |
try { | |
require('dotenv').config(); // eslint-disable-line global-require |
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
let | |
set = [...Array(40)].map(e=> ~~(Math.random()*40)) |
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
.grid { | |
display: grid; | |
grid-template-columns: repeat( | |
auto-fill, | |
minmax(15rem, 1fr) | |
); | |
grid-gap: 1rem; | |
} |
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
# -*- Conf -*- | |
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
showbranch = auto | |
ui = true | |
# color.branch | |
# A boolean to enable/disable color in the output of git-branch(1). May be set to always, false (or |