Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/33.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Restore Tailwind text size utilities from `text-5xl` through `text-9xl`.
10 changes: 10 additions & 0 deletions src/theme/tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 5 additions & 0 deletions src/theme/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down