Home

Awesome

<p align="center"> <img src="assets/coldark-banner.png" alt="Coldark Banner" width="400" /> </p>

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 ThemeDark Theme
Usage codeHexPreviewHexPreview
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

Screenshots

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

Light ThemeDark Theme
Coldark LSColdark LS
Coldark SymlinksColdark Symlinks
Coldark exaColdark exa
Coldark treeColdark 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.