Skip to content

Releases: ForEvolve/bootstrap-dark

v2.0.0 Release

08 Dec 17:09
6acb739
Compare
Choose a tag to compare
  • 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.

v1.2.0-ga1e6eefb31 Release

08 Dec 16:39
a1e6eef
Compare
Choose a tag to compare
Pre-release
Merge 9fe896a96343caa5004693b9cad8678223d96d9a into ae6c7dc878eefdcdb…

v1.2.0-g6c89781692 Release

04 Jun 21:25
6c89781
Compare
Choose a tag to compare
Pre-release

This is a prerelease version that could contain bugs.

  • 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.

Completed state

  • default: light - prefers: light (bootstrap-light-prefers-dark.css)
  • default: light - prefers: dark (bootstrap-light-prefers-dark.css)
  • default: dark - prefers: light (bootstrap-dark-prefers-light.css)
  • default: dark - prefers: dark (bootstrap-dark-prefers-light.css)

Known issues

  • Color bugs in the dark/light theme are caused by color variables being set to null in Bootstrap and overridden in Bootstrap-dark.

v1.1.0 Release

30 May 18:55
ae6c7dc
Compare
Choose a tag to compare
  • Update bootstrap-dark.css to include the .navbar-themed class (dark version).
  • Add bootstrap-light.css which is bootstrap plus the .navbar-themed class (light version).
  • Add bootstrap-prefers-dark.[css|scss] that is the equivalent of bootstrap-dark.[css|scss], without the print, wrapped in a @media (prefers-color-scheme: dark) media query.
  • Add bootstrap-prefers-light.[css|scss] that is the equivalent of bootstrap-light.[css|scss], without the print, wrapped in a @media (prefers-color-scheme: light) media query.
  • Add two samples to show this usage: ./samples/html/prefers-dark-default-light.html and ./samples/html/prefers-light-default-dark.html
  • Update .NET/Razor Pages sample to use these new CSS files.

v1.0.0-g5cb0961935 Release

05 Mar 01:04
5cb0961
Compare
Choose a tag to compare
Merge df123fc091ec5b113f4b5239c5fa7ed8f891a070 into 9216ae5f75f844e58…

v1.0.0 Release

05 Mar 01:25
Compare
Choose a tag to compare
Update badge and force release 1.0.0