Consistency at Scale

When we started building the Mallnline frontend, we faced a choice: use a utility-first CSS framework or build our own design system. We chose to build **$mall**.

The Power of Tokens

$mall is built on **Design Tokens** — atomic pieces of visual design stored as data. Every color, shadow, spacing, and transition in our system is a token.

Why tokens?

  • **Easy Theming**: Dark mode, Malet-specific themes, and accessibility overrides are as easy as swapping a set of CSS variables.
  • **Developer Velocity**: No more guessing if a border-radius should be 8px or 12px. In $mall, it's always var(--mall-radius-md).
  • **Zero Bloat**: Unlike utility frameworks that generate thousands of classes, our token system remains lean and highly performant.
  • Check out our [Design Documentation](/dev) for a full showcase of how we use tokens to build premium experiences.