diff options
author | Ty Dunn <ty@tydunn.com> | 2023-07-17 15:31:18 -0500 |
---|---|---|
committer | Ty Dunn <ty@tydunn.com> | 2023-07-17 15:31:18 -0500 |
commit | 6e95cb64cd5b2e2d55200bf979106f18d395bb97 (patch) | |
tree | 7889f93ec6c13a3148c946bdd8005d7896cb708d /extension/react-app/src/components/InputAndButton.tsx | |
parent | d1819268fb3f6fadbb763ef98cf306ed33add8fb (diff) | |
parent | 96a48d3484b927db4625ece53e393b60d685783e (diff) | |
download | sncontinue-6e95cb64cd5b2e2d55200bf979106f18d395bb97.tar.gz sncontinue-6e95cb64cd5b2e2d55200bf979106f18d395bb97.tar.bz2 sncontinue-6e95cb64cd5b2e2d55200bf979106f18d395bb97.zip |
Merge branch 'main' of github.com:continuedev/continue
Diffstat (limited to 'extension/react-app/src/components/InputAndButton.tsx')
-rw-r--r-- | extension/react-app/src/components/InputAndButton.tsx | 10 |
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}; } `; |