bottom/tests/valid_configs/styling_2.toml
Clement Tsang f091ebdc6a
feature: support simple colour settings for text fields too (#1511)
* feature: support simple colour settings for text fields too

* also add 'color' back to some options

* tests
2024-07-30 07:15:23 +00:00

53 lines
1.4 KiB
TOML

# These are all the components that support custom theming. Note that colour support
# will depend on terminal support.
[styles]
# Built-in themes. Valid values are:
# - "default"
# - "default-light"
# - "gruvbox"
# - "gruvbox-light"
# - "nord"
# - "nord-light".
# This will have the lowest precedence if a custom colour palette is set,
# or overriden if the command-line flag for a built-in theme is set.
theme = "default"
[styles.cpu]
all_entry_color = "green"
avg_entry_color = "red"
cpu_core_colors = ["light magenta", "light yellow", "light cyan", "light green", "light blue", "cyan", "green", "blue"]
[styles.memory]
ram_color = "light magenta"
cache_color = "light red"
swap_color = "light yellow"
arc_color = "light cyan"
gpu_colors = ["light blue", "light red", "cyan", "green", "blue", "red"]
[styles.network]
rx_color = "light magenta"
tx_color = "light yellow"
rx_total_color = "light cyan"
tx_total_color = "light green"
[styles.battery]
high_battery_color = "green"
medium_battery_color = "yellow"
low_battery_color = "red"
[styles.tables]
headers = { color = "light blue" }
[styles.graphs]
graph_color = "gray"
legend_text = { color = "gray" }
[styles.widgets]
border_color = "gray"
selected_border_color = "light blue"
widget_title = { color = "gray" }
text = { color = "gray" }
selected_text = { color = "black", bg_color = "light blue" }
disabled_text = { color = "dark gray" }