Compare commits

...
Author SHA1 Message Date
Trevor Hudson 98b05fc0ec format 2025-03-09 20:11:53 -07:00
Trevor Hudson 3ab0754a8e address light theme as well 2025-03-09 20:08:33 -07:00
Trevor Hudson 654869f2fd add changeset 2025-03-09 19:55:40 -07:00
Trevor Hudson 6f8e6af294 fix the missing theme variables issue 2025-03-09 19:53:35 -07:00
4 changed files with 16 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"claude-dev": patch
---
Loads the theme variables into the webview so they are available in css
@@ -12,7 +12,9 @@
"statusBarItem.remoteBackground": "#00000000",
"ports.iconRunningProcessForeground": "#FFFFFF",
"editorWhitespace.foreground": "#7c7c7c",
"actionBar.toggledBackground": "#383a49"
"actionBar.toggledBackground": "#383a49",
"textCodeBlock.background": "#21ACFF",
"textPreformat.foreground": "#000000"
},
"tokenColors": [
{
@@ -554,6 +554,8 @@
}
],
"colors": {
"actionBar.toggledBackground": "#dddddd"
"actionBar.toggledBackground": "#dddddd",
"textCodeBlock.background": "#0F4A85",
"textPreformat.foreground": "#FFFFFF"
}
}
+5
View File
@@ -71,6 +71,11 @@ export async function getTheme() {
parsed = mergeJson(parsed, includeTheme)
}
// Push the merged, parsed colors to the global configuration so the variables are available in the webview
vscode.workspace
.getConfiguration()
.update("workbench.colorCustomizations", parsed.colors, vscode.ConfigurationTarget.Global)
const converted = convertTheme(parsed)
converted.base = (