Blog/January 3, 2024

Yumma CSS 1.0

After a few months of development, we're ready to release the first major version. In this release, we're focusing on implementing a few utilities and, more importantly, on improving the overall experience of using Yumma CSS.

Yumma CSS 1.0

This update might break your codebase, we highly suggest you checking out the release notes before upgrading.


All-new utilities

We're always looking for ways to improve Yumma CSS. In this release, we're adding a few new utilities to cover more of the CSS specs.

Align Items

ClassStyle
ai-fsalign-items: flex-start;
ai-fealign-items: flex-end;
jc-ejustify-content: end;
jc-fsjustify-content: flex-start;
jc-fejustify-content: flex-end;
jc-ljustify-content: left;
jc-rjustify-content: right;
jc-njustify-content: normal;
jc-sjustify-content: stretch;

Display

ClassStyle
d-frdisplay: flow-root;

Float

ClassStyle
f-isfloat: inline-start;
f-iefloat: inline-end;

Text Align

Yumma CSS v1.0 also introduces a whole new collection of advanced text formatting utilities for typographers.

ClassStyle
ta-jatext-align: justify-all;
ta-mptext-align: match-parent;
tdl-otext-decoration-line: overline;

...and more

There are a lot more utilities in this release, but we're not going to list them all here. You can check the release notes though.


Viewport expansion

We're also going to add viewports for the Height and Width utilities, which will be a huge help with responsive designs. We can't wait to roll it out to the other utilities!

index.html
<div class="... h-10 md:h-auto md:w-auto w-10">...</div>

New Lead color option

We're pretty sure nobody builds websites in dark mode using gray, right? The new lead color is great for creating single-theme apps.

6
5
4
3
2
1
Base
1
2
3
4
5
6

Lead


Syntax changes

We're making some changes to the syntax for the Display utilities. Here's how it's going to work from now on.

index.html
<div class="dis-*"></div>
<div class="d-*"></div>

We're also going to tweak the syntax for the hover state utilities. Basically, we're going to move them to the start of the utility h:* to make the code easier to understand.

index.html
<div class="bg-h-blue"></div>
<div class="h:bg-blue"></div>

Upgrade

You can get the latest version of Yumma CSS from npm:

Terminal window
pnpm up yummacss