Bourbon Versions Save

A Lightweight Sass Tool Set

v5.0.0.beta.2

8 years ago

Added

  • Added global settings for the contrast-switch mixin: contrast-switch-dark-color & contrast-switch-light-color.
  • Added the triangle mixin back, but note that it’s been refactored and the arguments have changed.

Changed

  • Swapped argument names contrast-switch; what was $dark-color is now $light-color and what was $light-color is now $dark-color.

Removed

  • Dropped support for Ruby on Rails versions older than 4.2.
  • Dropped support for LibSass versions older than 3.3.
  • The is-light function is now private.

Full Changelog

v5.0.0.beta.1

8 years ago

Added

  • Added a contrast-switch mixin that switches between two colors based on the lightness of a another color. Great for building button styles.
  • Added an $all-text-inputs-invalid variable to target the :invalid pseudo-class on all text-based inputs.
  • The ellipsis mixin now takes a $display argument.
  • Added a font stack for system fonts: $font-stack-system.
  • Added a hide-visually mixin that hides an element visually while still allowing the content to be accessible to assistive technology, e.g. screen readers.
  • The font-face mixin now allows additional CSS properties to be included in its block, which will output as part of the @font-face declaration. See 2356719.

Changed

  • The global default for the modular-scale ratio is now set to $major-third (1.25), instead of $perfect-fourth (1.333).
  • All font stack variables are now prefixed with $font-stack-, e.g. $font-stack-helvetica.
  • Global settings are now set via a $bourbon map, instead of variables. See 4e43c2d.
  • The clearfix mixin now uses block display, instead of table.

Removed

  • The $weight and $style arguments in the font-face mixin have been deprecated. Instead, you can now include these—along with other CSS properties—within the mixin block and they’ll be output as part of the @font-face declaration.

Full Changelog

v4.2.6

8 years ago

Fixed

  • Fixed a bug with eyeglass support.

v4.2.5

8 years ago

Added

v5.0.0.alpha.0

8 years ago

:warning: The changes mentioned below may not be complete, but should cover most of the deprecations and changes.

New features

  • A new $global-font-file-formats setting has been added, allowing you to globally set the font file formats you want the font-face mixin to use. The default is ttf woff2 woff.

Improvements

  • Removed the type selectors in $all-text-inputs and $all-buttons to reduce specificity.
  • Font stack variables have been modernized.
  • The prefixer mixin has been refactored and no-longer uses the $global-prefixes setting.

Deprecations

  • All vendor prefixing mixins have been removed. We recommend using a more robust and maintainable solution like Autoprefixer.
  • The em() and rem() mixins have been deprecated.
  • The $monospace font stack variable has been deprecated in favor of new $consolas, $courier-new and $monaco variables.
  • The triangle() mixin has been deprecated.

Maintenance

  • The strip-units function is now strip-unit.
  • The size() mixin now requires a comma-separated argument list: @include size(1em, 2em);.
  • We restructured Bourbon’s directory tree to be more succinct and reduce possible conflicts. The full library now lives in a core/ directory and all of the Sass partials are within a bourbon/ directory to avoid polluting imports paths. This will affect load paths if you use Bower.

Compatibility with Neat, Bitters & Refills

This alpha should be fully compatible with the latest version of Neat (1.7.2). Bitters 1.0 is not compatible, however the master branch is. We’ll get 1.1 out ASAP. At this time, most of Refills will not be compatible.


If you have comments or come across a bug, please open an issue here on GitHub.

v4.2.4

8 years ago

Improvements

Maintenance

v4.2.3

9 years ago

Bug fixes

  • Fixed an issue with the font-face mixin outputting an extraneous commas when using LibSass set to compressed output

v4.2.2

9 years ago

Bug fixes

  • The flex-direction mixin now properly outputs box-direction (old syntax) if set to normal.

v4.2.1

9 years ago

Restore app directory for npm

v4.2.0

9 years ago

:tada: Bourbon is now compatible with LibSass 3.1+!

Improvements

  • $all-button-inputs is now simply $all-buttons ($all-button-inputs will continue to work until v5.0).
  • $all-buttons also now includes the button element.
  • $all-text-inputs now includes the textarea element.

Bug fixes

  • selection is now compatible with LibSass and we fixed a bug which caused errors in certain versions of Ruby Sass.
  • Fixed a bug with hide-text which caused some typefaces to extend into the visible area. It also no longer requires a height.

Deprecations

  • box-sizing has been deprecated and will be removed in v5.0.

Maintenance

  • Bourbon now requires Sass 3.4.
  • We are now bourbon on npm.
  • We are now using SCSS-Lint with Hound to help us keep our Sass in tip-top shape.
  • We’ve begun porting our documentation over to SassDoc, which will allow them to be versioned and make updating easier.
  • We’ve updated our browser support.