Skip to content

Commit

Permalink
Update reference_themes_for_developers.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesread authored Jul 2, 2024
1 parent 68ed633 commit 7c7b353
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions reference_themes_for_developers.adoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
[#themes-dev]
=== Themes (for developers)
=== Themes (for theme developers)

include::snippit_earlydoc.adoc[]

OliveTin will load `/theme.css` depending on `themeName:` in your config file. Images and any other assets will be served at `/custom-webui/themes/mytheme/`.
* Go to https://github.com/OliveTin/theme-template and use this template repository to create your new theme repository on GitHub.
* Install OliveTin somewhere, and clone your new repository using `git clone` into your themes directory.
* Set `themeName: <your-folder>` in your OliveTin config.yaml and restart OliveTin.
Write beautiful CSS to create your theme as you like it, commit your changes to git.

Note thst OliveTin will load `/theme.css` depending on `themeName:` in your config file. Images and any other assets will be served at `/custom-webui/themes/mytheme/`.

When you are done with your theme, fork https://github.com/OliveTin/themes on GitHub and create a new page under the "content" directory for your new theme. Commit that to GitHub and then raise a pull request.

If you meed more help, please jump on our discord server!


0 comments on commit 7c7b353

Please sign in to comment.