From 37d369183357f7e6a00833d25ed625b69fc9e43e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 28 May 2020 10:34:54 +0100 Subject: [PATCH] Notes on adding themes --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 51ce856bf..033ac97b6 100644 --- a/README.md +++ b/README.md @@ -202,6 +202,13 @@ If you want to use a particular font then copy it into the *fonts* directory, re systemctl restart epicyon ``` +## Adding Themes + +If you want to add a new theme then open `theme.py` and add the theme name to the list within `getThemesList`. Add a function with the name `setTheme[YourThemeName]`. Have a look at the other themes to get an idea of how to set the colors and fonts. + +On a running instance you can experiment with colors or fonts by editing `epicyon.css` and then reloading the web page. Once you are happy with the results then you can update the changed values within your `setTheme` function. + + ## Running Unit Tests To run the unit tests: