diff --git a/changelog.d/33.fixed.md b/changelog.d/33.fixed.md new file mode 100644 index 0000000..073f6e8 --- /dev/null +++ b/changelog.d/33.fixed.md @@ -0,0 +1 @@ +Restore Tailwind text size utilities from `text-5xl` through `text-9xl`. diff --git a/src/theme/tokens.css b/src/theme/tokens.css index 1a43f8f..f28b0d7 100644 --- a/src/theme/tokens.css +++ b/src/theme/tokens.css @@ -314,6 +314,16 @@ --text-3xl--line-height: 36px; --text-4xl: 32px; --text-4xl--line-height: 40px; + --text-5xl: 3rem; + --text-5xl--line-height: 1; + --text-6xl: 3.75rem; + --text-6xl--line-height: 1; + --text-7xl: 4.5rem; + --text-7xl--line-height: 1; + --text-8xl: 6rem; + --text-8xl--line-height: 1; + --text-9xl: 8rem; + --text-9xl--line-height: 1; /* Semantic radius */ --radius-chip: 2px; diff --git a/src/theme/tokens.ts b/src/theme/tokens.ts index 92e0789..d82d817 100644 --- a/src/theme/tokens.ts +++ b/src/theme/tokens.ts @@ -467,6 +467,11 @@ export const typography = { "2xl": { size: "24px", lineHeight: "32px" }, "3xl": { size: "28px", lineHeight: "36px" }, "4xl": { size: "32px", lineHeight: "40px" }, + "5xl": { size: "3rem", lineHeight: "1" }, + "6xl": { size: "3.75rem", lineHeight: "1" }, + "7xl": { size: "4.5rem", lineHeight: "1" }, + "8xl": { size: "6rem", lineHeight: "1" }, + "9xl": { size: "8rem", lineHeight: "1" }, }, } as const;