To contribute to this project; fork the code, make your changes and then create a pull request detailing the changes and their pros. To keep the project clean, please strive to forfill the following:
- Tabs are two spaces.
- ID attribute has first priority on a element.
- Class attribute has second priority on a element.
- All other attributes are attached in a alphabetical order.
- Keep class names consitent
- A components name should be as descriptive as possible
- -element is a element in a component
- _state is a state
- Use data attributes where applicable
- CSS properties are in alphabetical order
Example selectors:
.review.-cancel:not(._processing):disabled + .-gate
Inline comments:
/** Comment */
Multi-line comments:
/**
* Comment
*/