v/GTT
1
0
mirror of https://github.com/eeeXun/GTT.git synced 2025-05-15 15:20:37 -07:00
GTT/example/theme.yaml
Xun d01ef4e768
feat: support custom key mapping (#22)
* feat: support custom key mapping

* remove testing code

* feat: support function key

* style: add comment

* feat: support read config

* docs: add keymap.yaml example

* docs: add function key in README

* refactor: rename config key name

* feat: support Alt prefix

* docs: fix syntax

* feat: let exit be configurable

* refactor: remove KeyEsc in keyNames

* refactor: space to Space

* refactor: style code
2023-06-30 19:55:41 +08:00

32 lines
779 B
YAML

# This file should be located at $XDG_CONFIG_HOME/gtt/theme.yaml or $HOME/.config/gtt/theme.yaml.
# You have to provide theme name. e.g. tokyonight.
# And colors: bg, fg, gray, red, green, yellow, blue, purple, cyan, orange.
# bg is for background color
# fg is for foreground color
# gray is for selected color
# yellow is for label color
# orange is for KeyMap menu color
# purple is for button pressed color
tokyonight:
bg: 0x1a1b26
fg: 0xc0caf5
gray: 0x414868
red: 0xf7768e
green: 0x9ece6a
yellow: 0xe0af68
blue: 0x7aa2f7
purple: 0xbb9af7
cyan: 0x7dcfff
orange: 0xff9e64
catppuccin:
bg: 0x24273A
fg: 0xCAD3F5
gray: 0x5B6078
red: 0xED8796
green: 0xA6DA95
yellow: 0xEED49F
blue: 0x8AADF4
purple: 0xF5BDE6
cyan: 0x8BD5CA
orange: 0xF5A97F