diff --git a/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/GetTheme.kt b/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/GetTheme.kt
index 97a55c4a6..787bc80ae 100644
--- a/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/GetTheme.kt
+++ b/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/GetTheme.kt
@@ -75,18 +75,25 @@ class GetTheme {
return mapOf(
"--vscode-editor-foreground" to defaultForegroundHex,
- "--vscode-sideBar-background" to defaultBackgroundHex,
- "--vscode-input-background" to secondaryDarkHex,
"--vscode-editor-background" to defaultBackgroundHex,
+
"--vscode-button-background" to defaultBackgroundHex,
+ "--vscode-button-foreground" to defaultForegroundHex,
+
"--vscode-list-activeSelectionBackground" to defaultBackgroundHex,
- "--vscode-focusBorder" to highlightHex,
+
"--vscode-quickInputList-focusForeground" to defaultForegroundHex,
"--vscode-quickInput-background" to secondaryDarkHex,
- "--vscode-input-border" to "#80808080",
+
"--vscode-badge-background" to highlightHex,
"--vscode-badge-foreground" to defaultForegroundHex,
+
+ "--vscode-input-background" to secondaryDarkHex,
+ "--vscode-input-border" to "#80808080",
+ "--vscode-sideBar-background" to defaultBackgroundHex,
"--vscode-sideBar-border" to "#80808080",
+ "--vscode-focusBorder" to highlightHex,
+
"--vscode-commandCenter-activeBorder" to highlightHex,
"--vscode-commandCenter-inactiveBorder" to "#80808080"
)
diff --git a/gui/src/components/CodeToEditCard/AddFileCombobox.tsx b/gui/src/components/CodeToEditCard/AddFileCombobox.tsx
index abd7da72f..07ab68a2c 100644
--- a/gui/src/components/CodeToEditCard/AddFileCombobox.tsx
+++ b/gui/src/components/CodeToEditCard/AddFileCombobox.tsx
@@ -84,7 +84,7 @@ export default function AddFileCombobox({
className={({ active }) =>
`relative flex w-full cursor-pointer px-2 py-1 text-left text-xs ${
active
- ? "bg-vsc-list-active-background text-vsc-list-active-foreground"
+ ? "bg-list-active text-list-active-foreground"
: ""
}`
}
@@ -112,7 +112,7 @@ export default function AddFileCombobox({
))
) : (
-
+
No results
)}
diff --git a/gui/src/components/find/FindWidget.tsx b/gui/src/components/find/FindWidget.tsx
index 9bf965d0f..7f6874aeb 100644
--- a/gui/src/components/find/FindWidget.tsx
+++ b/gui/src/components/find/FindWidget.tsx
@@ -43,7 +43,7 @@ const HighlightOverlay = (props: HighlightOverlayProps) => {
const { isCurrent, top, left, width, height } = props;
return (
void;
- max?: number;
- min?: number;
-};
-
export const SecondaryButton = styled.button`
padding: 6px 12px;
margin: 8px 0;
diff --git a/gui/src/index.css b/gui/src/index.css
index d51fbf004..b151f3743 100644
--- a/gui/src/index.css
+++ b/gui/src/index.css
@@ -3,14 +3,7 @@
@tailwind utilities;
:root {
- --secondary-dark: rgb(37, 37, 38);
- --vsc-background: rgb(30, 30, 30);
- --button-color: rgb(113, 28, 59);
- --button-color-hover: rgba(113, 28, 59, 0.667);
- --def-border-radius: 5px;
- --vscode-editor-background: rgb(30, 30, 30);
- --vscode-editor-foreground: rgb(197, 200, 198);
- --vscode-textBlockQuote-background: rgba(255, 255, 255, 1);
+ --example-var: rgb(30, 30, 30);
}
html,
diff --git a/gui/tailwind.config.cjs b/gui/tailwind.config.cjs
index c837eea75..b1959bd27 100644
--- a/gui/tailwind.config.cjs
+++ b/gui/tailwind.config.cjs
@@ -26,36 +26,22 @@ module.exports = {
},
colors: {
lightgray: "#999998",
- "vsc-background": "rgb(var(--vsc-background) /
)",
- "secondary-dark": "rgb(var(--secondary-dark) / )",
+ "vsc-background": "var(--vsc-background)", // "rgb(var(--vsc-background) / )",
"vsc-input-background": "var(--vscode-input-background, rgb(45 45 45))",
- "vsc-quick-input-background":
- "var(--vscode-quickInput-background, var(--vscode-input-background, rgb(45 45 45)))",
"vsc-background": "var(--vscode-sideBar-background, rgb(30 30 30))",
"vsc-foreground": "var(--vscode-editor-foreground, #fff)",
- "vsc-button-background": "var(--vscode-button-background, #1bbe84)",
- "vsc-button-foreground": "var(--vscode-button-foreground, #ffffff)",
"vsc-editor-background":
"var(--vscode-editor-background, var(--vscode-sideBar-background, rgb(30 30 30)))",
- "vsc-list-active-background":
- "var(--vscode-list-activeSelectionBackground, #1bbe84)",
- "vsc-focus-border": "var(--vscode-focus-border, #1bbe84)",
- "vsc-list-active-foreground":
- "var(--vscode-quickInputList-focusForeground, var(--vscode-editor-foreground))",
"vsc-input-border": "var(--vscode-input-border, #999998)",
- "vsc-input-border-focus": "var(--vscode-focusBorder, #999998)",
- "vsc-badge-background": "var(--vscode-badge-background, #1bbe84)",
- "vsc-badge-foreground": "var(--vscode-badge-foreground, #fff)",
- "vsc-sidebar-border": "var(--vscode-sideBar-border, transparent)",
- "vsc-find-match":
- "var(--vscode-editor-findMatchBackground, rgba(255, 255, 0, 0.6))",
- "vsc-find-match-selected":
- "var(--vscode-editor-findMatchHighlightBackground, rgba(255, 223, 0, 0.8))",
"vsc-foreground-muted": "var(--vscode-foreground-muted, #999)",
- "vsc-description-foreground":
- "var(--vscode-descriptionForeground, #999)",
- "vsc-input-placeholder-foreground":
- "var(--vscode-input-placeholderForeground, #999)",
+
+ // I've moved a few over to the non-vsc-specific approach
+ // TODO move the rest
+ "find-match-selected":
+ "var(--vscode-editor-findMatchHighlightBackground, rgba(255, 223, 0))",
+ "list-active": "var(--vscode-list-activeSelectionBackground, #1bbe84)",
+ "list-active-foreground":
+ "var(--vscode-quickInputList-focusForeground, var(--vscode-editor-foreground))",
},
},
},