Blame view

src/styles/variables.scss 728 Bytes
532def1c   王彪总   新版本
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  // ===== 布局变量(由 vite.config.ts 的 css.preprocessorOptions.scss.additionalData 全局注入)=====
  // ⚠️ 本文件只放变量,不要放任何会产出 CSS 的规则,也不要在 JS 里 import 它
  //   (additionalData 会把它注入每个 scss 入口,直接 import 会造成模块循环)
  
  $sidebar-width: 210px;
  $sidebar-collapsed-width: 64px;
  $navbar-height: 50px;
  $tags-view-height: 34px;
  
  $primary-color: #409eff;
  $success-color: #67c23a;
  $warning-color: #e6a23c;
  $danger-color: #f56c6c;
  $info-color: #909399;
  
  $text-color-primary: #303133;
  $text-color-regular: #606266;
  $text-color-secondary: #909399;
  
  $border-color: #dcdfe6;
  $border-color-light: #e4e7ed;
  $bg-page: #f5f7fa;
  $bg-white: #ffffff;