import clsx from 'clsx'; import { APP_COLORS } from '@/styling/colors'; import { colorFgGrammeme } from '../colors'; import { labelGrammeme } from '../labels'; import { type GramData } from '../models/language'; interface BadgeGrammemeProps { /** Grammeme to display. */ grammeme: GramData; } /** * Displays a badge with a grammeme tag. */ export function BadgeGrammeme({ grammeme }: BadgeGrammemeProps) { return (