summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-19 18:45:46 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-19 18:45:46 -0700
commitb511cb76792add9b4297c2c2765ffa7ac77e359d (patch)
treee950e73f24cb1463fbd8ec6b5262b16cde7f0769
parent5237ae04282441f952ebb7e090b935e8bf43dedf (diff)
downloadsncontinue-b511cb76792add9b4297c2c2765ffa7ac77e359d.tar.gz
sncontinue-b511cb76792add9b4297c2c2765ffa7ac77e359d.tar.bz2
sncontinue-b511cb76792add9b4297c2c2765ffa7ac77e359d.zip
transparent bg fix
-rw-r--r--extension/package-lock.json4
-rw-r--r--extension/package.json2
-rw-r--r--extension/react-app/src/components/ComboBox.tsx3
-rw-r--r--extension/react-app/src/components/PillButton.tsx2
-rw-r--r--extension/src/commands.ts3
5 files changed, 9 insertions, 5 deletions
diff --git a/extension/package-lock.json b/extension/package-lock.json
index bc2824c4..3f9ff3aa 100644
--- a/extension/package-lock.json
+++ b/extension/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "continue",
- "version": "0.0.182",
+ "version": "0.0.184",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "continue",
- "version": "0.0.182",
+ "version": "0.0.184",
"license": "Apache-2.0",
"dependencies": {
"@electron/rebuild": "^3.2.10",
diff --git a/extension/package.json b/extension/package.json
index 2998b148..72afa46f 100644
--- a/extension/package.json
+++ b/extension/package.json
@@ -14,7 +14,7 @@
"displayName": "Continue",
"pricing": "Free",
"description": "The open-source coding autopilot",
- "version": "0.0.182",
+ "version": "0.0.184",
"publisher": "Continue",
"engines": {
"vscode": "^1.67.0"
diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx
index f327e3a3..1e2ca135 100644
--- a/extension/react-app/src/components/ComboBox.tsx
+++ b/extension/react-app/src/components/ComboBox.tsx
@@ -71,7 +71,6 @@ const Ul = styled.ul<{
: `transform: translateY(${2 * mainInputFontSize}px);`}
position: absolute;
background: ${vscBackground};
- background-color: ${secondaryDark};
color: ${vscForeground};
max-height: ${UlMaxHeight}px;
width: calc(100% - 16px);
@@ -96,7 +95,7 @@ const Li = styled.li<{
selected: boolean;
isLastItem: boolean;
}>`
- background-color: ${secondaryDark};
+ background-color: ${vscBackground};
${({ highlighted }) => highlighted && "background: #ff000066;"}
${({ selected }) => selected && "font-weight: bold;"}
padding: 0.5rem 0.75rem;
diff --git a/extension/react-app/src/components/PillButton.tsx b/extension/react-app/src/components/PillButton.tsx
index c24dba83..5929d06a 100644
--- a/extension/react-app/src/components/PillButton.tsx
+++ b/extension/react-app/src/components/PillButton.tsx
@@ -4,6 +4,7 @@ import {
StyledTooltip,
defaultBorderRadius,
secondaryDark,
+ vscBackground,
vscForeground,
} from ".";
import {
@@ -113,6 +114,7 @@ const PillButton = (props: PillButtonProps) => {
<GridDiv
style={{
gridTemplateColumns: props.onlyShowDelete ? "1fr" : "1fr 1fr",
+ backgroundColor: vscBackground,
}}
>
{props.onlyShowDelete || (
diff --git a/extension/src/commands.ts b/extension/src/commands.ts
index 2b7f4c0c..1da2f04e 100644
--- a/extension/src/commands.ts
+++ b/extension/src/commands.ts
@@ -40,6 +40,9 @@ const commandsMap: { [command: string]: (...args: any) => any } = {
edit ? "/edit " : ""
}${code}\n\nHow do I fix this problem in the above code?: ${message}`
);
+ if (!edit) {
+ vscode.commands.executeCommand("continue.continueGUIView.focus");
+ }
},
"continue.focusContinueInput": async () => {
if (focusedOnContinueInput) {