refactor(workspace): consume revised color tokens
This commit is contained in:
@@ -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" />
|
||||
)}
|
||||
|
||||
@@ -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>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user