diff --git a/gui/src/components/modelSelection/ModeSelect.tsx b/gui/src/components/modelSelection/ModeSelect.tsx index 8757f6694..340db7604 100644 --- a/gui/src/components/modelSelection/ModeSelect.tsx +++ b/gui/src/components/modelSelection/ModeSelect.tsx @@ -11,7 +11,12 @@ import { MessageModes } from "core"; import { modelSupportsTools } from "core/llm/autodetect"; import { useEffect } from "react"; import styled from "styled-components"; -import { defaultBorderRadius, lightGray, vscInputBackground } from ".."; +import { + defaultBorderRadius, + lightGray, + vscCommandCenterInactiveBorder, + vscInputBackground, +} from ".."; import { useAppDispatch, useAppSelector } from "../../redux/hooks"; import { selectDefaultModel } from "../../redux/slices/configSlice"; import { @@ -51,7 +56,7 @@ const StyledListboxOptions = styled(Listbox.Options)` display: flex; flex-direction: column; border-radius: ${defaultBorderRadius}; - border: 0.5px solid ${lightGray}; + border: 1px solid ${vscCommandCenterInactiveBorder}; background-color: ${vscInputBackground}; `; diff --git a/gui/src/components/modelSelection/ModelSelect.tsx b/gui/src/components/modelSelection/ModelSelect.tsx index 437e2304f..125ae410b 100644 --- a/gui/src/components/modelSelection/ModelSelect.tsx +++ b/gui/src/components/modelSelection/ModelSelect.tsx @@ -9,7 +9,12 @@ import { import { useContext, useEffect, useRef, useState } from "react"; import { useDispatch } from "react-redux"; import styled from "styled-components"; -import { defaultBorderRadius, lightGray, vscInputBackground } from ".."; +import { + defaultBorderRadius, + lightGray, + vscCommandCenterInactiveBorder, + vscInputBackground, +} from ".."; import { useAuth } from "../../context/Auth"; import { IdeMessengerContext } from "../../context/IdeMessenger"; import AddModelForm from "../../forms/AddModelForm"; @@ -66,7 +71,7 @@ const StyledListboxOptions = styled(Listbox.Options)<{ $showabove: boolean }>` font-size: ${fontSize(-3)}; border-radius: ${defaultBorderRadius}; - border: 0.5px solid ${lightGray}; + border: 1px solid ${vscCommandCenterInactiveBorder}; background-color: ${vscInputBackground}; max-height: ${MAX_HEIGHT_PX}px; @@ -318,7 +323,7 @@ function ModelSelect() {
- + {sortedOptions.length > 0 && } {selectedProfile?.profileType === "local" && ( <> diff --git a/gui/src/components/modelSelection/platform/shared.tsx b/gui/src/components/modelSelection/platform/shared.tsx index 627d39133..b617fd34e 100644 --- a/gui/src/components/modelSelection/platform/shared.tsx +++ b/gui/src/components/modelSelection/platform/shared.tsx @@ -6,7 +6,11 @@ import { } from "@heroicons/react/24/outline"; import { useState } from "react"; import styled from "styled-components"; -import { defaultBorderRadius, lightGray } from "../.."; +import { + defaultBorderRadius, + lightGray, + vscCommandCenterInactiveBorder, +} from "../.."; import { ToolTip } from "../../gui/Tooltip"; export const OptionDiv = styled.div<{ @@ -45,7 +49,7 @@ export const MAX_HEIGHT_PX = 300; export const Divider = styled.div` height: 0.5px; - background-color: ${lightGray}; + background-color: ${vscCommandCenterInactiveBorder}; `; interface ModelOptionProps { diff --git a/gui/src/pages/config/AccountButton.tsx b/gui/src/pages/config/AccountButton.tsx index 0eaf4e471..03c050228 100644 --- a/gui/src/pages/config/AccountButton.tsx +++ b/gui/src/pages/config/AccountButton.tsx @@ -11,7 +11,12 @@ export function AccountButton() { if (!session) { return ( - login(false)}>Sign in + login(false)} + > + Sign in + ); }