Connect
Pin https://design-tokens.clubready.com/production/v1.7/ in shipped apps. /production/latest/ moves with each release — apps pin a version prefix, not latest.
Prototype builder
The prototype builder is a static React demo using the same React, Tailwind, Flowbite, and token dependency stack shown below. It is a reference for exploring token-led interfaces, not application source code.
1. Vanilla / ASP / runtime CSS
Link the pinned foundation.css. Dark mode: data-theme="dark" on the document, and .dark for Tailwind.
<link rel="stylesheet" href="https://design-tokens.clubready.com/production/v1.7/foundation.css">
2. Tailwind v4
Curl both files at build/CI, then import locally. Vite and webpack cannot @import a remote URL.
BASE=https://design-tokens.clubready.com/production/v1.7
curl -fsSL $BASE/foundation.css -o src/tokens/foundation.css
curl -fsSL $BASE/foundation-tailwind.css -o src/tokens/foundation-tailwind.css
@import "tailwindcss";
@import "./tokens/foundation.css";
@import "./tokens/foundation-tailwind.css";
Keep both files in the same folder — foundation-tailwind.css opens with @import "./foundation.css".
3. React
Depend on flowbite-react ^0.12 (as in this repo’s react-gallery/package.json). Vendor CSS as above, then use semantic token classes. See the React gallery.
npm install flowbite-react@^0.12
import { Button } from "flowbite-react";
export function PrimaryAction() {
return (
<Button className="bg-[var(--bg-clubready)] text-[var(--text-white)]">
Save
</Button>
);
}
4. Angular
Depend on flowbite-angular ^21 (as in this repo’s angular-gallery/package.json). Vendor CSS the same way as Tailwind v4. See the Angular gallery.
npm install flowbite-angular@^21
import { Component } from "@angular/core";
import { Button } from "flowbite-angular/button";
@Component({
selector: "app-primary-action",
imports: [Button],
template: `
<button flowbiteButton class="bg-[var(--bg-clubready)] text-[var(--text-white)]">
Save
</button>
`,
})
export class PrimaryAction {}
5. Don’t
- Parse
tokens/*.jsonin a product app. - Hardcode hex colours.
- Remote
@importfrom the bundler (Vite/webpack cannot fetch a remote CSS URL that way). - Overwrite
/production/v1.x/— version prefixes are immutable.
Consumer skill
Download clubready-tokens/SKILL.md and install it into the product app:
mkdir -p .cursor/skills/clubready-tokens
curl -fsSL https://design-tokens.clubready.com/skills/clubready-tokens/SKILL.md \
-o .cursor/skills/clubready-tokens/SKILL.md