Debian Codegraph @

examples/hello_world.yaml

raw symbols SCIP
1 config:
2 Container:
3 styles:
4 border: &border-style "[60 bold]{item}"
5 corner: *border-style
6
7 Window:
8 styles:
9 border: *border-style
10 corner: *border-style
11
12 Splitter:
13 styles:
14 separator: *border-style
15
16 widgets:
17 Window:
18 width: 70
19 box: DOUBLE
20 widgets:
21 # Hello world splitter
22 - Splitter:
23 widgets:
24 - Label:
25 value: "[228]Hello"
26 - Label:
27 value: "< [72]World[/] >"
28
29 # Markup demonstration
30 - Container:
31 box: SINGLE
32 widgets:
33 - Label:
34 parent_align: 0
35 value: "This is a label [cyan italic]demonstration"
36 - Label:
37 parent_align: 1
38 value: "Most [208]widgets[/] support [@60 141]markup[/]."
39 - Label:
40 parent_align: 2
41 value: "There is also support for [bold green]named [red]colors[/]!"
42
43 - Splitter:
44 widgets:
45 - Label: {}
46 - Label: {}
47
48 - Splitter:
49 widgets:
50 - Label:
51 value: "[dim italic]Style tags"
52
53 - Label:
54 value: "[dim italic]Color patterns"
55
56 # Tag demo
57 - Container:
58 box: SINGLE
59 widgets:
60 - Splitter:
61 widgets:
62 - Label:
63 value: "/"
64 parent_align: 0
65
66 - Label: {}
67
68 - Splitter:
69 widgets:
70 - Label:
71 value: "[bold]bold"
72 parent_align: 0
73
74 - Label:
75 value: "[32]0-255"
76 parent_align: 2
77
78 - Splitter:
79 widgets:
80 - Label:
81 value: "[dim]dim"
82 parent_align: 0
83
84 - Label:
85 value: "[#444772]#RRGGBB"
86 parent_align: 2
87
88 - Splitter:
89 widgets:
90 - Label:
91 value: "[italic]italic"
92 parent_align: 0
93
94 - Label:
95 value: "[145;69;142]RRR;GGG;BBB"
96 parent_align: 2
97
98 - Splitter:
99 widgets:
100 - Label:
101 value: "[underline]underline"
102 parent_align: 0
103
104 - Label: {}
105
106 - Splitter:
107 widgets:
108 - Label:
109 value: "[blink]blink"
110 parent_align: 0
111
112 - Label:
113 value: "[@32]@0-255"
114 parent_align: 2
115
116 - Splitter:
117 widgets:
118 - Label:
119 value: "[blink2]blink2"
120 parent_align: 0
121
122 - Label:
123 value: "[@#444772]@#RRGGBB"
124 parent_align: 2
125
126 - Splitter:
127 widgets:
128 - Label:
129 value: "[inverse]inverse"
130 parent_align: 0
131
132 - Label:
133 value: "[@145;69;142]@RRR;GGG;BBB"
134 parent_align: 2
135
136 - Splitter:
137 widgets:
138 - Label:
139 value: "[invisible]invisible"
140 parent_align: 0
141
142 - Label: {}
143
144 - Splitter:
145 widgets:
146 - Label:
147 value: "[strikethrough]strikethrough"
148 parent_align: 0
149
150 - Label:
151 value: "[210]/fg"
152 parent_align: 2
153
154 - Splitter:
155 widgets:
156 - Label:
157 value: "[overline]overline"
158 parent_align: 0
159
160 - Label:
161 value: "[210]/bg"
162 parent_align: 2