Skip to content

Commit 220f355

Browse files
committed
chore: update comment style
1 parent b97b4eb commit 220f355

20 files changed

+803
-86
lines changed

dist/heti.css

Lines changed: 750 additions & 0 deletions
Large diffs are not rendered by default.

lib/_base.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
/**
2-
* Author: Sivan [[email protected]]
3-
* Description: base reset and entry styles.
4-
*/
1+
// Author: Sivan [[email protected]]
2+
// Description: base reset and entry styles.
53
@import "variables";
64

75
@mixin hetiBase {

lib/_font.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
/**
2-
* Author: Sivan [[email protected]]
3-
* Description: define font-face.
4-
*/
1+
// Author: Sivan [[email protected]]
2+
// Description: define font-face.
53
@import "fonts/hei";
64
@import "fonts/song";
75
@import "fonts/kai";

lib/_heading.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
/**
2-
* Author: Sivan [[email protected]]
3-
* Description: heading styles.
4-
*/
1+
// Author: Sivan [[email protected]]
2+
// Description: heading styles.
53
@import "variables";
64

75
@mixin hetiHeading {

lib/_inline.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
/**
2-
* Author: Sivan [[email protected]]
3-
* Description: inline element styles.
4-
*/
1+
// Author: Sivan [[email protected]]
2+
// Description: inline element styles.
53
@import "variables";
64

75
@mixin hetiInline {

lib/_list.scss

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
/**
2-
* Author: Sivan [[email protected]]
3-
* Description: list styles.
4-
*/
1+
// Author: Sivan [[email protected]]
2+
// Description: list styles.
53
@import "variables";
64

75
@mixin hetiList {
@@ -24,9 +22,9 @@
2422
}
2523
}
2624

27-
/* 兼容性处理 */
28-
// 重置部分 CSS Reset 中 ul, ol { list-style: none; } 造成的样式污染
29-
// 如果搭配 normalize.css 使用,则不存在这些样式污染
25+
// 兼容性处理
26+
/// 重置部分 CSS Reset 中 ul, ol { list-style: none; } 造成的样式污染
27+
/// 如果搭配 normalize.css 使用,则不存在这些样式污染
3028
@if $_css-reset-scheme == "reset" {
3129
ul {
3230
list-style-type: disc;

lib/_table.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
/**
2-
* Author: Sivan [[email protected]]
3-
* Description: table styles.
4-
*/
1+
// Author: Sivan [[email protected]]
2+
// Description: table styles.
53
@import "variables";
64

75
@mixin hetiTable {

lib/_variables.scss

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
/**
2-
* Author: Sivan [[email protected]]
3-
* Description: define variables, alias etc.
4-
*/
1+
// Author: Sivan [[email protected]]
2+
// Description: define variables, alias etc.
53

64
// 定义赫蹏根 class 名
75
$root-selector: '.heti' !default;
86

9-
/* 字体 Fonts */
7+
// 字体 Fonts
108
// 字体栈 Font Stacks
119
$_font-stack-sans: "Helvetica Neue", Helvetica, Arial !default;
1210
$_font-stack-serif: "Times New Roman", Times !default;
@@ -42,7 +40,7 @@ $font-size-h4: 18px !default;
4240
$font-size-h5: 16px !default;
4341
$font-size-h6: 14px !default;
4442

45-
/* 行 Lines */
43+
// 行 Lines
4644
// 行宽
4745
$line-length: 42em !default;
4846

@@ -65,7 +63,7 @@ $line-height-size-h4: 24px !default;
6563
$line-height-size-h5: 24px !default;
6664
$line-height-size-h6: 24px !default;
6765

68-
/* 段落 Paragraphs */
66+
// 段落 Paragraphs
6967
// 标准网格单位变量 Standard Length
7068
// 垂直方向标准单位 = 标准行高
7169
// 水平方向标准单位 = 标准字号
@@ -76,18 +74,18 @@ $std-inline-unit: $font-size-normal !default;
7674
$text-indent-length: 2em !default;
7775
$text-indent-size: $font-size-normal * 2 !default;
7876

79-
/* 栏 Columns */
77+
// 栏 Columns
8078
// 分栏
8179
$column-count-list: (1, 2, 3, 4) !default;
8280
$column-width-list: (16em, 20em, 24em, 28em, 32em, 36em, 40em, 44em, 48em) !default;
8381

84-
/* 开发用配置项 Develop Configs */
85-
// 预设重置方案
86-
// `reset`:假定 Eric Meyer 的 CSS Reset 或其它流行的 Reset
87-
// `normalize`:指定为 normalize.css
82+
// 开发用配置项 Develop Configs
83+
/// 预设重置方案
84+
/// `reset`:假定 Eric Meyer 的 CSS Reset 或其它流行的 Reset
85+
/// `normalize`:指定为 normalize.css
8886
$_css-reset-scheme: "reset";
8987

90-
/* 混合 Mix-ins */
88+
// 混合 Mix-ins
9189
// Mix-in: Clear float
9290
@mixin clear-float {
9391
&::before,
@@ -116,7 +114,7 @@ $_css-reset-scheme: "reset";
116114
text-indent: 0;
117115
}
118116

119-
/* 函数 Functions */
117+
// 函数 Functions
120118
// Function: batch prefix/suffix list-item
121119
// batch-fix-list((2, 3), '#{$root-selector}--columns-') => (.heti--columns-2, .heti--columns-3)
122120
@function batch-fix-list($list, $prefix: '', $suffix: '') {

lib/fonts/_hei.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
/**
2-
* Author: Sivan [[email protected]]
3-
* Description: define font-face Heti Hei.
4-
*/
1+
// Author: Sivan [[email protected]]
2+
// Description: define font-face Heti Hei.
53

64
// 标准 Regular
75
@font-face {

lib/fonts/_kai.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
/**
2-
* Author: Sivan [[email protected]]
3-
* Description: define font-face Heti Kai.
4-
*/
1+
// Author: Sivan [[email protected]]
2+
// Description: define font-face Heti Kai.
53

64
// 标准 Regular
75
@font-face {

0 commit comments

Comments
 (0)