0.3.0 • Published 2 years ago

bootstrap-colors v0.3.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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>;
};

...