thoughtbot/bourbon
Bourbon is a lightweight Sass/SCSS tool set for modern CSS. It provides simple, semantic mixins and functions, plus helpers for responsiveness and vendor prefixing, so you can write cleaner stylesheets without a heavy framework.
Bourbon is a lightweight mixin library for Sass, providing clean, modern, and semantic helper functions and mixins. Since it's archived (as of 2023), it’s considered stable but no longer actively developed—ideal for legacy or stable-codebase use. Begin by installing via npm or yarn:
npm install --save-dev bourbon
# or
yarn add --dev bourbon
Include Bourbon in your Sass entrypoint (e.g., app.scss):
@import "~bourbon/core/bourbon";
The first use case is typically cleaning up vendor-prefixed properties—e.g., using @include border-radius(8px); instead of manually writing border-radius, -webkit-border-radius, and -moz-border-radius.
bourbon gem) or older Node/Sass pipelines where upgrading to newer tools like sass-mixins or @fontsource-style packages isn’t feasible.@include mixins with your own utility classes. Its neat grid system (separate package) pairs well for responsive layouts.@include size(100%, auto); simplify common patterns.sass, Laravel Mix) compiles .scss with silence-deprecation: true for best compatibility.gap, row-gap, new flexbox helpers) won’t be added—use native CSS or Superseded-Bourbon alternatives like @csstools/postcss-plugins.@mixin, @function) or sass:math—Bourbon adds little value over vanilla Sass now.File to import not found or unreadable: bourbon, verify includePaths config in sass-loader (e.g., add node_modules or ~bourbon/core).bourbon and neat into the same scope without namespacing to prevent mixin collisions.@include transition(...), @include clearfix, etc., with equivalents in PostCSS (via postcss-preset-env) or native CSS.How can I help you explore Laravel packages today?