Quellcode durchsuchen

docs: add bright color options in man pages

PThorpe92 vor 2 Jahren
Ursprung
Commit
ab2aa92f3a
2 geänderte Dateien mit 27 neuen und 2 gelöschten Zeilen
  1. 3 2
      man/eza_colors-explanation.5.md
  2. 24 0
      man/eza_colors.5.md

+ 3 - 2
man/eza_colors-explanation.5.md

@@ -4,8 +4,7 @@ eza_colors-explanation — more details on customizing eza colors
 
 # Eza Color Explanation
 
-eza provides its own built\-in set of file extension mappings that cover a large range of common file extensions, including documents, archives, media, and temporary files.
-
+eza provides its own built\-in set of file extension mappings that cover a large range of common file extensions, including documents, archives, media, and temporary files. 
 Any mappings in the environment variables will override this default set: running eza with `LS_COLORS="*.zip=32"` will turn zip files green but leave the colours of other compressed files alone.
 
 You can also disable this built\-in set entirely by including a
@@ -24,6 +23,8 @@ files; setting `EXA_COLORS="reset"` will highlight nothing.
 
 ## BUILT\-IN EXTENSIONS
 
+- eza now supports bright colours! As supported by most modern 256\-colour terminals, you can now choose from `bright` colour codes when selecting your custom colours in your `#EXA_COLORS` environment variable.
+
 "Immediate" files are the files you should look at when downloading and building a project for the first time: READMEs, Makefiles, Cargo.toml, and others.
 They are highlighted in _yellow_ and _underlined_.
 

+ 24 - 0
man/eza_colors.5.md

@@ -260,6 +260,30 @@ The codes accepted by eza are:
 `37`
 : for white text
 
+`90`
+: for dark gray text
+
+`91`
+: for bright red text
+
+`92`
+: for bright green text
+
+`93`
+: for bright yellow text
+
+`94`
+: for bright blue text
+
+`95`
+: for bright purple text
+
+`96`
+: for bright cyan text
+
+`97`
+: for bright  text
+
 `38;5;nnn`
 : for a colour from 0 to 255 (replace the `nnn` part)