Sass @use and @forward: A Collision-Free Token API
Use Sass modules to namespace design tokens, expose a small public API with @forward, and configure themes without editing token source.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use Sass modules to namespace design tokens, expose a small public API with @forward, and configure themes without editing token source.
Transform modern CSS syntax and add vendor prefixes with PostCSS, postcss-preset-env, and autoprefixer using explicit browserslist targets.
Tailwind's arbitrary value syntax lets you inject runtime colors, spacing, and shadows into utility classes without abandoning the utility-first workflow.
Container Queries let UI components respond to their parent's size instead of the viewport. This post shows how to opt in with container-type, a worked card example that flips layout at 350px, and the performance and stacking-context trade-offs you'll hit in production.
Sass @import creates a global namespace where variables, mixins, and functions collide. Learn how @use and @forward enforce explicit dependencies, cache modules, and define a clear public API.
Learn how to implement translucent toolbars and sheets in Safari using backdrop-filter, including the required -webkit- prefix, stacking context pitfalls, and a readable fallback for unsupported contexts.
Customize Bulma by setting Sass variables before import and using responsive column modifiers instead of custom CSS overrides.
Use PostCSS with Autoprefixer to add vendor prefixes automatically based on Browserslist targets, then verify the output before deployment.
Learn how to add custom spacing, color, or typography utilities to Bootstrap 5 using its Sass Utility API, with a step‑by‑step example and notes on recompilation and naming conflicts.