heti/lib/heti.scss

42 lines
1 KiB
SCSS
Raw Normal View History

2020-02-11 20:47:29 +08:00
/**
* Author: Sivan [sun.sivan@gmail.com]
*/
@import "variables";
@import "base";
@import "heading";
@import "list";
@import "table";
@import "inline";
@import "modifier-layout";
@import "modifier-font";
@import "helper-block";
@import "helper-inline";
#{$root-selector} {
// 中文每行展示文字(CPL)建议在 30~50 之间,默认 42
max-width: $line-length;
// 默认字体大小为 16px,行高 1.5
font-size: $font-size-normal;
font-weight: $font-weight-normal;
line-height: $line-height-normal;
// 自动在中西文间加 1/4 空格(暂无浏览器支持)
//text-spacing: ideograph-alpha;
// 引入各模块
@include hetiBase();
@include hetiHeading();
@include hetiList();
@include hetiTable();
@include hetiInline();
// 定义所有状态样式(与 .heti 并列使用)
@include hetiLayoutModifier();
@include hetiFontModifier();
// 定义所有内嵌样式(仅在 .heti 内使用有效)
@include hetiBlockHelperClasses();
@include hetiInlineHelperClasses();
}