-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededrefactoring
Description
Before You Submit
- I have searched for duplicate or closed issues
- I have read the contributing guidelines
Describe the issue
The Heading component has unnecessary empty lines between variants and defaultVariants in the cva call.
Goal: Remove the blank lines between variants and defaultVariants.
Current:
const variants = cva('text-grey-light font-bold', {
variants: {
as: {
h1: 'text-4xl sm:text-6xl sm:leading-16',
h2: 'text-3xl sm:text-5xl',
h3: 'text-base'
}
},
defaultVariants: {
as: 'h1'
}
});After cleanup:
const variants = cva('text-grey-light font-bold', {
variants: {
as: {
h1: 'text-4xl sm:text-6xl sm:leading-16',
h2: 'text-3xl sm:text-5xl',
h3: 'text-base'
}
},
defaultVariants: {
as: 'h1'
}
});Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededrefactoring