Releases: ForEvolve/bootstrap-dark
Releases · ForEvolve/bootstrap-dark
v2.0.0 Release
- Add
bootstrap-dark-prefers-light.css
which default to Bootstrap dark and display the light colors if the user'sprefers-color-scheme: light
. - Add
bootstrap-light-prefers-dark.css
which default to Bootstrap and display the dark colors if the user'sprefers-color-scheme: dark
. - Add
bootstrap-prefers-dark-color-only.css
which is only the colors ofbootstrap-prefers-dark.css
. This is autogenerated byclean_non_color_attr.js
. - Add
bootstrap-prefers-light-color-only.css
which is only the colors ofbootstrap-prefers-light.css
. This is autogenerated byclean_non_color_attr.js
. - Add
clean_non_color_attr.js
gulp plugin (based ongulp-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
Merge 9fe896a96343caa5004693b9cad8678223d96d9a into ae6c7dc878eefdcdb…
v1.2.0-g6c89781692 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'sprefers-color-scheme: light
. - Add
bootstrap-light-prefers-dark.css
which default to Bootstrap and display the dark colors if the user'sprefers-color-scheme: dark
. - Add
bootstrap-prefers-dark-color-only.css
which is only the colors ofbootstrap-prefers-dark.css
. This is autogenerated byclean_non_color_attr.js
. - Add
bootstrap-prefers-light-color-only.css
which is only the colors ofbootstrap-prefers-light.css
. This is autogenerated byclean_non_color_attr.js
. - Add
clean_non_color_attr.js
gulp plugin (based ongulp-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
- 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 ofbootstrap-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 ofbootstrap-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
Merge df123fc091ec5b113f4b5239c5fa7ed8f891a070 into 9216ae5f75f844e58…
v1.0.0 Release
Update badge and force release 1.0.0