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
+1 -1
View File
@@ -119,7 +119,7 @@ export function SearchDialog({
<label className="flex h-full min-w-0 flex-1 items-center gap-2">
<span className="inline-flex size-8 shrink-0 items-center justify-center">
{search.isLoading || search.isLoadingMore ? (
<LoaderCircleIcon className="animate-spin text-primary" />
<LoaderCircleIcon className="animate-spin text-accent" />
) : (
<SearchIcon className="opacity-50" />
)}
+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>
) : (