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:
Codex Review Integration 2026-09-16 19:17:28 -03:00
parent 2b2b24f2e3
commit 04f8b51eab

View file

@ -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>