// 定义颜色规范
$--color-primary: #409eff;

$primary-color: #409eff; 
$primary-color-1: #f0faff;
$primary-color-2: #e3f5ff;
$primary-color-3: #bae3ff;
$primary-color-4: #91cfff;
$primary-color-5: #69b9ff;
$primary-color-6: $primary-color;
$primary-color-7: #2b7cd9;

$--color-danger: #F56C6C;
$--color-success: #67C23A;
$--color-warning: #e6a23c;
$--color-info: #909399;
$white: #fff;

$sidebarBgColor: #fafafa;
$navBgColor: #1c2b36;

$color-sidebar-bg: #fafafa;
$color-nav-bg: #1c2b36;
$color-text: #fff;
$color-text-d: #666;
$color-text-dl: #999;

$color-icon: #fff;
$color-icon-d: #869fb1;

// 页面文字颜色
// 页面大标题颜色
$admin-title-color: #303133;
// 页面中每一块的标题颜色
$admin-cf-title-color: #303133;


//定义字体规范
$font-size-s: 12px;
$font-size-sx: 13px;
$font-size-m: 14px;
$font-size-mx: 16px;
$font-size-l: 18px;
$font-size-lx: 22px;

$sidebarWidth: 280px;
$sidebarMainMenuWidth: 45px;
$sidebarSubMenuWidth: $sidebarWidth - $sidebarMainMenuWidth;

// @function strip-unit($number) {
//   @if type-of($number) == 'number' and not unitless($number) {
//     @return $number / ($number * 0 + 1);
//   }

//   @return $number;
// }

:export{
  sidebarWidth: strip-unit($sidebarWidth);
  sidebarMainMenuWidth: strip-unit($sidebarMainMenuWidth);
}