• Stars
    star
    858
  • Rank 53,134 (Top 2 %)
  • Language
    CSS
  • License
    GNU General Publi...
  • Created almost 9 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Sierra SCSS 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="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

  • Do not include unrelated commits in the same Pull Request.
  • Use .editorconfig file located in the root folder. More info
  • Use the .scss-lint file located in the root folder.
  • In case of doubt, join our chat sierra-library gitter.

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.