Yumma CSS 3.10
Today we're rolling out Yumma CSS v3.10 with a redesigned color palette, new pseudo-class variants, new transitions and transforms utilities, and many more.

This update might change existing features, make sure you check out the release notes before upgrading.
Breaking changes
This version introduces some breaking changes that you should be aware of before upgrading.
Teal removal
We've decided to remove the teal color option from our color system. If you were using it, we recommend switching to mint or cyan for a similar aesthetic.
Shorthand for rotation
We've replaced the t-r-* (transform: rotate()) utilities with ro-* which now uses the standalone rotate property. This makes it more consistent with other property-based utilities.
<div class="t-r-45">...</div><div class="ro-45">...</div>Font family renaming
To improve clarity and consistency, we've renamed two font family prefixes:
<div class="ff-s">System</div><div class="ff-c">Charters</div><div class="ff-d">Default</div><div class="ff-s">Serif</div>All-new colors
We finally revamped the whole color palette to make it more accessible and use more vibrant colors.
We've also added 7 new colors to the family, giving you even more flexibility for your designs.
- Lime
- Mint
- Sky
- Lavender
- Magenta
- Coral
- Zinc
Red
Orange
Yellow
Lime
Mint
Green
Cyan
Sky
Blue
Indigo
Violet
Lavender
Magenta
Pink
Coral
Zinc
Gray
Slate
Silver
New pseudo-class variants
This release adds 11 new pseudo-class variants to help you style elements based on their state or position.
| Prefix | Variant |
|---|---|
c:* | :checked |
d:* | :disabled |
e:* | :empty |
fc:* | :first-child |
i:* | :invalid |
in:* | :indeterminate |
lc:* | :last-child |
nc:* | :nth-child |
r:* | :required |
ro:* | :read-only |
v:* | :valid |
Introducing Transitions
We've introduced a new transitions category to help you create smooth animations between states.
<div class="bg-indigo d-16 tp-a td-300 ttf-io h:bg-indigo-3"></div>The new utilities include:
tp-*fortransition-propertytd-*fortransition-duration(steps of 50ms)ttf-*fortransition-timing-functiontrd-*fortransition-delay(steps of 50ms)
Expanded utilities
We've also expanded the ar-* (aspect-ratio) utilities to support more common ratios.
| Class | Style |
|---|---|
ar-auto | aspect-ratio: auto; |
ar-1/1 | aspect-ratio: 1/1; |
ar-1/2 | aspect-ratio: 1/2; |
ar-2/1 | aspect-ratio: 2/1; |
ar-2/3 | aspect-ratio: 2/3; |
ar-3/2 | aspect-ratio: 3/2; |
ar-3/4 | aspect-ratio: 3/4; |
ar-4/3 | aspect-ratio: 4/3; |
ar-4/5 | aspect-ratio: 4/5; |
ar-5/4 | aspect-ratio: 5/4; |
ar-5/7 | aspect-ratio: 5/7; |
ar-7/5 | aspect-ratio: 7/5; |
ar-9/16 | aspect-ratio: 9/16; |
ar-16/9 | aspect-ratio: 16/9; |
ar-21/9 | aspect-ratio: 21/9; |
ar-9/21 | aspect-ratio: 9/21; |
Upgrade
You can get the latest version of Yumma CSS from npm:
pnpm install yummacss@latest