mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 15:01:46 +01:00
fix(Link): consistent behavior between nuxt, vue and inertia (#4134)
This commit is contained in:
@@ -5,10 +5,15 @@ export default (options: Required<ModuleOptions>) => ({
|
||||
variants: {
|
||||
active: {
|
||||
true: 'text-primary',
|
||||
false: ['text-muted hover:text-default', options.theme.transitions && 'transition-colors']
|
||||
false: 'text-muted'
|
||||
},
|
||||
disabled: {
|
||||
true: 'cursor-not-allowed opacity-75'
|
||||
}
|
||||
}
|
||||
},
|
||||
compoundVariants: [{
|
||||
active: false,
|
||||
disabled: false,
|
||||
class: ['hover:text-default', options.theme.transitions && 'transition-colors']
|
||||
}]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user