A continuation of the v4 Dark Mode POC
This is a follow up to The Definitive Guide to Dark Mode and Bootstrap 4 body of work, and pertains to Bootstrap 5.
If you're after the same work for Bootstrap 4 please visit the vinorodrigues/bootstrap-dark repo.
This code will make little sense if you don't read The Definitive Guide to Dark Mode and Bootstrap 4 first.
The code only compiles the Method 1 and Method 4 variants (for BS5) of the topics discussed in the original body of work.
i.e.:
bootstrap-night, and;bootstrap-dark
Yes.
If you're a theme builder or want to use its principles in your own project you'll need to have Git and Node installed.
- Fork or download the repository:
git clone https://github.com/vinorodrigues/bootstrap-dark-5.git - Install Node dependencies:
npm install - Modify
_variables.scssand_variables-alt.scssin thescsssub-folder. - Run
npm run cssto build your theme. - The compiled code will be in the
distfolder.
(Comming soon...)
If you have useful feedback drop me an "Issue" on the GitHub Issues page.
© 2021