“When design requirements demand a one-off pixel-perfect value outside your theme scale, square bracket syntax "[...]" allows arbitrary CSS values, CSS variables, and mathematical expressions to be compiled on demand without writing custom CSS classes.”
Escape token constraints on demand with brackets: bg-[#00d8ff], grid-cols-[1fr_200px], and calc().
<div class="w-[calc(100%-2rem)] max-w-[1280px] min-h-[480px] grid grid-cols-[240px_1fr] bg-[#0a0f1d] border border-cyan-500/20 rounded-[2rem] p-[2.25rem] shadow-[0_20px_60px_-15px_rgba(6,182,212,0.15)]">
<aside class="border-r border-white/10 pr-[1.5rem]">Sidebar</aside>
<main class="pl-[1.5rem]">Main View</main>
</div>.w-\[calc\(100\%-2rem\)\] { width: calc(100% - 2rem); }
.grid-cols-\[240px_1fr\] { grid-template-columns: 240px 1fr; }
.bg-\[\#0a0f1d\] { background-color: #0a0f1d; }Identify one-off requirement: e.g. 3D transform "rotate-x-[15deg]"
Enclose custom value in square brackets: "h-[calc(100vh-4rem)]"
Use underscores for spaces in complex values: "grid-cols-[200px_1fr_100px]"
Target CSS custom properties directly: "bg-[var(--user-theme-accent)]"
Reserving arbitrary values for truly unique one-off components keeps 95%+ of your application consistent with your design token scale.