Reusable dircolors profiles and palette helpers for ANSI-slot-based terminals.
This repository currently includes:
pastel.dircolors: custom Pasteldircolorsprofilepastel_palette.sh: shell exports for the Pastel palette and default profile colorspastel_ls_colors_preview.sh: staticLS_COLORSpreview for the Pastel profilenord.dircolors: Nord-baseddircolorsprofilePastel.colorscheme: Konsole color scheme that maps the 16 ANSI slots to the Pastel paletteNord.colorscheme: Konsole color scheme that maps the 16 ANSI slots to the Nord palette
Apply a profile directly with dircolors:
eval "$(dircolors -b ./pastel.dircolors)"
eval "$(dircolors -b ./nord.dircolors)"Load the Pastel palette metadata into your current shell:
source ./pastel_palette.sh
echo "$PASTEL_PROFILE_FOREGROUND_HEX"
echo "$PASTEL_ANSI_12_HEX"The Pastel.colorscheme and Nord.colorscheme files are drop-in Konsole color schemes that paint the 16 ANSI slots to match the matching dircolors profile in this repository. To install:
mkdir -p ~/.local/share/konsole
cp Pastel.colorscheme Nord.colorscheme ~/.local/share/konsole/Then in Konsole: Settings → Edit Current Profile → Appearance and pick Pastel or Nord. Bold-bright behavior (whether bold text uses the brighter slot 8–15 variant) is a per-profile setting under the same Appearance tab (Use intense colors for bold text); the schemes themselves do not force it either way.
dircolors only emits ANSI SGR codes such as 34, 95, or 44. The final appearance therefore depends on how your terminal maps ANSI color slots 0 through 15.
- The Pastel profile ships its intended slot values in
pastel_palette.sh. - The Nord profile assumes the standard
nord0throughnord15mapping used by the upstream Nord project and its color palette documentation.
Pastel is a soft custom palette with a very dark background, a bright off-white foreground, and low-harshness accent colors for the 16 ANSI terminal slots.
| Sample | Role | Slot | ANSI | Hex | RGB |
|---|---|---|---|---|---|
| Foreground | fg |
default foreground | #eff0f3 |
239 240 243 |
|
| Background | bg |
default background | #191a1c |
25 26 28 |
Nord is an arctic, north-bluish palette created by the Nord project and documented in the official colors and palettes reference. The nord.dircolors file in this repository follows the canonical nord0 through nord15 slot numbering used for terminal color compatibility.
- Pastel values are defined locally in
pastel_palette.sh. - Nord palette values come from the official Nord project and its Colors and Palettes documentation.