import type { Meta, StoryObj } from "@storybook/react";
const meta: Meta = {
title: "Foundations/Design Tokens",
parameters: { layout: "padded" },
};
export default meta;
type Story = StoryObj;
interface Swatch {
label: string;
varName: string;
}
function Group({ heading, swatches }: { heading: string; swatches: Swatch[] }) {
return (
{heading}
{swatches.map((s) => (
))}
);
}
export const Colours: Story = {
render: () => (
),
};
export const Typography: Story = {
render: () => (
Brand wordmark (Alumni Sans)
Stirling
Page title (24/700)
Pipelines
Section title (13/600)
Configured primitives
Body (13/400)
Drop a sample to see what just this op produces.
Code (12 mono)
POST /v1/coi
),
};
export const Motion: Story = {
render: () => (
fadeInUp — standard view transition
),
};