feat: update BEM naming

This commit is contained in:
Sivan 2020-02-11 21:01:13 +08:00
parent f65382b12a
commit d0488130ae
18 changed files with 297 additions and 216 deletions

22
lib/helpers/_inline.scss Normal file
View file

@ -0,0 +1,22 @@
/*
* Author: Sivan [sun.sivan@gmail.com]
* Description: define inline helper classes.
*/
@import "../variables";
@mixin hetiInlineHelperClasses {
// @todo: 用于标点悬挂用的样式
#{$root-selector}-hang {
@include hang();
}
// 显示强烈的着重号
#{$root-selector}-em {
-webkit-text-emphasis: filled circle;
-webkit-text-emphasis-position: under;
@include non-cjk-block {
-webkit-text-emphasis: none;
}
}
}