type ValueOf < T > = T [ keyof T ] ; /** Type for the `borderRadius` object with keys and px values (strings and numbers) */ export type CanvasBorderRadius = { zero : '0px' ; s : '2px' ; m : '4px' ; l : '8px' ; circle : '999px' ; } ; /** the tokens (keys) for CanvasBorderRadius */ export type CanvasBorderRadiusKeys = keyof CanvasBorderRadius ; /** the values for CanvasBorderRadius (strings and numbers) */ export type CanvasBorderRadiusValues = ValueOf < CanvasBorderRadius > ; /** An object of border-radius keys and px values (strings and numbers) */ export const borderRadius = { zero : '0px' , s : '2px' , m : '4px' , l : '8px' , circle : '999px' , } ; export default borderRadius ;