export type IWidth = "default" | "bleed" | "narrow" ; export const getWidth = ( width ) : string => { switch ( width ) { case "default" : return "var(--max-width)" ; case "bleed" : return "var(--max-width-bleed)" ; case "narrow" : return "var(--max-width-narrow)" ; default : return "var(--max-width)" ; } } ;