refactor(workspace): consume revised color tokens
This commit is contained in:
@@ -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