feat(Breadcrumb): rename links to items + improve slots

This commit is contained in:
Benjamin Canac
2024-04-17 12:12:33 +02:00
parent 6f88f355fa
commit d56d3a13e3
5 changed files with 180 additions and 62 deletions

View File

@@ -16,13 +16,24 @@ export default {
link: 'text-primary-500 dark:text-primary-400'
},
false: {
link: 'text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white'
link: 'text-gray-500 dark:text-gray-400'
}
},
disabled: {
true: {
link: 'cursor-not-allowed opacity-75'
}
},
to: {
true: ''
}
}
},
compoundVariants: [{
disabled: false,
active: false,
to: true,
class: {
link: 'hover:text-gray-900 dark:hover:text-white'
}
}]
}