Skip to content

fix: use Apsara typography tokens for heading sizes#98

Merged
rsbh merged 1 commit into
mainfrom
fix/heading-font-sizes
May 21, 2026
Merged

fix: use Apsara typography tokens for heading sizes#98
rsbh merged 1 commit into
mainfrom
fix/heading-font-sizes

Conversation

@rsbh
Copy link
Copy Markdown
Member

@rsbh rsbh commented May 21, 2026

Summary

  • Replace hardcoded heading font sizes with Apsara design tokens
  • h1: --rs-font-size-t4 (32px), h2: --rs-font-size-t3 (28px), h3: --rs-font-size-t2 (24px), h4: --rs-font-size-t1 (20px), h5: --rs-font-size-large (16px), h6: --rs-font-size-regular (14px)
  • Applied to both default and paper themes

Test plan

  • Verify h1-h6 render at correct sizes in default theme
  • Verify h1-h6 render at correct sizes in paper theme
  • Check heading hierarchy is visually distinct

🤖 Generated with Claude Code

h1: t4 (32px), h2: t3 (28px), h3: t2 (24px), h4: t1 (20px),
h5: large (16px), h6: regular (14px). Both themes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

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

Project Deployment Actions Updated (UTC)
chronicle Ready Ready Preview, Comment May 21, 2026 4:21am

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 21, 2026

Warning

Rate limit exceeded

@rsbh has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 19 minutes before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 93281e5e-0dc8-4d47-a567-88584545b4db

📥 Commits

Reviewing files that changed from the base of the PR and between 9acd409 and c477bd3.

📒 Files selected for processing (2)
  • packages/chronicle/src/themes/default/Page.module.css
  • packages/chronicle/src/themes/paper/Page.module.css
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/heading-font-sizes

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@rsbh rsbh merged commit e871b02 into main May 21, 2026
4 checks passed
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.

2 participants