mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 22:41:42 +01:00
feat(Breadcrumb): rename links to items + improve slots
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user