⚡️ feat: add new variants link
and link-empashized
on the button component
This commit is contained in:
parent
ea44efa0f2
commit
d385e5e7c5
@ -118,6 +118,29 @@ export const buttonTheme = tv(
|
|||||||
'disabled:border-transparent',
|
'disabled:border-transparent',
|
||||||
'disabled:shadow-none',
|
'disabled:shadow-none',
|
||||||
],
|
],
|
||||||
|
link: [
|
||||||
|
'p-0',
|
||||||
|
'gap-1.5',
|
||||||
|
'text-elements-link',
|
||||||
|
'rounded',
|
||||||
|
'focus-ring',
|
||||||
|
'hover:underline',
|
||||||
|
'hover:text-elements-link-hovered',
|
||||||
|
'disabled:text-controls-disabled',
|
||||||
|
'disabled:hover:no-underline',
|
||||||
|
],
|
||||||
|
'link-emphasized': [
|
||||||
|
'p-0',
|
||||||
|
'gap-1.5',
|
||||||
|
'text-elements-high-em',
|
||||||
|
'rounded',
|
||||||
|
'underline',
|
||||||
|
'focus-ring',
|
||||||
|
'hover:text-elements-link-hovered',
|
||||||
|
'disabled:text-controls-disabled',
|
||||||
|
'disabled:hover:no-underline',
|
||||||
|
'dark:text-elements-on-high-contrast',
|
||||||
|
],
|
||||||
unstyled: [],
|
unstyled: [],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user