- All contributions must be your own work or contributed with permission from the author. By contributing, you agree to license the work under the MIT License.
- Assets should be included in the snippet
assetdirectory whenever possible. External fonts from Google Fonts are allowed. Other external assets are approved only on a case-by-case basis. - Use class selectors rather than attribute selectors.
| File | Mandatory | Location | Additional requirements |
|---|---|---|---|
| Preview image(s) | Yes | <snippet-name>/preview |
.jpg/.png/.gif format |
| Main SCSS file | Yes | <snippet-name>/scss |
Named main.scss |
| Partial SCSS file(s) | No | <snippet-name>/scss |
.scss format |
| Description | Yes | <snippet-name> |
Named README.md |
| Assets | No | <snippet-name>/asset |
Example snippet structure:
└── <snippet-name>/
├── preview/
│ └── preview.png
├── scss/
│ └── main.scss
└── README.md
pnpm i- Install dependencies.pnpm dev:css <snippetName>- Watch and compile a specific snippet's css to your Vesktop themes folder.pnpm build:css- Build snippets including images to thethemesdistfolder.
- Fork and clone this repository.
- Make your changes to the snippet files.
- Run
pnpm i && pnpm lint:fixto ensure correct formatting. - Create a pull request.
- Fork and clone this repository.
- Create your snippet files in
themes/directory (see above for structure). - Run
pnpm i && pnpm lint:fixto ensure correct formatting. - Add your snippet to the main
README.mdcatalogue. - Create a pull request.