️ feat: add new variants link and link-empashized on the button component

This commit is contained in:
Wahyu Kurniawan 2024-02-21 17:12:02 +07:00
parent ea44efa0f2
commit d385e5e7c5
No known key found for this signature in database
GPG Key ID: 040A1549143A8E33

View File

@ -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: [],
}, },
}, },