summaryrefslogtreecommitdiff
path: root/extension
diff options
context:
space:
mode:
authorTy Dunn <ty@tydunn.com>2023-09-06 23:15:25 -0700
committerGitHub <noreply@github.com>2023-09-06 23:15:25 -0700
commitbc8a559563f4aab88fa6d7d8ecd3109656be9f30 (patch)
treeaa6c63206336fbf9d74e3374d64ad3979464f5db /extension
parent5d317dca54cc471cabd0e6defb8bd580a1b97ebd (diff)
downloadsncontinue-bc8a559563f4aab88fa6d7d8ecd3109656be9f30.tar.gz
sncontinue-bc8a559563f4aab88fa6d7d8ecd3109656be9f30.tar.bz2
sncontinue-bc8a559563f4aab88fa6d7d8ecd3109656be9f30.zip
adjusting some design review notes (#462)
Co-authored-by: Nate Sesti <sestinj@gmail.com>
Diffstat (limited to 'extension')
-rw-r--r--extension/react-app/src/components/ContinueButton.tsx4
-rw-r--r--extension/react-app/src/components/ModelSelect.tsx2
-rw-r--r--extension/react-app/src/components/StepContainer.tsx14
-rw-r--r--extension/react-app/src/components/index.ts4
-rw-r--r--extension/react-app/src/pages/history.tsx4
-rw-r--r--extension/react-app/src/pages/settings.tsx2
6 files changed, 15 insertions, 15 deletions
diff --git a/extension/react-app/src/components/ContinueButton.tsx b/extension/react-app/src/components/ContinueButton.tsx
index 632acc75..10ecd94a 100644
--- a/extension/react-app/src/components/ContinueButton.tsx
+++ b/extension/react-app/src/components/ContinueButton.tsx
@@ -10,7 +10,7 @@ let StyledButton = styled(Button)<{ color?: string | null }>`
margin-top: 8px;
margin-bottom: 16px;
display: grid;
- grid-template-columns: 30px 1fr;
+ grid-template-columns: 22px 1fr;
align-items: center;
background: ${(props) => props.color || "#be1b55"};
@@ -52,7 +52,7 @@ function ContinueButton(props: { onClick?: () => void; hidden?: boolean }) {
onClick={props.onClick}
>
{vscMediaUrl ? (
- <img src={`${vscMediaUrl}/play_button.png`} width="22px" />
+ <img src={`${vscMediaUrl}/play_button.png`} width="16px" />
) : (
<PlayIcon />
)}
diff --git a/extension/react-app/src/components/ModelSelect.tsx b/extension/react-app/src/components/ModelSelect.tsx
index dc58da9e..e6c0e9c9 100644
--- a/extension/react-app/src/components/ModelSelect.tsx
+++ b/extension/react-app/src/components/ModelSelect.tsx
@@ -67,7 +67,7 @@ const MODEL_INFO: { title: string; class: string; args: any }[] = [
},
},
{
- title: "Continue Free Trial (gpt-4)",
+ title: "GPT-4 limited free trial",
class: "MaybeProxyOpenAI",
args: {
model: "gpt-4",
diff --git a/extension/react-app/src/components/StepContainer.tsx b/extension/react-app/src/components/StepContainer.tsx
index ce7d9a58..a05aefb0 100644
--- a/extension/react-app/src/components/StepContainer.tsx
+++ b/extension/react-app/src/components/StepContainer.tsx
@@ -93,13 +93,13 @@ const GradientBorder = styled.div<{
? props.borderColor
: `repeating-linear-gradient(
101.79deg,
- #12887a 0%,
- #87245c 16%,
- #e12637 33%,
- #ffb215 55%,
- #e12637 67%,
- #87245c 85%,
- #12887a 99%
+ #1BBE84 0%,
+ #331BBE 16%,
+ #BE1B55 33%,
+ #A6BE1B 55%,
+ #BE1B55 67%,
+ #331BBE 85%,
+ #1BBE84 99%
)`};
animation: ${(props) => (props.loading ? gradient : "")} 6s linear infinite;
background-size: 200% 200%;
diff --git a/extension/react-app/src/components/index.ts b/extension/react-app/src/components/index.ts
index f2e154bc..25e35dd1 100644
--- a/extension/react-app/src/components/index.ts
+++ b/extension/react-app/src/components/index.ts
@@ -6,8 +6,8 @@ export const lightGray = "#646464";
// export const secondaryDark = "rgb(45 45 45)";
// export const vscBackground = "rgb(30 30 30)";
export const vscBackgroundTransparent = "#1e1e1ede";
-export const buttonColor = "rgb(113 28 59)";
-export const buttonColorHover = "rgb(113 28 59 0.67)";
+export const buttonColor = "rgb(27 190 132)";
+export const buttonColorHover = "rgb(27 190 132 0.67)";
export const secondaryDark = "var(--vscode-list-hoverBackground)";
export const vscBackground = "var(--vscode-editor-background)";
diff --git a/extension/react-app/src/pages/history.tsx b/extension/react-app/src/pages/history.tsx
index 85d5e6d7..8582a40f 100644
--- a/extension/react-app/src/pages/history.tsx
+++ b/extension/react-app/src/pages/history.tsx
@@ -78,7 +78,7 @@ function History() {
onClick={() => navigate("/")}
className="inline-block ml-4 cursor-pointer"
/>
- <h1 className="text-2xl font-bold m-4 inline-block">History</h1>
+ <h1 className="text-xl font-bold m-4 inline-block">History</h1>
</div>
{workspacePaths && workspacePaths.length > 0 && (
<CheckDiv
@@ -116,7 +116,7 @@ function History() {
navigate("/");
}}
>
- <div className="text-lg">{session.title}</div>
+ <div className="text-md">{session.title}</div>
<div className="text-gray-400">
{parseDate(session.date_created).toLocaleString("en-US", {
weekday: "short",
diff --git a/extension/react-app/src/pages/settings.tsx b/extension/react-app/src/pages/settings.tsx
index 8bb9b5d2..9a3d3cc2 100644
--- a/extension/react-app/src/pages/settings.tsx
+++ b/extension/react-app/src/pages/settings.tsx
@@ -135,7 +135,7 @@ function Settings() {
/>
</h3>
<TextArea
- placeholder="Enter system message"
+ placeholder="Enter a system message (e.g. 'Always respond in German')"
{...formMethods.register("system_message")}
defaultValue={config.system_message}
/>