bootstrap-colors

0.3.0 • Public • Published

bootstrap-colors

CSS classes and Javascript values for all colors in Bootstrap

Usage

For stylesheets

Import the compiled css into your own css stylesheet

@import '../node_modules/bootstrap-colors/css/bootstrap-colors.css';

Import the scss files into your scss stylesheet

@import '../node_modules/bootstrap-colors/scss/bootstrap-colors.scss';

For Javascript, React

import { colors } from 'bootstrap-colors';

...

const App = () => {
  return <h1 style={{ color: colors['blue'][400] }}>Hello React Application.</h1>;
};

...

Package Sidebar

Install

npm i bootstrap-colors

Weekly Downloads

0

Version

0.3.0

License

ISC

Unpacked Size

51.4 kB

Total Files

11

Last publish

Collaborators

  • chewhx