Core Framework Is a Design System Compiler, Not Just Another CSS Toolkit

A deep dive into the token engine that turns colors, spacing, and typography into portable CSS for WordPress, Figma, and the web.

9 min read • View on GitHub • More from corebunch

A large mechanical press turns loose design tokens into organized outputs. On the input side are color chips, spacing rulers, and token cards. On the output side are CSS variables, utility classes, and three destination panels representing a WordPress builder, Figma, and a browser window. The image explains that Core Framework compiles one design source into multiple targets.
Core Framework treats design systems like a production line: one source of truth in, several coordinated outputs out.
Key Takeaways

Core Framework looks like a CSS framework until you watch what it does. Then the better description becomes obvious: it is a compiler for design systems.

That matters because most styling tools solve only one layer of the problem. They give you classes, variables, or a theme. Core Framework tries to turn a design language into a portable data model that can survive movement across WordPress builders, Figma, and the web app without collapsing into hand-tuned CSS.

Core Framework is going open source. David Babinec has announced that the framework and its builder extensions will become free and live on GitHub, while the template packs stay as a premium option on the website.

The real product is portability

The project’s main promise is not a prettier stylesheet. It is a shared source of truth that can be edited once and emitted in different forms. In practice, that means design tokens, utility classes, and builder-specific outputs are all downstream from the same model.

That is a sharper proposition than a normal framework. Opinionated systems ask you to adapt to them. Core Framework asks the system to stay editable, validated, and transportable.

A close-up assembly line shows a single color token moving through a validation gate and branching into multiple outputs. The scene emphasizes that one structured input becomes several coordinated CSS artifacts. It explains the framework’s compiler-like pipeline in a concrete way.
One token enters, several coordinated artifacts come out. That is the core idea behind the engine.

A design system treated like data

The repo structure makes the intent plain. The core package holds shared components, Zod schemas, and generation logic. Builder integrations live separately. Figma has its own bridge. The system is organized like software that expects transformation, not just rendering.

Core Framework’s token model is built around a pipeline: validate the token, transform it, then emit several different outputs from the same source.

The important detail is the schema-first approach. Tokens, groups, and declarations are modeled as structured objects and validated with Zod. They also use ULIDs, which helps keep everything identifiable when the same token has to move between tools without collisions.

const slope = (max.fontSize - min.fontSize) / (max.breakpoint - min.breakpoint)
const preferred = `${min.fontSize}px + ${slope}vw`
const size = `clamp(${min.fontSize}px, ${preferred}, ${max.fontSize}px)`

That is the kind of code that reveals the project’s worldview. The system is not guessing at styles. It is calculating them from explicit inputs, then packaging the result so other parts of the stack can consume it.

The color engine is the clearest proof

The color system is where the compiler analogy stops being metaphor and starts looking literal. One color definition does not just become a variable. It fans out into theme variables, utility classes, shade generation, and dark-mode behavior.

That is the real differentiation. A normal theme swaps colors. Core Framework generates a color system.

Core Framework is not a plugin — it's wired into Instatic as a core system. The same engine that thousands of WordPress professionals use in Bricks and Oxygen is the foundation of Instatic's design layer.

The repository’s color pipeline also shows why the project feels more like infrastructure than a theme pack. It generates artifacts, preserves metadata, and keeps enough structure around the token to let the editor inspect what happened downstream.

Fluid spacing is math, not magic

The spacing and type scale code is refreshingly direct. Instead of hiding responsiveness behind preset jumps, it uses slope and intercept calculations to generate `clamp()` values between two known breakpoints.

That makes the behavior testable. If the input changes, the output changes predictably. That is the difference between a design token system and a pile of utility shortcuts.

The key insight is not that the math is advanced. It is that the math is explicit enough to be reused everywhere else in the framework.

The state model explains how the editor stays sane

Core Framework’s editor logic uses a reducer-in-hook pattern, with Jotai holding the larger state graph. That combination matters when you are manipulating nested token trees and need the UI to stay consistent while users add, duplicate, move, or reshape groups.

// State is shared by reference with Jotai, so mutations must stay disciplined.
// The reducer owns structural changes to the token tree.
const [state, dispatch] = useReducer(formReducer, initialState)

This is the unglamorous part of the system, but it is the part that keeps the editor coherent. Once tokens become data, the state layer has to behave like an actual model, not a bag of form inputs.

Why it sits between frameworks and builders

ProjectWhat it optimizes forHow opinionated it isPortabilityFigma sync
Core FrameworkEditable token pipelineModerately opinionatedHighYes
Automatic.cssA complete WordPress systemHighly opinionatedMediumNo
Fancy FrameworkLightweight Bricks-native setupOpinionated at the builder levelLow to mediumNo
Winden / WindPressTailwind inside WordPressTailwind-firstMediumNo
Tokens Studio / Figma TokensDesign-token authoringLow at the output layerHigh on design sideYes, but not a full CSS engine

The cleanest way to understand the comparison is this: Core Framework wants to be the middle layer. It is trying to sit between the designer’s token source and the production system that has to emit real CSS.

That puts it in a rare spot. It is less rigid than a full opinionated framework, but more operational than a pure token editor.

The open-source pivot changed the story, not the architecture

Core Framework is now Free and Open Source. https://github.com/corebunch/core-framework

Lzhell, Reddit User / Subreddit Moderator · Core Framework is now Free and Open Source : r/BricksBuilder

The FOSS transition changes distribution, audience, and expectations. It does not change what the project is trying to be. The architecture was already set up to act like a shared engine across products, and the open-source move simply widened the surface area.

That is also why the repo feels strategically interesting. It is not just a framework release. It is a bet that design tooling should be portable enough to outlive any single builder, plugin, or workflow.

What Core Framework is really betting on

Core Framework is betting that design systems will work better when they are modeled as structured, validated data instead of hand-maintained CSS. If that is right, the future belongs to tools that can compile the same source of truth into many environments without forcing everyone into one opinionated workflow.

That is a bigger idea than a framework upgrade. It is a claim about where design tooling is headed.