Skip to content

Commit

Permalink
fix(Core): add a new corner variables
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Nov 6, 2019
1 parent dd165a1 commit 1645c10
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/server/loaders/theme/var-enums.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"$corner-2": "corner-2",
"$corner-3": "corner-3",
"$corner-circle": "corner-circle",
"$corner-zero": "corner-zero"
"$corner-zero": "corner-zero",
"$corner-semicircle": "corner-semicircle"
},
"font.weightcore": {
"$font-weight-1": "light",
Expand Down
6 changes: 6 additions & 0 deletions src/core/style/_corner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ $corner-3: 20px !default;
/// @unconfigurable
$corner-circle: 50% !default;

/// corner-semicircle
/// @semantic 圆形
/// @export
/// @unconfigurable
$corner-semicircle: 500px !default;

/// corner-zero
/// @semantic 直角
/// @export
Expand Down

0 comments on commit 1645c10

Please sign in to comment.