Thanks for contributing to themer! All contributions are welcome, and are expected to adhere to the code of conduct. Below are some guidelines for the most effective ways you can help build themer.
If you've found a bug in themer's CLI or web interface, please feel free to create an issue that describes the problem. Your bug will most likely get fixed if you include the following information:
- Clear list of steps taken to reproduce the issue
- The error or behavior that you saw
- The behavior that you expected to see when the problem occurred
- Any error logs or console output associated with the error, if applicable
- Any screenshots of the problem, if applicable
If you use a tool that themer doesn't support yet, feel free to request it by creating a new issue for it. Your request is most likely to get implemented if you include the following items in your request:
- A link to the documentation website of the tool or program you are requesting support for
- A link to an example theme file for your tool or program
- Any additional information about how the generated theme would be installed or used
- Clone the themer repository.
cd cli
npm install
to install dependencies- Create a new file in the
src/template/
directory. - Implement the template interface, following the documentation in the "Create custom
Template
s" section of the README. - Submit a pull request.
There are a few different ways to develop your own themes and share them with others.
The easiest way to create your personal theme is to configure it using the web UI at themer.dev. After doing so, you can simply share your unique URL however you'd like. On supported browsers, there is a convenient "Copy URL" button at the bottom of the page that can be used for easy sharing, or you can simply copy the contents of your browser's address bar to share your theme.
You can also download your theme and a colors.js
file that is compatible with themer's CLI will automatically be included.
Define your colors following the instructions under the "Create custom ColorSet
s" section of the README. To test your color configuration file, you can use the following command:
npx themer -c <path to your colors file> -t vs-code -o <path to your desired output directory>
(Note that you can use any template you wish in place of vs-code
.)
If a color set should be distributed with themer
in the official web UI at themer.dev, it should be included in themer's main repository rather than distributed separately as in option 1 above.
- Clone the themer repository.
cd cli
npm install
to install dependencies- Create a new file in the
src/color-set/
directory. - Implement your color set interface, following the documentation in the "Create custom
ColorSet
s" section of the README. - Submit a pull request.