1const FONT_FAMILIES = {
2 regular: "DMSans-Regular",
3 medium: "DMSans-Medium",
4 bold: "DMSans-Bold",
5} as const;
6
7/**
8 * Resolves a font family for APIs that require a style object or native prop.
9 * Prefer Uniwind font classes when the target component accepts `className`.
10 */
11export function useFontFamily(weight: keyof typeof FONT_FAMILIES): string {
12 return FONT_FAMILIES[weight];
13}