sierra-library/sierra
关于
Sierra SCSS 库
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
The smallest and lightest scss library
Online demo
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 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.
探索相关项目
加载中…