mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-24 17:00:36 +01:00
chore: use gap instead of gap-x for consistency
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user