Port of the Solarized theme for k9s. If you are reading this, chances are you are looking for a new theme or just landed on this by whatever means. In any case here you go.
Skins in k9s are a little weird. To view the path where your skins are stored by default run:
k9s info
Output is similar to
Version: 0.32.5
Config: /Users/yourusername/Library/Application Support/k9s/config.yaml
Custom Views: /Users/yourusername/Library/Application Support/k9s/views.yaml
Plugins: /Users/yourusername/Library/Application Support/k9s/plugins.yaml
Hotkeys: /Users/yourusername/Library/Application Support/k9s/hotkeys.yaml
Aliases: /Users/yourusername/Library/Application Support/k9s/aliases.yaml
Skins: /Users/yourusername/Library/Application Support/k9s/skins
create a file called solarized.yaml
and paste in the content below
k9s:
body:
fgColor: "#708183" # foreground
bgColor: "#001217" # background
logoColor: "#268bd2" # solarized blue
info:
fgColor: "#839496" # light foreground (approx Solarized base0)
sectionColor: "#2aa198" # solarized cyan
frame:
border:
fgColor: "#586e75"
focusColor: "#268bd2"
menu:
fgColor: "#93a1a1"
keyColor: "#b58900"
numKeyColor: "#6c71c4"
crumbs:
fgColor: "#fcf4dc"
bgColor: "#073642"
activeColor: "#268bd2"
status:
newColor: "#859900" # green
modifyColor: "#2aa198" # cyan
addColor: "#b58900" # yellow
errorColor: "#dc322f" # red
highlightcolor: "#268bd2" # blue
killColor: "#586e75"
completedColor: "#586e75"
title:
fgColor: "#839496"
bgColor: "#001217"
highlightColor: "#2aa198"
counterColor: "#6c71c4"
filterColor: "#586e75"
views:
table:
fgColor: "#93a1a1"
bgColor: "#001217"
cursorColor: "#268bd2"
header:
fgColor: "#eee8d5"
bgColor: "#073642"
sorterColor: "#b58900"
yaml:
keyColor: "#cb4b16"
colonColor: "#2aa198"
valueColor: "#839496"
logs:
fgColor: "#e9e2cb"
bgColor: "#001217"
finally open up your k9s config file (run k9s info again if you need to find the path) and the following line under ui
ui:
skin: solarized
your config should look something like this: