Skip to content

Commit

Permalink
feat(theme): added getRadius function
Browse files Browse the repository at this point in the history
  • Loading branch information
theharryszn committed Sep 3, 2021
1 parent 5c93bc6 commit 4865aea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/theme/src/Radius.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ export const rounded = {
} as const;

export type RoundedValues = keyof typeof rounded;

export const getRadius = (name: RoundedValues): string => {
return rounded[name];
};

0 comments on commit 4865aea

Please sign in to comment.