@raidguild/brand-system is the versioned distribution boundary for the
RaidGuild design system. Storybook is its executable documentation, not the
package itself.
- Package releases follow SemVer, beginning at
0.1.0while the API is young. - The package defaults to the canonical
latestreign. - Reign chronology and maturity are separate from package versions.
- Louchi is currently
latest, hasdevelopmentmaturity, and intentionally has no reign data version. - Consumers that need visual stability should pin a package version and pass an
explicit
defaultReigntoThemeProvider.
import {
BRAND_SYSTEM,
ThemeProvider,
} from "@raidguild/brand-system";
import {
Button,
Card,
BrandAction,
BrandButton,
} from "@raidguild/brand-system/components";
import "@raidguild/brand-system/tokens.css";
import "@raidguild/brand-system/fonts.css";
import "@raidguild/brand-system/brand-action.css";The package also exports font files under @raidguild/brand-system/fonts/* and
logo files under @raidguild/brand-system/logos/*. fonts.css defines local
Mazius Display, EB Garamond, and Ubuntu Mono faces without a Google Fonts
runtime dependency.
BrandAction is the current Venture Beyond link/button pill with primary and secondary variants and an inline sword glyph. It is additive: the generic Button API and archived reign styles are unchanged. The package ships Venture Beyond, the open-source display family, as Latin web subsets (fonts/venture-beyond/, with OFL.txt) and declares Venture Beyond, Venture Beyond Retalic and the width-pinned … Extended families in fonts.css, with --font-venture-beyond and --font-venture-beyond-retalic tokens. These additions don't change the default --font-display / --font-body tokens.
ThemeProvider uses the latest reign by default and persists a user's valid
selection under raidguild-brand-reign. Use defaultReign="suede" when an
application should start from an archived system.
Unchanged defaults. fonts.css keeps its default tokens:
--font-display→ Mazius Display--font-body→ EB Garamond--font-mono→ Ubuntu Mono
Additions. These don't change existing rendering:
- the Venture Beyond faces and the
--font-venture-beyond/--font-venture-beyond-retalictokens - the Latin web subsets in
fonts/venture-beyond/, withOFL.txt
Changed reign value. In tokens.css, the current reign's [data-brand-reign="louchi"]
--font-display and --font-retalic now name Venture Beyond Extended and Venture Beyond Retalic
Extended. They no longer name Last Duel with an Afacad Flux fallback. Consumers on the current reign
previously rendered Afacad Flux unless they hosted Last Duel themselves. Import fonts.css to get
Venture Beyond.
Consumers that self-hosted Last Duel should:
- Delete their Last Duel
@font-facerules and files. - Map any
--font-last-duel*variables they defined to--font-venture-beyond(upright, and italic viafont-style: italic) or--font-venture-beyond-retalic. - Keep
font-synthesis: noneon display text.
Venture Beyond's Extended width is 10–13% narrower than Last Duel's, so fitted display sizes stay within their boxes.
Remaining consolidation (not in this change). These steps make Ubuntu, Ubuntu Mono and Venture Beyond the only active families:
- Switch the default
--font-displayto Venture Beyond and--font-bodyto Ubuntu, infonts.cssand in the app@theme. The compiledfont-display/font-bodyutilities used bychart.tsxandwizard.tsxresolve to Mazius / EB Garamond today. This is a breaking change for package consumers (body text sets about 16% wider), so release it as 0.2.0 with a consumer migration note. - Drop Mazius Display, EB Garamond and Afacad Flux from the package, keeping archived-reign assets outside it. Remove Mazius Review 20.09, which has no licence metadata.
- Bring
/ai(Space Grotesk, Inter, JetBrains Mono) onto Venture Beyond / Ubuntu / Ubuntu Mono. - Resolve Grinder, which has no licence metadata, and update the Machine API
typographyblock, which still names Mazius / EB Garamond as the package defaults.
npm run build:package
npm run pack:packageThe build produces ESM and CommonJS entry points plus TypeScript declarations. The pack check verifies required tarball files, both runtime formats, the token stylesheet, fonts, and the canonical crossed-swords logo. Registry publication and release automation are intentionally a later operational step.
Create a locally installable tarball with:
npm pack ./packages/brand-systemProduction builds publish an immutable commit-specific prerelease tarball and a replaceable development alias:
/packages/raidguild-brand-system-0.1.0-dev.sha<commit>.tgz
/packages/raidguild-brand-system-dev.tgz
Package metadata, the exact download path, revision, and SHA-512 integrity are
available from /packages/brand-system.json. Portal should install the
commit-specific URL recorded there when it needs a reproducible dependency.
npm install https://raidguild-brand-guide-production.up.railway.app/packages/raidguild-brand-system-0.1.0-dev.sha<commit>.tgzThe brand guide and static Storybook builds both publish these files. Generated tarballs remain outside Git and are recreated from the checked-out revision on every production build.