cursive/assets/style.toml
Alexandre Bury e5cb687990 Refactor themes and colors
And adds a theme example.
TODO: Shadow & Borders support
2015-06-05 18:26:40 -07:00

30 lines
806 B
TOML

# Every field in a theme file is optional.
shadow = false
borders = "simple" # Alternatives are "none" and "outset"
# Base colors are red, green, blue,
# cyan, magenta, yellow, white and black.
[colors]
background = "#123456"
# If the value is an array, the first valid color will be used.
# If the terminal doesn't support custom color,
# non-base colors will be skipped.
shadow = ["#222222", "black"]
view = "#888888"
# Array and simple values have the same effect.
primary = ["#111111"]
secondary = "#EEEEEE"
tertiary = "#444444"
# Hex values can use lower or uppercase.
# (base color MUST be lowercase)
title_primary = "#883333"
title_secondary = "#ffff55"
# Lower precision values can use only 3 digits.
highlight = "#833"
highlight_inactive = "#5555FF"