An optimized theme for web development that comes with two versions: light & dark.
Coldark is a gray-blue theme. The colors used respect the Web Content Accessibility Guidelines (WCAG) in order to provide sufficient reading comfort. However, with opacity, it is possible that some contrasts are diminished and that they are above level AA.
This Coldark version is designed for bat command.
Coldark consists of three color pallets. The first is common to both versions. The other two each apply to a version.
The bat
version uses almost the same colors as VS code version. The scopes seems a little different and a little less complete, hence the difference.
- Install
bat
(on Manjaro:pacman -S bat
) - Create themes folder:
mkdir -p "$(bat --config-dir)/themes"
- Go inside this new folder:
cd "$(bat --config-dir)/themes"
- Clone this repo:
git clone https://github.com/ArmandPhilippot/coldark-bat
- Update the binary cache:
bat cache --build
Then, if you use bat --list-themes
, you should see the themes.
Coldark Bat is now present in bat repo. It may be present in the list of themes in a future version without having to install it manually.
To select one of the Coldark themes, call bat
with the --theme=Coldark-Cold
(or --theme=Coldark-Dark
) option or set the BAT_THEME
environment variable to Coldark-Cold
(or Coldark-Dark
). Use export BAT_THEME="Coldark-Cold"
(or export BAT_THEME="Coldark-Dark"
) in your shell's startup file to make the change permanent.
Here are 2 rendering examples for each version.
PHP | Markdown |
---|---|
PHP | Markdown |
---|---|
This project is open source and available under the MIT License.