Datasets:
Download web/breezel.example/reference/site/docs/adding-custom-styles/index.html from Qwen/RecreationBench: direct link, hf CLI and curl.
- Browser
- Download file 264 kB
-
https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/web/breezel.example/reference/site/docs/adding-custom-styles/index.html
- Command line
-
hf download hf://datasets/Qwen/RecreationBench/web/breezel.example/reference/site/docs/adding-custom-styles/index.html
-
curl -L -o index.html https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/web/breezel.example/reference/site/docs/adding-custom-styles/index.html
264 kB
| <html class="inter_6a166f28-module__775SPq__variable plexmono_ffb312b5-module__CmrMxG__variable source_91931b22-module__FtvGhG__variable ubuntumono_2a4826b0-module__yzkUma__variable antialiased dark:bg-gray-950 system" lang="en" style="--scrollbar-padding: 0px;"><head><meta charset="utf-8"/><meta content="width=device-width, initial-scale=1" name="viewport"/><link as="font" crossorigin="" href="/_next/static/media/IBMPlexMono_Italic-s.p.ddd44df2.woff2" rel="preload" type="font/woff2"/><link as="font" crossorigin="" href="/_next/static/media/IBMPlexMono_Medium-s.p.511bc7e4.woff2" rel="preload" type="font/woff2"/><link as="font" crossorigin="" href="/_next/static/media/IBMPlexMono_MediumItalic-s.p.824237ad.woff2" rel="preload" type="font/woff2"/><link as="font" crossorigin="" href="/_next/static/media/IBMPlexMono_Regular-s.p.170fa0da.woff2" rel="preload" type="font/woff2"/><link as="font" crossorigin="" href="/_next/static/media/IBMPlexMono_SemiBold-s.p.4dbcf170.woff2" rel="preload" type="font/woff2"/><link as="font" crossorigin="" href="/_next/static/media/IBMPlexMono_SemiBoldItalic-s.p.63e919a5.woff2" rel="preload" type="font/woff2"/><link as="font" crossorigin="" href="/_next/static/media/InterVariable-s.p.53d7b668.woff2" rel="preload" type="font/woff2"/><link as="font" crossorigin="" href="/_next/static/media/InterVariable_Italic-s.p.8c0e9517.woff2" rel="preload" type="font/woff2"/><link as="font" crossorigin="" href="/_next/static/media/SourceSansPro_Regular_ttf-s.p.aa178fa4.woff2" rel="preload" type="font/woff2"/><link as="font" crossorigin="" href="/_next/static/media/Ubuntu_Mono_bold-s.p.36063628.woff2" rel="preload" type="font/woff2"/><link data-precedence="next" href="/_next/static/chunks/0aa6f91bf69bba4f.css" rel="stylesheet"/><link data-precedence="next" href="/_next/static/chunks/22067bb27c370d37.css" rel="stylesheet"/><link as="script" fetchpriority="low" href="/_next/static/chunks/743779ddfb90a35d.js" rel="preload"/><link as="script" href="data:text/javascript;base64,CiAgaWYgKCEoJ191cGRhdGVUaGVtZScgaW4gd2luZG93KSkgewogICAgd2luZG93Ll91cGRhdGVUaGVtZSA9IGZ1bmN0aW9uIHVwZGF0ZVRoZW1lKHRoZW1lKSB7CiAgICAgIGxldCBjbGFzc0xpc3QgPSBkb2N1bWVudC5kb2N1bWVudEVsZW1lbnQuY2xhc3NMaXN0OwoKICAgICAgY2xhc3NMaXN0LnJlbW92ZSgibGlnaHQiLCAiZGFyayIsICJzeXN0ZW0iKTsKICAgICAgZG9jdW1lbnQucXVlcnlTZWxlY3RvckFsbCgnbWV0YVtuYW1lPSJ0aGVtZS1jb2xvciJdJykuZm9yRWFjaChlbCA9PiBlbC5yZW1vdmUoKSkKICAgICAgaWYgKHRoZW1lID09PSAnZGFyaycpIHsKICAgICAgICBjbGFzc0xpc3QuYWRkKCdkYXJrJykKCiAgICAgICAgbGV0IG1ldGEgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdtZXRhJykKICAgICAgICBtZXRhLm5hbWUgPSAndGhlbWUtY29sb3InCiAgICAgICAgbWV0YS5jb250ZW50ID0gJ29rbGNoKC4xMyAuMDI4IDI2MS42OTIpJwogICAgICAgIGRvY3VtZW50LmhlYWQuYXBwZW5kQ2hpbGQobWV0YSkKICAgICAgfSBlbHNlIGlmICh0aGVtZSA9PT0gJ2xpZ2h0JykgewogICAgICAgIGNsYXNzTGlzdC5hZGQoJ2xpZ2h0JykKCiAgICAgICAgbGV0IG1ldGEgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdtZXRhJykKICAgICAgICBtZXRhLm5hbWUgPSAndGhlbWUtY29sb3InCiAgICAgICAgbWV0YS5jb250ZW50ID0gJ3doaXRlJwogICAgICAgIGRvY3VtZW50LmhlYWQuYXBwZW5kQ2hpbGQobWV0YSkKICAgICAgfSBlbHNlIHsKICAgICAgICBjbGFzc0xpc3QuYWRkKCdzeXN0ZW0nKQoKICAgICAgICBsZXQgbWV0YTEgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdtZXRhJykKICAgICAgICBtZXRhMS5uYW1lID0gJ3RoZW1lLWNvbG9yJwogICAgICAgIG1ldGExLmNvbnRlbnQgPSAnb2tsY2goLjEzIC4wMjggMjYxLjY5MiknCiAgICAgICAgbWV0YTEubWVkaWEgPSAnKHByZWZlcnMtY29sb3Itc2NoZW1lOiBkYXJrKScKICAgICAgICBkb2N1bWVudC5oZWFkLmFwcGVuZENoaWxkKG1ldGExKQoKICAgICAgICBsZXQgbWV0YTIgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdtZXRhJykKICAgICAgICBtZXRhMi5uYW1lID0gJ3RoZW1lLWNvbG9yJwogICAgICAgIG1ldGEyLmNvbnRlbnQgPSAnd2hpdGUnCiAgICAgICAgbWV0YTIubWVkaWEgPSAnKHByZWZlcnMtY29sb3Itc2NoZW1lOiBsaWdodCknCiAgICAgICAgZG9jdW1lbnQuaGVhZC5hcHBlbmRDaGlsZChtZXRhMikKICAgICAgfQogICAgfQoKICAgIHRyeSB7CiAgICAgIF91cGRhdGVUaGVtZShsb2NhbFN0b3JhZ2UuY3VycmVudFRoZW1lKQogICAgfSBjYXRjaCAoXykge30KCiAgICB0cnkgewogICAgICBpZiAoLyhNYWN8aVBob25lfGlQb2R8aVBhZCkvaS50ZXN0KG5hdmlnYXRvci5wbGF0Zm9ybSkpIHsKICAgICAgICBkb2N1bWVudC5kb2N1bWVudEVsZW1lbnQuY2xhc3NMaXN0LmFkZCgnb3MtbWFjb3MnKQogICAgICB9CiAgICB9IGNhdGNoIChfKSB7fQogIH0K" rel="preload"/><meta content="" name="next-size-adjust"/><link href="/favicons/apple-touch-icon.png?v=4" rel="apple-touch-icon" sizes="180x180"/><link href="/favicons/favicon-32x32.png?v=4" rel="icon" sizes="32x32" type="image/png"/><link href="/favicons/favicon-16x16.png?v=4" rel="icon" sizes="16x16" type="image/png"/><link href="/favicons/site.webmanifest?v=4" rel="manifest"/><link color="#38bdf8" href="/favicons/safari-pinned-tab.svg?v=4" rel="mask-icon"/><link href="/favicons/favicon.ico?v=4" rel="shortcut icon"/><link href="/feeds/feed.xml" rel="alternate" title="RSS 2.0" type="application/rss+xml"/><link href="/feeds/atom.xml" rel="alternate" title="Atom 1.0" type="application/atom+xml"/><link href="/feeds/feed.json" rel="alternate" title="JSON Feed" type="application/json"/><meta content="Breezel CSS" name="apple-mobile-web-app-title"/><meta content="Breezel CSS" name="application-name"/><meta content="#38bdf8" name="msapplication-TileColor"/><meta content="/favicons/browserconfig.xml?v=4" name="msapplication-config"/><link crossorigin="anonymous" href="/_404.html" rel="preconnect"/><title>Bringing in custom styles - Core concepts - Breezel</title><meta content="Recommended ways to add your own custom styles to a Breezel project." name="description"/><meta content="Adding custom styles - Core concepts" property="og:title"/><meta content="Best practices for adding your own custom styles in Breezel projects." property="og:description"/><meta content="/docs/adding-custom-styles" property="og:url"/><meta content="/api/og?path=/docs/adding-custom-styles" property="og:image"/><meta content="article" property="og:type"/><meta content="summary_large_image" name="twitter:card"/><meta content="@breezel" name="twitter:site"/><meta content="@breezel" name="twitter:creator"/><meta content="Adding custom styles - Core concepts" name="twitter:title"/><meta content="Best practices for adding your own custom styles in Breezel projects." name="twitter:description"/><meta content="/api/og?path=/docs/adding-custom-styles" name="twitter:image"/><link href="/favicon.ico?favicon.32781b0b.ico" rel="icon" sizes="48x48" type="image/x-icon"/><meta content="oklch(.13 .028 261.692)" media="(prefers-color-scheme: dark)" name="theme-color"/><meta content="white" media="(prefers-color-scheme: light)" name="theme-color"/><link as="image" href="/_cdn/images.unsplash.com/photo-1550525811-e5869dd03032.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1463453091185-61582044d556.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1438761681033-6461ffad8d80.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1500648767791-00dcc994a43e.jpg" rel="preload"/><link as="image" href="/_404.html" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1539571696357-5a69c17a67c6.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1590895340509-793cb98788c9.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1517841905240-472988babdf9.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1494790108377-be9c29b29330.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1507003211169-0a1dd7228f2d.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1580489944761-15a19d654956.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1472099645785-5658abf4ff4e.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1563833717765-00462801314e.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1637734433731-621aca1c8cb6.jpg" rel="preload"/><link as="image" href="/_next/static/media/erin-lindford.fbd7bb53.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1491528323818-fdd1faba62cc.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1550525811-e5869dd03032.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1500648767791-00dcc994a43e.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1517365830460-955ce3ccd263.jpg" rel="preload"/><link as="image" href="/_cdn/images.unsplash.com/photo-1452784444945-3f422708fe5e.jpg" rel="preload"/><link as="image" href="/_next/static/media/cursor-intellisense.dbd6aaee.png" rel="preload"/><link as="image" href="/_next/static/media/zed-intellisense.5d0c529d.png" rel="preload"/><link as="image" href="/_next/static/media/intellisense.64b4d269.png" rel="preload"/><link as="image" href="/_next/static/media/prettier-banner.1039345a.jpg" rel="preload"/><link as="image" href="/_next/static/media/responsive-1.369fbbd4.png" rel="preload"/><link as="image" href="/_next/static/media/responsive-2.65169238.png" rel="preload"/><link as="image" href="/_next/static/media/responsive-3.6b6101ca.png" rel="preload"/><link as="image" href="/_next/static/media/responsive-4.8d79e2e9.png" rel="preload"/><link as="image" href="/_next/static/media/responsive-5.b042c1a4.png" rel="preload"/><link as="image" href="/_next/static/media/filters.09770f52.png" rel="preload"/><link as="image" href="/_next/static/media/css-grid-1.8a3ab48a.png" rel="preload"/><link as="image" href="/_next/static/media/css-grid-1.mobile.683ba765.png" rel="preload"/><link as="image" href="/_next/static/media/css-grid-2.bdb8fffa.png" rel="preload"/><link as="image" href="/_next/static/media/css-grid-3.76ab5e96.png" rel="preload"/><link as="image" href="/_next/static/media/css-grid-4.31d79ba9.png" rel="preload"/><link as="image" href="/_next/static/media/avatar-4.276f1ea5.png" rel="preload"/><link as="image" href="/_next/static/media/avatar-5.eda3cd30.png" rel="preload"/><link as="image" href="/_next/static/media/avatar-6.63abf5b9.png" rel="preload"/><link as="image" href="/_next/static/media/avatar-7.981c5832.png" rel="preload"/><link as="image" href="/_next/static/media/avatar-1.151e30c2.png" rel="preload"/><link as="image" href="/_next/static/media/avatar-2.70068a2a.png" rel="preload"/><link as="image" href="/_next/static/media/avatar-3.283f541c.png" rel="preload"/><style>*,*::before,*::after{animation-duration:0s;animation-delay:0s;transition-duration:0s;transition-delay:0s;scroll-behavior:auto;caret-color:transparent}</style><style id="synth-det-freeze">*,*::before,*::after{animation:none;animation-duration:0s;transition:none;scroll-behavior:auto;caret-color:transparent}</style><link href="/_repair.css" rel="stylesheet"/></head><body><div hidden=""></div><div class="isolate"><div><div class="fixed inset-x-0 top-0 z-10 border-b border-gray-950/5 dark:border-white/10"><div class="bg-white dark:bg-gray-950"><div class="flex h-14 items-center justify-between gap-8 px-4 sm:px-6"><div class="flex items-center gap-4"><a aria-label="Home" class="shrink-0" href="/"><span class="h-5 text-black dark:text-white" style="display:inline-flex;align-items:center;white-space:nowrap;font-weight:700;letter-spacing:-0.03em;font-family:inherit;font-size:1.125rem;line-height:1.25rem;">Breezel</span></a><button aria-expanded="false" aria-haspopup="menu" aria-label="Select version of library" class="flex items-center gap-0.5 rounded-2xl bg-gray-950/5 py-0.5 pr-1.5 pl-2.5 text-xs/5 font-medium text-gray-950 tabular-nums hover:bg-gray-950/7.5 data-active:bg-gray-950/7.5 dark:bg-white/10 dark:text-white dark:hover:bg-white/12.5 dark:data-active:bg-white/12.5" data-headlessui-state="" id="headlessui-menu-button-_R_3pb5ulb_" type="button">v4.0<svg aria-hidden="true" class="size-4 fill-gray-400" data-slot="icon" fill="currentColor" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z" fill-rule="evenodd"></path></svg></button></div><div class="flex items-center gap-6 max-md:hidden"><button class="inline-flex items-center gap-1 rounded-full bg-gray-950/2 px-2 py-1 inset-ring inset-ring-gray-950/8 dark:bg-white/5 dark:inset-ring-white/2" type="button"><svg class="-ml-0.5 size-4 fill-gray-600 dark:fill-gray-500" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M9.965 11.026a5 5 0 1 1 1.06-1.06l2.755 2.754a.75.75 0 1 1-1.06 1.06l-2.755-2.754ZM10.5 7a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z" fill-rule="evenodd"></path></svg><kbd class="hidden font-sans text-xs/4 text-gray-500 dark:text-gray-400 [.os-macos_&]:block">⌘K</kbd><kbd class="hidden font-sans text-xs/4 text-gray-500 not-[.os-macos_&]:block dark:text-gray-400">Ctrl K</kbd></button><a class="text-sm/6 text-gray-950 dark:text-white" href="/docs">Docs</a><a class="text-sm/6 text-gray-950 dark:text-white" href="/blog">Blog</a><a class="text-sm/6 text-gray-950 dark:text-white" href="/showcase">Showcase</a><a class="text-sm/6 text-gray-950 dark:text-white" href="/sponsor">Sponsor</a><a class="group relative px-1.5 text-sm/6 text-sky-800 dark:text-sky-300" href="/plus?ref=top"><span class="absolute inset-0 border border-dashed border-sky-300/60 bg-sky-400/10 group-hover:bg-sky-400/15 dark:border-sky-300/30"></span>Plus<svg class="absolute top-[-2px] left-[-2px] fill-sky-300 dark:fill-sky-300/50" height="5" viewbox="0 0 5 5" width="5"><path d="M2 0h1v2h2v1h-2v2h-1v-2h-2v-1h2z"></path></svg><svg class="absolute top-[-2px] right-[-2px] fill-sky-300 dark:fill-sky-300/50" height="5" viewbox="0 0 5 5" width="5"><path d="M2 0h1v2h2v1h-2v2h-1v-2h-2v-1h2z"></path></svg><svg class="absolute bottom-[-2px] left-[-2px] fill-sky-300 dark:fill-sky-300/50" height="5" viewbox="0 0 5 5" width="5"><path d="M2 0h1v2h2v1h-2v2h-1v-2h-2v-1h2z"></path></svg><svg class="absolute right-[-2px] bottom-[-2px] fill-sky-300 dark:fill-sky-300/50" height="5" viewbox="0 0 5 5" width="5"><path d="M2 0h1v2h2v1h-2v2h-1v-2h-2v-1h2z"></path></svg></a><a aria-label="Source repository" href="/_cdn/github.com/tailwindlabs/tailwindcss"><svg class="size-5 fill-black/40 dark:fill-gray-400" viewbox="0 0 20 20"><path d="M7.4 5.1a1 1 0 0 1 .1 1.4L4.3 10l3.2 3.5a1 1 0 1 1-1.5 1.3l-3.8-4.1a1 1 0 0 1 0-1.4l3.8-4.1a1 1 0 0 1 1.4-.1zm5.2 0a1 1 0 0 1 1.4.1l3.8 4.1a1 1 0 0 1 0 1.4l-3.8 4.1a1 1 0 1 1-1.5-1.3l3.2-3.5-3.2-3.5a1 1 0 0 1 .1-1.4z"/></svg></a></div><div class="flex items-center gap-2.5 md:hidden"><button aria-label="Search" class="inline-grid size-7 place-items-center rounded-md" type="button"><svg class="size-4" fill="currentColor" viewbox="0 0 16 16"><path clip-rule="evenodd" d="M9.965 11.026a5 5 0 1 1 1.06-1.06l2.755 2.754a.75.75 0 1 1-1.06 1.06l-2.755-2.754ZM10.5 7a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z" fill-rule="evenodd"></path></svg></button><button aria-label="Navigation" class="relative inline-grid size-7 place-items-center rounded-md text-gray-950 hover:bg-gray-950/5 dark:text-white dark:hover:bg-white/10 undefined" type="button"><span class="absolute top-1/2 left-1/2 size-11 -translate-1/2 pointer-fine:hidden"></span><svg class="size-4" fill="currentColor" viewbox="0 0 16 16"><path d="M8 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM8 6.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM9.5 12.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z"></path></svg></button></div></div></div><div class="flex h-14 items-center border-t border-gray-950/5 bg-white px-4 sm:px-6 lg:hidden dark:border-white/10 dark:bg-gray-950"><button aria-label="Open navigation menu" class="relative inline-grid size-7 place-items-center rounded-md text-gray-950 hover:bg-gray-950/5 dark:text-white dark:hover:bg-white/10 -ml-1.5" type="button"><span class="absolute top-1/2 left-1/2 size-11 -translate-1/2 pointer-fine:hidden"></span><svg class="size-4" fill="currentColor" viewbox="0 0 16 16"><path clip-rule="evenodd" d="M2 4.75A.75.75 0 0 1 2.75 4h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 4.75Zm0 6.5a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Z" fill-rule="evenodd"></path></svg></button><ol class="sticky ml-4 flex min-w-0 items-center gap-2 text-sm/6 whitespace-nowrap"><li class="flex items-center gap-2"><span class="text-gray-500 dark:text-gray-400">Core concepts</span><svg class="size-4 fill-gray-950 dark:fill-gray-500" viewbox="0 0 16 16"><path clip-rule="evenodd" d="M6.22 4.22a.75.75 0 0 1 1.06 0l3.25 3.25a.75.75 0 0 1 0 1.06l-3.25 3.25a.75.75 0 0 1-1.06-1.06L8.94 8 6.22 5.28a.75.75 0 0 1 0-1.06Z" fill-rule="evenodd"></path></svg></li><li class="truncate text-gray-950 dark:text-white">Adding custom styles</li></ol></div></div><div class="grid min-h-dvh grid-cols-1 grid-rows-[1fr_1px_auto_1px_auto] pt-26.25 lg:grid-cols-[var(--container-2xs)_2.5rem_minmax(0,1fr)_2.5rem] lg:pt-14.25 xl:grid-cols-[var(--container-2xs)_2.5rem_minmax(0,1fr)_2.5rem]"><div class="relative col-start-1 row-span-full row-start-1 max-lg:hidden"><div class="absolute inset-0"><div class="sticky top-14.25 bottom-0 left-0 h-full max-h-[calc(100dvh-(var(--spacing)*14.25))] w-2xs overflow-y-auto p-6"><div><nav class="flex flex-col gap-8"><ul class="flex flex-col gap-2"><li><a aria-current="page" class="group inline-flex items-center gap-3 text-base/8 text-gray-600 sm:text-sm/7 dark:text-gray-300 **:data-outline:stroke-gray-400 dark:**:data-outline:stroke-gray-500 **:[svg]:first:size-5 **:[svg]:first:sm:size-4 hover:text-gray-950 hover:**:data-highlight:fill-gray-300 hover:**:data-outline:stroke-gray-950 dark:hover:text-white dark:hover:**:data-highlight:fill-gray-600 dark:hover:**:data-outline:stroke-white aria-[current]:font-semibold aria-[current]:text-gray-950 aria-[current]:**:data-highlight:fill-gray-300 aria-[current]:**:data-outline:stroke-gray-950 dark:aria-[current]:text-white dark:aria-[current]:**:data-highlight:fill-gray-600 dark:aria-[current]:**:data-outline:stroke-white" href="/docs/installation"><svg fill="none" viewbox="0 0 16 16"><path d="M3.5 1.5C2.4264 1.5 1.40926 1.74169 0.5 2.17363V13.1736C1.40926 12.7417 2.4264 12.5 3.5 12.5C5.21352 12.5 6.78323 13.1157 8 14.1379V3.13789C6.78323 2.11568 5.21352 1.5 3.5 1.5Z" data-highlight="true"></path><path d="M8 14.1379C9.21677 13.1157 10.7865 12.5 12.5 12.5C13.5736 12.5 14.5907 12.7417 15.5 13.1736V2.17363C14.5907 1.74169 13.5736 1.5 12.5 1.5C10.7865 1.5 9.21677 2.11568 8 3.13789M8 14.1379C6.78323 13.1157 5.21352 12.5 3.5 12.5C2.4264 12.5 1.40926 12.7417 0.5 13.1736V2.17363C1.40926 1.74169 2.4264 1.5 3.5 1.5C5.21352 1.5 6.78323 2.11568 8 3.13789M8 14.1379V3.13789" data-outline="true"></path></svg>Documentation</a></li><li><a class="group inline-flex items-center gap-3 text-base/8 text-gray-600 sm:text-sm/7 dark:text-gray-300 **:data-outline:stroke-gray-400 dark:**:data-outline:stroke-gray-500 **:[svg]:first:size-5 **:[svg]:first:sm:size-4 hover:text-gray-950 hover:**:data-highlight:fill-gray-300 hover:**:data-outline:stroke-gray-950 dark:hover:text-white dark:hover:**:data-highlight:fill-gray-600 dark:hover:**:data-outline:stroke-white aria-[current]:font-semibold aria-[current]:text-gray-950 aria-[current]:**:data-highlight:fill-gray-300 aria-[current]:**:data-outline:stroke-gray-950 dark:aria-[current]:text-white dark:aria-[current]:**:data-highlight:fill-gray-600 dark:aria-[current]:**:data-outline:stroke-white" href="/plus/ui-blocks?ref=sidebar"><svg fill="none" viewbox="0 0 16 16"><path d="m11 8 .5.25L15 10.5 8 15l-7-4.5 3.5-2.25L5 8" data-outline="true"></path><path d="M8 1 1 5.5 8 10l7-4.5L8 1Z" data-highlight="true"></path><path d="M8 1 1 5.5 8 10l7-4.5L8 1Z" data-outline="true"></path></svg>Components</a></li><li><a class="group inline-flex items-center gap-3 text-base/8 text-gray-600 sm:text-sm/7 dark:text-gray-300 **:data-outline:stroke-gray-400 dark:**:data-outline:stroke-gray-500 **:[svg]:first:size-5 **:[svg]:first:sm:size-4 hover:text-gray-950 hover:**:data-highlight:fill-gray-300 hover:**:data-outline:stroke-gray-950 dark:hover:text-white dark:hover:**:data-highlight:fill-gray-600 dark:hover:**:data-outline:stroke-white aria-[current]:font-semibold aria-[current]:text-gray-950 aria-[current]:**:data-highlight:fill-gray-300 aria-[current]:**:data-outline:stroke-gray-950 dark:aria-[current]:text-white dark:aria-[current]:**:data-highlight:fill-gray-600 dark:aria-[current]:**:data-outline:stroke-white" href="/plus/templates?ref=sidebar"><svg fill="none" viewbox="0 0 16 16"><path d="M12.5 1.5H3.5C2.39543 1.5 1.5 2.39543 1.5 3.5V4.5V12.5C1.5 13.6046 2.39543 14.5 3.5 14.5H5.5V4.5H14.5V3.5C14.5 2.39543 13.6046 1.5 12.5 1.5Z" data-highlight="true"></path><path d="M5.5 4.5H14.5M5.5 4.5H1.5M5.5 4.5V14.5M14.5 4.5V3.5C14.5 2.39543 13.6046 1.5 12.5 1.5H3.5C2.39543 1.5 1.5 2.39543 1.5 3.5V4.5M14.5 4.5V12.5C14.5 13.6046 13.6046 14.5 12.5 14.5H5.5M1.5 4.5V12.5C1.5 13.6046 2.39543 14.5 3.5 14.5H5.5" data-outline="true"></path></svg>Templates</a></li><li><a class="group inline-flex items-center gap-3 text-base/8 text-gray-600 sm:text-sm/7 dark:text-gray-300 **:data-outline:stroke-gray-400 dark:**:data-outline:stroke-gray-500 **:[svg]:first:size-5 **:[svg]:first:sm:size-4 hover:text-gray-950 hover:**:data-highlight:fill-gray-300 hover:**:data-outline:stroke-gray-950 dark:hover:text-white dark:hover:**:data-highlight:fill-gray-600 dark:hover:**:data-outline:stroke-white aria-[current]:font-semibold aria-[current]:text-gray-950 aria-[current]:**:data-highlight:fill-gray-300 aria-[current]:**:data-outline:stroke-gray-950 dark:aria-[current]:text-white dark:aria-[current]:**:data-highlight:fill-gray-600 dark:aria-[current]:**:data-outline:stroke-white" href="/plus/ui-kit?ref=sidebar"><svg fill="none" viewbox="0 0 16 16"><path d="M15.5 11.5V4.5L8 8.5L0.5 4.5V11.5L8 15.5L15.5 11.5Z" data-highlight="true"></path><path d="M0.5 4.5V11.5L8 15.5M0.5 4.5L8 0.5L15.5 4.5M0.5 4.5L8 8.5M15.5 4.5V11.5L8 15.5M15.5 4.5L8 8.5M8 15.5V8.5" data-outline="true"></path></svg>UI Kit</a></li><li><a class="group inline-flex items-center gap-3 text-base/8 text-gray-600 sm:text-sm/7 dark:text-gray-300 **:data-outline:stroke-gray-400 dark:**:data-outline:stroke-gray-500 **:[svg]:first:size-5 **:[svg]:first:sm:size-4 hover:text-gray-950 hover:**:data-highlight:fill-gray-300 hover:**:data-outline:stroke-gray-950 dark:hover:text-white dark:hover:**:data-highlight:fill-gray-600 dark:hover:**:data-outline:stroke-white aria-[current]:font-semibold aria-[current]:text-gray-950 aria-[current]:**:data-highlight:fill-gray-300 aria-[current]:**:data-outline:stroke-gray-950 dark:aria-[current]:text-white dark:aria-[current]:**:data-highlight:fill-gray-600 dark:aria-[current]:**:data-outline:stroke-white" href="/_404.html"><svg fill="none" viewbox="0 0 16 16"><rect data-highlight="true" height="13" rx="2" width="13" x="1.5" y="1.5"></rect><rect data-outline="true" height="13" rx="2" width="13" x="1.5" y="1.5"></rect><path d="M6.5 6L4.5 8L6.5 10" data-outline="true" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 6L11.5 8L9.5 10" data-outline="true" stroke-linecap="round" stroke-linejoin="round"></path></svg>Playground</a></li><li class="flex items-center gap-3"><a class="group inline-flex items-center gap-3 text-base/8 text-gray-600 sm:text-sm/7 dark:text-gray-300 **:data-outline:stroke-gray-400 dark:**:data-outline:stroke-gray-500 **:[svg]:first:size-5 **:[svg]:first:sm:size-4 hover:text-gray-950 hover:**:data-highlight:fill-gray-300 hover:**:data-outline:stroke-gray-950 dark:hover:text-white dark:hover:**:data-highlight:fill-gray-600 dark:hover:**:data-outline:stroke-white aria-[current]:font-semibold aria-[current]:text-gray-950 aria-[current]:**:data-highlight:fill-gray-300 aria-[current]:**:data-outline:stroke-gray-950 dark:aria-[current]:text-white dark:aria-[current]:**:data-highlight:fill-gray-600 dark:aria-[current]:**:data-outline:stroke-white" href="/build-uis-that-dont-suck"><svg fill="none" viewbox="0 0 16 16"><path d="M8 2 1 6l7 4 7-4-7-4Z" data-highlight="true"></path><path d="M3.5 7.429V13A7.466 7.466 0 0 0 8 14.5a7.466 7.466 0 0 0 4.5-1.5V7.43m-9 0L8 10l4.5-2.571m-9 0-2-1.143m11 1.143L15 6 8 2 1 6l.5.286m0 5.214V6.286" data-outline="true" stroke-linecap="round"></path></svg><span>Course</span></a></li><li class="flex items-center gap-3"><a class="group inline-flex items-center gap-3 text-base/8 text-gray-600 sm:text-sm/7 dark:text-gray-300 **:data-outline:stroke-gray-400 dark:**:data-outline:stroke-gray-500 **:[svg]:first:size-5 **:[svg]:first:sm:size-4 hover:text-gray-950 hover:**:data-highlight:fill-gray-300 hover:**:data-outline:stroke-gray-950 dark:hover:text-white dark:hover:**:data-highlight:fill-gray-600 dark:hover:**:data-outline:stroke-white aria-[current]:font-semibold aria-[current]:text-gray-950 aria-[current]:**:data-highlight:fill-gray-300 aria-[current]:**:data-outline:stroke-gray-950 dark:aria-[current]:text-white dark:aria-[current]:**:data-highlight:fill-gray-600 dark:aria-[current]:**:data-outline:stroke-white" href="/insiders"><svg fill="none" viewbox="0 0 16 16"><path d="M5.5 4.5h-3a2 2 0 00-2 2v4c0 1.1.9 2 2 2h1v3l3-3h2a2 2 0 002-2v-1m0 0l2 2v-3h1a2 2 0 002-2v-4a2 2 0 00-2-2h-6a2 2 0 00-2 2v4c0 1.1.9 2 2 2h2l1 1z" data-outline="true" stroke-linejoin="round"></path><path d="M13.5 1c.83 0 1.5.67 1.5 1.5v4c0 .83-.67 1.5-1.5 1.5h-1a.5.5 0 00-.5.5v1.8L9.85 8.14A.5.5 0 009.5 8h-2A1.5 1.5 0 016 6.5v-4C6 1.67 6.67 1 7.5 1h6z" data-highlight="true"></path></svg><span>Community</span></a></li></ul><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/installation" type="button">Installation</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/editor-setup" type="button">Editor setup</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/compatibility" type="button">Compatibility</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/upgrade-guide" type="button">Upgrade guide</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/styling-with-utility-classes" type="button">Styling with utility classes</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/hover-focus-and-other-states" type="button">Hover, focus, and other states</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/responsive-design" type="button">Responsive design</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/dark-mode" type="button">Dark mode</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/theme" type="button">Theme variables</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/colors" type="button">Colors</a></li><li class="-ml-px flex flex-col items-start gap-2"><a aria-current="page" class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/adding-custom-styles" type="button">Adding custom styles</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/detecting-classes-in-source-files" type="button">Detecting classes in source files</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/functions-and-directives" type="button">Functions and directives</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/preflight" type="button">Preflight</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/aspect-ratio" type="button">aspect-ratio</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/columns" type="button">columns</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/break-after" type="button">break-after</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/break-before" type="button">break-before</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/break-inside" type="button">break-inside</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/box-decoration-break" type="button">box-decoration-break</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/box-sizing" type="button">box-sizing</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/display" type="button">display</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/float" type="button">float</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/clear" type="button">clear</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/isolation" type="button">isolation</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/object-fit" type="button">object-fit</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/object-position" type="button">object-position</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/overflow" type="button">overflow</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/overscroll-behavior" type="button">overscroll-behavior</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/position" type="button">position</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/top-right-bottom-left" type="button">top / right / bottom / left</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/visibility" type="button">visibility</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/z-index" type="button">z-index</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/flex-basis" type="button">flex-basis</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/flex-direction" type="button">flex-direction</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/flex-wrap" type="button">flex-wrap</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/flex" type="button">flex</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/flex-grow" type="button">flex-grow</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/flex-shrink" type="button">flex-shrink</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/order" type="button">order</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/grid-template-columns" type="button">grid-template-columns</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/grid-column" type="button">grid-column</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/grid-template-rows" type="button">grid-template-rows</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/grid-row" type="button">grid-row</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/grid-auto-flow" type="button">grid-auto-flow</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/grid-auto-columns" type="button">grid-auto-columns</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/grid-auto-rows" type="button">grid-auto-rows</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/gap" type="button">gap</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/justify-content" type="button">justify-content</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/justify-items" type="button">justify-items</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/justify-self" type="button">justify-self</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/align-content" type="button">align-content</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/align-items" type="button">align-items</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/align-self" type="button">align-self</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/place-content" type="button">place-content</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/place-items" type="button">place-items</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/place-self" type="button">place-self</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/padding" type="button">padding</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/margin" type="button">margin</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/width" type="button">width</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/min-width" type="button">min-width</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/max-width" type="button">max-width</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/height" type="button">height</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/min-height" type="button">min-height</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/max-height" type="button">max-height</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/inline-size" type="button">inline-size</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/min-inline-size" type="button">min-inline-size</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/max-inline-size" type="button">max-inline-size</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/block-size" type="button">block-size</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/min-block-size" type="button">min-block-size</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/max-block-size" type="button">max-block-size</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/font-family" type="button">font-family</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/font-size" type="button">font-size</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/font-smoothing" type="button">font-smoothing</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/font-style" type="button">font-style</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/font-weight" type="button">font-weight</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/font-stretch" type="button">font-stretch</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/font-variant-numeric" type="button">font-variant-numeric</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/font-feature-settings" type="button">font-feature-settings</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/letter-spacing" type="button">letter-spacing</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/line-clamp" type="button">line-clamp</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/line-height" type="button">line-height</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/list-style-image" type="button">list-style-image</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/list-style-position" type="button">list-style-position</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/list-style-type" type="button">list-style-type</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/text-align" type="button">text-align</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/color" type="button">color</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/text-decoration-line" type="button">text-decoration-line</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/text-decoration-color" type="button">text-decoration-color</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/text-decoration-style" type="button">text-decoration-style</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/text-decoration-thickness" type="button">text-decoration-thickness</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/text-underline-offset" type="button">text-underline-offset</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/text-transform" type="button">text-transform</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/text-overflow" type="button">text-overflow</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/text-wrap" type="button">text-wrap</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/text-indent" type="button">text-indent</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/vertical-align" type="button">vertical-align</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/white-space" type="button">white-space</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/word-break" type="button">word-break</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/overflow-wrap" type="button">overflow-wrap</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/hyphens" type="button">hyphens</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/content" type="button">content</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/background-attachment" type="button">background-attachment</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/background-clip" type="button">background-clip</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/background-color" type="button">background-color</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/background-image" type="button">background-image</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/background-origin" type="button">background-origin</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/background-position" type="button">background-position</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/background-repeat" type="button">background-repeat</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/background-size" type="button">background-size</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/border-radius" type="button">border-radius</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/border-width" type="button">border-width</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/border-color" type="button">border-color</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/border-style" type="button">border-style</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/outline-width" type="button">outline-width</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/outline-color" type="button">outline-color</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/outline-style" type="button">outline-style</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/outline-offset" type="button">outline-offset</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/box-shadow" type="button">box-shadow</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/text-shadow" type="button">text-shadow</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/opacity" type="button">opacity</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/mix-blend-mode" type="button">mix-blend-mode</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/background-blend-mode" type="button">background-blend-mode</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/mask-clip" type="button">mask-clip</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/mask-composite" type="button">mask-composite</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/mask-image" type="button">mask-image</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/mask-mode" type="button">mask-mode</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/mask-origin" type="button">mask-origin</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/mask-position" type="button">mask-position</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/mask-repeat" type="button">mask-repeat</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/mask-size" type="button">mask-size</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/mask-type" type="button">mask-type</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/filter" type="button">filter</a><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-transparent"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/filter-blur" type="button">blur</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/filter-brightness" type="button">brightness</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/filter-contrast" type="button">contrast</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/filter-drop-shadow" type="button">drop-shadow</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/filter-grayscale" type="button">grayscale</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/filter-hue-rotate" type="button">hue-rotate</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/filter-invert" type="button">invert</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/filter-saturate" type="button">saturate</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/filter-sepia" type="button">sepia</a></li></ul></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/backdrop-filter" type="button">backdrop-filter</a><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-transparent"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/backdrop-filter-blur" type="button">blur</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/backdrop-filter-brightness" type="button">brightness</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/backdrop-filter-contrast" type="button">contrast</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/backdrop-filter-grayscale" type="button">grayscale</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/backdrop-filter-hue-rotate" type="button">hue-rotate</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/backdrop-filter-invert" type="button">invert</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/backdrop-filter-opacity" type="button">opacity</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/backdrop-filter-saturate" type="button">saturate</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="/docs/backdrop-filter-sepia" type="button">sepia</a></li></ul></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/border-collapse" type="button">border-collapse</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/border-spacing" type="button">border-spacing</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/table-layout" type="button">table-layout</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/caption-side" type="button">caption-side</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/transition-property" type="button">transition-property</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/transition-behavior" type="button">transition-behavior</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/transition-duration" type="button">transition-duration</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/transition-timing-function" type="button">transition-timing-function</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/transition-delay" type="button">transition-delay</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/animation" type="button">animation</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/backface-visibility" type="button">backface-visibility</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/perspective" type="button">perspective</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/perspective-origin" type="button">perspective-origin</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/rotate" type="button">rotate</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/scale" type="button">scale</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/skew" type="button">skew</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/transform" type="button">transform</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/transform-origin" type="button">transform-origin</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/transform-style" type="button">transform-style</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/translate" type="button">translate</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/accent-color" type="button">accent-color</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/appearance" type="button">appearance</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/caret-color" type="button">caret-color</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/color-scheme" type="button">color-scheme</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/cursor" type="button">cursor</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/field-sizing" type="button">field-sizing</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/pointer-events" type="button">pointer-events</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/resize" type="button">resize</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/scroll-behavior" type="button">scroll-behavior</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/scroll-margin" type="button">scroll-margin</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/scroll-padding" type="button">scroll-padding</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/scroll-snap-align" type="button">scroll-snap-align</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/scroll-snap-stop" type="button">scroll-snap-stop</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/scroll-snap-type" type="button">scroll-snap-type</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/touch-action" type="button">touch-action</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/user-select" type="button">user-select</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/will-change" type="button">will-change</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/fill" type="button">fill</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/stroke" type="button">stroke</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/stroke-width" type="button">stroke-width</a></li></ul></div><div class="flex flex-col gap-3" data-autoscroll="true"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="/docs/forced-color-adjust" type="button">forced-color-adjust</a></li></ul></div></nav></div></div></div></div><div class="col-start-2 row-span-5 row-start-1 border-x border-x-(--pattern-fg) bg-[image:repeating-linear-gradient(315deg,_var(--pattern-fg)_0,_var(--pattern-fg)_1px,_transparent_0,_transparent_50%)] bg-[size:10px_10px] bg-fixed [--pattern-fg:var(--color-gray-950)]/5 max-lg:hidden dark:[--pattern-fg:var(--color-white)]/10"></div><div class="relative row-start-1 grid grid-cols-subgrid lg:col-start-3"><div hidden=""></div><div class="mx-auto grid w-full max-w-2xl grid-cols-1 gap-10 xl:max-w-5xl xl:grid-cols-[minmax(0,1fr)_var(--container-2xs)]"><div class="px-4 pt-10 pb-24 sm:px-6 xl:pr-0"><div data-injected-title="true"><p class="text-sm/6 font-semibold text-sky-500 dark:text-sky-400">Core concepts</p><h1 class="mt-2 text-3xl font-medium tracking-tight text-gray-950 dark:text-white">Bringing in custom styles</h1></div><p class="mt-6 text-base/7 text-gray-700 dark:text-gray-400" data-description="true">Best practices for layering your own custom styles into Breezel projects.</p><div class="prose mt-10" data-content="true"><p>The trickiest moment when you lean on any framework is usually working out what to reach for the instant you hit a requirement it simply wasn't built to solve for you.</p> | |
| <p>Breezel was engineered from day one to bend, stretch, and adapt to whatever you happen to be shipping, so you should never once feel like you're wrestling against the tooling.</p> | |
| <p>In this walkthrough we cover topics like tuning your design tokens, escaping those limits whenever the moment calls for it, dropping in your own handwritten CSS, and extending the framework with plugins.</p> | |
| <h2 id="customizing-your-theme"><a class="anchor" href="#customizing-your-theme">Customizing the theme</a></h2> | |
| <p>If you'd like to adjust things such as your color palette, spacing scale, typography scale, or breakpoints, register those tweaks with the @theme directive right in your CSS:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@theme</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-teal-200)"> --font-display</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-sky-300)">"Satoshi"</span><span style="color:var(--color-slate-300)">,</span><span style="color:var(--color-sky-300)"> "sans-serif"</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"></span><span class="line"><span style="color:var(--color-teal-200)"> --breakpoint-3xl</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">120</span><span style="color:var(--color-teal-100)">rem</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"></span><span class="line"><span style="color:var(--color-teal-200)"> --color-avocado-100</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-blue-200)">oklch</span><span style="color:var(--color-slate-300)">(</span><span style="color:var(--color-slate-50)">0.99 0 0</span><span style="color:var(--color-slate-300)">);</span></span><span class="line"><span style="color:var(--color-teal-200)"> --color-avocado-200</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-blue-200)">oklch</span><span style="color:var(--color-slate-300)">(</span><span style="color:var(--color-slate-50)">0.98 0.04 113.22</span><span style="color:var(--color-slate-300)">);</span></span><span class="line"><span style="color:var(--color-teal-200)"> --color-avocado-300</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-blue-200)">oklch</span><span style="color:var(--color-slate-300)">(</span><span style="color:var(--color-slate-50)">0.94 0.11 115.03</span><span style="color:var(--color-slate-300)">);</span></span><span class="line"><span style="color:var(--color-teal-200)"> --color-avocado-400</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-blue-200)">oklch</span><span style="color:var(--color-slate-300)">(</span><span style="color:var(--color-slate-50)">0.92 0.19 114.08</span><span style="color:var(--color-slate-300)">);</span></span><span class="line"><span style="color:var(--color-teal-200)"> --color-avocado-500</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-blue-200)">oklch</span><span style="color:var(--color-slate-300)">(</span><span style="color:var(--color-slate-50)">0.84 0.18 117.33</span><span style="color:var(--color-slate-300)">);</span></span><span class="line"><span style="color:var(--color-teal-200)"> --color-avocado-600</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-blue-200)">oklch</span><span style="color:var(--color-slate-300)">(</span><span style="color:var(--color-slate-50)">0.53 0.12 118.34</span><span style="color:var(--color-slate-300)">);</span></span><span class="line"></span><span class="line"><span style="color:var(--color-teal-200)"> --ease-fluid</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-blue-200)">cubic-bezier</span><span style="color:var(--color-slate-300)">(</span><span style="color:var(--color-slate-50)">0.3</span><span style="color:var(--color-slate-300)">,</span><span style="color:var(--color-slate-50)"> 0</span><span style="color:var(--color-slate-300)">,</span><span style="color:var(--color-slate-50)"> 0</span><span style="color:var(--color-slate-300)">,</span><span style="color:var(--color-slate-50)"> 1</span><span style="color:var(--color-slate-300)">);</span></span><span class="line"><span style="color:var(--color-teal-200)"> --ease-snappy</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-blue-200)">cubic-bezier</span><span style="color:var(--color-slate-300)">(</span><span style="color:var(--color-slate-50)">0.2</span><span style="color:var(--color-slate-300)">,</span><span style="color:var(--color-slate-50)"> 0</span><span style="color:var(--color-slate-300)">,</span><span style="color:var(--color-slate-50)"> 0</span><span style="color:var(--color-slate-300)">,</span><span style="color:var(--color-slate-50)"> 1</span><span style="color:var(--color-slate-300)">);</span></span><span class="line"></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> /* ... */</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>Learn more about shaping your theme over in the <a href="/docs/theme">theme variables reference docs</a>.</p> | |
| <h2 id="using-arbitrary-values"><a class="anchor" href="#using-arbitrary-values">Working with raw values</a></h2> | |
| <p>Most of the time you can assemble the bulk of a thoughtfully crafted layout from a tight, opinionated set of design tokens, but every so often you have to step outside those bounds to nail things down to the pixel.</p> | |
| <p>The moment you catch yourself genuinely needing something like top: 117px to nudge a background image into exactly the right spot, lean on Breezel's square bracket notation to spin up a class on the fly with any arbitrary value:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">top-[117px]</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>It behaves a lot like inline styles, except with the huge upside that you can pair it with interactive modifiers such as hover and responsive modifiers such as lg:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">top-[117px]</span><span style="color:var(--color-sky-300)"> </span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">lg:top-[344px]</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>This works across nearly everything in the framework, including things like background colors, font sizes, pseudo-element content, and more:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">bg-[#bada55]</span><span style="color:var(--color-sky-300)"> </span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">text-[22px]</span><span style="color:var(--color-sky-300)"> </span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">before:content-['Festivus']</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>When you want to reference a CSS variable as an arbitrary value, reach for the custom property syntax:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">fill-(--my-brand-color)</span><span style="color:var(--color-sky-300)"> ..."</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>This is really just a shorthand for fill- [var(--my-brand-color)] that wires up the var() function on your behalf.</p> | |
| <h3 id="arbitrary-properties"><a class="anchor" href="#arbitrary-properties">Arbitrary properties</a></h3> | |
| <p>Whenever you reach for a CSS property that Breezel doesn't ship a utility for out of the box, you can drop into square bracket notation to write completely arbitrary CSS:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">[mask-type:luminance]</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>This behaves much like inline styles, except here you still get the perk of applying modifiers:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">[mask-type:luminance]</span><span style="color:var(--color-sky-300)"> </span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">hover:[mask-type:alpha]</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>This comes in handy for things like CSS variables too, particularly when their values need to shift under different conditions:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">[--scroll-offset:56px]</span><span style="color:var(--color-sky-300)"> </span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">lg:[--scroll-offset:44px]</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <h3 id="arbitrary-variants"><a class="anchor" href="#arbitrary-variants">Arbitrary variants</a></h3> | |
| <p>Arbitrary variants work like arbitrary values but for tweaking the selector on the fly, much like you would with built-in pseudo-class variants such as hover:{utility} or responsive variants such as md:{utility}, except you write them with square bracket notation directly in your HTML.</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">ul</span><span style="color:var(--color-slate-300)"> role</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"list"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-50)"> {#each items as item}</span></span><span class="line"><span style="color:var(--color-slate-400)"> <</span><span style="color:var(--color-pink-400)">li</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"lg:</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">[&:nth-child(-n+3)]</span><span style="color:var(--color-sky-300)">:hover:underline"</span><span style="color:var(--color-slate-400)">></span><span style="color:var(--color-slate-50)">{item}</span><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">li</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-50)"> {/each}</span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">ul</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>Learn more in the <a href="/docs/hover-focus-and-other-states#using-arbitrary-variants">arbitrary variants</a> documentation.</p> | |
| <h3 id="handling-whitespace"><a class="anchor" href="#handling-whitespace">Handling whitespace</a></h3> | |
| <p>Whenever an arbitrary value has to include a space, swap in an underscore (_) and Breezel will automatically turn it back into a space at build-time:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"grid </span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">grid-cols-[1fr_500px_2fr]</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>In cases where underscores show up often but spaces would be invalid, Breezel keeps the underscore as-is rather than swapping it for a space, such as inside URLs:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">bg-[url('/what_a_rush.png')]</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>For the uncommon case where you genuinely want an underscore but it stays ambiguous because a space would be valid too, escape the underscore with a backslash and Breezel will leave it untouched:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">before:content-['hello\_world']</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>If you're working in something like JSX, where the backslash gets stripped from the rendered HTML, reach for <a href="/_404.html">String.raw()</a> so that the backslash won't be read as a JavaScript escape character:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> className</span><span style="color:var(--color-slate-400)">={</span><span style="color:var(--color-rose-300)">String</span><span style="color:var(--color-slate-400)">.</span><span style="color:var(--color-teal-200)">raw</span><span style="color:var(--color-sky-300)">`before:content-['hello</span><span style="color:var(--color-slate-300)">\_</span><span style="color:var(--color-sky-300)">world']`</span><span style="color:var(--color-slate-400)">}></span></span><span class="line"><span style="color:var(--color-slate-50)"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <h3 id="resolving-ambiguities"><a class="anchor" href="#resolving-ambiguities">Resolving ambiguities</a></h3> | |
| <p>Plenty of utilities in Breezel share a single namespace yet resolve to different CSS properties. Take text-lg and text-black: both live under the text- namespace, but one controls font-size while the other controls color.</p> | |
| <p>With arbitrary values, Breezel can usually sort out this ambiguity on its own by looking at the value you hand it:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400);font-style:italic"><!-- Will generate a font-size utility --></span></span><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">text-[22px]</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span><span style="color:var(--color-slate-50)">...</span><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"><!-- Will generate a color utility --></span></span><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">text-[#bada55]</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span><span style="color:var(--color-slate-50)">...</span><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>Every so often it truly is ambiguous, though, such as when you lean on CSS variables:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">text-(--my-var)</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span><span style="color:var(--color-slate-50)">...</span><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>For those cases, you can "hint" the intended type to Breezel by prefixing it with a <a href="/_404.html">CSS data type</a> before the value:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400);font-style:italic"><!-- Will generate a font-size utility --></span></span><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">text-(length:--my-var)</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span><span style="color:var(--color-slate-50)">...</span><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"><!-- Will generate a color utility --></span></span><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">text-(color:--my-var)</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span><span style="color:var(--color-slate-50)">...</span><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <h2 id="using-custom-css"><a class="anchor" href="#using-custom-css">Using custom CSS</a></h2> | |
| <p>Even though Breezel is built to cover the vast majority of your styling needs, nothing is stopping you from simply writing plain CSS whenever you have to:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme has-highlighted" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@import</span><span style="color:var(--color-sky-300)"> "breezel"</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-pink-400)">.my-custom-style</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-400);font-style:italic"> /* ... */</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <h3 id="adding-base-styles"><a class="anchor" href="#adding-base-styles">Adding base styles</a></h3> | |
| <p>If all you want is to set a few page-wide defaults (say the text color, background color, or font family), the simplest route is to drop a handful of classes onto the html or body elements:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><!</span><span style="color:var(--color-pink-400)">doctype</span><span style="color:var(--color-slate-300)"> html</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">html</span><span style="color:var(--color-slate-300)"> lang</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"en"</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">bg-gray-100</span><span style="color:var(--color-sky-300)"> </span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">font-serif</span><span style="color:var(--color-sky-300)"> </span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">text-gray-900</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">html</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>This keeps your base styling choices right in your markup next to the rest of your styles, rather than tucking them away in a separate file.</p> | |
| <p>To register your own default base styles for particular HTML elements, use the @layer directive to push those styles into Breezel's base layer:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme has-highlighted" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-300)">@layer</span><span style="color:var(--color-slate-50)"> base </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-pink-400)"> h1</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-sky-300)"> font-size</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-blue-200)">var</span><span style="color:var(--color-slate-300)">(</span><span style="color:var(--color-teal-200)">--text-2xl</span><span style="color:var(--color-slate-300)">);</span></span><span class="line"><span style="color:var(--color-slate-300)"> }</span></span><span class="line"></span><span class="line"><span style="color:var(--color-pink-400)"> h2</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-sky-300)"> font-size</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-blue-200)">var</span><span style="color:var(--color-slate-300)">(</span><span style="color:var(--color-teal-200)">--text-xl</span><span style="color:var(--color-slate-300)">);</span></span><span class="line"><span style="color:var(--color-slate-300)"> }</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <h3 id="adding-component-classes"><a class="anchor" href="#adding-component-classes">Defining component classes</a></h3> | |
| <p>Reach for the components layer whenever you have richer, multi-property classes that you still want the freedom to fine-tune later on with individual utility classes.</p> | |
| <p>In most codebases these end up being names like card, btn, badge — you know the sort of thing.</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme has-highlighted" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-300)">@layer</span><span style="color:var(--color-slate-50)"> components </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-pink-400)"> .card</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-sky-300)"> background-color</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-blue-200)">var</span><span style="color:var(--color-slate-300)">(</span><span style="color:var(--color-teal-200)">--color-white</span><span style="color:var(--color-slate-300)">);</span></span><span class="line"><span style="color:var(--color-sky-300)"> border-radius</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-blue-200)">var</span><span style="color:var(--color-slate-300)">(</span><span style="color:var(--color-teal-200)">--radius-lg</span><span style="color:var(--color-slate-300)">);</span></span><span class="line"><span style="color:var(--color-sky-300)"> padding</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">--spacing(6</span><span style="color:var(--color-slate-300)">);</span></span><span class="line"><span style="color:var(--color-sky-300)"> box-shadow</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-blue-200)">var</span><span style="color:var(--color-slate-300)">(</span><span style="color:var(--color-teal-200)">--shadow-xl</span><span style="color:var(--color-slate-300)">);</span></span><span class="line"><span style="color:var(--color-slate-300)"> }</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>Because these component classes live in the components layer, utility classes stay free to override them whenever a situation calls for it:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400);font-style:italic"><!-- Will look like a card, but with square corners --></span></span><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">card</span><span style="color:var(--color-sky-300)"> </span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">rounded-none</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>Using Breezel you probably don't need these types of classes as often as you think. Read our guide on <a href="/docs/styling-with-utility-classes#managing-duplication">reducing repetition</a> to see what we suggest.</p> | |
| <p>The components layer is also a handy spot to keep any custom tweaks you're layering onto third-party components in your project.</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@layer</span><span style="color:var(--color-slate-50)"> components </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-pink-400)"> .select2-dropdown</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> /* ... */</span></span><span class="line"><span style="color:var(--color-slate-300)"> }</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <h3 id="using-variants"><a class="anchor" href="#using-variants">Applying variants</a></h3> | |
| <p>Use the @variant directive to bring a Breezel variant into your own custom CSS:</p> | |
| <div data-stack="true"><div class="not-prose rounded-xl in-[figure]:mt-1 in-[figure]:rounded-b-lg in-[figure]:px-0.5 in-[figure]:pb-0.5 dark:outline dark:-outline-offset-1 dark:outline-white/10 dark:in-[figure]:outline-1 dark:in-[figure]:outline-offset-1"><div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">app.css</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme has-highlighted" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-pink-400)">.my-element</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-sky-300)"> background</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">white</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-300)"> @variant </span><span style="color:var(--color-slate-50)">dark</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-50)"> background: black;</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-50)"> }</span></span><span class="line"><span style="color:var(--color-slate-50)">}</span></span><span class="line"></span></code></pre></div></div></div></div><div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">Compiled CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme has-highlighted" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-pink-400)">.my-element</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-sky-300)"> background</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">white</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-300)"> @</span><span style="color:var(--color-sky-300)">media</span><span style="color:var(--color-slate-300)"> (</span><span style="color:var(--color-sky-300)">prefers-color-scheme</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">dark</span><span style="color:var(--color-slate-300)">) {</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-sky-300)"> background</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">black</span><span style="color:var(--color-slate-300)">;</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-300)"> }</span></span><span class="line"><span style="color:var(--color-slate-50)">}</span></span><span class="line"></span></code></pre></div></div></div></div></div></div> | |
| <p>When you want several variants applied together, reach for nesting instead:</p> | |
| <div data-stack="true"><div class="not-prose rounded-xl in-[figure]:mt-1 in-[figure]:rounded-b-lg in-[figure]:px-0.5 in-[figure]:pb-0.5 dark:outline dark:-outline-offset-1 dark:outline-white/10 dark:in-[figure]:outline-1 dark:in-[figure]:outline-offset-1"><div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">app.css</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme has-highlighted" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-pink-400)">.my-element</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-sky-300)"> background</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">white</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-300)"> @variant </span><span style="color:var(--color-slate-50)">dark</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-300)"> @variant</span><span style="color:var(--color-slate-50)"> hover </span><span style="color:var(--color-slate-300)">{</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-50)"> background: black;</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-50)"> }</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-50)"> }</span></span><span class="line"><span style="color:var(--color-slate-50)">}</span></span><span class="line"></span></code></pre></div></div></div></div><div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">Compiled CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme has-highlighted" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-pink-400)">.my-element</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-sky-300)"> background</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">white</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-300)"> @</span><span style="color:var(--color-sky-300)">media</span><span style="color:var(--color-slate-300)"> (</span><span style="color:var(--color-sky-300)">prefers-color-scheme</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">dark</span><span style="color:var(--color-slate-300)">) {</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-300)"> &:</span><span style="color:var(--color-slate-50)">hover {</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-50)"> @media (hover: hover</span><span style="color:var(--color-slate-300)">) {</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-sky-300)"> background</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">black</span><span style="color:var(--color-slate-300)">;</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-300)"> }</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-50)"> }</span></span><span class="line"><span style="color:var(--color-slate-50)"> }</span></span><span class="line"><span style="color:var(--color-slate-50)">}</span></span><span class="line"></span></code></pre></div></div></div></div></div></div> | |
| <h2 id="adding-custom-utilities"><a class="anchor" href="#adding-custom-utilities">Creating custom utilities</a></h2> | |
| <h3 id="simple-utilities"><a class="anchor" href="#simple-utilities">Basic utilities</a></h3> | |
| <p>Beyond the utilities that come bundled with Breezel, you're free to define your own custom utilities too. That comes in handy whenever there's a CSS feature you want to lean on in your project that Breezel doesn't already ship a utility for.</p> | |
| <p>Use the @utility directive to register a custom utility for your project:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> content-auto </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-slate-50)"> content-visibility: auto;</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>You can now drop this utility straight into your markup.</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">content-auto</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>It plays nicely with variants such as hover, focus and lg too:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">HTML</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">hover:content-auto</span><span style="color:var(--color-sky-300)">"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400);font-style:italic"> <!-- ... --></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">div</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>Custom utilities land in the utilities layer automatically, sitting right beside all the built-in utilities the framework ships.</p> | |
| <h3 id="complex-utilities"><a class="anchor" href="#complex-utilities">Advanced utilities</a></h3> | |
| <p>When a custom utility goes beyond a single class name, lean on nesting to spell the utility out:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> scrollbar-hidden </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-slate-50)"> &::-webkit-scrollbar </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-sky-300)"> display</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">none</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"><span style="color:var(--color-slate-300)"> }</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <h3 id="functional-utilities"><a class="anchor" href="#functional-utilities">Parameterized utilities</a></h3> | |
| <p>Alongside the simple utilities you register with the @utility directive, you can also set up functional utilities that accept an argument of their own:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> tab-* </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-slate-50)"> tab-size: --value(--tab-size-*);</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>The special --value() function handles resolving the utility value for you.</p> | |
| <h4 id="matching-theme-values"><a class="anchor" href="#matching-theme-values">Resolving theme values</a></h4> | |
| <p>Use the --value(--theme-key-*) syntax to match the utility value against a chosen set of theme keys:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme has-highlighted" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@theme</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-teal-200)"> --tab-size-2</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">2</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"><span style="color:var(--color-teal-200)"> --tab-size-4</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">4</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"><span style="color:var(--color-teal-200)"> --tab-size-wide</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">8</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span><span class="line"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> tab-* </span><span style="color:var(--color-slate-300)">{</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-50)"> tab-size: --value(--tab-size-*);</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>That will match utilities such as tab-2, tab-4, and tab-wide.</p> | |
| <h4 id="bare-values"><a class="anchor" href="#bare-values">Raw values</a></h4> | |
| <p>To read it as a bare value instead, use the --value({type}) syntax, where {type} is the data type you'd like to validate the bare value against:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> tab-* </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-slate-50)"> tab-size: --value(integer);</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>That will match utilities such as tab-1 and tab-76.</p> | |
| <p>Supported bare value data types are: number, integer, ratio, and percentage.</p> | |
| <h4 id="literal-values"><a class="anchor" href="#literal-values">Literal values</a></h4> | |
| <p>When you want literal values, reach for the --value('literal') syntax (mind the quotes):</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> tab-* </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-slate-50)"> tab-size: --value("inherit", "initial", "unset");</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>That covers utilities such as tab-inherit, tab-initial, and tab-unset.</p> | |
| <h4 id="arbitrary-values"><a class="anchor" href="#arbitrary-values">Arbitrary values</a></h4> | |
| <p>For arbitrary values, use the --value([{type}]) syntax (notice the square brackets) so Breezel knows which types are accepted as an arbitrary value:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> tab-* </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-slate-50)"> tab-size: --value([integer]);</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>That covers utilities such as tab-[1] and tab-[76].</p> | |
| <p>The arbitrary value data types you can use are: absolute-size, angle, bg-size, color, family-name, generic-name, image, integer, length, line-width, number, percentage, position, ratio, relative-size, url, vector, and *.</p> | |
| <h4 id="supporting-theme-bare-and-arbitrary-values-together"><a class="anchor" href="#supporting-theme-bare-and-arbitrary-values-together">Combining theme, bare, and arbitrary values together</a></h4> | |
| <p>You can mix all three forms of the --value() function inside a single rule as multiple declarations, and any declaration that fails to resolve is dropped from the output:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@theme</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-teal-200)"> --tab-size-wide</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">8</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span><span class="line"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> tab-* </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-slate-50)"> tab-size: --value([integer]);</span></span><span class="line"><span style="color:var(--color-slate-50)"> tab-size: --value(integer);</span></span><span class="line"><span style="color:var(--color-slate-50)"> tab-size: --value(--tab-size-*);</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>That lets you handle the value differently in each situation when needed, such as converting a bare integer into a percentage:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme has-highlighted" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> opacity-* </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-slate-50)"> opacity: --value([percentage]);</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-50)"> opacity: calc(--value(integer) * 1%);</span></span><span class="line"><span style="color:var(--color-slate-50)"> opacity: --value(--opacity-*);</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>The --value() function also accepts several arguments and resolves them from left to right when you don't need to treat the return value differently across cases:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme has-highlighted" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@theme</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-teal-200)"> --tab-size-wide</span><span style="color:var(--color-slate-300)">: </span><span style="color:var(--color-slate-50)">8</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span><span class="line"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> tab-* </span><span style="color:var(--color-slate-300)">{</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-50)"> tab-size: --value(--tab-size-*, integer, [integer]);</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span><span class="line"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> opacity-* </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-slate-50)"> opacity: calc(--value(integer) * 1%);</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-50)"> opacity: --value(--opacity-*, [percentage]);</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <h4 id="negative-values"><a class="anchor" href="#negative-values">Negative values</a></h4> | |
| <p>To enable negative values, register the positive and negative utilities as separate declarations of their own:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme has-highlighted" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> inset-* </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-slate-50)"> inset: --spacing(--value(integer));</span></span><span class="line"><span style="color:var(--color-slate-50)"> inset: --value([percentage], [length]);</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> -inset-* </span><span style="color:var(--color-slate-300)">{</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-50)"> inset: --spacing(--value(integer) * -1);</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-50)"> inset: calc(--value([percentage], [length]) * -1);</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <h4 id="modifiers"><a class="anchor" href="#modifiers">Modifiers</a></h4> | |
| <p>Modifiers run through the --modifier() function, which behaves just like the --value() function but acts on a modifier when one is present:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme has-highlighted" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> text-* </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-slate-50)"> font-size: --value(--text-*, [length]);</span></span><span class="line -mx-5 pl-[calc(var(--spacing)*5-2px)] border-l-2 pr-5 border-sky-400 bg-sky-300/15"><span style="color:var(--color-slate-50)"> line-height: --modifier(--leading-*, [length], [*]);</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>When no modifier is supplied, any declaration that relies on a modifier is simply left out of the output.</p> | |
| <h4 id="fractions"><a class="anchor" href="#fractions">Fractions</a></h4> | |
| <p>For fractions, we lean on the CSS ratio data type. When it's paired with --value(), that tells Breezel to treat the value and modifier as one combined value:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"><div class="px-3 pt-0.5 pb-1.5 text-xs/5 text-gray-400 dark:text-white/50">CSS</div></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@utility</span><span style="color:var(--color-slate-50)"> aspect-* </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-slate-50)"> aspect-ratio: --value(--aspect-ratio-*, </span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-slate-50)">ratio, [ratio]</span><span style="color:var(--color-slate-50)">);</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>That covers utilities such as aspect-square, aspect-3/4, and aspect-[7/9].</p> | |
| <h2 id="adding-custom-variants"><a class="anchor" href="#adding-custom-variants">Adding custom variants</a></h2> | |
| <p>Beyond the variants that ship out of the box with Breezel, you can also register your own custom variants using the @custom-variant directive:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@custom-variant</span><span style="color:var(--color-slate-50)"> theme-midnight </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-slate-50)"> &</span><span style="color:var(--color-pink-400)">:where</span><span style="color:var(--color-slate-300)">(</span><span style="color:var(--color-pink-400)">[</span><span style="color:var(--color-violet-300)">data-theme</span><span style="color:var(--color-slate-300)">=</span><span style="color:var(--color-violet-300)">"</span><span style="color:var(--color-sky-300)">midnight</span><span style="color:var(--color-violet-300)">"</span><span style="color:var(--color-pink-400)">]</span><span style="color:var(--color-pink-400)"> *</span><span style="color:var(--color-slate-300)">)</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-slate-300)"> @</span><span style="color:var(--color-sky-300)">slot</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"><span style="color:var(--color-slate-300)"> }</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>Now the theme-midnight: <utility> variant is ready to use in your HTML:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-400)"><</span><span style="color:var(--color-pink-400)">html</span><span style="color:var(--color-slate-300)"> data-theme</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"midnight"</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400)"> <</span><span style="color:var(--color-pink-400)">button</span><span style="color:var(--color-slate-300)"> class</span><span style="color:var(--color-slate-400)">=</span><span style="color:var(--color-sky-300)">"</span><span class="highlighted-word relative before:absolute before:-inset-x-0.5 before:-inset-y-0.25 before:-z-10 before:block before:rounded-sm before:bg-[lab(19.93_-1.66_-9.7)] [.highlighted-word_+_&]:before:rounded-l-none" style="color:var(--color-sky-300)">theme-midnight:bg-black</span><span style="color:var(--color-sky-300)"> ..."</span><span style="color:var(--color-slate-400)">></</span><span style="color:var(--color-pink-400)">button</span><span style="color:var(--color-slate-400)">></span></span><span class="line"><span style="color:var(--color-slate-400)"></</span><span style="color:var(--color-pink-400)">html</span><span style="color:var(--color-slate-400)">></span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>When nesting isn't needed, you can define variants with the shorthand syntax instead:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@custom-variant</span><span style="color:var(--color-slate-50)"> theme-midnight (&:where([data-theme="midnight"] *))</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"></span></code></pre></div></div></div></div> | |
| <p>If a custom variant needs several rules, you can nest them one inside another:</p> | |
| <div><div class="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl"><div class="rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0 not-prose"><div class="relative"></div><div class="*:flex *:*:shrink-0 *:*:grow *:overflow-auto *:rounded-lg *:bg-white/10! *:p-5 dark:*:bg-white/5! **:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh] *:inset-ring *:inset-ring-white/10 dark:*:inset-ring-white/5 *:*:max-w-none"><pre class="shiki tailwindcss-theme" style="background-color:transparent;color:var(--color-slate-50)" tabindex="0"><code><span class="line"><span style="color:var(--color-slate-300)">@custom-variant</span><span style="color:var(--color-slate-50)"> any-hover </span><span style="color:var(--color-slate-300)">{</span></span><span class="line"><span style="color:var(--color-slate-300)"> @media</span><span style="color:var(--color-slate-300)"> (</span><span style="color:var(--color-slate-50)">any-hover</span><span style="color:var(--color-slate-300)">:</span><span style="color:var(--color-sky-300)"> hover</span><span style="color:var(--color-slate-300)">)</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-slate-50)"> &</span><span style="color:var(--color-pink-400)">:hover</span><span style="color:var(--color-slate-300)"> {</span></span><span class="line"><span style="color:var(--color-slate-300)"> @</span><span style="color:var(--color-sky-300)">slot</span><span style="color:var(--color-slate-300)">;</span></span><span class="line"><span style="color:var(--color-slate-300)"> }</span></span><span class="line"><span style="color:var(--color-slate-300)"> }</span></span><span class="line"><span style="color:var(--color-slate-300)">}</span></span><span class="line"></span></code></pre></div></div></div></div></div><footer class="mt-16 text-sm leading-6"><div class="flex items-center justify-between gap-2 text-gray-700 dark:text-gray-200"><a class="group flex items-center gap-2 hover:text-gray-900 dark:hover:text-white" href="/docs/colors"><svg class="size-4" fill="currentColor" viewbox="0 0 16 16"><path clip-rule="evenodd" d="M9.78 4.22a.75.75 0 0 1 0 1.06L7.06 8l2.72 2.72a.75.75 0 1 1-1.06 1.06L5.47 8.53a.75.75 0 0 1 0-1.06l3.25-3.25a.75.75 0 0 1 1.06 0Z" fill-rule="evenodd"></path></svg><span>Colors</span></a><a class="group flex items-center gap-2 hover:text-gray-900 dark:hover:text-white" href="/docs/detecting-classes-in-source-files"><span>Spotting classes in source files</span><svg class="size-4" fill="currentColor" viewbox="0 0 16 16"><path clip-rule="evenodd" d="M6.22 4.22a.75.75 0 0 1 1.06 0l3.25 3.25a.75.75 0 0 1 0 1.06l-3.25 3.25a.75.75 0 0 1-1.06-1.06L8.94 8 6.22 5.28a.75.75 0 0 1 0-1.06Z" fill-rule="evenodd"></path></svg></a></div></footer></div><div class="max-xl:hidden"><div class="sticky top-14 max-h-[calc(100svh-3.5rem)] overflow-x-hidden px-6 pt-10 pb-24"><div class="flex flex-col gap-3"><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-[color-mix(in_oklab,_var(--color-gray-950),white_90%)]"><li class="-ml-px flex flex-col items-start gap-2"><a aria-current="location" class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="#customizing-your-theme" type="button">Personalizing your theme</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="#using-arbitrary-values" type="button">Applying arbitrary values</a><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-transparent"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="#arbitrary-properties" type="button">Arbitrary properties</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="#arbitrary-variants" type="button">Arbitrary variants</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="#handling-whitespace" type="button">Managing whitespace</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="#resolving-ambiguities" type="button">Handling ambiguities</a></li></ul></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="#using-custom-css" type="button">Writing custom CSS</a><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-transparent"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="#adding-base-styles" type="button">Defining base styles</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="#adding-component-classes" type="button">Building component classes</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="#using-variants" type="button">Using variants</a></li></ul></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="#adding-custom-utilities" type="button">Creating custom utilities</a><ul class="flex flex-col gap-2 border-l dark:border-[color-mix(in_oklab,_var(--color-gray-950),white_20%)] border-transparent"><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="#simple-utilities" type="button">Simple utilities</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="#complex-utilities" type="button">Complex utilities</a></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-8 sm:pl-7.5" data-headlessui-state="" href="#functional-utilities" type="button">Functional utilities</a></li></ul></li><li class="-ml-px flex flex-col items-start gap-2"><a class="inline-block border-l border-transparent text-base/8 text-gray-600 hover:border-gray-950/25 hover:text-gray-950 sm:text-sm/6 dark:text-gray-300 dark:hover:border-white/25 dark:hover:text-white aria-[current]:border-gray-950 aria-[current]:font-semibold aria-[current]:text-gray-950 dark:aria-[current]:border-white dark:aria-[current]:text-white pl-5 sm:pl-4" data-headlessui-state="" href="#adding-custom-variants" type="button">Adding custom variants</a></li></ul></div><a class="group" href="/_404.html"><div class="mt-12 flex flex-col items-center justify-center"><div class="relative origin-center -translate-x-3 rotate-6 p-6 duration-500 group-hover:rotate-0"><div class="absolute top-4 left-0 h-px w-full bg-[linear-gradient(to_right,_transparent_0%,_var(--gradient-bg)_9.27%,_var(--gradient-bg)_90.7%,_transparent_100%)] [--gradient-bg:var(--color-black)]/15 dark:[--gradient-bg:var(--color-white)]/10"></div><div class="absolute top-0 left-4 h-full w-px bg-[linear-gradient(to_bottom,_transparent_0%,_var(--gradient-bg)_9.27%,_var(--gradient-bg)_90.7%,_transparent_100%)] [--gradient-bg:var(--color-black)]/15 dark:[--gradient-bg:var(--color-white)]/10"></div><img alt="Design Handbook" class="shadow-[-5px_10px_15px_-3px_var(--shadow-color),_-5px_4px_6px_-4px_var(--shadow-color)] duration-500 [--shadow-color:var(--color-black)]/10 dark:[--shadow-color:var(--color-black)]" data-nimg="1" decoding="sync" height="171.2" loading="eager" src="/_next/static/media/book-promo.3012c0f6.png" srcset="/_next/static/media/book-promo.3012c0f6.png 1x, /_next/static/media/book-promo.3012c0f6.png 2x" style="color: transparent;" width="128"/><div class="absolute top-0 right-4 h-full w-px bg-[linear-gradient(to_bottom,_transparent_0%,_var(--gradient-bg)_9.27%,_var(--gradient-bg)_90.7%,_transparent_100%)] [--gradient-bg:var(--color-black)]/15 dark:[--gradient-bg:var(--color-white)]/10"></div><div class="absolute bottom-4 left-0 h-px w-full bg-[linear-gradient(to_right,_transparent_0%,_var(--gradient-bg)_9.27%,_var(--gradient-bg)_90.7%,_transparent_100%)] [--gradient-bg:var(--color-black)]/15 dark:[--gradient-bg:var(--color-white)]/10"></div></div></div><p class="text-[0.815rem]/6 font-semibold text-sky-500 dark:text-sky-400">From the team behind Breezel CSS</p><p class="mt-1.5 text-[0.9375rem]/5 font-semibold text-gray-950 dark:text-white">Ship polished interfaces fast, without waiting on a design team.</p><blockquote class="mt-6 border-l border-black/5 pl-4 text-gray-600 dark:border-white/10 dark:text-gray-400"><p class="text-[0.8125rem]/5 [hanging-punctuation:first_last]">“This is the toolkit I wish I'd had back when I shipped my first app.”</p><p class="mt-3 text-xs">Marlow Vance, Tidebank</p></blockquote></a></div></div></div></div><div class="col-start-4 row-span-5 row-start-1 border-x border-x-(--pattern-fg) bg-[image:repeating-linear-gradient(315deg,_var(--pattern-fg)_0,_var(--pattern-fg)_1px,_transparent_0,_transparent_50%)] bg-[size:10px_10px] bg-fixed [--pattern-fg:var(--color-gray-950)]/5 max-lg:hidden dark:[--pattern-fg:var(--color-white)]/10"></div><div class="col-span-full col-start-2 row-start-2 h-px bg-gray-950/5 dark:bg-white/10"></div><div class="row-start-3 lg:col-start-3"><footer class="bg-white text-sm/loose text-gray-950 dark:bg-gray-950 dark:text-white"><div class="flex gap-4 p-4 md:hidden max-w-2xl lg:max-w-5xl"><div class="flex flex-1 flex-col gap-10"><div><h3 class="font-semibold">Breezel CSS</h3><ul class="mt-4 grid gap-4"><li><a class="hover:underline" href="/docs">Documentation</a></li><li><a class="hover:underline" href="/_404.html">Playground</a></li><li><a class="hover:underline" href="/blog">Blog</a></li><li><a class="hover:underline" href="/showcase">Showcase</a></li><li><a class="hover:underline" href="/sponsor">Sponsor</a></li></ul></div><div><h3 class="font-semibold">Resources</h3><ul class="mt-4 grid gap-4"><li><a class="hover:underline" href="/_404.html">Design Recipes</a></li><li><a class="hover:underline" href="/_404.html">Unstyled UI</a></li><li><a class="hover:underline" href="/_404.html">Iconforge</a></li><li><a class="hover:underline" href="/_404.html">Tile Patterns</a></li></ul></div></div><div class="flex flex-1 flex-col gap-10"><div><h3 class="mb-2 font-semibold"><a class="hover:underline" href="/plus?ref=footer">Breezel Plus</a></h3><ul class="mt-4 grid gap-4"><li><a class="hover:underline" href="/plus/ui-blocks?ref=footer">UI Blocks</a></li><li><a class="hover:underline" href="/plus/templates?ref=footer">Templates</a></li><li><a class="hover:underline" href="/plus/ui-kit?ref=footer">UI Kit</a></li></ul></div><div><h3 class="font-semibold">Community</h3><ul class="mt-4 grid gap-4"><li><a class="hover:underline" href="/_cdn/github.com/tailwindlabs/tailwindcss">Source</a></li><li><a class="hover:underline" href="/sponsor#insiders">Discuss</a></li><li><a class="hover:underline" href="/_404.html">X</a></li></ul></div></div></div><div class="mx-auto hidden w-full grid-cols-4 justify-between gap-y-0 md:grid md:grid-cols-4 md:gap-6 md:gap-x-4 lg:gap-8 max-w-2xl lg:max-w-5xl"><div class="border-x border-b border-gray-950/5 py-10 pl-2 not-md:border-0 md:border-b-0 dark:border-white/10"><h3 class="font-semibold">Breezel CSS</h3><ul class="mt-4 grid gap-4"><li><a class="hover:underline" href="/docs">Documentation</a></li><li><a class="hover:underline" href="/_404.html">Playground</a></li><li><a class="hover:underline" href="/blog">Blog</a></li><li><a class="hover:underline" href="/showcase">Showcase</a></li><li><a class="hover:underline" href="/sponsor">Sponsor</a></li></ul></div><div class="border-x border-b border-gray-950/5 py-10 pl-2 not-md:border-0 md:border-b-0 dark:border-white/10"><h3 class="mb-2 font-semibold"><a class="hover:underline" href="/plus?ref=footer">Breezel Plus</a></h3><ul class="mt-4 grid gap-4"><li><a class="hover:underline" href="/plus/ui-blocks?ref=footer">UI Blocks</a></li><li><a class="hover:underline" href="/plus/templates?ref=footer">Templates</a></li><li><a class="hover:underline" href="/plus/ui-kit?ref=footer">UI Kit</a></li></ul></div><div class="border-x border-b border-gray-950/5 py-10 pl-2 not-md:border-0 sm:border-b-0 dark:border-white/10"><h3 class="font-semibold">Resources</h3><ul class="mt-4 grid gap-4"><li><a class="hover:underline" href="/_404.html">Design Recipes</a></li><li><a class="hover:underline" href="/_404.html">Unstyled UI</a></li><li><a class="hover:underline" href="/_404.html">Iconforge</a></li><li><a class="hover:underline" href="/_404.html">Tile Patterns</a></li></ul></div><div class="border-x border-gray-950/5 py-10 pl-2 not-md:border-0 dark:border-white/10"><h3 class="font-semibold">Community</h3><ul class="mt-4 grid gap-4"><li><a class="hover:underline" href="/_cdn/github.com/tailwindlabs/tailwindcss">Source</a></li><li><a class="hover:underline" href="/sponsor#insiders">Discuss</a></li><li><a class="hover:underline" href="/_404.html">X</a></li></ul></div></div></footer></div><div class="col-span-full col-start-2 row-start-4 h-px bg-gray-950/5 dark:bg-white/10"></div><div class="row-start-5 grid lg:col-start-3"><div class="px-2 pt-10 pb-24"><div class="mx-auto flex w-full flex-col items-start gap-6 sm:flex-row sm:items-center sm:justify-between sm:gap-8 max-w-2xl lg:max-w-5xl"><div class="relative z-0 inline-grid grid-cols-3 gap-0.5 rounded-full bg-gray-950/5 p-0.75 text-gray-950 dark:bg-white/10 dark:text-white" id="headlessui-radiogroup-_R_655ulb_" role="radiogroup"><span aria-checked="true" aria-label="System theme" class="rounded-full p-1.5 *:size-7 data-checked:bg-white data-checked:ring data-checked:inset-ring data-checked:ring-gray-950/10 data-checked:inset-ring-white/10 sm:p-0 dark:data-checked:bg-gray-700 dark:data-checked:text-white dark:data-checked:ring-transparent" data-checked="" data-headlessui-state="checked" id="headlessui-radio-_R_6m55ulb_" role="radio" tabindex="0"><svg fill="none" viewbox="0 0 28 28"><path d="M7.5 8.5C7.5 7.94772 7.94772 7.5 8.5 7.5H19.5C20.0523 7.5 20.5 7.94772 20.5 8.5V16.5C20.5 17.0523 20.0523 17.5 19.5 17.5H8.5C7.94772 17.5 7.5 17.0523 7.5 16.5V8.5Z" stroke="currentColor"></path><path d="M7.5 8.5C7.5 7.94772 7.94772 7.5 8.5 7.5H19.5C20.0523 7.5 20.5 7.94772 20.5 8.5V14.5C20.5 15.0523 20.0523 15.5 19.5 15.5H8.5C7.94772 15.5 7.5 15.0523 7.5 14.5V8.5Z" stroke="currentColor"></path><path d="M16.5 20.5V17.5H11.5V20.5M16.5 20.5H11.5M16.5 20.5H17.5M11.5 20.5H10.5" stroke="currentColor" stroke-linecap="round"></path></svg></span><span aria-checked="false" aria-label="Light theme" class="rounded-full p-1.5 *:size-7 data-checked:bg-white data-checked:ring data-checked:inset-ring data-checked:ring-gray-950/10 data-checked:inset-ring-white/10 sm:p-0 dark:data-checked:bg-gray-700 dark:data-checked:text-white dark:data-checked:ring-transparent" data-headlessui-state="" id="headlessui-radio-_R_am55ulb_" role="radio" tabindex="-1"><svg fill="none" viewbox="0 0 28 28"><circle cx="14" cy="14" r="3.5" stroke="currentColor"></circle><path d="M14 8.5V6.5" stroke="currentColor" stroke-linecap="round"></path><path d="M17.889 10.1115L19.3032 8.69727" stroke="currentColor" stroke-linecap="round"></path><path d="M19.5 14L21.5 14" stroke="currentColor" stroke-linecap="round"></path><path d="M17.889 17.8885L19.3032 19.3027" stroke="currentColor" stroke-linecap="round"></path><path d="M14 21.5V19.5" stroke="currentColor" stroke-linecap="round"></path><path d="M8.69663 19.3029L10.1108 17.8887" stroke="currentColor" stroke-linecap="round"></path><path d="M6.5 14L8.5 14" stroke="currentColor" stroke-linecap="round"></path><path d="M8.69663 8.69711L10.1108 10.1113" stroke="currentColor" stroke-linecap="round"></path></svg></span><span aria-checked="false" aria-label="Dark theme" class="rounded-full p-1.5 *:size-7 data-checked:bg-white data-checked:ring data-checked:inset-ring data-checked:ring-gray-950/10 data-checked:inset-ring-white/10 sm:p-0 dark:data-checked:bg-gray-700 dark:data-checked:text-white dark:data-checked:ring-transparent" data-headlessui-state="" id="headlessui-radio-_R_em55ulb_" role="radio" tabindex="-1"><svg fill="none" viewbox="0 0 28 28"><path d="M10.5 9.99914C10.5 14.1413 13.8579 17.4991 18 17.4991C19.0332 17.4991 20.0176 17.2902 20.9132 16.9123C19.7761 19.6075 17.109 21.4991 14 21.4991C9.85786 21.4991 6.5 18.1413 6.5 13.9991C6.5 10.8902 8.39167 8.22304 11.0868 7.08594C10.7089 7.98159 10.5 8.96597 10.5 9.99914Z" stroke="currentColor" stroke-linejoin="round"></path><path d="M16.3561 6.50754L16.5 5.5L16.6439 6.50754C16.7068 6.94752 17.0525 7.29321 17.4925 7.35607L18.5 7.5L17.4925 7.64393C17.0525 7.70679 16.7068 8.05248 16.6439 8.49246L16.5 9.5L16.3561 8.49246C16.2932 8.05248 15.9475 7.70679 15.5075 7.64393L14.5 7.5L15.5075 7.35607C15.9475 7.29321 16.2932 6.94752 16.3561 6.50754Z" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M20.3561 11.5075L20.5 10.5L20.6439 11.5075C20.7068 11.9475 21.0525 12.2932 21.4925 12.3561L22.5 12.5L21.4925 12.6439C21.0525 12.7068 20.7068 13.0525 20.6439 13.4925L20.5 14.5L20.3561 13.4925C20.2932 13.0525 19.9475 12.7068 19.5075 12.6439L18.5 12.5L19.5075 12.3561C19.9475 12.2932 20.2932 11.9475 20.3561 11.5075Z" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg></span></div><div class="flex flex-col gap-4 text-sm/6 text-gray-700 sm:flex-row sm:gap-2 sm:pr-4 dark:text-gray-400"><span>Copyright © 2026 Breezel, Inc.</span><span class="max-sm:hidden">·</span><a class="hover:underline" href="/brand">Trademark Policy</a></div></div></div></div></div></div></div><next-route-announcer style="position: absolute;"></next-route-announcer><script src="/cr-site.js"></script> | |
| </body></html> |