Skip to content

Add text-5xl through text-9xl utilities to @theme#33

Merged
MaxGhenis merged 2 commits into
mainfrom
bot/issue-32
May 10, 2026
Merged

Add text-5xl through text-9xl utilities to @theme#33
MaxGhenis merged 2 commits into
mainfrom
bot/issue-32

Conversation

@policyengine
Copy link
Copy Markdown
Contributor

@policyengine policyengine Bot commented May 9, 2026

Fixes #32

Changes

Adds the missing text size utilities (text-5xl through text-9xl) to the @theme block in src/theme/tokens.css.

Context

The design tokens file was resetting all text sizes with --text-*: initial but only redefining text-xs through text-4xl. This caused build errors in all 9 PolicyEngine slide-deck repos that use text-5xl through text-9xl for slide titles.

Implementation

Added the following utilities with Tailwind v4 default values:

  • text-5xl: 3rem / line-height: 1
  • text-6xl: 3.75rem / line-height: 1
  • text-7xl: 4.5rem / line-height: 1
  • text-8xl: 6rem / line-height: 1
  • text-9xl: 8rem / line-height: 1

These match the standard Tailwind defaults and align with the values consumers had to duplicate locally.

Testing

  • Build completes without errors
  • Type checking passes
  • Utilities are available for use in consumers

Once merged, the 9 slide-deck repos can remove their local @theme overrides.

🤖 Generated with Claude Code

Restores missing text size utilities (text-5xl through text-9xl) that
were reset by --text-*: initial but not redefined. These are required
by all 9 slide-deck repos and match Tailwind v4 defaults.

Fixes #32

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
policyengine-ui-kit Ready Ready Preview, Comment May 10, 2026 0:17am

Request Review

@MaxGhenis MaxGhenis merged commit dc432d1 into main May 10, 2026
4 checks passed
@MaxGhenis MaxGhenis deleted the bot/issue-32 branch May 10, 2026 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restore text-5xl through text-9xl in @theme (currently reset to initial)

2 participants