From 7c7b35317ae73e04c6360fd769d198a2fac3695c Mon Sep 17 00:00:00 2001 From: James Read Date: Tue, 2 Jul 2024 19:33:47 +0100 Subject: [PATCH] Update reference_themes_for_developers.adoc --- reference_themes_for_developers.adoc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/reference_themes_for_developers.adoc b/reference_themes_for_developers.adoc index 7618a0e56..16f86dc1d 100644 --- a/reference_themes_for_developers.adoc +++ b/reference_themes_for_developers.adoc @@ -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: ` 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!