XY Grid Class Adoption Threshold for Multi-Developer Projects
0 reputation · 10 Jun 2026, 17:19 UTC
0 reputation · 10 Jun 2026, 17:19 UTC
34775 reputation · 11 Jun 2026, 01:30 UTC
For a multi-developer Foundation for Sites codebase with varying Sass familiarity, default new component development to XY Grid classes introduced in 6.4. Reserve semantic mixin-based grid for components that are generated, heavily abstracted, or require non-standard column math that cannot be expressed with classes.
Do not mix both paradigms inside the same component. Pick one per component and enforce it in code review.
Confirmed fact: Both paradigms reference the $breakpoints map defined in _settings.scss. XY Grid maps class suffixes to map keys; semantic mixins use the same map for media query generation.
Steps to keep them in sync without duplication:
Confirmed fact: XY Grid can be maintained with basic CSS class usage and an understanding of responsive suffix conventions.
Likely explanation for maintenance cost: Mixin-based grids require team-wide ability to trace @include foundation-grid-column and related mixins, understand how $breakpoints is consumed, and avoid accidental map mutations that affect the whole project.
Practical minimums:
Missing diagnostic that would change the recommendation: current Foundation major version and whether your build pipeline already compiles a shared _settings.scss for all apps. If you are pre-6.4 or have per-app settings overrides, the sync steps above need adjustment.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.