Skip to content

refactor(admin): add fluid typography token scale#86

Merged
DavidBabinec merged 1 commit into
mainfrom
feat/fluid-typography-scale
Jun 24, 2026
Merged

refactor(admin): add fluid typography token scale#86
DavidBabinec merged 1 commit into
mainfrom
feat/fluid-typography-scale

Conversation

@DavidBabinec

Copy link
Copy Markdown
Contributor

What changed

  • Added a fluid admin typography scale in src/styles/globals.css using Core Framework-style --text-* size tokens.
  • Replaced hardcoded font-size: <px> declarations across admin/UI CSS modules with the new admin size tokens.
  • Remapped editor iframe chrome typography to --chrome-text-* aliases so admin --text-* tokens do not override site Framework typography inside the canvas.
  • Added an architecture gate for admin typography token usage and updated design/editor docs.

Verification

  • bun run build
  • bun test (5490 pass, 0 fail)
  • bun run lint
  • bunx react-doctor@latest --verbose --scope changed --base main --fail-on warning (no issues found)

Note: the repo-local React Doctor v0.2.14 still reports warning-only findings in existing TSX files pulled into its diff scope by adjacent CSS changes; the current React Doctor changed-file scan reports no issues.

@DavidBabinec DavidBabinec marked this pull request as ready for review June 24, 2026 21:53
@DavidBabinec DavidBabinec merged commit 0a61a31 into main Jun 24, 2026
6 checks passed
@DavidBabinec DavidBabinec deleted the feat/fluid-typography-scale branch June 24, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant