bootstrap-darkmode

Stylesheet and scripts for implementing dark mode with Bootstrap 4

BSD-3-CLAUSE License

Downloads
4.6K
Stars
43

Bot releases are hidden (Show)

bootstrap-darkmode - First Bootstrap v5 Beta - All Components updated Latest Release

Published by Clashsoft almost 3 years ago

New Features

  • Re-added support for tables.

Also see the Alpha Release notes.

Known Issues

When used with Angular, it may throw some weird errors like this:

Error: Module build failed (from ./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/sass-loader/dist/cjs.js):

SassError: Can't find stylesheet to import.
11 │ @import "~bootstrap-darkmode/scss/darktheme";
   │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  src/styles.scss 11:9  root stylesheet

Workaround: Use @import "node_modules/bootstrap-darkmode/scss/darktheme"; instead.

bootstrap-darkmode - Fourth Bootstrap v5 Alpha - Form Components and Accordion

Published by Clashsoft almost 3 years ago

New Features

  • Re-added support for form components.
  • Added overrides for form-check.
  • Added overrides for form-select.
  • Added overrides for form-range.
  • Added override for text-muted (same color as in light mode, but now customisable).
  • Added overrides for the accordion.
bootstrap-darkmode - Third Bootstrap v5 Alpha - More Components

Published by Clashsoft almost 3 years ago

New Features

  • Re-added support for list groups.
  • Re-added support for dropdowns.
  • Re-added support for navs.

Bugfixes

  • Removed the default breadcrumb background color.
bootstrap-darkmode - Second Bootstrap v5 Alpha - Basic Components

Published by Clashsoft almost 3 years ago

New Features

  • Re-added support for (non-colored) links.
  • Re-added support for buttons.
  • Re-added support for alerts.
  • Re-added support for close buttons.
  • Re-added support for popovers.
  • Added overrides for link-* color classes.

Removals

  • Removed jumbotron overrides.
bootstrap-darkmode - First Bootstrap v5 Alpha - SCSS Errors Resolved

Published by Clashsoft almost 3 years ago

General

  • Updated to Bootstrap v5.1.3.
  • Added tslib dependency.
  • The package now contains JavaScript bundled as esm2020, fesm2015 and fesm2020.

New Features

  • Added an override for the bg-body class.

Bugfixes

  • Commented all erroneous SCSS.

Removals

  • Removed badge overrides.
bootstrap-darkmode - bootstrap-darkmode v0.9.1

Published by Clashsoft about 3 years ago

Bugfixes

  • Declared sideEffects in package.json to prevent problems with Vue. #24
bootstrap-darkmode - bootstrap-darkmode v0.9.0

Published by Clashsoft about 3 years ago

New Features

  • Added the dark-theme mixin.

Improvements

  • Moved SCSS partials into a new mixins directory.
bootstrap-darkmode - bootstrap-darkmode v0.8.1

Published by Clashsoft about 3 years ago

Improvements

  • Darkened the main background color slightly.
bootstrap-darkmode - bootstrap-darkmode v0.8.0

Published by Clashsoft over 3 years ago

New Features

  • Added support for colored list groups. #5
  • Added support for colored cards. #7
  • Added support for alerts. #10
  • Added support for colored borders. #18
  • Added support for colored tables.
  • Added some utility classes for forcing dark text.

Improvements

  • Overhauled theme colors.
  • Links are now lightened on hover.
  • Improved customization with SCSS variables.
  • Split the large stylesheet into multiple partials.
bootstrap-darkmode - bootstrap-darkmode v0.7.0

Published by Clashsoft about 4 years ago

  • Added .bg-darkmode-black as an opposite for .bg-white.
  • Added support for data-theme="auto", which will automatically apply dark mode dependending on user agent preference.
  • Improved table border colors.
  • Improved horizontal rule (<hr>) color.
  • Updated information in package.json.
bootstrap-darkmode - bootstrap-darkmode v0.6.0

Published by Clashsoft about 4 years ago

  • dist/theme.js is no longer a module.
bootstrap-darkmode - bootstrap-darkmode v0.5.0

Published by Clashsoft about 4 years ago

  • Added the ThemeConfig.detectTheme method.
  • ThemeConfig.loadTheme and .saveTheme are now regular methods.
  • The ThemeConfig.loadTheme and .saveTheme methods can now accept/return null.
  • Moved darktheme.css to dist/.
  • Removed .gitignore from the NPM package.
bootstrap-darkmode - bootstrap-darkmode v0.4.0

Published by Clashsoft about 4 years ago

  • Converted the JavaScript code to TypeScript.
bootstrap-darkmode - bootstrap-darkmode v0.3.2

Published by Clashsoft about 4 years ago

  • Added constructor to ThemeConfig.
bootstrap-darkmode - bootstrap-darkmode v0.3.1

Published by Clashsoft about 4 years ago

  • Added initTheme to theme.d.ts.
bootstrap-darkmode - bootstrap-darkmode v0.3.0

Published by Clashsoft about 4 years ago

  • Encapsulated theme methods in the ThemeConfig class.
  • Encapsulated dark switch in a function.
bootstrap-darkmode - bootstrap-darkmode v0.2.0

Published by Clashsoft about 4 years ago

  • Added theme.d.ts.
bootstrap-darkmode - bootstrap-darkmode v0.1.0

Published by Clashsoft about 4 years ago

  • Initial NPM release.