Follow the code style of the existing codebase
- Use single ('') rather than double ("") quotation marks for Jinja strings
- Use double ("") quotation marks around HTML attributes
- End files with a newline
CSS Formatting Rules
- Font name's first letter should be capital
- Add a space after comma
- Declarations should be sorted alphabetically
- Use a single space between the last selector and the opening brace that begins the declaration block
- Group together related classes and identities
- Add a space after colon
- Remove leading 0s
- Remove unit specification after 0 values
- Use three digit Hex notation for colors whereever possible
- User hyphen
-
instead of underscore _
in class and identity names
Refer to Google's HTML/CSS Style Guide for all
other formatting rules.
New Features and Styles
If you plan to add new features to the theme, please make sure
- You set sensible defaults so that theme works out of the box, without forcing user to set any variable
- Your feature should not effect readability and reading experience
- It should not be distracting for the reader