summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components/InputAndButton.tsx
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-17 13:33:29 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-17 13:33:29 -0700
commit1a647a7321a31d7ccf29f27e56c3df0828c3e9c8 (patch)
tree3e20e038d06449d6dff677566e1bdf6ed148eb96 /extension/react-app/src/components/InputAndButton.tsx
parent062b0872797fb4734ed36ea3a14f653dc685a86a (diff)
parentd0dc7811eb71d9d53055a1aa684827502748b794 (diff)
downloadsncontinue-1a647a7321a31d7ccf29f27e56c3df0828c3e9c8.tar.gz
sncontinue-1a647a7321a31d7ccf29f27e56c3df0828c3e9c8.tar.bz2
sncontinue-1a647a7321a31d7ccf29f27e56c3df0828c3e9c8.zip
Merge branch 'main' of https://github.com/continuedev/continue into anthropic
Diffstat (limited to 'extension/react-app/src/components/InputAndButton.tsx')
-rw-r--r--extension/react-app/src/components/InputAndButton.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/extension/react-app/src/components/InputAndButton.tsx b/extension/react-app/src/components/InputAndButton.tsx
index 0a8592f2..8019d014 100644
--- a/extension/react-app/src/components/InputAndButton.tsx
+++ b/extension/react-app/src/components/InputAndButton.tsx
@@ -1,6 +1,6 @@
import React, { useRef } from "react";
import styled from "styled-components";
-import { vscBackground } from ".";
+import { vscBackground, vscForeground } from ".";
interface InputAndButtonProps {
onUserInput: (input: string) => void;
@@ -16,7 +16,7 @@ const Input = styled.input`
padding: 0.5rem;
border: 1px solid white;
background-color: ${vscBackground};
- color: white;
+ color: ${vscForeground};
border-radius: 4px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
@@ -27,7 +27,7 @@ const Button = styled.button`
padding: 0.5rem;
border: 1px solid white;
background-color: ${vscBackground};
- color: white;
+ color: ${vscForeground};
border-radius: 4px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
@@ -35,8 +35,8 @@ const Button = styled.button`
cursor: pointer;
&:hover {
- background-color: white;
- color: black;
+ background-color: ${vscForeground};
+ color: ${vscBackground};
}
`;