docs/src/config/appearance.md
72 lines · 1665 bytes
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: !Rgb # todo: represent colours with hex values or `rgb(r,g,b)`
19 - 255
20 - 127
21 - 0
22 message_error_outline: LightRed
23 message_success_outline: LightGreen
24 item_info:
25 tag: Gray
26 title: LightBlue
27 description: Gray
28 author: LightGreen
29 viewcount: LightYellow
30 length: LightCyan
31 published: LightMagenta
32 video_count: !Rgb
33 - 131
34 - 141
35 - 255
36 sub_count: !Rgb
37 - 101
38 - 255
39 - 186
40 likes: !Rgb
41 - 200
42 - 255
43 - 129
44 genre: !Rgb
45 - 255
46 - 121
47 - 215
48```
49
50<hr>
51
52Below are the description of each of the fields:
53
54### borders
55
56The style of the borders/outline, if outdated view <a href="https://docs.rs/tui/latest/tui/widgets/enum.BorderType.html" target=_blank>*here*</a>.
57
58*Accept: `Plain`/`Rounded`/`Double`/`Thick`*
59
60### Literally everything else
61
62Any 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>.
63
64#### Terminal colour
65
66This can be modified by the themes of your terminal.
67
68#### RGB
69
70RGB colour values, requires TrueColour support in terminal (for instance Windows CMD cannot display RBG colours).
71
72> Hex colour values to be implemented.