Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: using // sass comments in scss #3591

Merged
merged 1 commit into from
Dec 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions src/core/style/_size.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
////


/**
* 尺寸 基础尺寸
* 命名能在语义的前提下简单就尽量简单, 这里可以是 size-2x, space-2x, size-base ...
* 不过可以在语义的前提下做的更精简一些, 于是用了s2, s1等
* 可用变量: `$s1 - $s8`
* @example scss - 使用
* .element {
* padding: $s1 !default;
* }
*
* @example css - CSS 输出
* .element {
* padding: 4px !default;
* }
*/
///
/// 尺寸 基础尺寸
/// 命名能在语义的前提下简单就尽量简单, 这里可以是 size-2x, space-2x, size-base ...
/// 不过可以在语义的前提下做的更精简一些, 于是用了s2, s1等
/// 可用变量: `$s1 - $s8`
/// @example scss - 使用
/// .element {
/// padding: $s1 !default;
/// }
///
/// @example css - CSS 输出
/// .element {
/// padding: 4px !default;
/// }
///

/// size-base
/// @semantic 基础尺寸
Expand Down