refactor: replace arbitrary sizes in labelSizeConfig with named tokens
This commit is contained in:
@@ -16,10 +16,10 @@ export type LabelVariant =
|
||||
export type LabelSize = 'xs' | 'sm' | 'md' | 'lg';
|
||||
|
||||
export const labelSizeConfig: Record<LabelSize, string> = {
|
||||
xs: 'text-[0.5rem]',
|
||||
sm: 'text-[0.5625rem] md:text-[0.625rem]',
|
||||
md: 'text-[0.625rem] md:text-[0.6875rem]',
|
||||
lg: 'text-[0.8rem] md:text-[0.875rem]',
|
||||
xs: 'text-4xs',
|
||||
sm: 'text-3xs md:text-2xs',
|
||||
md: 'text-2xs md:text-xs',
|
||||
lg: 'text-sm',
|
||||
};
|
||||
|
||||
export const labelVariantConfig: Record<LabelVariant, string> = {
|
||||
|
||||
Reference in New Issue
Block a user