scottkuhl / FluentBootstrap

Fluent UI variables for Bootstrap
MIT License
14 stars 4 forks source link

# Fluent Bootstrap

The goal of this project is to apply default variables to Bootstrap based on the guidelines from the Microsoft Fluent Web project. It does not attempt to make Bootstrap look like a clone of the Fluent project. The changes are very lightweight, should allow you to adjust them easily, and not prevent you from upgrading to newer versions of Bootstrap.

Other projects like WinStrap and Fluent Design from MDB have gone much deeper into making a Fluent clone but projects like these tend to get left behind and stuck on a particular version of Bootstrap because of this. WinStrap is set to Bootstrap 3.3.7 with Windows 8 guidelines and MDB is set to 4.0.0 with older Windows 10 based guidelines.

You can read the original blog post, Fluent UI for Bootstrap, here.

How to use in your project

Copy the three Bootstrap based SASS files into your project and compile them.

  1. light.scss - contains base variables.
  2. dark.scss - builds upon the light.scss file and renders a dark theme. You don't need this one if you are going for a light theme.
  3. bootstrap.scss - set the above theme to the one you want and update the bootstrap target path.

The Settings

Sample Project

The FluentBootstrap project is a sample project based on ASP.NET Core that uses these SASS files. It contains a default page like the ones from the Bootswatch project for testing changes.

Special Thanks

A special thanks to all the Bootstrap, Fluent UI and Bootswatch contributors for making this possible.