This commit is contained in:
Sivan 2020-02-11 20:47:29 +08:00
commit f65382b12a
19 changed files with 5085 additions and 0 deletions

41
lib/heti.scss Normal file
View file

@ -0,0 +1,41 @@
/**
* 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();
}