Skip to content

Commit f1d3929

Browse files
committed
Fix: forced-color-adjust in highlight theme
1 parent c1aa0ec commit f1d3929

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

webview-ui/src/components/chat/ChatTextArea.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
824824
"py-2",
825825
"px-[9px]",
826826
"z-10",
827+
"forced-color-adjust-none",
827828
)}
828829
style={{
829830
color: "transparent",

webview-ui/src/components/welcome/RooHero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const RooHero = () => {
77
})
88

99
return (
10-
<div className="flex flex-col items-center justify-center pb-4">
10+
<div className="flex flex-col items-center justify-center pb-4 forced-color-adjust-none">
1111
<div
1212
style={{
1313
backgroundColor: "var(--vscode-foreground)",

webview-ui/src/components/welcome/RooTips.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ const RooTips = ({ cycle = false }: RooTipsProps) => {
7474
className="flex items-center gap-2 text-vscode-editor-foreground font-vscode max-w-[250px]">
7575
<span className={`codicon ${tip.icon}`}></span>
7676
<span>
77-
<VSCodeLink href={tip.href}>{t(tip.titleKey)}</VSCodeLink>: {t(tip.descriptionKey)}
77+
<VSCodeLink className="forced-color-adjust-none" href={tip.href}>
78+
{t(tip.titleKey)}
79+
</VSCodeLink>
80+
: {t(tip.descriptionKey)}
7881
</span>
7982
</div>
8083
))

0 commit comments

Comments
 (0)