adjusting some design review notes (#462)
Co-authored-by: Nate Sesti <sestinj@gmail.com>
This commit is contained in:
parent
5d317dca54
commit
bc8a559563
6 changed files with 15 additions and 15 deletions
|
|
@ -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 />
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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%;
|
||||
|
|
|
|||
|
|
@ -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)";
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue