summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components/TextDialog.tsx
diff options
context:
space:
mode:
authorTy Dunn <ty@tydunn.com>2023-07-17 15:31:18 -0500
committerTy Dunn <ty@tydunn.com>2023-07-17 15:31:18 -0500
commit6e95cb64cd5b2e2d55200bf979106f18d395bb97 (patch)
tree7889f93ec6c13a3148c946bdd8005d7896cb708d /extension/react-app/src/components/TextDialog.tsx
parentd1819268fb3f6fadbb763ef98cf306ed33add8fb (diff)
parent96a48d3484b927db4625ece53e393b60d685783e (diff)
downloadsncontinue-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/TextDialog.tsx')
-rw-r--r--extension/react-app/src/components/TextDialog.tsx14
1 files changed, 8 insertions, 6 deletions
diff --git a/extension/react-app/src/components/TextDialog.tsx b/extension/react-app/src/components/TextDialog.tsx
index 646d6846..cba3852d 100644
--- a/extension/react-app/src/components/TextDialog.tsx
+++ b/extension/react-app/src/components/TextDialog.tsx
@@ -1,7 +1,7 @@
// Write a component that displays a dialog box with a text field and a button.
import React, { useEffect, useState } from "react";
import styled from "styled-components";
-import { Button, buttonColor, secondaryDark, vscBackground } from ".";
+import { Button, secondaryDark, vscBackground, vscForeground } from ".";
import { isMetaEquivalentKeyPressed } from "../util";
const ScreenCover = styled.div`
@@ -21,13 +21,13 @@ const DialogContainer = styled.div`
`;
const Dialog = styled.div`
- background-color: white;
+ color: ${vscForeground};
+ background-color: ${vscBackground};
border-radius: 8px;
padding: 8px;
display: flex;
flex-direction: column;
- /* box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.5); */
- border: 2px solid ${buttonColor};
+ box-shadow: 0 0 10px 0 ${vscForeground};
width: fit-content;
margin: auto;
`;
@@ -38,14 +38,16 @@ const TextArea = styled.textarea`
padding: 8px;
outline: 1px solid black;
resize: none;
+ background-color: ${secondaryDark};
+ color: ${vscForeground};
&:focus {
- outline: 1px solid ${buttonColor};
+ outline: 1px solid ${vscForeground};
}
`;
const P = styled.p`
- color: black;
+ color: ${vscForeground};
margin: 8px auto;
`;