You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CSS: range media query syntax (flip stylelint media-feature-range-notation) #86
Responsive utilities and .container use legacy min-width queries with Tailwind breakpoints written as literals in several places (app.css ~L426–430, L440, L452, L467, L595): 640 / 768 / 1024 / 1280 / 1536.
Bootstrap 6 moved to range syntax ((width >= 768px)) throughout.
Proposed
Convert to range syntax — clearer, and any future max-width query becomes (width < 1024px) with no .98px overlap hacks.
Consider @custom-media --md (width >= 768px); for one source of breakpoint truth. Vite's default CSS pipeline doesn't transpile @custom-media, so that part would need css.transformer: 'lightningcss' with drafts.customMedia — only worth it if switching the transformer anyway; plain range syntax is natively supported by all target browsers.
.stylelintrc.cjs currently pins 'media-feature-range-notation': 'prefix' ("matches the file's existing style"). Flip it to 'context' (the config-standard default) and stylelint --fix does most of the conversion automatically.
Activity