import { createThemedStyles } from '../../themes' ; import type { TypographyOverrides } from './types' ; export const stylesCreator = createThemedStyles < TypographyOverrides > ( ( theme , font , color ) => ( { container : { color : color in theme . colors ? theme . colors [ color ] : color , ... ( font in theme . typography ? theme . typography [ font ] : theme . typography . ParagraphMedium ) , } , } ) ) ;