Socket
Socket
Sign inDemoInstall

sierralibrary-dart

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sierralibrary-dart

The smallest and lightest scss library


Version published
Weekly downloads
748
decreased by-7.88%
Maintainers
1
Created
Weekly downloads
 

Readme

Source


The smallest and lightest scss library

Originally forked from

(https://github.com/sierra-library/sierra). I take no credit for this whatsoever, I just wanted to make the breaking chnages right again.

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
    ✓ Uses dart-sass/sass

Quick install

Using npm

npm install sierraLibrary-Dart --save-dev

Import

In sass files (recommended)

@import 'sierraLibrary-Dart/src/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 'sierraLibrary-Dart/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;

Contributing

Contributing rules
  • Any ideas on streamlining would be greatly appreciated.
  • I'm open to all ideas.
  • Use the .scss-lint file located in the root folder.

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

To do

I plan on updating some of the dependencies. Improving some of the code based on DART-SASS Reducing the filesize further


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

This version updated by Darren Mackintosh (takuhii@gmail.com).

Keywords

FAQs

Last updated on 30 Sep 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc