Adopt remaining typography token classes (CR-24)

Map exact size/weight/line-height combos onto existing text-* utilities across cards, sections, navigation, modals, controls, and create-flow. Leave unmappable combos hardcoded for design review.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
adilallo
2026-08-17 11:40:10 -06:00
co-authored by Cursor
parent cb0adf2049
commit 2321a1e761
75 changed files with 229 additions and 252 deletions
+5 -5
View File
@@ -106,11 +106,11 @@ const Button = memo<ButtonProps>(
};
const fontStyles: Record<string, string> = {
xsmall: "font-inter text-[10px] leading-[12px] font-medium tracking-[0%]",
small: "font-inter text-[12px] leading-[14px] font-medium tracking-[0%]",
medium: "font-inter text-[14px] leading-[16px] font-medium tracking-[0%]",
large: "font-inter text-[16px] leading-[20px] font-medium tracking-[0%]",
xlarge: "font-inter text-[24px] leading-[28px] font-normal tracking-[0%]",
xsmall: "text-xx-small-label",
small: "text-x-small-label",
medium: "text-small-label",
large: "text-medium-label",
xlarge: "text-x-large-label",
};
const variantStyles: Record<string, string> = {