Skip to content

ArmandPhilippot/coldark-dircolors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coldark Banner

Coldark - Dircolors

GitHub License GitHub package.json version

An optimized theme for web development that comes with two versions: light & dark.

Presentation

Coldark is a gray-blue theme. The colors used respect the Web Content Accessibility Guidelines (WCAG) in order to provide sufficient reading comfort.

Coldark dircolors can be installed for all application that respect the LS_COLORS environment variable. You can thus use it with commands like ls, tree ...

It is recommended to use it with Coldark for XFCE4 terminal so that the colors match those of Coldark.

Colors

Coldark consists of three color palettes. The first is common to both versions. The other two each apply to a version. Coldark uses 16 colors for each theme.

Coldark dircolors reuses the colors of the terminal: black, white, red, magenta, green, blue, yellow & cyan. If you are using Coldark for XFCE4 terminal, it will only use 8 colors since the normal and bright versions of the colors are the same.

Light Theme Dark Theme
Usage code Hex Preview Hex Preview
coldark00 #E3E9F2 #E3E9F2 #111B27 #111B27
coldark03 #3c526d #3c526d #8da1b9 #8da1b9
coldark05 #111B27 #111B27 #E3E9F2 #E3E9F2
coldark08 #007474 #007474 #5dc2c2 #5dc2c2
coldark09 #7d6600 #7d6600 #cdb74a #cdb74a
coldark10 #005c99 #005c99 #6ab3e4 #6ab3e4
coldark11 #237800 #237800 #82c366 #82c366
coldark12 #b800b8 #b800b8 #ea89ea #ea89ea
coldark15 #c22f2e #c22f2e #cd6660 #cd6660
  • coldark00: Black
    Used as foreground for sticky other writable directories.
  • coldark00: Dark gray
    Used as foreground for ignored files (like .log, .bak ...).
  • coldark05: White
    Used as foreground for missing files, files with setuid or setgid permissions, files with capability, sticky not other writable directories.
  • coldark08: Cyan
    Used as foreground for symbolic links, regular files with more than one link, pipes and audio files.
  • coldark09: Yellow
    Used as foreground for socket files, block devices drivers and character device drivers and video files.
  • coldark10: Blue
    Used as foreground for directories and as background for sticky not other writable directories.
  • coldark11: Green
    Used as foreground for other writable directories, archives and various documents. Also used as background for sticky other writable directories.
  • coldark12: Magenta
    Used as foreground for doors and images..
  • coldark15: Red
    Used as foreground for orphaned symbolic links and executable. Also used as background for missing files.

Screenshots

Some examples with ls, symbolic links (and missing file), exa and tree.

Light Theme Dark Theme
Coldark LS Coldark LS
Coldark Symlinks Coldark Symlinks
Coldark exa Coldark exa
Coldark tree Coldark tree

Install

Download the file, rename it as .dir_colors and place it in your home directory (so ~/.dir_colors).

Activation

To activate and use Coldark dircolors as your default color theme for all sessions, you need to edit the configuration file of your shell (~/.bashrc, ~/.zshrc, ... ). Once opened, add the following snippet:

# Load Coldark dircolors.
eval "$(dircolors ~/.dir_colors)"

For OhMyZsh users

If you are using OhMyZsh on GNU/Linux, you should place the following code in ~/.zshrc, right after the eval, so that the tab completion uses the same colors:

# Zsh Completion with LS Colors
zstyle ':completion:*:default' list-colors "$LS_COLORS"

Thanks to rarylson for the trick.

License

This project is open source and available under the MIT License.

About

Coldark theme for dir_colors & LS_COLORS.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published