17 lines
461 B
TypeScript
17 lines
461 B
TypeScript
import { CardProps } from "@/components/TempDesignSystem/Card/card"
|
|
|
|
import { headingVariants } from "../components/TempDesignSystem/Text/Title/variants"
|
|
|
|
import type { VariantProps } from "class-variance-authority"
|
|
|
|
export function getFontColor(theme: CardProps["theme"]) {
|
|
let color: VariantProps<typeof headingVariants>["color"]
|
|
|
|
switch (theme) {
|
|
case "primaryDark":
|
|
return (color = "pale")
|
|
default:
|
|
return (color = "burgundy")
|
|
}
|
|
}
|