From 2c7fcec7cd36fa2a86418c987292c4d46c30058e Mon Sep 17 00:00:00 2001 From: Knacky Date: Sun, 21 Jun 2026 22:38:01 +0200 Subject: [PATCH] fix(frontend): add text- prefix to caption-bold and caption-md @apply (sprint 11 build fix) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit caption-bold and caption-md are fontSize tokens — Tailwind generates text-caption-bold / text-caption-md utilities, not bare-name utilities. Missing text- prefix caused @apply resolution failure in vite build (PostCSS step), while vitest passed because it does not resolve @apply. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/styles/index.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/styles/index.css b/frontend/src/styles/index.css index b9c49f5..c6116e9 100644 --- a/frontend/src/styles/index.css +++ b/frontend/src/styles/index.css @@ -150,7 +150,7 @@ /* ─── Sub-page tabs (L1) ─────────────────────────────────────────────── */ .tab-underline { - @apply text-graphite caption-bold cursor-pointer border-b-2 border-transparent hover:text-ink px-xs; + @apply text-graphite text-caption-bold cursor-pointer border-b-2 border-transparent hover:text-ink px-xs; } .tab-underline-active { @apply text-primary border-primary; @@ -185,7 +185,7 @@ @apply px-md py-xxs; } .table-compact td { - @apply px-md py-xxs caption-md; + @apply px-md py-xxs text-caption-md; height: 32px; } .table-compact tbody tr {