8000 B9.1: Studio skin as the default (round-3 hybrid redesign) by ahmadmhmdsy · Pull Request #28 · ahmadmhmdsy/localpdf-studio · GitHub
[go: up one dir, main page]

Skip to content

B9.1: Studio skin as the default (round-3 hybrid redesign) - #28

Open
ahmadmhmdsy wants to merge 2 commits into
mainfrom
phase-b/b9-studio-skin
Open

ahmadmhmdsy wants to merge 2 commits into
mainfrom
phase-b/b9-studio-skin

Conversation

@ahmadmhmdsy
Copy link
Copy Markdown
Owner

Summary

First slice of the round-3 hybrid redesign (B9 in docs/roadmap.md): a new Studio skin, now the default.

  • Tokens for light and dark: mint paper, forest, vermilion. Every text token meets WCAG 2.2 AA on --bg, --surface and --surface-2 (worst pair 5.15:1).
  • Fonts: Bricolage Grotesque, IBM Plex Sans Arabic and Noto Kufi Arabic, all SIL OFL 1.1 (free for commercial use). They are self-hosted in src/theme/fonts/ with their licences and fingerprinted by Vite, so BASE_URL is respected and the CSP's font-src 'self' is unchanged.
  • Shell: the shared Header becomes a full-width sticky bar whose height is pinned to --glass-header-offset, so the editor fits underneath it. No orbs or grain. The bar mirrors in RTL.
  • Default: DEFAULT_SKIN = 'studio' for new visitors and for unknown saved values. A saved Glass or Bento choice is kept.
  • Roadmap: B9 row, slices B9.1–B9.4, and backlog #36 (glass leftovers inside tool-page components, planned for B9.3).

No new dependency, no CSP or Permissions-Policy change, no releaseState change.

Validation (local, Windows)

  • PASS npm run typecheck
  • PASS npm run lint (0 errors)
  • PASS npm run test:coverage: 1017/1017
  • PASS npm run build, npm run check:bundle
  • PASS npm run test:e2e: 35/35, including axe in light, dark and Arabic, plus new studio geometry tests
  • SKIPPED npm run test:lhci: fails locally on Windows (backlog #29); CI runs it
  • Manual: screenshots in EN/AR, light/dark, 1440/390 px; no horizontal scroll; fonts load

Known gaps

  • The Home and tool-page bodies still use glass-era component styling: the pink upload glow, the gradient hero headline and monospace step labels (backlog #36 → B9.3).

🤖 Generated with Claude Code

ahmadmhmdsy and others added 2 commits November 13, 2026 15:36
The round-3 hybrid redesign starts here (docs/design/round3.md).

- Studio skin tokens for light and dark (mint paper, forest, vermilion);
  every text token meets WCAG 2.2 AA on bg, surface and surface-2.
- Self-hosted SIL OFL fonts (Bricolage Grotesque, IBM Plex Sans Arabic,
  Noto Kufi Arabic) in src/theme/fonts with their licences; Vite
  fingerprints them, so BASE_URL is respected and font-src 'self' holds.
- The shared Header becomes a full-width sticky bar pinned to
  --glass-header-offset, so the editor fits under it; no orbs or grain.
- DEFAULT_SKIN = 'studio' for new visitors and unknown saved values;
  a saved Glass or Bento choice is kept.
- Tests: skin registry default, store hydrate fallback, Layout studio
  branch, and studio geometry in e2e/skins.spec.ts.
- Roadmap: B9 row, B9.1-B9.4 slices, backlog #36.

No new dependency, CSP change or releaseState change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant

0