feat: add button variants
This commit is contained in:
parent
cb02f51d01
commit
d01c796897
@ -8,7 +8,10 @@ const variants = vcn({
|
|||||||
default:
|
default:
|
||||||
"bg-white border border-gray-300 dark:bg-black dark:border-gray-700 hover:bg-gray-100 dark:hover:bg-gray-900 transition-colors",
|
"bg-white border border-gray-300 dark:bg-black dark:border-gray-700 hover:bg-gray-100 dark:hover:bg-gray-900 transition-colors",
|
||||||
ghost:
|
ghost:
|
||||||
"bg-black/0 hover:bg-black/20 dark:bg-white/0 dark:hover:bg-white/10 transition-colors",
|
"bg-black/0 hover:bg-black/10 dark:bg-white/0 dark:hover:bg-white/20 transition-colors",
|
||||||
|
outline:
|
||||||
|
"bg-transparent border border-gray-300 dark:border-gray-700 hover:bg-gray-100 dark:hover:bg-gray-900 transition-colors",
|
||||||
|
link: "bg-transparent hover:underline transition-colors",
|
||||||
},
|
},
|
||||||
size: {
|
size: {
|
||||||
sm: "px-2 py-1 text-sm",
|
sm: "px-2 py-1 text-sm",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user