Skip to content

Commit 688bc34

Browse files
committed
Tweak namespace table
1 parent dbe1182 commit 688bc34

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

src/pages/docs/v4-beta.mdx

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,24 +1336,6 @@ To make sure unused `@keyframes` rules are removed, configure them under `@theme
13361336

13371337
Since we've dramatically [simplified theme configuration](#simplified-theme-configuration) in Tailwind CSS v4.0, you'll only generally work with these namespaces:
13381338

1339-
{/* | Namespace | Utilities |
1340-
| ------------------ | -------------------------------------------------------------------------------------- |
1341-
| `--color-*` | Color utilities like `bg-white`, `text-black`, or `fill-blue-500` |
1342-
| `--font-*` | Font family utilities like `font-sans` |
1343-
| `--spacing-*` | Spacing utilities like `mt-2`, `p-4` |
1344-
| `--text-*` | Font size utilities like `text-sm` |
1345-
| `--font-weight-*` | Font weight utilities like `font-bold` |
1346-
| `--tracking-*` | Letter spacing utilities like `tracking-tight` |
1347-
| `--leading-*` | Line height utilities like `leading-relaxed` |
1348-
| `--breakpoint-*` | Breakpoint variants like `md:*` and `lg:*` |
1349-
| `--container-*` | Container query variants like `@sm:*` and `@lg:*` and max-width utilities like `max-w-lg` |
1350-
| `--radius-*` | Border radius utilities like `rounded-md` |
1351-
| `--shadow-*` | Box shadow utilities like `shadow-lg` |
1352-
| `--inset-shadow-*` | Inset box shadow utilities like `inset-shadow-sm` |
1353-
| `--drop-shadow-*` | Drop shadow utilities like `drop-shadow-xl` |
1354-
| `--ease-*` | Transition timing function utilities like `ease-out` |
1355-
| `--animate-*` | Animation utilities like `animate-spin` | */}
1356-
13571339
<table>
13581340
<thead>
13591341
<tr>
@@ -1370,10 +1352,6 @@ Since we've dramatically [simplified theme configuration](#simplified-theme-conf
13701352
<td className='whitespace-nowrap'>`--font-*`</td>
13711353
<td>Font family utilities like <code>font-sans</code></td>
13721354
</tr>
1373-
<tr>
1374-
<td className='whitespace-nowrap'>`--spacing-*`</td>
1375-
<td>Spacing utilities like <code>mt-2</code> or <code>p-4</code></td>
1376-
</tr>
13771355
<tr>
13781356
<td className='whitespace-nowrap'>`--text-*`</td>
13791357
<td>Font size utilities like <code>text-sm</code></td>
@@ -1390,13 +1368,17 @@ Since we've dramatically [simplified theme configuration](#simplified-theme-conf
13901368
<td className='whitespace-nowrap'>`--leading-*`</td>
13911369
<td>Line height utilities like <code>leading-relaxed</code></td>
13921370
</tr>
1371+
<tr>
1372+
<td className='whitespace-nowrap'>`--spacing-*`</td>
1373+
<td>Spacing and sizing utilities like <code>pt-5</code>, <code>mr-2</code>, and <code>h-8</code></td>
1374+
</tr>
13931375
<tr>
13941376
<td className='whitespace-nowrap'>`--breakpoint-*`</td>
13951377
<td>Breakpoint variants like <code>md:* </code> and <code>lg:*</code></td>
13961378
</tr>
13971379
<tr>
13981380
<td className='whitespace-nowrap'>`--container-*`</td>
1399-
<td>Container query variants like <code>@sm:* </code> and <code>@lg:*</code> and max-width utilities like <code>max-w-lg</code></td>
1381+
<td>Container query variants like <code>@md:\*</code> and width utilities like <code>w-sm</code> and <code>max-w-lg</code></td>
14001382
</tr>
14011383
<tr>
14021384
<td className='whitespace-nowrap'>`--radius-*`</td>

0 commit comments

Comments
 (0)