Skip to content

Commit 69bcdb0

Browse files
Clarify @keyframes bundling
1 parent 4fb0855 commit 69bcdb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/theme.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ Now none of the default utility classes that are driven by theme variables will
434434

435435
### Defining animation keyframes
436436

437-
Define the `@keyframes` rules for your `--animate-*` theme variables within `@theme` to only include them in your generated CSS when your custom animation utilities are actually used:
437+
Define the `@keyframes` rules for your `--animate-*` theme variables within `@theme` to include them in your generated CSS:
438438

439439
```css
440440
/* [!code filename:app.css] */
@@ -456,7 +456,7 @@ Define the `@keyframes` rules for your `--animate-*` theme variables within `@th
456456
}
457457
```
458458

459-
If you want your custom `@keyframes` rules to always be included in the output, define them outside of `@theme` instead.
459+
If you want your custom `@keyframes` rules to always be included even when not adding an `--animate-*` theme variable, define them outside of `@theme` instead.
460460

461461
### Referencing other variables
462462

0 commit comments

Comments
 (0)