diff --git a/.gitignore b/.gitignore index df2424a..254a144 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,6 @@ experiments .buildozer bin gtp.log -*.zip log.txt sgfout sgf_selfplay diff --git a/THEMES.md b/THEMES.md index e1e66b9..fa4f20b 100644 --- a/THEMES.md +++ b/THEMES.md @@ -1,6 +1,8 @@ # Themes Version 1.7 brings basic support for themes. +## Creating and editing themes + * Look at the `Theme` class in `katrain/gui/theme.py`. * Make a `theme.json` file in your `/.katrain` directory and specify any variables from the above class you want to override, e.g. ```json @@ -8,4 +10,11 @@ Version 1.7 brings basic support for themes. "BACKGROUND_COLOR": [1,0,0,1] } ``` -* All resources (including icons which can not be renamed for now) will be looked up in `/.katrain` first, so files with identical names there can be used to override sounds and images. \ No newline at end of file +* All resources (including icons which can not be renamed for now) will be looked up in `/.katrain` first, so files with identical names there can be used to override sounds and images. + +## Available themes + +* See [https://github.com/sanderland/katrain/blob/master/themes/](here) for available themes. +* To install a theme, simply unzip the theme.zip to your .katrain folder. On windows you can find it in C:\Users\you\.katrain and on linuxor ~/.katrain. When in doubt, the general settings dialog will also show the location. +* To uninstall a theme, remove theme.json and all relevant images from that folder. + diff --git a/themes/koast-theme.zip b/themes/koast-theme.zip new file mode 100644 index 0000000..464e241 Binary files /dev/null and b/themes/koast-theme.zip differ