k9s themes for base16 default
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
k9s:
|
||||
cluster: kubernetes
|
||||
namespace:
|
||||
active: default
|
||||
active: cp1-ns
|
||||
lockFavorites: false
|
||||
favorites:
|
||||
- matt-dp
|
||||
|
||||
@@ -13,7 +13,7 @@ k9s:
|
||||
reactive: false
|
||||
noIcons: false
|
||||
defaultsToFullScreen: false
|
||||
skin: transparent
|
||||
skin: default-light
|
||||
skipLatestRevCheck: false
|
||||
disablePodCounting: false
|
||||
shellPod:
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
appearance=$(defaults read -g AppleInterfaceStyle 2>/dev/null)
|
||||
|
||||
if [[ "$appearance" = "Dark" ]]; then
|
||||
skin="ember"
|
||||
skin="default-dark"
|
||||
else
|
||||
skin="ember-light"
|
||||
skin="default-light"
|
||||
fi
|
||||
|
||||
config_file="$HOME/dotfiles/k9s/.config/k9s/config.yaml"
|
||||
config_file="$HOME/doc/dev/dotfiles/k9s/.config/k9s/config.yaml"
|
||||
|
||||
if [[ -f "$config_file" ]]; then
|
||||
sed -i '' "s/skin: .*/skin: $skin/" "$config_file"
|
||||
|
||||
114
k9s/.config/k9s/skins/default-dark.yaml
Normal file
114
k9s/.config/k9s/skins/default-dark.yaml
Normal file
@@ -0,0 +1,114 @@
|
||||
# Default Dark — base16 default dark k9s skin
|
||||
# Colors hardcoded from ghostty default-dark theme (base16 default).
|
||||
# Backgrounds are explicit (not transparent) so k9s renders consistently
|
||||
# regardless of terminal theme handling.
|
||||
|
||||
foreground: &foreground "#d8d8d8"
|
||||
background: &background "#181818"
|
||||
black: &black "#181818"
|
||||
blue: &blue "#7cafc2"
|
||||
green: &green "#a1b56c"
|
||||
grey: &grey "#585858"
|
||||
orange: &orange "#dc9656"
|
||||
purple: &purple "#ba8baf"
|
||||
red: &red "#ab4642"
|
||||
yellow: &yellow "#f7ca88"
|
||||
cyan: &cyan "#86c1b9"
|
||||
|
||||
k9s:
|
||||
body:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
logoColor: *green
|
||||
prompt:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
suggestColor: *orange
|
||||
info:
|
||||
fgColor: *foreground
|
||||
sectionColor: *green
|
||||
help:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
keyColor: *yellow
|
||||
numKeyColor: *blue
|
||||
sectionColor: *purple
|
||||
dialog:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
buttonFgColor: *background
|
||||
buttonBgColor: *green
|
||||
buttonFocusFgColor: *background
|
||||
buttonFocusBgColor: *blue
|
||||
labelFgColor: *orange
|
||||
fieldFgColor: *blue
|
||||
frame:
|
||||
border:
|
||||
fgColor: *grey
|
||||
focusColor: *blue
|
||||
menu:
|
||||
fgColor: *foreground
|
||||
keyColor: *yellow
|
||||
numKeyColor: *yellow
|
||||
crumbs:
|
||||
fgColor: *background
|
||||
bgColor: *green
|
||||
activeColor: *yellow
|
||||
status:
|
||||
newColor: *blue
|
||||
modifyColor: *green
|
||||
addColor: *foreground
|
||||
pendingColor: *orange
|
||||
errorColor: *red
|
||||
highlightColor: *yellow
|
||||
killColor: *purple
|
||||
completedColor: *grey
|
||||
title:
|
||||
fgColor: *blue
|
||||
bgColor: *background
|
||||
highlightColor: *purple
|
||||
counterColor: *foreground
|
||||
filterColor: *blue
|
||||
views:
|
||||
charts:
|
||||
bgColor: *background
|
||||
defaultDialColors:
|
||||
- *green
|
||||
- *red
|
||||
defaultChartColors:
|
||||
- *green
|
||||
- *red
|
||||
table:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
cursorFgColor: *background
|
||||
cursorBgColor: *blue
|
||||
markColor: *orange
|
||||
header:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
sorterColor: *orange
|
||||
selectedSortColumnColor: *foreground
|
||||
xray:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
cursorColor: *blue
|
||||
graphicColor: *orange
|
||||
showIcons: false
|
||||
yaml:
|
||||
keyColor: *blue
|
||||
colonColor: *grey
|
||||
valueColor: *foreground
|
||||
logs:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
indicator:
|
||||
fgColor: *blue
|
||||
bgColor: *background
|
||||
toggleOnColor: *green
|
||||
toggleOffColor: *grey
|
||||
help:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
indicator:
|
||||
fgColor: *blue
|
||||
115
k9s/.config/k9s/skins/default-light.yaml
Normal file
115
k9s/.config/k9s/skins/default-light.yaml
Normal file
@@ -0,0 +1,115 @@
|
||||
# Default Light — base16 default light (contrast-modified) k9s skin
|
||||
# Colors hardcoded from ghostty default-light theme. Accents are the
|
||||
# hue-preserved WCAG AA variants darkened for the #f8f8f8 background.
|
||||
# Backgrounds are explicit (not transparent) so k9s renders consistently
|
||||
# regardless of terminal theme handling.
|
||||
|
||||
foreground: &foreground "#383838"
|
||||
background: &background "#f8f8f8"
|
||||
white: &white "#f8f8f8"
|
||||
blue: &blue "#41788c"
|
||||
green: &green "#66763b"
|
||||
grey: &grey "#585858"
|
||||
orange: &orange "#a56122"
|
||||
purple: &purple "#9c5d8d"
|
||||
red: &red "#ab4642"
|
||||
yellow: &yellow "#9e620b"
|
||||
cyan: &cyan "#3e7a72"
|
||||
|
||||
k9s:
|
||||
body:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
logoColor: *green
|
||||
prompt:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
suggestColor: *orange
|
||||
info:
|
||||
fgColor: *foreground
|
||||
sectionColor: *green
|
||||
help:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
keyColor: *yellow
|
||||
numKeyColor: *blue
|
||||
sectionColor: *purple
|
||||
dialog:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
buttonFgColor: *white
|
||||
buttonBgColor: *green
|
||||
buttonFocusFgColor: *white
|
||||
buttonFocusBgColor: *blue
|
||||
labelFgColor: *orange
|
||||
fieldFgColor: *blue
|
||||
frame:
|
||||
border:
|
||||
fgColor: *grey
|
||||
focusColor: *blue
|
||||
menu:
|
||||
fgColor: *foreground
|
||||
keyColor: *yellow
|
||||
numKeyColor: *yellow
|
||||
crumbs:
|
||||
fgColor: *white
|
||||
bgColor: *green
|
||||
activeColor: *yellow
|
||||
status:
|
||||
newColor: *blue
|
||||
modifyColor: *green
|
||||
addColor: *foreground
|
||||
pendingColor: *orange
|
||||
errorColor: *red
|
||||
highlightColor: *yellow
|
||||
killColor: *purple
|
||||
completedColor: *grey
|
||||
title:
|
||||
fgColor: *blue
|
||||
bgColor: *background
|
||||
highlightColor: *purple
|
||||
counterColor: *foreground
|
||||
filterColor: *blue
|
||||
views:
|
||||
charts:
|
||||
bgColor: *background
|
||||
defaultDialColors:
|
||||
- *green
|
||||
- *red
|
||||
defaultChartColors:
|
||||
- *green
|
||||
- *red
|
||||
table:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
cursorFgColor: *white
|
||||
cursorBgColor: *blue
|
||||
markColor: *orange
|
||||
header:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
sorterColor: *orange
|
||||
selectedSortColumnColor: *foreground
|
||||
xray:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
cursorColor: *blue
|
||||
graphicColor: *orange
|
||||
showIcons: false
|
||||
yaml:
|
||||
keyColor: *blue
|
||||
colonColor: *grey
|
||||
valueColor: *foreground
|
||||
logs:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
indicator:
|
||||
fgColor: *blue
|
||||
bgColor: *background
|
||||
toggleOnColor: *green
|
||||
toggleOffColor: *grey
|
||||
help:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
indicator:
|
||||
fgColor: *blue
|
||||
Reference in New Issue
Block a user