ngx-bs5-darkmode
v2.0.0
Published
An Angular Wrapper for the new dark mode from Bootstrap 5.3.0
Downloads
17
Readme
NgxBs5Darkmode
An Angular Wrapper for the new dark mode from Bootstrap 5.3.0
Usage
Just install the module via npm
$ npm install ngx-bs5-darkmode
and import it in your module.
DarkMode-Switch Component
There is one component coming with this "library":
<ngx-bs5-darkmode-switch></ngx-bs5-darkmode-switch>
It can be customized via the [darkIcon]
and [lightIcon]
attributes.
[darkIcon]
... the icon that is displayed in light mode
[lightIcon]
... the icon that is displayed in dark mode