mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-04 04:23:13 +00:00
refactor(work-orders): use Tailwind tokens for search scope label
Swap the inline fontSize/color on the week-scope status label for the text-(length:--text-xs) and text-muted-foreground classes already used across the header, so it tracks future token changes. --text-xs is 11px and text-muted-foreground resolves to --muted-foreground, so rendering is unchanged.
This commit is contained in:
parent
2b2b24f2e3
commit
04f8b51eab
1 changed files with 2 additions and 2 deletions
|
|
@ -41,8 +41,8 @@ export function WorkOrdersListHeader({
|
|||
{!advancedFiltersActive && search.trim() !== "" && Boolean(weekLabel) && (
|
||||
<span
|
||||
role="status"
|
||||
className="absolute left-0 whitespace-nowrap"
|
||||
style={{ top: "calc(100% + 4px)", fontSize: 11, color: "var(--muted-foreground)" }}
|
||||
className="absolute left-0 whitespace-nowrap text-(length:--text-xs) text-muted-foreground"
|
||||
style={{ top: "calc(100% + 4px)" }}
|
||||
>
|
||||
Searching within {weekLabel}
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue