mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 01:40:34 +01:00
chore(Table): split preset for th and td
This commit is contained in:
@@ -9,8 +9,20 @@ const table = {
|
||||
base: '',
|
||||
selected: 'bg-gray-50 dark:bg-gray-800/50'
|
||||
},
|
||||
th: 'px-3 py-3.5 text-left text-sm font-semibold text-gray-900 dark:text-white',
|
||||
td: 'whitespace-nowrap px-3 py-4 text-sm text-gray-500 dark:text-gray-400',
|
||||
th: {
|
||||
base: '',
|
||||
padding: 'px-3 py-3.5',
|
||||
color: 'text-gray-900 dark:text-white',
|
||||
font: 'font-semibold',
|
||||
size: 'text-sm'
|
||||
},
|
||||
td: {
|
||||
base: 'whitespace-nowrap',
|
||||
padding: 'px-3 py-4',
|
||||
color: 'text-gray-500 dark:text-gray-400',
|
||||
font: '',
|
||||
size: 'text-sm'
|
||||
},
|
||||
default: {
|
||||
sortAscIcon: 'i-heroicons-bars-arrow-up-20-solid',
|
||||
sortDescIcon: 'i-heroicons-bars-arrow-down-20-solid',
|
||||
|
||||
Reference in New Issue
Block a user