Your contribution is always welcome! If you create a new beautiful theme, find a bug or propose an improvement, please send me a pull request.
- Fork this repo, clone your fork and configure the remotes:
# Clone your fork of the repo into the current directory
git clone https://github.com/<your-username>/color-themes-for-google-code-prettify
# Move to the newly cloned directory
cd color-themes-for-google-code-prettify
# Assign the original repo to a remote called "upstream"
git remote add upstream https://github.com/jmblog/color-themes-for-google-code-prettify
- If you cloned a while ago, get the latest changes from upstream:
git checkout master
git pull upstream master
- Create a new topic branch (off the latest version of
master
) to contain your feature, change, or fix:
git checkout -b <topic-branch-name>
- Install dependencies:
npm install
- Run local server:
npm start
- Append data to
src/themes.json
. - Create your theme stylesheet with Sass
- Put it into
src/themes/<your-theme-id>.scss
- Create a scss file for preview
- Put it into
src/styles/theme-previews/<your-theme-id>.scss
Please refer to existing scss files in details.