@mbsw/tokens
v0.6.0
Published
Derived MBSW token artifacts. The immutable `0.1.0` release contains Foundation tokens only. Current tooling can project separately approved, paired Component color tokens into a later release without creating Component Tailwind aliases; a source-pin and
Readme
@mbsw/tokens
Derived MBSW token artifacts. The immutable 0.1.0 release contains
Foundation tokens only. Current tooling can project separately approved,
paired Component color tokens into a later release without creating Component
Tailwind aliases; a source-pin and package release transaction must activate
that capability.
The final joint release candidate pairs @mbsw/[email protected] with
@mbsw/[email protected] at Foundation source pin
814c7decc365dcea29bbd7b719892530bf473c21. A separate Component source
authority binds ActivityDot, Spinner, and RemoveBadge to promoted source commit
9aae6cd94bd199f17b0ff60750f607cba358329e. The Foundation package adds
primitive/opacity.opacity.40 and contains 488 public manifest records; its UI
counterpart exposes those three families and requires >=0.6.0 <1.0.0 as its
tokens peer because ActivityDot consumes the new token. This is not yet an npm
publication claim and still requires
exact-main verification, explicit publish approval, and Registry readback. The
published immutable predecessor pair @mbsw/[email protected] and
@mbsw/[email protected] remains the Registry baseline.
The historical tokens-only release is @mbsw/[email protected] under the npm
next dist-tag. It adds exactly 24 public manifest records across 22 token
names from the approved week-6 Foundation source and reuses
@mbsw/[email protected] unchanged. At publication time npm latest was
@mbsw/[email protected]; the current Registry baseline is
@mbsw/[email protected] with @mbsw/[email protected].
Tailwind CSS v4
Import Tailwind first, then the MBSW variables and theme extension:
@import 'tailwindcss';
@import '@mbsw/tokens/styles.css';
@import '@mbsw/tokens/tailwind.css';The MBSW @theme inline block extends Tailwind CSS v4. It does not reset the
default theme, so standard utilities such as p-4, rounded-lg, and
bg-red-500 remain available alongside MBSW utilities such as
bg-riido-primary. Tailwind CSS v4 is a peer dependency owned by the
consuming application.
Optional Foundation artifacts are available through
@mbsw/tokens/gradient-canvas.css and @mbsw/tokens/motion.css. The package
contains derived artifacts only and does not publish raw design-source JSON or
Component handoff files.
