This is a Bootstrap 4.1 dark theme.
This is a work in progress...
TODO: write a better guide...
For the initial development time, the package is deployed to the following custom npm registry: https://www.myget.org/F/forevolve/npm/.
npm install bootstrap-dark --save
If you want to build the theme manually, modify it or even contribute, this section explains how.
- You need
npmto build this project; see Node JS for more info. - You need .NET Core 2; see .NET Core Downloads for more info.
- Clone this repo
- Run
npm install - Run
dotnet restore
- Run
dotnet runor if you are using VS Code,Start Debuggingwill work. - Run
npm run watch
Once you started both server and the watch command, the browser-sync proxy should open in a browser at the following URI: http://localhost:3002.
There is a few npm and gulp scripts.
gulp-watchsimply runsgulp watchbrowser-sync-proxystarts browsersync watching for anywwwroot/css/*.csschangeswatchrun both previous scripts in parallel
build-themecompile the theme to css.copy-dist-to-wwwrootcopy thedistfolder content towwwroot(used by web pages).copy-bootstrap-jscopy the bootstrap js files to thedist/jsdirectory.watchexecutecopy-bootstrap-jsthen watch to rebuild the theme.defaultsimply runs bothbuild-themeandcopy-bootstrap-js.
To contribute, feel free to contact me.
If you feel confident enough (or if the issue tracker is more populated and I forgot to update this section), feel free to submit a PR.
Assetsare the project assets (like the screenshot in the readme file).distare the redistributable files; if you want to copy/paste the files into your projects, that's the ones. They also include bootstrap JavaScript files, unaltered.Pagesare the Asp.Net Core Razor Pages. That's the preview.Why .NET Core? Well, I wanted to script some loops, and I know .Net; so I picked Razor Pages to do just that: dynamic pages!
scssare the source theme files.Servicesare the web pages services; so far it's pretty thin.wwwrootare the web assets; thedistfiles are copied there.- Other files (root): all the npm and asp.net core common files, license, readme, etc.
The following project applies bootstrap-dark to the bootstrap documentation site allowing deeper testing of the theme:
I started this project based on the Bootstrap Theme Kit by Alexander Rechsteiner at Hacker Themes. This allows me to publish a lighter version of the theme; making it easier to be used (compared to the full Bootstrap Jekyll docs).
