import type { Meta, StoryObj } from "@storybook/react"; import React from "react"; import { tokens } from ":/cunningham-tokens"; const meta: Meta = { title: "Misc/Spacings", }; export default meta; type Story = StoryObj<{}>; export const Sizes: Story = { render: () => { return (
{Object.keys(tokens.themes.default.globals.font.sizes).map((key) => (
Using the fs-{key} class
))}
); }, }; export const Weights: Story = { render: () => { return (
{Object.keys(tokens.themes.default.globals.font.weights).map((key) => (
Using the fw-{key} class
))}
); }, }; export const Families: Story = { render: () => { return (
{Object.keys(tokens.themes.default.globals.font.families).map((key) => (
Using the f-{key} class
))}
); }, };