Git Product home page Git Product logo

fluentbootstrap's Introduction

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

  • Bootstrap's greys have been mapped to Fluent UI's Neutrals.

  • Bootstrap's base colors have been mapped to Fluent UI's Shared.

  • Bootstrap's primary colors have been mapped to Fluent UI's Messaging.

  • Bootstrap's shadows and radius have been mapped to Fluent UI's Elevation.

  • Bootstrap's grid breakpoints have been mapped to Fluent UI's Layout.

  • Bootstrap's typography has been mapped to Fluent UI's Typography.

  • The Dark theme colors are based on Darkly settings from Bootswatch.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.