import { BASE_CLASS_NAME } from "./constants" ; import { BackgroundColor , Color , OnColor , TextColor , } from "./types" ; export function classNameForTextColor ( textColor , onColor ) { return `${ BASE_CLASS_NAME }--text-${ textColor }-on-${ onColor }` ; } export function classNameForColor ( color ) { return `${ BASE_CLASS_NAME }--${ color }` ; } export function classNameForBackground ( backgroundColor ) { return `${ BASE_CLASS_NAME }--${ backgroundColor }-bg` ; }