Skip to content

v2.0.0 Release

Choose a tag to compare

@github-actions github-actions released this 08 Dec 17:09
6acb739
  • Add bootstrap-dark-prefers-light.css which default to Bootstrap dark and display the light colors if the user's prefers-color-scheme: light.
  • Add bootstrap-light-prefers-dark.css which default to Bootstrap and display the dark colors if the user's prefers-color-scheme: dark.
  • Add bootstrap-prefers-dark-color-only.css which is only the colors of bootstrap-prefers-dark.css. This is autogenerated by clean_non_color_attr.js.
  • Add bootstrap-prefers-light-color-only.css which is only the colors of bootstrap-prefers-light.css. This is autogenerated by clean_non_color_attr.js.
  • Add clean_non_color_attr.js gulp plugin (based on gulp-css-remove-attributes).
  • Update .NET/Razor Pages sample to use these new CSS files.

The preview versions 1.2.x was ¾ of this. We bumped the version due to the $card-color change (see below).

Breaking changes

The $card-color variable has been reverted from $gray-200 (#e9ecef) to null (default Bootstrap value) due to a color issue in the dark/light theme.