koast theme

This commit is contained in:
Sander Land committed 2021-01-18 18:55:26 +01:00
1 parent a58394445a
commit e750cb1804
3 files changed
+9 -1

No files matched your search

-1
View File
@@ -8,7 +8,6 @@ experiments
.buildozer .buildozer
bin bin
gtp.log gtp.log
*.zip
log.txt log.txt
sgfout sgfout
sgf_selfplay sgf_selfplay
+9
View File
@@ -1,6 +1,8 @@
# Themes # Themes
Version 1.7 brings basic support for themes. Version 1.7 brings basic support for themes.
## Creating and editing themes
* Look at the `Theme` class in `katrain/gui/theme.py`. * Look at the `Theme` class in `katrain/gui/theme.py`.
* Make a `theme.json` file in your `<home dir>/.katrain` directory and specify any variables from the above class you want to override, e.g. * Make a `theme.json` file in your `<home dir>/.katrain` directory and specify any variables from the above class you want to override, e.g.
```json ```json
@@ -9,3 +11,10 @@ Version 1.7 brings basic support for themes.
} }
``` ```
* All resources (including icons which can not be renamed for now) will be looked up in `<home dir>/.katrain` first, so files with identical names there can be used to override sounds and images. * All resources (including icons which can not be renamed for now) will be looked up in `<home dir>/.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.
Binary file not shown.