feat(WEB-304): remaning UI from design system primitives
This commit is contained in:
21
components/Icons/variants.ts
Normal file
21
components/Icons/variants.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { cva } from "class-variance-authority"
|
||||
|
||||
import styles from "./icon.module.css"
|
||||
|
||||
const config = {
|
||||
variants: {
|
||||
color: {
|
||||
black: styles.black,
|
||||
burgundy: styles.burgundy,
|
||||
pale: styles.pale,
|
||||
peach80: styles.peach80,
|
||||
primaryLightOnSurfaceAccent: styles.plosa,
|
||||
red: styles.red,
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
color: "black",
|
||||
},
|
||||
} as const
|
||||
|
||||
export const iconVariants = cva(styles.icon, config)
|
||||
Reference in New Issue
Block a user