Skip to content

Commit

Permalink
fix: 修复 scss 变量相乘的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
koppthe committed Jul 25, 2018
1 parent d958abf commit 97d117b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/style/theme/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
@import '../mixins/index.scss';

$hd: 1px; // 基本单位
$hd: 1; // 基本单位

/* The Color of O2Team Brand */
$color-brand: #6190E8;
Expand Down Expand Up @@ -89,21 +89,21 @@ $line-height-en: 1.3; // 英文多行
$line-height-zh: 1.5; // 中文多行

/* 水平间距 */
$spacing-h-sm: 5 * $hd;
$spacing-h-md: 8 * $hd;
$spacing-h-lg: 16 * $hd;
$spacing-h-sm: 5px * $hd;
$spacing-h-md: 8px * $hd;
$spacing-h-lg: 16px * $hd;

/* 垂直间距 */
$spacing-v-xs: 3 * $hd;
$spacing-v-sm: 6 * $hd;
$spacing-v-md: 9 * $hd;
$spacing-v-lg: 12 * $hd;
$spacing-v-xl: 15 * $hd;
$spacing-v-xs: 3px * $hd;
$spacing-v-sm: 6px * $hd;
$spacing-v-md: 9px * $hd;
$spacing-v-lg: 12px * $hd;
$spacing-v-xl: 15px * $hd;

/* 图标尺寸 */
$icon-size-sm: 18 * $hd;
$icon-size-md: 22 * $hd;
$icon-size-lg: 36 * $hd;
$icon-size-sm: 18px * $hd;
$icon-size-md: 22px * $hd;
$icon-size-lg: 36px * $hd;

/* z-index */
$zindex-drawer: 900;
Expand Down

0 comments on commit 97d117b

Please sign in to comment.