docs/src/config/appearance.md
58 lines · 1536 bytes
6 symbols in this file
1# Appearance config
2
3Appearance config controls the colours and the "looks and feel" of the TUI, it is located in `~/.config/youtube-tui/appearance.yml`.
4
5## Example appearance config
6
7```yaml
8borders: Rounded
9colors:
10 text: Reset
11 text_special: Reset
12 text_secondary: Reset
13 text_error: LightRed
14 outline: Reset
15 outline_selected: LightBlue
16 outline_hover: LightRed
17 outline_secondary: LightYellow
18 message_outline: '#FF7F00'
19 message_error_outline: LightRed
20 message_success_outline: LightGreen
21 item_info:
22 tag: Gray
23 title: LightBlue
24 description: Gray
25 author: LightGreen
26 viewcount: LightYellow
27 length: LightCyan
28 published: LightMagenta
29 video_count: '#838DFF'
30 sub_count: '#65FFBA'
31 likes: '#C8FF81'
32 genre: '#FF75D7'
33 page_turner: Gray
34```
35
36<hr>
37
38Below are the description of each of the fields:
39
40### borders
41
42The style of the borders/outline, if outdated view <a href="https://docs.rs/tui/latest/tui/widgets/enum.BorderType.html" target=_blank>*here*</a>.
43
44*Accept: `Plain`/`Rounded`/`Double`/`Thick`*
45
46### Literally everything else
47
48Any colours, here are the 2 main represenations of colours, for more check out this page <a href="https://docs.rs/tui/latest/tui/style/enum.Color.html" target=_blank>*here*</a>.
49
50#### Terminal colour
51
52This can be modified by the themes of your terminal (e.g. white, green, etc).
53
54#### Hex
55
56Hex should be a string that starts with the `#` character, and can be from `000000` (black) to `FFFFFF` (white).
57
58> RGB color values has been deprecated