Repository navigation
fix: site-tokens - Keep spacing minimums in order - #4024
ZaredRogers merged 14 commits into
Conversation
On live TSP, Gigantic (90) was 70px on desktop but 24px on mobile, below every step from 40 up. A step's mobile value is now raised to the one before it, and the change is listed for the reviewer. Refs GIT-2766. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…git-2766-site-tokens-spacing-min-order
…git-2766-site-tokens-spacing-min-order
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 33 seconds. View limit details
Warning Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption. 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. |
|
This pull request is merged. |
PR Template RoutingBranch Type: This PR was automatically routed based on the branch naming strategy. |
The declared CSS stack starts with the live site's own @font-face name (moret, argesta_displayregular), which the theme's fontFace entries don't declare, so the fonts would not load. Keep the stack's fallbacks and lead with the family name instead. Refs GIT-2770 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The monospace variable is named Monospace and its declared stack starts with ui-monospace, so the name check failed and the mapper wrote "Monospace, sans-serif". A generic family names no font of its own, so keep its declared stack, and fall back to monospace for that role. Refs GIT-2771 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Layout collection's --wp--custom--layout--content-size and wide-size variables landed in settings.custom.layout with no unit, and settings.layout was never set, so the theme kept the scaffold's widths. Map them, and core's --wp--style--global-- names, to contentSize and wideSize in px. Refs GIT-2772 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The export created brand, primary, cta, neutral, and figma-to-block-theme keeps the Figma order, so the theme palette was out of convention. Create neutral, primary, brand, cta instead. Refs GIT-2773 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…resets The scan walked node_modules, vendor, build and .agents, so on a scaffold-generated theme it took over 2 minutes and its report was almost all false hits. Skip those folders (with --exclude for more), add border-radius to the preset types, suggest the nearest step for bare numeric ladders, and add unit tests. Refs GIT-2774 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eScript Agent tooling is TypeScript with Jest tests beside the script. Replace find_orphaned_presets.py and its unittest tests with find-orphaned-presets.ts (registry loader, slug suggester and scanner classes, file system injected) and Jest tests at 80% thresholds. Add npm run test:theme-orphaned-refs. Behaviour matches the previous commit. Refs GIT-2774 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merge Protections🔴 2 of 2 protections blocking · waiting on ⛓️ dependency
🔴 ⛓️ Depends-On RequirementsWaiting for
This rule is failing.Requirement based on the presence of `Depends-On` in the body of the pull request
🔴 🚦 Auto-queueThis rule is failing.When all merge protections are satisfied and these conditions match, this pull request will be queued automatically.
|
…-skip-dependencies fix: orphaned-refs - Skip dependency, build and agent folders when scanning a theme
…alette-order fix: site-tokens - Export the palette ramps in the LightSpeed order
…layout-widths fix: figma-tokens - Map content and wide width to settings.layout
…monospace-stack fix: figma-tokens - Keep the declared system monospace stack
…font-stacks fix: figma-tokens - Build font stacks from the clean family name, not the raw @font-face name
4f42458
into
fix/git-2765-site-tokens-action-text-pairing
Bugfix Pull Request
Linked issues
Fixes #4019
Linear: GIT-2766
Context
site-to-design-tokensspacing scale. Found in scaffold end-to-end test run 2 (finding N6). Stacked on fix: site-tokens - Pair the primary button text with the fill of the same buttons #4023 (GIT-2765), on fix: site-tokens - Record redirects in the crawl and skip pages that land on the same URL #4022 and chore: site-tokens - Say which dependencies and browser the scripts need #4016.Reproduction
5to100. Got Gigantic (90) at 70px Max but 24px Min, below every step from40up.Root Cause
Fix Summary
Verification
tsc --noEmitcleanRisk & Rollback
Changelog
Fixed
site-to-design-tokenskeeps mobile spacing values in order up the ladder. (Fixes fix: site-tokens - Keep spacing minimums in order #4019)🤖 Generated with Claude Code