@@ -20,124 +20,302 @@ pager: # the command to use as pager; default uses $PAGER, less, or more
2020# Color theme options
2121theme :
2222 base :
23- danger : red # (color) general color for when things are bad
24- info : white # (color) general color for when things are informational
25- muted : gray:italic # (color) general color for when things are less relevant
26- primary : magenta # (color) general color for when things are focus
27- secondary : cyan # (color) general color for when things are secondary focus
28- success : green # (color) general color for when things are good
29- warning : yellow # (color) general color for when things are wrong
30- key : hicyan / cyan # (color[]) general color for keys (fallback to [theme.base.secondary])
31- default : green # (color) default when no specific mapping is found for the command
23+ # general color for when things are bad
24+ danger : !color red
25+
26+ # general color for when things are informational
27+ info : !color white
28+
29+ # general color for when things are less relevant
30+ muted : !color gray:italic
31+
32+ # general color for when things are focus
33+ primary : !color magenta
34+
35+ # general color for when things are secondary focus
36+ secondary : !color cyan
37+
38+ # general color for when things are good
39+ success : !color green
40+
41+ # general color for when things are wrong
42+ warning : !color yellow
43+
44+ # general color for keys
45+ key : !color-list # default = [$theme.base.secondary])
46+
47+ # default when no specific mapping is found for the command
48+ default : !color green
49+
3250 shell :
33- comment : gray:italic # (color) used on comments, e.g `# this is a comment` (fallback to theme.base.muted)
34- command : green # (color) used on commands, e.g `kubectl` or `echo` (fallback to theme.base.success)
35- arg : white # (color) used on arguments, e.g `get pods` in `kubectl get pods` (fallback to theme.base.info)
36- flag : cyan # (color) used on flags, e.g `--watch` in `kubectl get pods --watch` (fallback to theme.base.secondary)
51+ # used on comments, e.g `# this is a comment`
52+ comment : !color # default = $theme.base.muted
53+
54+ # used on commands, e.g `kubectl` or `echo`
55+ command : !color # default = $theme.base.success
56+
57+ # used on arguments, e.g `get pods` in `kubectl get pods`
58+ arg : !color # default = $theme.base.info
59+
60+ # used on flags, e.g `--watch` in `kubectl get pods --watch`
61+ flag : !color # default = $theme.base.secondary
62+
3763 data :
38- key : hicyan / cyan # (color[]) used for the key (fallback to theme.base.key)
39- string : hiyellow # (color) used when value is a string (fallback to theme.base.info)
40- " true " : green # (color) used when value is true (fallback to theme.base.success)
41- " false " : red # (color) used when value is false (fallback to theme.base.danger)
42- number : magenta # (color) used when the value is a number (fallback to theme.base.primary)
43- " null " : gray:italic # (color) used when the value is null, nil, or none (fallback to theme.base.muted)
44- quantity : magenta # (color) used when the value is a quantity, e.g "100m" or "5Gi" (fallback to theme.data.number)
45- duration : # (color) used when the value is a duration, e.g "12m" or "1d12h"
46- durationFresh : green # (color) color used when the time value is under a certain delay (fallback to theme.base.success)
64+ # used for the key
65+ key : !color-list # default = $theme.base.key
66+
67+ # used when value is a string
68+ string : !color # default = $theme.base.info
69+
70+ # used when value is true
71+ " true " : !color # default = $theme.base.success
72+
73+ # used when value is false
74+ " false " : !color # default = $theme.base.danger
75+
76+ # used when the value is a number
77+ number : !color # default = $theme.base.primary
78+
79+ # used when the value is null, nil, or none
80+ " null " : !color # default = $theme.base.muted
81+
82+ # used when the value is a quantity, e.g "100m" or "5Gi"
83+ quantity : !color # default = $theme.data.number
84+
85+ # used when the value is a duration, e.g "12m" or "1d12h"
86+ duration : !color
87+
88+ # color used when the time value is under a certain delay
89+ durationFresh : !color # default = $theme.base.success
90+
4791 ratio :
48- zero : gray:italic # (color) used for "0/0" (fallback to theme.base.muted)
49- equal : # (color) used for "n/n", e.g "1/1"
50- unequal : yellow # (color) used for "n/m", e.g "0/1" (fallback to theme.base.warning)
92+ # used for "0/0"
93+ zero : !color # default = $theme.base.muted
94+
95+ # used for "n/n", e.g "1/1"
96+ equal : !color
97+
98+ # used for "n/m", e.g "0/1"
99+ unequal : !color # default = $theme.base.warning
100+
51101 status :
52- success : green # (color) used in status keywords, e.g "Running", "Ready" (fallback to theme.base.success)
53- warning : yellow # (color) used in status keywords, e.g "Terminating" (fallback to theme.base.warning)
54- error : red # (color) used in status keywords, e.g "Failed", "Unhealthy" (fallback to theme.base.danger)
102+ # used in status keywords, e.g "Running", "Ready"
103+ success : !color # default = $theme.base.success
104+
105+ # used in status keywords, e.g "Terminating"
106+ warning : !color # default = $theme.base.warning
107+
108+ # used in status keywords, e.g "Failed", "Unhealthy"
109+ error : !color # default = $theme.base.danger
110+
55111 table :
56- header : bold # (color) used on table headers (fallback to theme.base.info)
57- columns : white / cyan # (color[]) used on table columns when no other coloring applies such as status or duration coloring. The multiple colors are cycled based on column ID, from left to right. (fallback to [theme.base.info / theme.base.secondary])
112+ # used on table headers
113+ header : !color # default = $theme.base.info
114+
115+ # used on table columns when no other coloring applies such as status or duration coloring. The multiple colors are cycled based on column ID, from left to right.
116+ columns : !color-list # default = [$theme.base.info / $theme.base.secondary])
117+
58118 stderr :
59- error : red # (color) e.g when text contains "error" (fallback to theme.base.danger)
60- noneFound : gray:italic # (color) used on table output like "No resources found" (fallback to theme.data.null)
61- noneFoundNamespace : hiyellow # (color) used on the namespace name of "No resources found in my-ns namespace" (fallback to theme.data.string)
62- default : # (color) *deprecated: this field is no longer used (since v0.4.0)*
119+ # e.g when text contains "error"
120+ error : !color # default = $theme.base.danger
121+
122+ # used on table output like "No resources found"
123+ noneFound : !color # default = $theme.data.null
124+
125+ # used on the namespace name of "No resources found in my-ns namespace"
126+ noneFoundNamespace : !color # default = $theme.data.string
127+
128+ # *deprecated: this field is no longer used (since v0.4.0)*
129+ default : !color
130+
63131 apply :
64- created : green # (color) used on "deployment.apps/foo created" (fallback to theme.base.success)
65- configured : yellow # (color) used on "deployment.apps/bar configured" (fallback to theme.base.warning)
66- unchanged : magenta # (color) used on "deployment.apps/quux unchanged" (fallback to theme.base.primary)
67- serverside : yellow # (color) used on "deployment.apps/quux serverside-applied" (fallback to theme.base.warning)
68- dryRun : cyan # (color) used on "(dry run)" and "(server dry run)" (fallback to theme.base.secondary)
69- fallback : green # (color) used when outputs unknown format (fallback to theme.base.success)
132+ # used on "deployment.apps/foo created"
133+ created : !color # default = $theme.base.success
134+
135+ # used on "deployment.apps/bar configured"
136+ configured : !color # default = $theme.base.warning
137+
138+ # used on "deployment.apps/quux unchanged"
139+ unchanged : !color # default = $theme.base.primary
140+
141+ # used on "deployment.apps/quux serverside-applied"
142+ serverside : !color # default = $theme.base.warning
143+
144+ # used on "(dry run)" and "(server dry run)"
145+ dryRun : !color # default = $theme.base.secondary
146+
147+ # used when outputs unknown format
148+ fallback : !color # default = $theme.base.success
149+
70150 create :
71- created : green # (color) used on "deployment.apps/foo created" (fallback to theme.base.success)
72- dryRun : cyan # (color) used on "(dry run)" and "(server dry run)" (fallback to theme.apply.dryrun)
73- fallback : green # (color) used when outputs unknown format (fallback to theme.base.success)
151+ # used on "deployment.apps/foo created"
152+ created : !color # default = $theme.base.success
153+
154+ # used on "(dry run)" and "(server dry run)"
155+ dryRun : !color # default = $theme.apply.dryrun
156+
157+ # used when outputs unknown format
158+ fallback : !color # default = $theme.base.success
159+
74160 delete :
75- deleted : red # (color) used on "deployment.apps "nginx" deleted" (fallback to theme.base.danger)
76- dryRun : cyan # (color) used on "(dry run)" and "(server dry run)" (fallback to theme.apply.dryrun)
77- fallback : red # (color) used when outputs unknown format (fallback to theme.base.danger)
161+ # used on "deployment.apps "nginx" deleted"
162+ deleted : !color # default = $theme.base.danger
163+
164+ # used on "(dry run)" and "(server dry run)"
165+ dryRun : !color # default = $theme.apply.dryrun
166+
167+ # used when outputs unknown format
168+ fallback : !color # default = $theme.base.danger
169+
78170 describe :
79- key : hicyan / cyan # (color[]) used on keys. The multiple colors are cycled based on indentation. (fallback to theme.base.key)
171+ # used on keys. The multiple colors are cycled based on indentation.
172+ key : !color-list # default = $theme.base.key
173+
80174 drain :
81- cordoned : magenta # (color) used on "node/my-worker-node-01 cordoned" (fallback to theme.base.primary)
82- evictingPod : gray:italic # (color) used on "evicting pod my-namespace/my-pod" (fallback to theme.base.muted)
83- evicted : yellow # (color) used on "pod/my-pod evicted" (fallback to theme.base.warning)
84- drained : green # (color) used on "node/my-worker-node-01 drained" (fallback to theme.base.success)
85- dryRun : cyan # (color) used on "(dry run)" and "(server dry run)" (fallback to theme.apply.dryrun)
86- fallback : yellow # (color) used when outputs unknown format (fallback to theme.base.warning)
175+ # used on "node/my-worker-node-01 cordoned"
176+ cordoned : !color # default = $theme.base.primary
177+
178+ # used on "evicting pod my-namespace/my-pod"
179+ evictingPod : !color # default = $theme.base.muted
180+
181+ # used on "pod/my-pod evicted"
182+ evicted : !color # default = $theme.base.warning
183+
184+ # used on "node/my-worker-node-01 drained"
185+ drained : !color # default = $theme.base.success
186+
187+ # used on "(dry run)" and "(server dry run)"
188+ dryRun : !color # default = $theme.apply.dryrun
189+
190+ # used when outputs unknown format
191+ fallback : !color # default = $theme.base.warning
192+
87193 explain :
88- key : hicyan / cyan # (color[]) used on keys. The multiple colors are cycled based on indentation. (fallback to theme.base.key)
89- required : red # (color) used on the trailing "-required-" string (fallback to theme.base.danger)
194+ # used on keys. The multiple colors are cycled based on indentation.
195+ key : !color-list # default = $theme.base.key
196+
197+ # used on the trailing "-required-" string
198+ required : !color # default = $theme.base.danger
199+
90200 expose :
91- exposed : magenta # (color) used on "deployment.apps/foo created" (fallback to theme.base.primary)
92- dryRun : cyan # (color) used on "(dry run)" and "(server dry run)" (fallback to theme.apply.dryrun)
93- fallback : magenta # (color) used when outputs unknown format (fallback to theme.base.primary)
201+ # used on "deployment.apps/foo created"
202+ exposed : !color # default = $theme.base.primary
203+
204+ # used on "(dry run)" and "(server dry run)"
205+ dryRun : !color # default = $theme.apply.dryrun
206+
207+ # used when outputs unknown format
208+ fallback : !color # default = $theme.base.primary
209+
94210 options :
95- flag : cyan # (color) e.g "--kubeconfig" (fallback to theme.base.secondary)
211+ # e.g "--kubeconfig"
212+ flag : !color # default = $theme.base.secondary
213+
96214 patch :
97- patched : yellow # (color) used on "deployment.apps/foo patched" (fallback to theme.base.warning)
98- dryRun : cyan # (color) used on "(dry run)" and "(server dry run)" (fallback to theme.apply.dryrun)
99- fallback : yellow # (color) used when outputs unknown format (fallback to theme.base.warning)
215+ # used on "deployment.apps/foo patched"
216+ patched : !color # default = $theme.base.warning
217+
218+ # used on "(dry run)" and "(server dry run)"
219+ dryRun : !color # default = $theme.apply.dryrun
220+
221+ # used when outputs unknown format
222+ fallback : !color # default = $theme.base.warning
223+
100224 rollout :
101- rolledBack : yellow # (color) used on "deployment.apps/foo rolled back" (fallback to theme.base.warning)
102- paused : magenta # (color) used on "deployment.apps/foo paused" (fallback to theme.base.primary)
103- resumed : cyan # (color) used on "deployment.apps/foo resumed" (fallback to theme.base.secondary)
104- restarted : yellow # (color) used on "deployment.apps/foo restarted" (fallback to theme.base.warning)
105- dryRun : cyan # (color) used on "(dry run)" and "(server dry run)" (fallback to theme.apply.dryrun)
106- fallback : yellow # (color) used when outputs unknown format (fallback to theme.base.warning)
225+ # used on "deployment.apps/foo rolled back"
226+ rolledBack : !color # default = $theme.base.warning
227+
228+ # used on "deployment.apps/foo paused"
229+ paused : !color # default = $theme.base.primary
230+
231+ # used on "deployment.apps/foo resumed"
232+ resumed : !color # default = $theme.base.secondary
233+
234+ # used on "deployment.apps/foo restarted"
235+ restarted : !color # default = $theme.base.warning
236+
237+ # used on "(dry run)" and "(server dry run)"
238+ dryRun : !color # default = $theme.apply.dryrun
239+
240+ # used when outputs unknown format
241+ fallback : !color # default = $theme.base.warning
242+
107243 scale :
108- scaled : yellow # (color) used on "deployment.apps/foo scaled" (fallback to theme.base.warning)
109- dryRun : cyan # (color) used on "(dry run)" and "(server dry run)" (fallback to theme.apply.dryrun)
110- fallback : yellow # (color) used when outputs unknown format (fallback to theme.base.warning)
244+ # used on "deployment.apps/foo scaled"
245+ scaled : !color # default = $theme.base.warning
246+
247+ # used on "(dry run)" and "(server dry run)"
248+ dryRun : !color # default = $theme.apply.dryrun
249+
250+ # used when outputs unknown format
251+ fallback : !color # default = $theme.base.warning
252+
111253 uncordon :
112- uncordoned : cyan # (color) used on "node/my-worker-node-01 uncordoned" (fallback to theme.base.secondary)
113- dryRun : cyan # (color) used on "(dry run)" and "(server dry run)" (fallback to theme.apply.dryrun)
114- fallback : yellow # (color) used when outputs unknown format (fallback to theme.base.warning)
254+ # used on "node/my-worker-node-01 uncordoned"
255+ uncordoned : !color # default = $theme.base.secondary
256+
257+ # used on "(dry run)" and "(server dry run)"
258+ dryRun : !color # default = $theme.apply.dryrun
259+
260+ # used when outputs unknown format
261+ fallback : !color # default = $theme.base.warning
262+
115263 version :
116- key : hicyan / cyan # (color[]) used on the key (fallback to theme.base.key)
264+ # used on the key
265+ key : !color-list # default = $theme.base.key
266+
117267 help :
118- header : bold # (color) e.g "Examples:" or "Options:" (fallback to theme.table.header)
119- flag : cyan # (color) e.g "--kubeconfig" (fallback to theme.base.secondary)
120- flagDesc : white # (color) Flag descripion under "Options:" heading (fallback to theme.base.info)
121- url : cyan # (color) e.g `[https://example.com]` (fallback to theme.base.secondary)
122- text : white # (color) Fallback text color (fallback to theme.base.info)
268+ # e.g "Examples:" or "Options:"
269+ header : !color # default = $theme.table.header
270+
271+ # e.g "--kubeconfig"
272+ flag : !color # default = $theme.base.secondary
273+
274+ # Flag descripion under "Options:" heading
275+ flagDesc : !color # default = $theme.base.info
276+
277+ # e.g `[https://example.com]`
278+ url : !color # default = $theme.base.secondary
279+
280+ # Fallback text color
281+ text : !color # default = $theme.base.info
282+
123283 logs :
124- key : hicyan / cyan # (color[]) (fallback to theme.data.key)
125- quotedString : hiyellow # (color) Used on quoted strings that are not part of a `key="value"` (fallback to theme.data.string)
126- date : gray:italic # (color) (fallback to theme.base.muted)
127- sourceRef : gray:italic # (color) (fallback to theme.base.muted)
128- guid : gray:italic # (color) (fallback to theme.base.muted)
284+ key : !color-list # default = $theme.data.key
285+
286+ # Used on quoted strings that are not part of a `key="value"`
287+ quotedString : !color # default = $theme.data.string
288+
289+ date : !color # default = $theme.base.muted
290+
291+ sourceRef : !color # default = $theme.base.muted
292+
293+ guid : !color # default = $theme.base.muted
294+
129295 severity :
130- trace : gray:italic # (color) (fallback to theme.base.muted)
131- debug : gray:italic # (color) (fallback to theme.base.muted)
132- info : green # (color) (fallback to theme.base.success)
133- warn : yellow # (color) (fallback to theme.base.warning)
134- error : red # (color) (fallback to theme.base.danger)
135- fatal : red # (color) (fallback to theme.base.danger)
136- panic : red # (color) (fallback to theme.base.danger)
296+ trace : !color # default = $theme.base.muted
297+
298+ debug : !color # default = $theme.base.muted
299+
300+ info : !color # default = $theme.base.success
301+
302+ warn : !color # default = $theme.base.warning
303+
304+ error : !color # default = $theme.base.danger
305+
306+ fatal : !color # default = $theme.base.danger
307+
308+ panic : !color # default = $theme.base.danger
309+
137310 diff :
138- added : green # (color) used on added lines (fallback to theme.base.success)
139- removed : red # (color) used on removed lines (fallback to theme.base.danger)
140- unchanged : gray:italic # (color) used on unchanged lines (fallback to theme.base.muted)
311+ # used on added lines
312+ added : !color # default = $theme.base.success
313+
314+ # used on removed lines
315+ removed : !color # default = $theme.base.danger
316+
317+ # used on unchanged lines
318+ unchanged : !color # default = $theme.base.muted
141319` ` `
142320
143321You can also override the path of the config file using the ` KUBECOLOR_CONFIG`
0 commit comments