chore: use gap instead of gap-x for consistency

This commit is contained in:
Benjamin Canac
2024-04-16 17:24:41 +02:00
parent 53a2bc0264
commit 13a53f4cfb
12 changed files with 171 additions and 171 deletions

View File

@@ -22,27 +22,27 @@ export default (config: { colors: string[] }) => ({
},
size: {
xs: {
base: 'px-2 py-1 text-xs gap-x-1',
base: 'px-2 py-1 text-xs gap-1',
leadingIcon: 'size-4',
trailingIcon: 'size-4'
},
sm: {
base: 'px-2.5 py-1.5 text-xs gap-x-1.5',
base: 'px-2.5 py-1.5 text-xs gap-1.5',
leadingIcon: 'size-4',
trailingIcon: 'size-4'
},
md: {
base: 'px-2.5 py-1.5 text-sm gap-x-1.5',
base: 'px-2.5 py-1.5 text-sm gap-1.5',
leadingIcon: 'size-5',
trailingIcon: 'size-5'
},
lg: {
base: 'px-3 py-2 text-sm gap-x-2',
base: 'px-3 py-2 text-sm gap-2',
leadingIcon: 'size-5',
trailingIcon: 'size-5'
},
xl: {
base: 'px-3.5 py-2.5 text-sm gap-x-2.5',
base: 'px-3.5 py-2.5 text-sm gap-2.5',
leadingIcon: 'size-5',
trailingIcon: 'size-5'
}