From 97b19d3e14947223fccc74787f235aec1c21b300 Mon Sep 17 00:00:00 2001 From: Matt Anderson Date: Tue, 23 Jun 2026 11:00:46 -0500 Subject: [PATCH] base16 light mode has computed higher contrast colors, with some opencode theme adjustments to use same colors but line up with neovim syntax groups --- .gitignore | 1 + ghostty/.config/ghostty/themes/default-light | 27 ++++--- .../kubernetes-admin@kubernetes/config.yaml | 15 ++-- opencode/.config/opencode/opencode.json | 3 +- .../opencode/themes/base16-default-dark.json | 73 ----------------- .../opencode/themes/base16-default-light.json | 73 ----------------- .../opencode/themes/base16-default.json | 80 +++++++++++++++++++ 7 files changed, 108 insertions(+), 164 deletions(-) create mode 100644 .gitignore delete mode 100644 opencode/.config/opencode/themes/base16-default-dark.json delete mode 100644 opencode/.config/opencode/themes/base16-default-light.json create mode 100644 opencode/.config/opencode/themes/base16-default.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2f9fa78 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +k9s/.config/k9s/clusters/** diff --git a/ghostty/.config/ghostty/themes/default-light b/ghostty/.config/ghostty/themes/default-light index 9ef4a75..ab7c315 100644 --- a/ghostty/.config/ghostty/themes/default-light +++ b/ghostty/.config/ghostty/themes/default-light @@ -1,5 +1,10 @@ # Scheme: Default Light # 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 foreground = 383838 @@ -8,21 +13,21 @@ selection-foreground = f8f8f8 palette = 0=#f8f8f8 palette = 1=#ab4642 -palette = 2=#a1b56c -palette = 3=#f7ca88 -palette = 4=#7cafc2 -palette = 5=#ba8baf -palette = 6=#86c1b9 +palette = 2=#66763b +palette = 3=#9e620b +palette = 4=#41788c +palette = 5=#9c5d8d +palette = 6=#3e7a72 palette = 7=#383838 palette = 8=#b8b8b8 palette = 9=#ab4642 -palette = 10=#a1b56c -palette = 11=#f7ca88 -palette = 12=#7cafc2 -palette = 13=#ba8baf -palette = 14=#86c1b9 +palette = 10=#66763b +palette = 11=#9e620b +palette = 12=#41788c +palette = 13=#9c5d8d +palette = 14=#3e7a72 palette = 15=#181818 -palette = 16=#dc9656 +palette = 16=#a56122 palette = 17=#a16946 palette = 18=#e8e8e8 palette = 19=#d8d8d8 diff --git a/k9s/.config/k9s/clusters/kubernetes/kubernetes-admin@kubernetes/config.yaml b/k9s/.config/k9s/clusters/kubernetes/kubernetes-admin@kubernetes/config.yaml index a4e0873..71c0922 100644 --- a/k9s/.config/k9s/clusters/kubernetes/kubernetes-admin@kubernetes/config.yaml +++ b/k9s/.config/k9s/clusters/kubernetes/kubernetes-admin@kubernetes/config.yaml @@ -1,15 +1,18 @@ k9s: cluster: kubernetes namespace: - active: cp1-ns + active: default lockFavorites: false favorites: - - all - - cp1-ns - - default + - matt-dp + - kube-public + - cert-manager + - cp-automation-dp + - all + - cp1-ns + - default view: - active: namespace + active: v1/namespaces featureGates: nodeShell: false - portForwardAddress: localhost proxy: null diff --git a/opencode/.config/opencode/opencode.json b/opencode/.config/opencode/opencode.json index 720ece5..ff11ac4 100644 --- a/opencode/.config/opencode/opencode.json +++ b/opencode/.config/opencode/opencode.json @@ -1,3 +1,4 @@ { - "$schema": "https://opencode.ai/config.json" + "$schema": "https://opencode.ai/config.json", + "theme": "base16-default" } diff --git a/opencode/.config/opencode/themes/base16-default-dark.json b/opencode/.config/opencode/themes/base16-default-dark.json deleted file mode 100644 index 30f7e08..0000000 --- a/opencode/.config/opencode/themes/base16-default-dark.json +++ /dev/null @@ -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" } - } -} diff --git a/opencode/.config/opencode/themes/base16-default-light.json b/opencode/.config/opencode/themes/base16-default-light.json deleted file mode 100644 index cf9cd95..0000000 --- a/opencode/.config/opencode/themes/base16-default-light.json +++ /dev/null @@ -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" } - } -} diff --git a/opencode/.config/opencode/themes/base16-default.json b/opencode/.config/opencode/themes/base16-default.json new file mode 100644 index 0000000..917d57b --- /dev/null +++ b/opencode/.config/opencode/themes/base16-default.json @@ -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" } + } +}