Blog/February 10, 2026

Behind the Scenes

A recap of the infrastructure changes we've made to the Yumma CSS ecosystem, from the monorepo transition to improved type safety in Core.

Behind the Scenes

While most of our blog posts focus on new utilities & features for the Yumma CSS package, we've also been making significant improvements to the ecosystem's infrastructure. Here's a quick recap.

Monorepo transition

The Yumma CSS ecosystem now lives in a single monorepo. The core (formerly api), nitro (the engine), & runtime packages all reside in the same repository.

This consolidation improves development efficiency & keeps package versions in sync.

Version synchronization

All core package versions now match the main Yumma CSS version:

  • @yummacss/api@1.8.0 -> @yummacss/core@3.8.0
  • @yummacss/nitro@0.5.0 -> @yummacss/nitro@3.8.0
  • @yummacss/runtime@0.3.0 -> @yummacss/runtime@3.8.0

Public archives

The standalone repositories for Core, Nitro, & Runtime are now archived. All future development happens in the main monorepo.

Core package improvements

We've made the Core package more extensible & developer-friendly.

Exposing variant data

You can now import mediaQueries, opacity, pseudoClasses, & pseudoElements directly from @yummacss/core to build custom tools & integrations.

index.js
import { mediaQueries, opacity, pseudoClasses, pseudoElements } from "@yummacss/core";
console.log(mediaQueries);

Improved type safety

Core now exports literal types for every variant prefix.

index.ts
import type {
MediaQueryPrefix,
OpacityPrefix,
PseudoClassPrefix,
PseudoElementPrefix,
VariantPrefix
} from "@yummacss/core";
const prefix: VariantPrefix = "sm"; // Typed as a literal

Immutable core interfaces

We've integrated readonly properties into core interfaces. Utility, Utilities, & Variants now enforce strict type compatibility with literal constants.

utility.ts
interface Utility {
readonly prefix: string;
readonly properties: readonly string[];
readonly slug: string;
readonly values: {
readonly [key: string]: string;
};
readonly variants?: Variants;
}

Upgrade

Get the latest version of Yumma CSS:

Terminal window
pnpm up yummacss@latest