Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Latest commit

 

History

History
74 lines (61 loc) · 2.7 KB

CONTRIBUTING.md

File metadata and controls

74 lines (61 loc) · 2.7 KB

Contributing to hyper-material-box

Thank you for contributing on hyper-material-box, before you submit a new pull request,
here's some tips and tricks you need to know 😎
If you have any problem, feel free to submit a new issue.

Let's jump in

How to submit a pull request

  1. Fork this repository
  2. Create a new branch with the new feature name (Ex. add-some-color-scheme or fix-#000)
  3. Make your changes
  4. Commit your changes (use gitmoji)
  5. Push your commits
  6. Submit you pull request, and drink some 🍵

How to share my color scheme

If you want to share your Amazing color scheme on hyper-material-box, you need to make sure you've done the following steps:

  1. Create a new file name your-scheme-name.js under scheme folder
  2. Write your color scheme with the following format:
'use strict';

module.exports = {
  colors: {
    black: '...',
    red: '...',
    green: '...',
    yellow: '...',
    blue: '...',
    magenta: '...',
    cyan: '...',
    white: '...',
    lightBlack: '...',
    lightRed: '...',
    lightGreen: '...',
    lightYellow: '...',
    lightBlue: '...',
    lightMagenta: '...',
    lightCyan: '...',
    lightWhite: '...',
  },

  // Default
  backgroundColor: '...',
  foregroundColor: '...',
  cursorColor: '...',
  borderColor: '...',

  // Accent color
  accentColor: '...',

  // Other (optional, it will be override by foregroundColor)
  tabTitleColor: '...',
  selectedTabTitleColor: '...',

  // css (optional)
  css: '...',
  termCSS: '...',
};
  1. Add your color scheme to the 👉 schemeIndex (ALPHABETICAL order)
  2. Add your color scheme to the 👉 README.md list (ALPHABETICAL order), and update the color scheme count
  3. Add your GitHub username to the 👉 Credit section with this format: (ALPHABETICAL ordered by your-scheme-name, and don't forget to add 2 space at the end)
:zap: The `your-scheme-name` color scheme contributed by [**@yourGitHubUserName**](https://github.com/yourGitHubUserName)  
  1. Add your color scheme to the 👉 keywords (ALPHABETICAL order)
  2. Submit a pull-request

Cheers 🍻