refactor(workspace): consume revised color tokens

This commit is contained in:
Maofeng
2026-09-29 17:08:16 +08:00
parent 91e010cff7
commit ffe180f482
27 changed files with 302 additions and 297 deletions
+2 -2
View File
@@ -133,7 +133,7 @@ function SearchResultRow({
</span>
))}
</span>
<CornerDownLeftIcon className="shrink-0 text-primary opacity-0 transition-opacity group-hover/search-result:opacity-100 group-data-selected/search-result:opacity-100" />
<CornerDownLeftIcon className="shrink-0 text-accent opacity-0 transition-opacity group-hover/search-result:opacity-100 group-data-selected/search-result:opacity-100" />
</Command.Item>
)
}
@@ -165,7 +165,7 @@ function HighlightedText({ text, query }: { text: string; query: string }) {
offset += segment.text.length
return segment.highlighted ? (
<mark key={key} className="rounded-sm bg-primary/15 px-0.5 text-primary">
<mark key={key} className="rounded-sm bg-accent/15 px-0.5 text-accent">
{segment.text}
</mark>
) : (