chore(CommandPalette): harmonize config with buttons

This commit is contained in:
Benjamin Canac
2024-01-24 17:04:35 +01:00
parent fc91e90958
commit b5b97f3467

View File

@@ -10,8 +10,8 @@ export default {
icon: { icon: {
base: 'pointer-events-none absolute start-4 text-gray-400 dark:text-gray-500', base: 'pointer-events-none absolute start-4 text-gray-400 dark:text-gray-500',
loading: 'animate-spin', loading: 'animate-spin',
size: 'h-4 w-4', size: 'h-5 w-5',
padding: 'ps-10' padding: 'ps-11'
}, },
closeButton: { closeButton: {
base: 'absolute end-4', base: 'absolute end-4',
@@ -26,18 +26,18 @@ export default {
}, },
group: { group: {
wrapper: 'p-2', wrapper: 'p-2',
label: 'px-2 my-2 text-xs font-semibold text-gray-900 dark:text-white', label: 'px-2.5 my-2 text-xs font-semibold text-gray-900 dark:text-white',
container: 'text-sm text-gray-700 dark:text-gray-200', container: 'text-sm text-gray-700 dark:text-gray-200',
command: { command: {
base: 'flex justify-between select-none items-center rounded-md px-2 py-1.5 gap-2 relative', base: 'flex justify-between select-none items-center rounded-md px-2.5 py-1.5 gap-2 relative',
active: 'bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white', active: 'bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white',
inactive: '', inactive: '',
label: 'flex items-center gap-1.5 min-w-0', label: 'flex items-center gap-1.5 min-w-0',
prefix: 'text-gray-400 dark:text-gray-500', prefix: 'text-gray-400 dark:text-gray-500',
suffix: 'text-gray-400 dark:text-gray-500', suffix: 'text-gray-400 dark:text-gray-500',
container: 'flex items-center gap-2 min-w-0', container: 'flex items-center gap-1.5 min-w-0',
icon: { icon: {
base: 'flex-shrink-0 w-4 h-4', base: 'flex-shrink-0 w-5 h-5',
active: 'text-gray-900 dark:text-white', active: 'text-gray-900 dark:text-white',
inactive: 'text-gray-400 dark:text-gray-500' inactive: 'text-gray-400 dark:text-gray-500'
}, },
@@ -46,7 +46,7 @@ export default {
}, },
avatar: { avatar: {
base: 'flex-shrink-0', base: 'flex-shrink-0',
size: '3xs' as const size: '2xs' as const
}, },
chip: { chip: {
base: 'flex-shrink-0 w-2 h-2 mx-1 rounded-full' base: 'flex-shrink-0 w-2 h-2 mx-1 rounded-full'