Fix: forced-color-adjust in highlight theme (#3424)

This commit is contained in:
Tony Zhang 2025-05-10 11:38:02 +08:00 committed by GitHub
parent c1aa0ec5b3
commit effebc650b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View file

@ -824,6 +824,7 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
"py-2",
"px-[9px]",
"z-10",
"forced-color-adjust-none",
)}
style={{
color: "transparent",

View file

@ -7,7 +7,7 @@ const RooHero = () => {
})
return (
<div className="flex flex-col items-center justify-center pb-4">
<div className="flex flex-col items-center justify-center pb-4 forced-color-adjust-none">
<div
style={{
backgroundColor: "var(--vscode-foreground)",

View file

@ -74,7 +74,10 @@ const RooTips = ({ cycle = false }: RooTipsProps) => {
className="flex items-center gap-2 text-vscode-editor-foreground font-vscode max-w-[250px]">
<span className={`codicon ${tip.icon}`}></span>
<span>
<VSCodeLink href={tip.href}>{t(tip.titleKey)}</VSCodeLink>: {t(tip.descriptionKey)}
<VSCodeLink className="forced-color-adjust-none" href={tip.href}>
{t(tip.titleKey)}
</VSCodeLink>
: {t(tip.descriptionKey)}
</span>
</div>
))