Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Using design tokens for size options
Browse files Browse the repository at this point in the history
  • Loading branch information
georgewrmarshall committed Jun 23, 2022
1 parent 526d538 commit e2538d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/Shadows.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import { lightTheme } from '../src/js';

import { Text } from './components';

Expand All @@ -14,7 +15,7 @@ export default {
argTypes: {
size: {
control: 'select',
options: ['xs', 'sm', 'md', 'lg'], // Object.keys(lightTheme.shadow.size)
options: Object.keys(lightTheme.shadows.size),
},
color: {
control: 'select',
Expand Down

0 comments on commit e2538d7

Please sign in to comment.