feat(BOOK-113): Synced hover/focus states for buttons and added better examples to storybook
* fix(BOOK-113): Updated hover colors after blend/mix has been removed Approved-by: Christel Westerberg
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
import { cva } from 'class-variance-authority'
|
||||
|
||||
import styles from './fakeButton.module.css'
|
||||
import { withButton } from '../Button'
|
||||
|
||||
export const variants = cva(styles.fakeButton, withButton({}))
|
||||
import buttonStyles from '../Button/button.module.css'
|
||||
|
||||
export const variants = cva(
|
||||
buttonStyles.button,
|
||||
withButton({
|
||||
variants: {
|
||||
isHovered: {
|
||||
true: buttonStyles.hovered,
|
||||
},
|
||||
},
|
||||
})
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user