GitHub-Moonlight is written in stylus-lang please read the documentation for this language before approaching the code
- Use the provided
.stlintrc
please check out stlint for more info - Use the provided mixins in src/mixins.styl
- Nest selectors, create functions, use itorators, do everything possible to avoid repetition
yarn build
: Build the styleyarn copy
: Build the style and copy it to the clipboard. note: Requires xclip
- src/mixins.styl: Custom stylus rules, mixins and functions
- github.user.styl: Where all the different parts of the theme come together
- src/index.styl: Where different files are imported
- metadata.css: Version info and color variables please reference the UserCSS spec