Skip to content

Commit 6a0f362

Browse files
committed
remove $extension from storefront tokens
1 parent 14f89c6 commit 6a0f362

File tree

10 files changed

+448
-4844
lines changed

10 files changed

+448
-4844
lines changed

apps/storefront/components/Tokens/TokenList/TokenList.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { TokenSize } from '../TokenSize/TokenSize';
2424
import classes from './TokenList.module.css';
2525

2626
type TokenListProps = {
27-
type: 'color' | 'typography' | 'boxShadow' | 'sizing' | 'spacing';
27+
type: 'color' | 'typography' | 'shadow' | 'dimension';
2828
token?: string;
2929
showThemePicker?: boolean;
3030
showModeSwitcher: boolean;
@@ -131,7 +131,7 @@ const TokenCard = ({ token, type, hideValue, ...rest }: TokenCardProps) => {
131131
<div className={classes.preview}>
132132
{type === 'color' && <TokenColor value={val} token={token} />}
133133
{type === 'typography' && <TokenFontSize value={val} />}
134-
{type === 'boxShadow' && <TokenShadow value={val} />}
134+
{type === 'shadow' && <TokenShadow value={val} />}
135135
</div>
136136

137137
<div className={classes.textContainer}>

0 commit comments

Comments
 (0)