base16 light mode has computed higher contrast colors, with some opencode theme adjustments to use same colors but line up with neovim syntax groups

This commit is contained in:
Matt Anderson
2026-06-23 11:00:46 -05:00
parent f9d2fbe5ec
commit 97b19d3e14
7 changed files with 108 additions and 164 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
k9s/.config/k9s/clusters/**

View File

@@ -1,5 +1,10 @@
# Scheme: Default Light # Scheme: Default Light
# Generated by Ghostty Base16 Converter # Generated by Ghostty Base16 Converter
# NOTE: accent slots darkened from stock base16 to clear WCAG AA on the light
# background (#f8f8f8). base16 holds accents constant across modes, which leaves
# them washed out on white; these are hue-preserved AA (>=4.5) variants.
# Dark theme (default-dark) keeps the canonical base16 values. red/brown already
# passed and are unchanged. nvim inherits these via ctermfg (notermguicolors).
background = f8f8f8 background = f8f8f8
foreground = 383838 foreground = 383838
@@ -8,21 +13,21 @@ selection-foreground = f8f8f8
palette = 0=#f8f8f8 palette = 0=#f8f8f8
palette = 1=#ab4642 palette = 1=#ab4642
palette = 2=#a1b56c palette = 2=#66763b
palette = 3=#f7ca88 palette = 3=#9e620b
palette = 4=#7cafc2 palette = 4=#41788c
palette = 5=#ba8baf palette = 5=#9c5d8d
palette = 6=#86c1b9 palette = 6=#3e7a72
palette = 7=#383838 palette = 7=#383838
palette = 8=#b8b8b8 palette = 8=#b8b8b8
palette = 9=#ab4642 palette = 9=#ab4642
palette = 10=#a1b56c palette = 10=#66763b
palette = 11=#f7ca88 palette = 11=#9e620b
palette = 12=#7cafc2 palette = 12=#41788c
palette = 13=#ba8baf palette = 13=#9c5d8d
palette = 14=#86c1b9 palette = 14=#3e7a72
palette = 15=#181818 palette = 15=#181818
palette = 16=#dc9656 palette = 16=#a56122
palette = 17=#a16946 palette = 17=#a16946
palette = 18=#e8e8e8 palette = 18=#e8e8e8
palette = 19=#d8d8d8 palette = 19=#d8d8d8

View File

@@ -1,15 +1,18 @@
k9s: k9s:
cluster: kubernetes cluster: kubernetes
namespace: namespace:
active: cp1-ns active: default
lockFavorites: false lockFavorites: false
favorites: favorites:
- all - matt-dp
- cp1-ns - kube-public
- default - cert-manager
- cp-automation-dp
- all
- cp1-ns
- default
view: view:
active: namespace active: v1/namespaces
featureGates: featureGates:
nodeShell: false nodeShell: false
portForwardAddress: localhost
proxy: null proxy: null

View File

@@ -1,3 +1,4 @@
{ {
"$schema": "https://opencode.ai/config.json" "$schema": "https://opencode.ai/config.json",
"theme": "base16-default"
} }

View File

@@ -1,73 +0,0 @@
{
"$schema": "https://opencode.ai/theme.json",
"defs": {
"base00": "#181818",
"base01": "#282828",
"base02": "#383838",
"base03": "#585858",
"base04": "#b8b8b8",
"base05": "#d8d8d8",
"base06": "#e8e8e8",
"base07": "#f8f8f8",
"base08": "#ab4642",
"base09": "#dc9656",
"base0A": "#f7ca88",
"base0B": "#a1b56c",
"base0C": "#86c1b9",
"base0D": "#7cafc2",
"base0E": "#ba8baf",
"base0F": "#a16946"
},
"theme": {
"primary": { "dark": "base0D", "light": "base0C" },
"secondary": { "dark": "base0E", "light": "base0A" },
"accent": { "dark": "base0F", "light": "base09" },
"error": { "dark": "base08", "light": "base08" },
"warning": { "dark": "base0A", "light": "base0E" },
"success": { "dark": "base0B", "light": "base0B" },
"info": { "dark": "base0C", "light": "base0D" },
"text": { "dark": "base05", "light": "base06" },
"textMuted": { "dark": "base03", "light": "base04" },
"background": { "dark": "base00", "light": "base07" },
"backgroundPanel": { "dark": "base01", "light": "base06" },
"backgroundElement": { "dark": "base02", "light": "base05" },
"border": { "dark": "base03", "light": "base02" },
"borderActive": { "dark": "base04", "light": "base01" },
"borderSubtle": { "dark": "base05", "light": "base03" },
"diffAdded": { "dark": "base0B", "light": "base0B" },
"diffRemoved": { "dark": "base08", "light": "base08" },
"diffContext": { "dark": "base03", "light": "base02" },
"diffHunkHeader": { "dark": "base09", "light": "base09" },
"diffHighlightAdded": { "dark": "base0B", "light": "base0B" },
"diffHighlightRemoved": { "dark": "base08", "light": "base08" },
"diffAddedBg": { "dark": "base01", "light": "base06" },
"diffRemovedBg": { "dark": "base01", "light": "base06" },
"diffContextBg": { "dark": "base01", "light": "base01" },
"diffLineNumber": { "dark": "base03", "light": "base02" },
"diffAddedLineNumberBg": { "dark": "base01", "light": "base06" },
"diffRemovedLineNumberBg": { "dark": "base01", "light": "base06" },
"markdownText": { "dark": "base05", "light": "base05" },
"markdownHeading": { "dark": "base0E", "light": "base0E" },
"markdownLink": { "dark": "base0D", "light": "base0D" },
"markdownLinkText": { "dark": "base0A", "light": "base0A" },
"markdownCode": { "dark": "base0B", "light": "base0B" },
"markdownBlockQuote": { "dark": "base0A", "light": "base0A" },
"markdownEmph": { "dark": "base0A", "light": "base0A" },
"markdownStrong": { "dark": "base09", "light": "base09" },
"markdownHorizontalRule": { "dark": "base04", "light": "base04" },
"markdownListItem": { "dark": "base0D", "light": "base0D" },
"markdownListEnumeration": { "dark": "base0A", "light": "base0A" },
"markdownImage": { "dark": "base0D", "light": "base0D" },
"markdownImageText": { "dark": "base0A", "light": "base0A" },
"markdownCodeBlock": { "dark": "base05", "light": "base05" },
"syntaxComment": { "dark": "base03", "light": "base02" },
"syntaxKeyword": { "dark": "base0E", "light": "base0E" },
"syntaxFunction": { "dark": "base0D", "light": "base0D" },
"syntaxVariable": { "dark": "base08", "light": "base08" },
"syntaxString": { "dark": "base0B", "light": "base0B" },
"syntaxNumber": { "dark": "base09", "light": "base09" },
"syntaxType": { "dark": "base0A", "light": "base0A" },
"syntaxOperator": { "dark": "base0A", "light": "base0A" },
"syntaxPunctuation": { "dark": "base05", "light": "base05" }
}
}

View File

@@ -1,73 +0,0 @@
{
"$schema": "https://opencode.ai/theme.json",
"defs": {
"base00": "#f8f8f8",
"base01": "#e8e8e8",
"base02": "#d8d8d8",
"base03": "#b8b8b8",
"base04": "#585858",
"base05": "#383838",
"base06": "#282828",
"base07": "#181818",
"base08": "#ab4642",
"base09": "#dc9656",
"base0A": "#f7ca88",
"base0B": "#a1b56c",
"base0C": "#86c1b9",
"base0D": "#7cafc2",
"base0E": "#ba8baf",
"base0F": "#a16946"
},
"theme": {
"primary": { "dark": "base0D", "light": "base0C" },
"secondary": { "dark": "base0E", "light": "base0A" },
"accent": { "dark": "base0F", "light": "base09" },
"error": { "dark": "base08", "light": "base08" },
"warning": { "dark": "base0A", "light": "base0E" },
"success": { "dark": "base0B", "light": "base0B" },
"info": { "dark": "base0C", "light": "base0D" },
"text": { "dark": "base05", "light": "base06" },
"textMuted": { "dark": "base03", "light": "base04" },
"background": { "dark": "base00", "light": "base07" },
"backgroundPanel": { "dark": "base01", "light": "base06" },
"backgroundElement": { "dark": "base02", "light": "base05" },
"border": { "dark": "base03", "light": "base02" },
"borderActive": { "dark": "base04", "light": "base01" },
"borderSubtle": { "dark": "base05", "light": "base03" },
"diffAdded": { "dark": "base0B", "light": "base0B" },
"diffRemoved": { "dark": "base08", "light": "base08" },
"diffContext": { "dark": "base03", "light": "base02" },
"diffHunkHeader": { "dark": "base09", "light": "base09" },
"diffHighlightAdded": { "dark": "base0B", "light": "base0B" },
"diffHighlightRemoved": { "dark": "base08", "light": "base08" },
"diffAddedBg": { "dark": "base01", "light": "base06" },
"diffRemovedBg": { "dark": "base01", "light": "base06" },
"diffContextBg": { "dark": "base01", "light": "base01" },
"diffLineNumber": { "dark": "base03", "light": "base02" },
"diffAddedLineNumberBg": { "dark": "base01", "light": "base06" },
"diffRemovedLineNumberBg": { "dark": "base01", "light": "base06" },
"markdownText": { "dark": "base05", "light": "base05" },
"markdownHeading": { "dark": "base0E", "light": "base0E" },
"markdownLink": { "dark": "base0D", "light": "base0D" },
"markdownLinkText": { "dark": "base0A", "light": "base0A" },
"markdownCode": { "dark": "base0B", "light": "base0B" },
"markdownBlockQuote": { "dark": "base0A", "light": "base0A" },
"markdownEmph": { "dark": "base0A", "light": "base0A" },
"markdownStrong": { "dark": "base09", "light": "base09" },
"markdownHorizontalRule": { "dark": "base04", "light": "base04" },
"markdownListItem": { "dark": "base0D", "light": "base0D" },
"markdownListEnumeration": { "dark": "base0A", "light": "base0A" },
"markdownImage": { "dark": "base0D", "light": "base0D" },
"markdownImageText": { "dark": "base0A", "light": "base0A" },
"markdownCodeBlock": { "dark": "base05", "light": "base05" },
"syntaxComment": { "dark": "base03", "light": "base02" },
"syntaxKeyword": { "dark": "base0E", "light": "base0E" },
"syntaxFunction": { "dark": "base0D", "light": "base0D" },
"syntaxVariable": { "dark": "base08", "light": "base08" },
"syntaxString": { "dark": "base0B", "light": "base0B" },
"syntaxNumber": { "dark": "base09", "light": "base09" },
"syntaxType": { "dark": "base0A", "light": "base0A" },
"syntaxOperator": { "dark": "base0A", "light": "base0A" },
"syntaxPunctuation": { "dark": "base05", "light": "base05" }
}
}

View File

@@ -0,0 +1,80 @@
{
"$schema": "https://opencode.ai/theme.json",
"defs": {
"base00": "#181818",
"base01": "#282828",
"base02": "#383838",
"base03": "#585858",
"base04": "#b8b8b8",
"base05": "#d8d8d8",
"base06": "#e8e8e8",
"base07": "#f8f8f8",
"base08": "#86c1b9",
"base09": "#dc9656",
"base0A": "#f7ca88",
"base0B": "#a1b56c",
"base0C": "#ab4642",
"base0D": "#7cafc2",
"base0E": "#ba8baf",
"base0F": "#a16946",
"base09_l": "#a56122",
"base0A_l": "#9e620b",
"base0B_l": "#66763b",
"base08_l": "#3e7a72",
"base0D_l": "#41788c",
"base0E_l": "#9c5d8d"
},
"theme": {
"primary": { "dark": "base0D", "light": "base0D_l" },
"secondary": { "dark": "base0E", "light": "base0E_l" },
"accent": { "dark": "base0F", "light": "base0F" },
"error": { "dark": "base08", "light": "base08_l" },
"warning": { "dark": "base0A", "light": "base0A_l" },
"success": { "dark": "base0B", "light": "base0B_l" },
"info": { "dark": "base0C", "light": "base0C" },
"text": { "dark": "base05", "light": "base02" },
"textMuted": { "dark": "base03", "light": "base04" },
"background": { "dark": "base00", "light": "base07" },
"backgroundPanel": { "dark": "base01", "light": "base06" },
"backgroundElement": { "dark": "base02", "light": "base05" },
"border": { "dark": "base03", "light": "base04" },
"borderActive": { "dark": "base04", "light": "base03" },
"borderSubtle": { "dark": "base05", "light": "base02" },
"diffAdded": { "dark": "base0B", "light": "base0B_l" },
"diffRemoved": { "dark": "base08", "light": "base08_l" },
"diffContext": { "dark": "base03", "light": "base04" },
"diffHunkHeader": { "dark": "base09", "light": "base09_l" },
"diffHighlightAdded": { "dark": "base0B", "light": "base0B_l" },
"diffHighlightRemoved": { "dark": "base08", "light": "base08_l" },
"diffAddedBg": { "dark": "base01", "light": "base06" },
"diffRemovedBg": { "dark": "base01", "light": "base06" },
"diffContextBg": { "dark": "base01", "light": "base06" },
"diffLineNumber": { "dark": "base03", "light": "base04" },
"diffAddedLineNumberBg": { "dark": "base01", "light": "base06" },
"diffRemovedLineNumberBg": { "dark": "base01", "light": "base06" },
"markdownText": { "dark": "base05", "light": "base02" },
"markdownHeading": { "dark": "base0E", "light": "base0E_l" },
"markdownLink": { "dark": "base0D", "light": "base0D_l" },
"markdownLinkText": { "dark": "base0A", "light": "base0A_l" },
"markdownCode": { "dark": "base0B", "light": "base0B_l" },
"markdownBlockQuote": { "dark": "base0A", "light": "base0A_l" },
"markdownEmph": { "dark": "base0A", "light": "base0A_l" },
"markdownStrong": { "dark": "base09", "light": "base09_l" },
"markdownHorizontalRule": { "dark": "base04", "light": "base03" },
"markdownListItem": { "dark": "base0D", "light": "base0D_l" },
"markdownListEnumeration": { "dark": "base0A", "light": "base0A_l" },
"markdownImage": { "dark": "base0D", "light": "base0D_l" },
"markdownImageText": { "dark": "base0A", "light": "base0A_l" },
"markdownCodeBlock": { "dark": "base05", "light": "base02" },
"syntaxComment": { "dark": "base03", "light": "base04" },
"syntaxKeyword": { "dark": "base0E", "light": "base0E_l" },
"syntaxFunction": { "dark": "base0D", "light": "base0D_l" },
"syntaxVariable": { "dark": "base05", "light": "base02" },
"syntaxString": { "dark": "base0B", "light": "base0B_l" },
"syntaxNumber": { "dark": "base09", "light": "base09_l" },
"syntaxType": { "dark": "base0C", "light": "base0C" },
"syntaxOperator": { "dark": "base0A", "light": "base0A_l" },
"syntaxPunctuation": { "dark": "base05", "light": "base02" }
}
}