sierra-library / sierra

Sierra SCSS library
https://sierra-library.github.io/
GNU General Public License v2.0
858 stars 73 forks source link
css frontend gitter micro-library npm-package sass scss scss-framework scss-library sierra sierra-library


The smallest and lightest scss library

Gitter npm version Commitizen friendly

Online demo

Visit demo website.

Visit a theme customization example.

What's the difference with other SCSS libraries?

This is a micro SCSS library to help you build websites

    ✓ Only 32.9 kB (8.2 kB gzipped)
    ✓ Modular
    ✓ Customize colors, borders, radius & sizes
    ✓ Responsive

Quick install

Using npm

npm install sierra-library --save-dev

Import

In sass files (recommended)

@import 'sierra-library/lib/index';

or directly in your html

<link rel="stylesheet" href="https://github.com/sierra-library/sierra/blob/master/dist/sierra.min.css">

Customize

If you want to customize Sierra library's theme, create your own custom-settings file and add it just before importing sierra files:

@import 'custom-settings';
@import 'sierra-library/lib/index';

This custom-settings.scss file should contain all those SCSS variables you want to overwrite:

$c-primary: #3498db;
$c-secondary: #2ecc71;

$fz-base: 18px;

Examples

Theme customization example

Theme customization example code

Contributing

Contributing rules

Who's Using This?

Are you using Sierra Library in your awesome project too? drop us an email.


Made by Joan Claret (@dpam23) and contributors  |  This library is licensed under the GNU General Public License v2.0.