Question
Jeet col() breakpoint modifier column generation limit
Tasadduq BurneyownerOwner · Founder
29.5K reputation · 20 May 2021, 02:01 UTC
122.8K views0
Jeet col() breakpoint modifier column generation limit
The goal is to automatically restrict the number of column classes Jeet outputs for each breakpoint when using loops or maps, preventing excessively large CSS files.
Currently Jeet’s col() mixin accepts breakpoint suffixes (e.g., -sm, -md) and generates separate media queries for each modifier, but it provides no built‑in way to cap the total variants per breakpoint.
- Is there a configuration option or mixin argument that can enforce a maximum number of column variants per breakpoint?
- Can a custom Sass function be layered on top of Jeet’s
col()to truncate iteration without modifying the library source? - What is the recommended pattern for developers to manually limit iterations while preserving breakpoint‑specific styling?