Files
katrain-qt/THEMES.md
T
Sander Land 3a08810cd4 lizzie theme (#401)
* fix pipe for windows single exe

* lizzie theme

* faq

* zip readme
2021-03-28 19:07:22 +02:00

40 lines
1.5 KiB
Markdown

# 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 `<home dir>/.katrain` directory and specify any variables from the above class you want to override, e.g.
```json
{
"BACKGROUND_COLOR": [1,0,0,1]
}
```
* 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.
## Installation
* 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 linux in ~/.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.
## Available themes
### Alternate board/stones theme by "koast"
[Download](https://github.com/sanderland/katrain/blob/master/themes/koast-theme.zip)
![Preview](https://raw.githubusercontent.com/sanderland/katrain/master/themes/koast.png)
### Lizzie-like theme
* Theme created by Eric W, includes modified board, stones
* Images taken from [Lizzie](https://github.com/featurecat/lizzie/) by featurecat and contributors.
* Hides hints for low visit/uncertain moves instead of showing small dots.
[Download](https://github.com/sanderland/katrain/blob/master/themes/eric-lizzie-look.zip)
![Preview](https://raw.githubusercontent.com/sanderland/katrain/master/themes/eric-lizzie.png)