Skip to content

fix: refactor: one breakpoints owner (layout.ts); a test fails on any @media width outside the set - #656

Merged
mvilacad merged 3 commits into
mainfrom
fix/649-refactor-one-breakpoints-owner-layout-ts
Oct 26, 2026
Merged

mvilacad merged 3 commits into
mainfrom
fix/649-refactor-one-breakpoints-owner-layout-ts

Conversation

@mvilacad

Copy link
Copy Markdown
Contributor

Closes #649

Regression test (written first)

  • Test reproduces the problem and fails on main (paste the failing output)
  • Same test passes with the fix

Change

Checklist

  • bun run validate passes
  • Changeset (bun changeset) if the published package changes
  • Docs updated if behavior or API changed

…ve from it

responsive.svelte.ts and lint-tokens.ts no longer repeat the scale. The breakpoint lint now also reads .astro/.ts/.js files and matchMedia strings, which found two off-scale (max-width: 900px) in site/src (motion.ts, index.astro), now 899.98px. Fail before: 2 new lint tests fail on the old lint; pass after. Closes #649
@mvilacad
mvilacad marked this pull request as ready for review October 26, 2026 00:35
@mvilacad
mvilacad force-pushed the fix/649-refactor-one-breakpoints-owner-layout-ts branch from 2a7f697 to 50d0c78 Compare October 26, 2026 00:35
@mvilacad
mvilacad merged commit 443f72d into main Oct 26, 2026
1 check passed
@mvilacad
mvilacad deleted the fix/649-refactor-one-breakpoints-owner-layout-ts branch October 26, 2026 00:35
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.

refactor: one breakpoints owner (layout.ts); a test fails on any @media width outside the set

1 participant