Skip to content

Commit

Permalink
feat: ✨ added first color palette to the colorsdocumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
MeesoPost committed Sep 13, 2024
1 parent 0def7ea commit 7853157
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/storybook/src/documentation/color.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { ColorItem, ColorPalette, Meta } from "@storybook/blocks";
import tokens from "../../../../proprietary/design-tokens/figma/figma.tokens.json";

export const baseColors = tokens["brand"]["frameless"]["color"];

<Meta title="Frameless/Color" />

<ColorPalette>
{Object.entries(baseColors).map(([key, token]) => (
<ColorItem key={key} title={key} colors={[token.value]} />
))}
</ColorPalette>

0 comments on commit 7853157

Please sign in to comment.