Skip to content

Commit

Permalink
fix website
Browse files Browse the repository at this point in the history
  • Loading branch information
veej committed Apr 26, 2024
1 parent 52cd4af commit a417688
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/website/src/components/SpacingScale.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
import { Box, DesignSystemProvider, Inline, Stack, vars } from "../snippets";
import { Box, DesignSystemProvider, Inline, Stack, responsiveProperties } from "../snippets";
import { defaultMessages } from "@buildo/bento-design-system/lib/defaultMessages/en";

const SpacePoint = ({ space }: { space: string }) => (
Expand All @@ -10,10 +10,10 @@ export function SpacingScale() {
return (
<DesignSystemProvider defaultMessages={defaultMessages}>
<Stack space={16}>
{Object.entries(vars.space).map(([name, space]) => (
{Object.entries(responsiveProperties.width).map(([name, space]) => (
<Inline key={name} space={16} alignY="center">
<Box style={{ width: 32 }}>{name}</Box>
<SpacePoint space={space} />
<SpacePoint space={String(space)} />
</Inline>
))}
</Stack>
Expand Down

0 comments on commit a417688

Please sign in to comment.