Fix green color on light themes

This commit is contained in:
Saoud Rizwan
2024-08-31 03:41:02 -04:00
parent 81fa5a67a4
commit 5acbbc89a5
2 changed files with 4 additions and 4 deletions

View File

@@ -329,7 +329,7 @@ const ModelInfoSupportsItem = ({
<span
style={{
fontWeight: 500,
color: isSupported ? "var(--vscode-testing-iconPassed)" : "var(--vscode-errorForeground)",
color: isSupported ? "var(--vscode-charts-green)" : "var(--vscode-errorForeground)",
}}>
<i
className={`codicon codicon-${isSupported ? "check" : "x"}`}

View File

@@ -39,7 +39,7 @@ const ChatRow: React.FC<ChatRowProps> = ({
const getIconAndTitle = (type: ClaudeAsk | ClaudeSay | undefined): [JSX.Element | null, JSX.Element | null] => {
const normalColor = "var(--vscode-foreground)"
const errorColor = "var(--vscode-errorForeground)"
const successColor = "var(--vscode-testing-iconPassed)"
const successColor = "var(--vscode-charts-green)"
const ProgressIndicator = (
<div
@@ -357,7 +357,7 @@ const ChatRow: React.FC<ChatRowProps> = ({
{icon}
{title}
</div>
<div style={{ color: "var(--vscode-testing-iconPassed)" }}>
<div style={{ color: "var(--vscode-charts-green)" }}>
{renderMarkdown(message.text)}
</div>
</>
@@ -446,7 +446,7 @@ const ChatRow: React.FC<ChatRowProps> = ({
{icon}
{title}
</div>
<div style={{ color: "var(--vscode-testing-iconPassed)" }}>
<div style={{ color: "var(--vscode-charts-green)" }}>
{renderMarkdown(message.text)}
</div>
</div>