This is the official theme template which was used for creating the customa 2022 rewrite. This may be used in conjunction with the template repository for theme assets!
Amongst other things it features:
- Github Workflows Setup which minifies and hosts your theme files on Github pages.
- Multiple issue templates
- Funding templates
- Automatic variable documentation using pipelines
- Shortened gitignore setup featuring ignores for node/npm/yarn, IntelliJ/Jetbrains Tools and VSCode
- Linting and formatting setup (using Stylelint (CSS), Prettier (JS, MD,...) and editorconfig)
- Automatic hooks using Husky/Lintstaged
This was a personal setup, so a few things might not be to your liking. As this is only a template, some things might not be perfect for you, however be free to change things locally and open issues!
After you have setup the project to your liking, there are a few things you should do before getting started!
In the code there are several variables that you have to set before you can get started. All of those are prefixed with <CHANGE_ME:[variable_name]>
.
Currently yarn is used as the package manager of my choice in this project. This can obviously be changed; you can even go further and remove the dependencies and node entirely, be aware that the pipeline requires a few dependencies however!
Once you are comfortable with the setup, feel free to move this folder into your Powercord folder (BetterDiscord dev setup is currently not implemented) and code ahead!
Alternatively, you can use customa-dev-injector and have your own local dev setup (somewhat recommended)