Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): add right prop category to table #1738

Merged
merged 2 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/khaki-snakes-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@localyze-pluto/design-tokens": patch
---

Add right property category instead of name to TokensTable on docs pages
6 changes: 3 additions & 3 deletions packages/design-tokens/docs/borders.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ import { TokensTable } from "./components/TokensTable";

## Border Styles

<TokensTable data={borderStyleTokens} name="borderStyle" />
<TokensTable data={borderStyleTokens} category="borderStyle" />

## Border Widths

<TokensTable data={borderWidthTokens} name="borderWidth" />
<TokensTable data={borderWidthTokens} category="borderWidth" />

## Border Radii

<TokensTable data={borderRadiiTokens} name="borderRadius" />
<TokensTable data={borderRadiiTokens} category="borderRadius" />
2 changes: 1 addition & 1 deletion packages/design-tokens/docs/colors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ import { TokensTable } from "./components/TokensTable";

<br />

<TokensTable data={colorTokens} name="color" />
<TokensTable data={colorTokens} category="color" />
2 changes: 1 addition & 1 deletion packages/design-tokens/docs/font-sizes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ import * as fontSizeTokens from "../src/tokens/font-size.tokens.json";

<br />

<TokensTable data={fontSizeTokens} name="fontSize" />
<TokensTable data={fontSizeTokens} category="fontSize" />
2 changes: 1 addition & 1 deletion packages/design-tokens/docs/font-weights.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ import * as fontWeightTokens from "../src/tokens/font-weight.tokens.json";

<br />

<TokensTable data={fontWeightTokens} name="fontWeight" />
<TokensTable data={fontWeightTokens} category="fontWeight" />
2 changes: 1 addition & 1 deletion packages/design-tokens/docs/icon-sizes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ import * as iconSizeTokens from "../src/tokens/size.tokens.json";

<br />

<TokensTable data={iconSizeTokens} name="iconSize" />
<TokensTable data={iconSizeTokens} category="iconSize" />
2 changes: 1 addition & 1 deletion packages/design-tokens/docs/spacing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ import * as spaceTokens from "../src/tokens/space.tokens.json";

<br />

<TokensTable data={spaceTokens} name="space" />
<TokensTable data={spaceTokens} category="space" />
Loading