1.0.0 • Published 2 months ago

@wimogas/barebones-css v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
2 months ago

Barebones CSS 1.0.0

Barebones CSS is a simple and customizable CSS Library built with SCSS & Webpack and documented with Storybook.

Check out the Storybook Docs:

storybook-logo.png

Features

  • Fully-loaded with utilities like colors, spacing, typography, layout and more.
  • Customizable with tokens and themes

Installation

npm install barebones-css

Usage

import '../node_modules/barebones-css/build/index.css';
...
<div class="bb-p-200 bb-m-500 bb-bg-primary-500"></div>

Customization

Create your own theme.scss and import our variables:

@import '../node_modules/barebones-css/build/scss/styles/'

//use barebones $primary700 token in your custom scss
$custom-token: $primary700;

.custom {
  color: $custom-token;
}

Or directly change the value of our variables:

//overrides $primary700 from barebones-css variables
$primary700: #d63384;

@import '../node_modules/barebones-css/build/scss/styles'
1.0.0

2 months ago