Files
web/packages/design-system/lib/components/BackToTopButton/variants.ts
Erik Tiekstra 6730575f7a 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
2025-12-03 10:45:34 +00:00

19 lines
367 B
TypeScript

import { cva } from 'class-variance-authority'
import styles from './backToTopButton.module.css'
export const config = {
variants: {
position: {
left: styles.left,
right: styles.right,
center: styles.center,
},
},
defaultVariants: {
position: 'right',
},
} as const
export const variants = cva(styles.backToTopButton, config)