Skip to content

Commit d274f2d

Browse files
authored
Merge pull request #9967 from sarthakNITT/issue#9673
fix: Local setup screen input text is black on dark background
2 parents 7b802e6 + 0829e72 commit d274f2d

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

gui/src/components/OnboardingCard/components/OllamaModelDownload.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ function OllamaModelDownload({
2626

2727
return (
2828
<div className="flex flex-col">
29-
<p className="mb-0 mt-4 text-base font-semibold">{title}</p>
29+
<p className="text-foreground mb-0 mt-4 text-base font-semibold">
30+
{title}
31+
</p>
3032
{hasDownloaded ? (
3133
<OllamaCompletedStep text={command} />
3234
) : (

gui/src/components/OnboardingCard/components/OllamaStatus.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ export function OllamaStatus({ isOllamaConnected }: OllamaStatusProps) {
3838
case OllamaConnectionStatuses.WaitingToDownload:
3939
return (
4040
<StyledActionButton onClick={onClickDownload}>
41-
<p className="mr-1 line-clamp-1 text-sm underline">{downloadUrl}</p>
41+
<p className="text-link mr-1 line-clamp-1 text-sm underline">
42+
{downloadUrl}
43+
</p>
4244
<ArrowTopRightOnSquareIcon width={16} height={16} />
4345
</StyledActionButton>
4446
);

gui/src/components/OnboardingCard/components/OnboardingLocalTab.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export function OnboardingLocalTab({ isDialog }: OnboardingLocalTabProps) {
140140
<div className="w-full max-w-md">
141141
<div className="mt-3 flex flex-col gap-1 px-2">
142142
<div className="flex flex-col">
143-
<p className="mb-0 text-base font-bold leading-tight">
143+
<p className="text-foreground mb-0 text-base font-bold leading-tight">
144144
Install Ollama
145145
</p>
146146
<OllamaStatus isOllamaConnected={isOllamaConnected} />
@@ -167,7 +167,7 @@ export function OnboardingLocalTab({ isDialog }: OnboardingLocalTabProps) {
167167
<div className="mt-4 w-full">
168168
<Button
169169
onClick={onClickSubmitOnboarding}
170-
className="w-full"
170+
className="w-full cursor-pointer hover:opacity-90"
171171
disabled={!allDownloaded}
172172
>
173173
Connect

gui/src/components/OnboardingCard/components/OnboardingProvidersTab.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function OnboardingProvidersTab({
6666
<div className="space-y-4">
6767
{providerConfigs.map((config) => (
6868
<div key={config?.provider}>
69-
<label className="mb-1 flex items-center gap-3 text-sm font-medium">
69+
<label className="text-foreground mb-1 flex items-center gap-3 text-sm font-medium">
7070
{window.vscMediaUrl && (
7171
<img
7272
src={`${window.vscMediaUrl}/logos/${config?.icon}`}
@@ -83,7 +83,7 @@ export function OnboardingProvidersTab({
8383
className="w-full"
8484
{...formMethods.register(`${config?.provider}_apiKey`)}
8585
/>
86-
<span className="text-description-muted mt-1 block text-xs">
86+
<span className="text-description-muted text-input-placeholder mt-1 block text-xs">
8787
<a
8888
href={config?.apiKeyUrl}
8989
target="_blank"
@@ -103,13 +103,13 @@ export function OnboardingProvidersTab({
103103
type="button"
104104
onClick={handleFormSubmit}
105105
disabled={!hasAnyApiKey}
106-
className="w-full"
106+
className="w-full cursor-pointer hover:opacity-90"
107107
>
108108
Connect
109109
</Button>
110110

111111
<div className="w-full text-center">
112-
<span className="text-description">
112+
<span className="text-description text-input-placeholder">
113113
<span
114114
className="cursor-pointer underline hover:brightness-125"
115115
onClick={handleClickMoreProviders}

0 commit comments

Comments
 (0)