-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update reference_themes_for_developers.adoc
- Loading branch information
Showing
1 changed file
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! | ||
|
||
|