Please help us improve existing skins and create new ones. Pull requests are welcome!
- If you haven't yet, first install Darkness locally
- Run
npm start
to watch SCSS files and compile them in real-time. - Write your awesome code - see below
Edit /themes/websites/[WEBSITE].scss
(e.g. /themes/websites/youtube.scss
)
Open /themes/websites/WEBSITE-TEMPLATE.scss
in your code editor and follow the instructions.
Edit /themes/themes/[THEME].scss
(e.g. /themes/themes/material.scss
)
Open /themes/themes/THEME-TEMPLATE.scss
in your code editor and follow the instructions.
- Please test your changes locally in Chrome
- Commit and push:
cd darkness git add . git commit -m "Description of Changes" git push origin master
- Go to GitHub and navigate to your fork of Darkness.
- Click the New pull request button (above the file list)
- Click the Create pull request button.
- Add a description for your pull request and click Create pull request
- To compile all SASS files now:
gulp sass:compile
- To watch all SASS files and compile in real-time:
gulp sass:watch
(alias:npm start
) - To clean up all .css and .css.map files:
gulp sass:cleanup