diff options
| author | xj9 <xj9@sunshinegardens.org> | 2020-09-18 12:14:39 -0600 |
|---|---|---|
| committer | xj9 <xj9@sunshinegardens.org> | 2020-09-18 12:20:39 -0600 |
| commit | 767a18e3ab7f6342c922f99a7c07e6e6606967f6 (patch) | |
| tree | b2be3321fe38d57ad111f0ad9c7f5deba7608fe5 /scripts/lib | |
| parent | bcf8c0c32f176eaebd1c1ac031835f375b388b8d (diff) | |
add theme parser tool (python)
```
cd tools
python
>>> import themes
>>> theme = themes.parse_theme('../themes/orca.svg')
assert theme.background == '#000000'
assert theme.f_high == '#ffffff'
assert theme.f_med == '#777777'
assert theme.f_low == '#444444'
assert theme.f_inv == '#000000'
assert theme.b_high == '#dddddd'
assert theme.b_med == '#72dec2'
assert theme.b_low == '#222222'
assert theme.b_inv == '#ffb545'
```
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions
