]> git.friedersdorff.com Git - max/saltfiles.git/blob - states/dircolors/files/dir_colors
All of the solarized all of the time
[max/saltfiles.git] / states / dircolors / files / dir_colors
1 # Exact Solarized Light color theme for the color GNU ls utility.
2 # Designed for dircolors (GNU coreutils) 5.97
3 #
4 # This simple theme was simultaneously designed for these terminal color schemes:
5 # - Solarized dark
6 # - Solarized light (best)
7 # - default dark
8 # - default light
9 # with a slight optimization for Solarized Light.
10 #
11 # How the colors were selected:
12 # - Terminal emulators often have an option typically enabled by default that makes
13 #   bold a different color.  It is important to leave this option enabled so that
14 #   you can access the entire 16-color Solarized palette, and not just 8 colors.
15 # - We favor universality over a greater number of colors.  So we limit the number
16 #   of colors so that this theme will work out of the box in all terminals,
17 #   Solarized or not, dark or light.
18 # - We choose to have the following category of files:
19 #   NORMAL & FILE, DIR, LINK, EXEC and
20 #   editable text including source, unimportant text, binary docs & multimedia source
21 #   files, viewable multimedia, archived/compressed, and unimportant non-text
22 # - For uniqueness, we stay away from the Solarized foreground colors are -- either
23 #   base00 (brightyellow) or base0 (brightblue).  However, they can be used if
24 #   you know what the bg/fg colors of your terminal are, in order to optimize the display.
25 # - 3 different options are provided: universal, solarized dark, and solarized light.
26 #   The only difference between the universal scheme and one that's optimized for
27 #   dark/light is the color of "unimportant" files, which should blend more with the
28 #   background
29 # - We note that blue is the hardest color to see on dark bg and yellow is the hardest
30 #   color to see on light bg (with blue being particularly bad).  So we choose yellow
31 #   for multimedia files which are usually accessed in a GUI folder browser anyway.
32 #   And blue is kept for custom use of this scheme's user.
33 # - See table below to see the assignments.
34
35
36 # Installation instructions:
37 # This file goes in the /etc directory, and must be world readable.
38 # You can copy this file to .dir_colors in your $HOME directory to override
39 # the system defaults.
40
41 # COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
42 # pipes. 'all' adds color characters to all output. 'none' shuts colorization
43 # off.
44 COLOR tty
45
46 # Below, there should be one TERM entry for each termtype that is colorizable
47 TERM alacritty
48 TERM ansi
49 TERM color_xterm
50 TERM color-xterm
51 TERM con132x25
52 TERM con132x30
53 TERM con132x43
54 TERM con132x60
55 TERM con80x25
56 TERM con80x28
57 TERM con80x30
58 TERM con80x43
59 TERM con80x50
60 TERM con80x60
61 TERM cons25
62 TERM console
63 TERM cygwin
64 TERM dtterm
65 TERM dvtm
66 TERM dvtm-256color
67 TERM Eterm
68 TERM eterm-color
69 TERM fbterm
70 TERM gnome
71 TERM gnome-256color
72 TERM jfbterm
73 TERM konsole
74 TERM konsole-256color
75 TERM kterm
76 TERM linux
77 TERM linux-c
78 TERM mach-color
79 TERM mlterm
80 TERM nxterm
81 TERM putty
82 TERM putty-256color
83 TERM rxvt
84 TERM rxvt-256color
85 TERM rxvt-cygwin
86 TERM rxvt-cygwin-native
87 TERM rxvt-unicode
88 TERM rxvt-unicode256
89 TERM rxvt-unicode-256color
90 TERM screen
91 TERM screen-16color
92 TERM screen-16color-bce
93 TERM screen-16color-s
94 TERM screen-16color-bce-s
95 TERM screen-256color
96 TERM screen-256color-bce
97 TERM screen-256color-s
98 TERM screen-256color-bce-s
99 TERM screen-256color-italic
100 TERM screen-bce
101 TERM screen-w
102 TERM screen.linux
103 TERM screen.xterm-256color
104 TERM screen.xterm-new
105 TERM st
106 TERM st-meta
107 TERM st-256color
108 TERM st-meta-256color
109 TERM tmux
110 TERM tmux-256color
111 TERM vt100
112 TERM xterm
113 TERM xterm-new
114 TERM xterm-16color
115 TERM xterm-256color
116 TERM xterm-256color-italic
117 TERM xterm-88color
118 TERM xterm-color
119 TERM xterm-debian
120 TERM xterm-kitty
121 TERM xterm-termite
122
123 # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
124 EIGHTBIT 1
125
126 #############################################################################
127 # Below are the color init strings for the basic file types. A color init
128 # string consists of one or more of the following numeric codes:
129 #
130 # Attribute codes:
131 #   00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
132 # Text color codes:
133 #   30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
134 # Background color codes:
135 #   40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
136 #
137 # NOTES:
138 # - See http://www.oreilly.com/catalog/wdnut/excerpt/color_names.html
139 # - Color combinations
140 #   ANSI Color code       Solarized  Notes                Universal             SolDark              SolLight
141 #   ~~~~~~~~~~~~~~~       ~~~~~~~~~  ~~~~~                ~~~~~~~~~             ~~~~~~~              ~~~~~~~~
142 #   00    none                                            NORMAL, FILE          <SAME>               <SAME>
143 #   30    black           base02
144 #   01;30 bright black    base03     bg of SolDark
145 #   31    red             red                             docs & mm src         <SAME>               <SAME>
146 #   01;31 bright red      orange                          EXEC                  <SAME>               <SAME>
147 #   32    green           green                           editable text         <SAME>               <SAME>
148 #   01;32 bright green    base01                          unimportant text      <SAME>
149 #   33    yellow          yellow     unclear in light bg  multimedia            <SAME>               <SAME>
150 #   01;33 bright yellow   base00     fg of SolLight                             unimportant non-text
151 #   34    blue            blue       unclear in dark bg   user customized       <SAME>               <SAME>
152 #   01;34 bright blue     base0      fg in SolDark                                                   unimportant text
153 #   35    magenta         magenta                         LINK                  <SAME>               <SAME>
154 #   01;35 bright magenta  violet                          archive/compressed    <SAME>               <SAME>
155 #   36    cyan            cyan                            DIR                   <SAME>               <SAME>
156 #   01;36 bright cyan     base1                           unimportant non-text                       <SAME>
157 #   37    white           base2
158 #   01;37 bright white    base3      bg in SolLight
159 #   05;37;41                         unclear in Putty dark
160
161
162 ### By file type
163
164 # global default
165 NORMAL 00
166 # normal file
167 FILE 00
168 # directory
169 DIR 36
170 # XX2, XX3, XX6, and XX7 directories
171 OTHER_WRITABLE 34;47
172 # symbolic link
173 LINK 35
174
175 # pipe, socket, block device, character device (blue bg)
176 FIFO 30;44
177 SOCK 35;44
178 DOOR 35;44 # Solaris 2.5 and later
179 BLK  33;44
180 CHR  37;44
181
182
183 #############################################################################
184 ### By file attributes
185
186 # Orphaned symlinks (blinking white on red)
187 # Blink may or may not work (works on iTerm dark or light, and Putty dark)
188 ORPHAN  05;37;41
189 # ... and the files that orphaned symlinks point to (blinking white on red)
190 MISSING 05;37;41
191
192 # files with execute permission
193 EXEC 01;31  # Unix
194 .cmd 01;31  # Win
195 .exe 01;31  # Win
196 .com 01;31  # Win
197 .bat 01;31  # Win
198 .reg 01;31  # Win
199 .app 01;31  # OSX
200
201 #############################################################################
202 ### By extension
203
204 # List any file extensions like '.gz' or '.tar' that you would like ls
205 # to colorize below. Put the extension, a space, and the color init string.
206 # (and any comments you want to add after a '#')
207
208 ### Text formats
209
210 # Text that we can edit with a regular editor
211 .txt 32
212 .org 32
213 .md 32
214 .mkd 32
215
216 # Source text
217 .h 32
218 .hpp 32
219 .c 32
220 .C 32
221 .cc 32
222 .cpp 32
223 .cxx 32
224 .objc 32
225 .cl 32
226 .sh 32
227 .bash 32
228 .csh 32
229 .zsh 32
230 .el 32
231 .vim 32
232 .java 32
233 .pl 32
234 .pm 32
235 .py 32
236 .rb 32
237 .hs 32
238 .php 32
239 .htm 32
240 .html 32
241 .shtml 32
242 .erb 32
243 .haml 32
244 .xml 32
245 .rdf 32
246 .css 32
247 .sass 32
248 .scss 32
249 .less 32
250 .js 32
251 .coffee 32
252 .man 32
253 .0 32
254 .1 32
255 .2 32
256 .3 32
257 .4 32
258 .5 32
259 .6 32
260 .7 32
261 .8 32
262 .9 32
263 .l 32
264 .n 32
265 .p 32
266 .pod 32
267 .tex 32
268 .go 32
269 .sql 32
270 .csv 32
271 .sv 32
272 .svh 32
273 .v 32
274 .vh 32
275 .vhd 32
276
277 ### Multimedia formats
278
279 # Image
280 .bmp 33
281 .cgm 33
282 .dl 33
283 .dvi 33
284 .emf 33
285 .eps 33
286 .gif 33
287 .jpeg 33
288 .jpg 33
289 .JPG 33
290 .mng 33
291 .pbm 33
292 .pcx 33
293 .pdf 33
294 .pgm 33
295 .png 33
296 .PNG 33
297 .ppm 33
298 .pps 33
299 .ppsx 33
300 .ps 33
301 .svg 33
302 .svgz 33
303 .tga 33
304 .tif 33
305 .tiff 33
306 .xbm 33
307 .xcf 33
308 .xpm 33
309 .xwd 33
310 .xwd 33
311 .yuv 33
312 .nef 33 # Nikon RAW format
313 .NEF 33
314
315 # Audio
316 .aac 33
317 .au  33
318 .flac 33
319 .m4a 33
320 .mid 33
321 .midi 33
322 .mka 33
323 .mp3 33
324 .mpa 33
325 .mpeg 33
326 .mpg 33
327 .ogg  33
328 .opus 33
329 .ra 33
330 .wav 33
331
332 # Video
333 .anx 33
334 .asf 33
335 .avi 33
336 .axv 33
337 .flc 33
338 .fli 33
339 .flv 33
340 .gl 33
341 .m2v 33
342 .m4v 33
343 .mkv 33
344 .mov 33
345 .MOV 33
346 .mp4 33
347 .mp4v 33
348 .mpeg 33
349 .mpg 33
350 .nuv 33
351 .ogm 33
352 .ogv 33
353 .ogx 33
354 .qt 33
355 .rm 33
356 .rmvb 33
357 .swf 33
358 .vob 33
359 .webm 33
360 .wmv 33
361
362 ### Misc
363
364 # Binary document formats and multimedia source
365 .doc 31
366 .docx 31
367 .rtf 31
368 .odt 31
369 .dot 31
370 .dotx 31
371 .ott 31
372 .xls 31
373 .xlsx 31
374 .ods 31
375 .ots 31
376 .ppt 31
377 .pptx 31
378 .odp 31
379 .otp 31
380 .fla 31
381 .psd 31
382
383 # Archives, compressed
384 .7z   1;35
385 .apk  1;35
386 .arj  1;35
387 .bin  1;35
388 .bz   1;35
389 .bz2  1;35
390 .cab  1;35  # Win
391 .deb  1;35
392 .dmg  1;35  # OSX
393 .gem  1;35
394 .gz   1;35
395 .iso  1;35
396 .jar  1;35
397 .msi  1;35  # Win
398 .rar  1;35
399 .rpm  1;35
400 .tar  1;35
401 .tbz  1;35
402 .tbz2 1;35
403 .tgz  1;35
404 .tx   1;35
405 .war  1;35
406 .xpi  1;35
407 .xz   1;35
408 .z    1;35
409 .Z    1;35
410 .zip  1;35
411 .zst  1;35
412
413 # For testing
414 .ANSI-30-black 30
415 .ANSI-01;30-brblack 01;30
416 .ANSI-31-red 31
417 .ANSI-01;31-brred 01;31
418 .ANSI-32-green 32
419 .ANSI-01;32-brgreen 01;32
420 .ANSI-33-yellow 33
421 .ANSI-01;33-bryellow 01;33
422 .ANSI-34-blue 34
423 .ANSI-01;34-brblue 01;34
424 .ANSI-35-magenta 35
425 .ANSI-01;35-brmagenta 01;35
426 .ANSI-36-cyan 36
427 .ANSI-01;36-brcyan 01;36
428 .ANSI-37-white 37
429 .ANSI-01;37-brwhite 01;37
430
431 #############################################################################
432 # Your customizations
433
434 # Unimportant text files
435 # For universal scheme, use brightgreen 01;32
436 # For optimal on light bg (but too prominent on dark bg), use white 01;34
437 #.log 01;32
438 #*~ 01;32
439 #*# 01;32
440 .log 01;34
441 *~ 01;34
442 *# 01;34
443
444 # Unimportant non-text files
445 # For universal scheme, use brightcyan 01;36
446 # For optimal on dark bg (but too prominent on light bg), change to 01;33
447 .bak 01;36
448 .BAK 01;36
449 .old 01;36
450 .OLD 01;36
451 .org_archive 01;36
452 .off 01;36
453 .OFF 01;36
454 .dist 01;36
455 .DIST 01;36
456 .orig 01;36
457 .ORIG 01;36
458 .swp 01;36
459 .swo 01;36
460 *.v 01;36
461 #.bak 01;33
462 #.BAK 01;33
463 #.old 01;33
464 #.OLD 01;33
465 #.org_archive 01;33
466 #.off 01;33
467 #.OFF 01;33
468 #.dist 01;33
469 #.DIST 01;33
470 #.orig 01;33
471 #.ORIG 01;33
472 #.swp 01;33
473 #.swo 01;33
474 #*.v 01;33
475
476 # The brightmagenta (Solarized: purple) color is free for you to use for your
477 # custom file type
478 .gpg 34
479 .gpg 34
480 .pgp 34
481 .asc 34
482 .3des 34
483 .aes 34
484 .enc 34
485 .sqlite 34