Tailwind CSS
Use and extend the maz-ui theme in your own Tailwind CSS v4 setup - theme colors, radius, shadows, spacing, breakpoints and container queries, page layout (padded-container), type scale and rich text, custom utilities, dark mode, and how to add your own tokens, fonts, animations and variants.
This page is optional
maz-ui works without Tailwind: install the package, import maz-ui/style.css and the components render with the theme preset you chose. For the maz-ui utilities (text-title-1, rich-text, padded-container, flex-center...) without Tailwind, also import maz-ui/utilities.css (without variants such as hover: or tab-m:), and never together with maz-ui/tailwindcss/utilities.css. @maz-ui/vite-plugin purges the unused rules of both.
This page is for apps that have their own Tailwind v4 setup and want their utilities (bg-primary, rounded-md, tab-m:flex...) to follow the active maz-ui theme, preset and color mode.
Setup
Add the maz-ui theme right after Tailwind in your Tailwind entry:
/* src/assets/css/main.css (your Tailwind entry) */
@import 'tailwindcss';
@import 'maz-ui/tailwindcss/theme.css';
@import 'maz-ui/tailwindcss/utilities.css';That's it: your utilities now resolve to the active maz-ui theme. Switch presets or color mode at runtime with useTheme() and every utility follows, without rebuild.
Prerequisites: tailwindcss@^4.2, @tailwindcss/vite or @tailwindcss/postcss (or @nuxtjs/tailwindcss v7 with Nuxt), and the theme initialized by the MazUi plugin or the @maz-ui/nuxt module.
Where to import maz-ui/style.css
maz-ui/style.css holds the styles of the components. It declares the same cascade layers as Tailwind (theme, base, components, utilities), so it composes with your own Tailwind output.
- Vue: keep
import 'maz-ui/style.css'inmain.ts, before your own CSS (see Vue guide). - Nuxt: the module injects it (
css.injectCss: true, the default). To control the CSS order yourself, disable the injection and import it first in your Tailwind entry:
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@maz-ui/nuxt'],
css: ['~/assets/css/main.css'],
mazUi: {
css: { injectCss: false },
},
})/* app/assets/css/main.css */
@import 'maz-ui/style.css';
@import 'tailwindcss';
@import 'maz-ui/tailwindcss/theme.css';
@import 'maz-ui/tailwindcss/utilities.css';Never use the maz: prefix
The maz-ui library compiles its own utilities with an internal prefix(maz), and its documentation site does the same. That prefix never applies to your project: in your code, write bg-primary, flex, tab-m:grid, without maz:.
The utilities used inside the components ship precompiled in maz-ui/style.css, prefixed, so they never conflict with yours.
Granular entries
theme.css imports every module. Import only some of them if you want part of the design system:
| Import | Content |
|---|---|
maz-ui/tailwindcss/theme.css | Everything below except the utilities |
maz-ui/tailwindcss/theme-colors.css | Colors and their scales |
maz-ui/tailwindcss/theme-components.css | bg-container and bg-input surfaces |
maz-ui/tailwindcss/theme-spacing.css | Spacing scale |
maz-ui/tailwindcss/theme-radius.css | Border radius scale |
maz-ui/tailwindcss/theme-shadows.css | Shadow scale |
maz-ui/tailwindcss/theme-breakpoints.css | mob-*, tab-*, lap-* breakpoints |
maz-ui/tailwindcss/theme-z-index.css | z-index scale |
maz-ui/tailwindcss/theme-typography.css | Fonts, border width, durations and easings |
maz-ui/tailwindcss/theme-variants.css | dark: variant wired to the .dark class |
maz-ui/tailwindcss/utilities.css | maz-ui utilities (flex-center, padded-container...) |
Colors
Every theme color works with all the color utilities of Tailwind (bg-, text-, border-, ring-, outline-, fill-, stroke-, divide-, from-/via-/to-, decoration-, placeholder-, accent-, caret-...) and with opacity modifiers (bg-primary/50).
Brand and state colors
Each one has a paired -foreground color for text on top of it, and an 11-step scale from -50 (light) to -950 (dark), -500 being the base color.
| Color | Use for |
|---|---|
primary | Main brand color: main actions, links, focus rings, selected states |
secondary | Second strong brand color, not a muted surface (use surface, container, muted or the -50/-100 steps for discreet backgrounds) |
accent | Highlights and tertiary emphasis |
info | Informational state (alerts, badges, hints) |
success | Success state (confirmations, valid fields) |
warning | Warning state (caution, pending attention) |
destructive | Errors, invalid fields, destructive actions |
contrast | Neutral high-contrast color (near black in light mode, near white in dark mode) |
<button class="bg-primary text-primary-foreground hover:bg-primary-600">Save</button>
<p class="rounded-md bg-success-50 p-3 text-success-800">Saved!</p>
<span class="bg-destructive/10 text-destructive">3 errors</span>Use maz-ui components first
For buttons, alerts and badges, use MazBtn, MazAlert and MazBadge: they already apply these colors. The utilities are for your own layouts and components.
Neutral and surface colors
They also have an 11-step scale, but no -foreground.
| Color | Use for |
|---|---|
surface | Page background |
foreground | Body text on surface |
muted | Secondary text, placeholders, disabled content, discreet backgrounds (bg-muted/10) |
divider | Borders and separators |
overlay | Backdrops behind dialogs (bg-overlay/60) |
shadow | Shadow tint (shadow-shadow/20) |
<main class="bg-surface text-foreground">
<p class="text-muted">Last updated 3 days ago</p>
<hr class="border-divider">
</main>Component surfaces
Two colors follow the components block of the preset, to match the maz-ui components in your own ones:
bg-container: background ofMazCard,MazContainer,MazDialog,MazPopover,MazDrawer...bg-input: background ofMazInput,MazSelect,MazTextarea... (different from the surface in dark mode by default)
The MazNeutralColor type ('surface' | 'container', exported by maz-ui) is the color value of components such as MazBtn, MazBadge and MazRadioButtons for these two backgrounds: container gives a white button on a grey page with presets like macOS.
Light and dark modes
Theme colors are resolved with light-dark(): the same class gives the right color in both modes. Do not add dark: overrides for theme colors: bg-surface dark:bg-gray-900 is wrong, bg-surface is enough. Keep the dark: variant for real differences (an illustration, a different layout).
Avoid the default Tailwind palette
bg-blue-500, text-gray-600, bg-white, text-black or bg-[#1d90ff] ignore the preset and dark mode. Pick the theme color with the same role: bg-primary, text-muted, bg-surface, text-foreground. For a brand color missing from the theme, add your own token.
Radius
The rounded-* scale follows the scales.rounded of the preset:
| Utility | Value |
|---|---|
rounded-xs ... rounded-3xl | var(--maz-rounded-{xs..3xl}) |
rounded | same as rounded-md |
rounded-full and rounded-none keep their Tailwind values.
Shadows
| Utility | Use for |
|---|---|
shadow-xs, shadow-sm, shadow-md, shadow-lg, shadow-xl | Standard scale, from the preset scales.shadow |
shadow-elevation | Raised surfaces: cards, popovers, menus |
Spacing
--spacing is bound to the foundation.space token of the preset (0.25rem by default): p-4, gap-2, mt-6, w-10, inset-1... are multiples of it and rescale with the preset. Prefer the scale to arbitrary values such as p-[13px].
Breakpoints
maz-ui adds mobile-first breakpoints on top of the Tailwind ones (sm: to 2xl: keep working). Prefer them in a maz-ui project: the components and the useBreakpoints composable use the same scale.
| Variant | Min width | Typical target |
|---|---|---|
mob-s: | 320px | Small phones |
mob-m: | 425px | Phones |
mob-l: | 576px | Large phones |
tab-s: | 640px | Small tablets (Tailwind sm) |
tab-m: | 768px | Tablets portrait (Tailwind md) |
tab-l: | 992px | Tablets landscape |
lap-s: | 1024px | Small laptops (Tailwind lg) |
lap-m: | 1280px | Laptops (Tailwind xl) |
lap-l: | 1366px | Laptops |
lap-xl: | 1440px | Desktops (Tailwind 2xl) |
lap-2xl: | 1680px | Large desktops |
lap-3xl: | 1920px | Full HD and wider |
Prefix them with max- for max-width queries (max-tab-m:hidden), and combine both for a range (tab-m:max-lap-s:grid-cols-2).
<div class="grid gap-4 tab-m:grid-cols-2 lap-m:grid-cols-3">...</div>
<aside class="hidden lap-s:block">...</aside>
<MazBtn class="w-full tab-s:w-auto">Save</MazBtn>The same values are available in TypeScript: screens (the scale, in px strings) and getNumericScreensFromTailwind (converts a scale to numbers) are exported by maz-ui/tailwindcss. Pass screens to useBreakpoints to use the same thresholds as the CSS variants:
import { useBreakpoints } from 'maz-ui/composables/useBreakpoints'
import { screens } from 'maz-ui/tailwindcss'
const { isSmallScreen, isLargeScreen } = useBreakpoints({
breakpoints: screens,
mediumBreakPoint: 'tab-m',
largeBreakPoint: 'lap-s',
})Container queries
The breakpoint names also exist as container sizes (maz-ui/tailwindcss/theme-containers.css, included in theme.css). Mark a parent with the Tailwind @container class: @tab-m: then applies when that parent is at least 768px wide, whatever the viewport. Use them for blocks that live in places of different widths: a card list in a sidebar and in the main column, dashboard widgets, split views.
<!-- 3 columns when the parent is at least 425px wide, 1 otherwise -->
<section class="@container">
<div class="grid gap-2 @mob-m:grid-cols-3">
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
</div>
</section>| Variant | Min container width | Variant | Min container width |
|---|---|---|---|
@mob-s: | 320px | @lap-s: | 1024px |
@mob-m: | 425px | @lap-m: | 1280px |
@mob-l: | 576px | @lap-l: | 1366px |
@tab-s: | 640px | @lap-xl: | 1440px |
@tab-m: | 768px | @lap-2xl: | 1680px |
@tab-l: | 992px | @lap-3xl: | 1920px |
@max-tab-m:for a max-width query,@container/sidebarwith@tab-m/sidebar:to target a named container.- The Tailwind container sizes (
@md:,@3xl:...) keep working. - The sizes also give width utilities:
max-w-tab-m,w-lap-s.
Layout
Page gutter: padded-container
padded-container is the page gutter of maz-ui. Put it on every full-width band of a page (header, sections, footer) instead of container mx-auto px-4:
- the band stays full width, so its background goes edge to edge;
- the content gets a responsive side padding:
1remon mobile,2remfrommob-l,2.5remfromlap-s; - the content stops growing at
--maz-container-max-width(1440px) and stays centered.
<header class="padded-container border-b border-divider py-4">
<nav class="flex items-center justify-between">...</nav>
</header>
<main class="padded-container flex flex-col gap-12 py-12">
<h1 class="text-title-1">Projects</h1>
...
</main>
<section class="bg-surface-600 padded-container py-16">
<!-- full-width background, centered content -->
</section>In Vue, MazPageSection renders this class for you (<MazPageSection as="header">), without maz-ui/tailwindcss/utilities.css.
padded-container-no-p centers the content on the same column without the minimum side padding: a carousel or an image touches the edges of the screen on mobile, and stays aligned with the rest of the page on a wide screen. For content edge to edge at every width, use neither class (w-full), and put a padded-container inside for the parts that stay on the column.
Inside a container: the side padding follows the viewport by default. Inside an @container ancestor, it follows the width of that container instead, so a layout with a sidebar keeps the right gutter. An @container on the element itself does not count, the container has to be a parent:
<div class="flex">
<MazSidebar>...</MazSidebar>
<div class="@container flex-1">
<main class="padded-container py-8">...</main>
</div>
</div>Layout variables
padded-container reads CSS variables that you can override:
| Variable | Default |
|---|---|
--maz-container-max-width | 1440px |
--maz-container-padding-mobile | 1rem |
--maz-container-padding-tablet | 2rem (from mob-l) |
--maz-container-padding-desktop | 2.5rem (from lap-s) |
:root {
--maz-container-max-width: 1200px;
--maz-container-padding-desktop: 3rem;
}The utilities follow, no media query to update.
Layout patterns
Recurring blocks of an app screen, with the maz-ui classes and components:
<!-- Page header: title on one side, actions on the other -->
<div class="flex flex-wrap items-center justify-between gap-4">
<div>
<h1 class="text-title-1">Invoices</h1>
<p class="text-caption">128 invoices this year</p>
</div>
<MazBtn>New invoice</MazBtn>
</div>
<!-- Section: space the sections with a gap on their parent, not with margins -->
<section class="flex flex-col gap-4">
<h2 class="text-title-2">Recent activity</h2>
...
</section>
<!-- Form row: a field and its button. Without shrink-0, the block input squeezes the button -->
<div class="flex items-end gap-2">
<MazInput v-model="email" label="Email" block class="flex-1" />
<MazBtn class="shrink-0">Invite</MazBtn>
</div>
<!-- Empty state -->
<div class="flex flex-col items-center gap-3 py-12 text-center">
<MazInboxStack class="size-10 text-muted" />
<h3 class="text-title-3">No message yet</h3>
<p class="text-body-sm text-muted">Messages from your customers show up here.</p>
<MazBtn>Write a message</MazBtn>
</div>
<!-- Actions bar (form or dialog footer): low emphasis first, main action last -->
<div class="flex flex-wrap justify-end gap-2">
<MazBtn color="contrast" outlined>Cancel</MazBtn>
<MazBtn>Save</MazBtn>
</div>
<!-- Cards grid -->
<div class="grid gap-4 tab-m:grid-cols-2 lap-m:grid-cols-3">
<MazCard v-for="item in items" :key="item.id">...</MazCard>
</div>Action hierarchy
- One main action per view or group: a solid
MazBtn(color="primary", the default). The other actions areoutlined,pastel, orcolor="contrast" outlined. - Low emphasis for cancel, back and "learn more": an outlined button or a
MazLink, placed before the main action. - Destructive actions use
color="destructive"and ask for a confirmation (useDialog,MazDialogConfirm). - Same size for neighbouring buttons.
The review_code tool of the MCP server reports solid primary buttons side by side (multiple-primary-actions).
Typography
Fonts and motion
| Utility | Source |
|---|---|
font-sans | var(--maz-font-family) (preset foundation.font-family) |
font-mono | var(--maz-font-mono-stack) |
font-display | var(--maz-font-display-stack) (headings) |
ease-out, ease-in, ease-in-out | var(--maz-easing-*) |
duration-(--duration-fast), duration-(--duration-normal), duration-(--duration-slow) | var(--maz-motion-*) |
The default border width and the default transition duration and easing follow the preset too. Durations are theme variables, not named utilities: write transition-colors duration-(--duration-fast).
Type scale and rich text
Each text-<level> class (text-display, text-title-1 to text-title-4, text-body-lg, text-body, text-body-sm, text-label, text-caption, text-overline, text-code) sets the font, size, weight, line height and letter spacing together. type-<level> applies a level without its font size (type-label text-sm). rich-text styles raw HTML (Markdown, CMS) with the same scale, like Tailwind prose. The levels are set in the typography block of the preset and follow the theme.
Prefer them to text-2xl font-semibold or text-xs text-muted. See Typography for the scale, the semantic usage, rich-text, the components and how to customize it.
maz-ui utilities
maz-ui/tailwindcss/utilities.css adds:
| Utility | Effect |
|---|---|
padded-container | Page gutter: full width, responsive side padding, content centered within --maz-container-max-width (see Layout) |
padded-container-no-p | Same centering without the minimum side padding |
flex-center | align-items: center; justify-content: center (combine with flex or grid) |
text-display, text-title-1 ... text-code | Type scale |
type-display, type-title-1 ... type-code | A level of the type scale without its font size |
rich-text, rich-text-sm, rich-text-lg | Rich text |
cap-f | Capitalizes the first letter |
scrollbar-themed | Thin scrollbar tinted from the text color, for scrollable areas (lists, panels, code). The scrollable parts of the components already use it, the page scrollbar stays native |
disabled-state, disabled-opacity, disabled-cursor | The disabled look of the preset |
cursor-interactive | Cursor of the interactive controls of the preset (pointer, default on the macOS, Windows and Linux presets) |
glass | Translucent material of the preset: bg-glass background, blurred backdrop and hairline border-glass edge. See Glass material |
z-default-backdrop | z-index: 1050, the layer of MazDialog, MazDrawer and the toasts |
Glass and transparency
bg-glass and border-glass are theme colors (components.glass of the preset), usable with every color utility (bg-glass/50, border-glass). The transparency-reduce: variant applies when the user reduces transparency: the system setting (prefers-reduced-transparency) or a reduce-transparency class on an ancestor, for an "opaque" setting in your app.
<header class="glass transparency-reduce:bg-container transparency-reduce:backdrop-blur-none">...</header>z-index
z-1 to z-5, z-15, z-25, z-35, z-45, z-75, z-100, and z-default-backdrop (1050, the layer of MazDialog and the toasts).
Vue transitions
maz-ui/style.css ships transition classes you can reuse with <Transition name="...">: maz-scale-fade, maz-scale, maz-slide, maz-slideinvert, maz-slidevnext, maz-slidevprev, maz-expand.
Dark mode variant
maz-ui/tailwindcss/theme-variants.css binds dark: to the .dark class that useTheme() sets on <html> (darkModeStrategy: 'class', the default). Adapt it when you change the strategy:
/* darkModeStrategy: 'media' */
@custom-variant dark (@media (prefers-color-scheme: dark));
/* custom darkClass: 'theme-dark' */
@custom-variant dark (&:where(.theme-dark, .theme-dark *));Toggle the mode with useTheme() (toggleDarkMode(), setColorMode('dark' | 'light' | 'auto')), never by editing the class yourself: see Theming.
Extending the theme
How the layers fit together
Your theme is built from three layers, from the most global to the most specific:
- The preset (
definePresetof@maz-ui/themes) gives the values: it emits runtime CSS variables (--maz-primary,--maz-font-family,--maz-rounded-md,--maz-motion-fast...) for the light and dark modes. - The maz-ui theme (
maz-ui/tailwindcss/theme.css) gives the class names: it maps each Tailwind token to a preset variable (--color-primary: var(--maz-primary),--font-display: var(--maz-font-display-stack)).bg-primaryorfont-displaytherefore follow the active preset and color mode, without rebuild. - Your Tailwind entry gives the project tokens: everything you declare after the maz-ui imports (
@theme,@custom-variant,@utility) adds classes next to the maz-ui ones.
| You want | Put it in | You get |
|---|---|---|
| Brand colors, fonts, radius, shadows, motion, spacing | the preset (colors, foundation, scales) | the same maz-ui classes with your values, components included |
| Background of cards and inputs, button font weight | the preset (components) | bg-container, bg-input, MazBtn |
| A color outside the maz-ui roles (chart series, category) | @theme { --color-* } | bg-<name>, text-<name>... |
| An animation | @theme { --animate-* } + @keyframes | animate-<name> |
| A variant (short screens, a state) | @custom-variant | <name>: |
| A reusable group of declarations | @utility | <name> |
The width of padded-container | --maz-container-max-width in your base layer | Container width |
Redefining a maz-ui token
A token you redefine in your @theme (--color-primary, --font-sans, --radius-md...) replaces the maz-ui mapping: the class keeps your literal value and stops following the preset (preset switch, light and dark values). Change brand values in the preset instead; redefine a token only when you need it, for example to give a literal font name to @nuxt/fonts (see Fonts).
Brand colors: use a preset
Your brand colors, radius, fonts and spacing belong to a theme preset: every maz-ui component and every Tailwind utility (bg-primary, rounded-md, font-sans...) then use them, in light and dark modes.
import { definePreset } from '@maz-ui/themes'
import { mazUi } from '@maz-ui/themes/presets/mazUi'
export const brandPreset = definePreset({
base: mazUi,
overrides: {
name: 'brand',
foundation: {
'font-family': 'Archivo, ui-sans-serif, system-ui, sans-serif',
},
scales: {
rounded: { md: '0.5rem' },
},
colors: {
light: { primary: 'oklch(0.62 0.2 255)' },
dark: { primary: 'oklch(0.72 0.17 255)' },
},
},
})See Creating custom themes and the Theme Editor.
Add your own colors
For a color outside the maz-ui roles (a chart series, a product category), declare it once in your Tailwind entry. light-dark() works because maz-ui sets color-scheme:
@theme {
--color-brand: light-dark(oklch(0.65 0.21 30), oklch(0.75 0.17 30));
}bg-brand, text-brand/80 and border-brand are now available. To base a color on a maz-ui token, use @theme inline so the utility reads the variable at runtime:
@theme inline {
--color-primary-soft: color-mix(in oklab, var(--maz-primary) 15%, transparent);
}Fonts
The font utilities read the preset: font-sans uses foundation.font-family, font-display uses font-display-stack and font-mono uses font-mono-stack. You can also redefine them in your Tailwind entry, after the maz-ui import (keep the same stacks as the preset, the classes no longer follow it):
@theme {
--font-sans: Archivo, ui-sans-serif, system-ui, sans-serif;
--font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}Nuxt fonts
With @nuxt/fonts, write the font family name literally (not only var(--maz-font-family)) somewhere in your CSS so the module detects it and self-hosts it.
Animations
Declare --animate-* tokens and their keyframes, reusing the motion tokens of the theme:
@theme {
--animate-rise: rise 0.5s var(--maz-easing-out) backwards;
}
@keyframes rise {
from {
opacity: 0;
transform: translateY(1rem);
}
}<h1 class="animate-rise">Welcome</h1>Variants
Add your own variants next to the maz-ui ones:
/* short screens (small Android, landscape) */
@custom-variant short (@media (max-height: 50rem));<header class="py-8 short:py-3">...</header>Base styles
A typical base layer that applies the theme to the document:
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--maz-divider);
}
html {
font-family: var(--maz-font-family);
font-size: var(--maz-base-font-size);
color: var(--maz-foreground);
background-color: var(--maz-surface);
}
::selection {
background-color: color-mix(in srgb, var(--maz-primary) 28%, transparent);
}
}Complete example
/* app/assets/css/main.css */
@import 'maz-ui/style.css';
@import 'tailwindcss';
@import 'maz-ui/tailwindcss/theme.css';
@import 'maz-ui/tailwindcss/utilities.css';
@custom-variant short (@media (max-height: 50rem));
@theme {
--font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
--color-brand: light-dark(oklch(0.65 0.21 30), oklch(0.75 0.17 30));
--animate-rise: rise 0.5s var(--maz-easing-out) backwards;
}
@keyframes rise {
from {
opacity: 0;
transform: translateY(1rem);
}
}
@layer base {
html {
--maz-container-max-width: 1200px;
font-family: var(--maz-font-family);
color: var(--maz-foreground);
background-color: var(--maz-surface);
}
}Custom CSS
In plain CSS or in <style> blocks, use the theme variables rather than literal values:
.card {
padding: calc(var(--maz-space) * 4);
border: var(--maz-border-width) solid var(--maz-divider);
border-radius: var(--maz-rounded-md);
background-color: var(--maz-container-bg, var(--maz-surface));
box-shadow: var(--maz-shadow-style-elevation);
color: var(--maz-foreground);
transition: background-color var(--maz-motion-fast) var(--maz-easing-out);
}The full list of variables is in the token reference of the theming guide.
@apply in Vue SFC <style> blocks
Tailwind v4 processes each SFC <style> block in isolation: a block that uses @apply must start with a @reference to your Tailwind entry.
<style scoped>
@reference "../assets/css/main.css";
.card {
@apply flex gap-4 rounded-md bg-surface p-4 shadow-elevation;
}
</style>AI agents
Every class and variable of this page is available to AI coding agents, generated from the sources of the installed version: the get_theme_tokens tool of the maz-ui MCP server, and node_modules/maz-ui/agent-docs/reference/tailwind-tokens.md. See AI agents.
get_theme_tokens also reads your theme: the Tailwind entries of the project (CSS files with @theme, @custom-variant, @utility or a tailwindcss import) and the definePreset calls, in every app of a monorepo. Agents get your preset values, your tokens with their comments (animate-rise, font-display, short:...), the tokens that redefine a maz-ui one and the setup problems (missing maz-ui import). A comment above a token in your @theme is a good place to say when to use it.
Migrating from Tailwind v3
Run the official upgrade tool first, it handles most of the v3 to v4 transition (renamed utilities, tailwind.config.js to CSS-first configuration):
npx @tailwindcss/upgradeThen apply the maz-ui specific changes of the v4 to v5 migration guide.
See also
- Theming: presets, color modes, runtime switching
- Migration v4 to v5
- Browser support: minimum versions required by Tailwind v4