in src/components/typography.tsx [99:119]
fontSize: normalize(14),
fontWeight: 'bold',
color: colors.text,
fontStyle: 'normal',
letterSpacing: 1.15,
},
style,
],
[colors.text, style],
);
return <ELText style={nameStyle}>{children}</ELText>;
}
export function camelToName(text: string): string {
return (
text
// insert a space before all caps
.replace(/([A-Z])/g, ' $1')
// uppercase the first character
.replace(/^./, str => {