@use "theme";
@use "transition";
@use "element-plus";
@use "sidebar";
@use "dark";

/* 自定义全局 CssVar */
:root {
  /* 左侧菜单展开、收起动画时长 */
  --pure-transition-duration: 0.3s;

  /* 常用border-color 需要时可取用 */
  --pure-border-color: rgb(5 5 5 / 6%);

  /* switch关闭状态下的color 需要时可取用 */
  --pure-switch-off-color: #a6a6a6;

  /** 主题色 */
  --pure-theme-sub-menu-active-text: initial;
  --pure-theme-menu-bg: none;
  --pure-theme-menu-hover: none;
  --pure-theme-sub-menu-bg: transparent;
  --pure-theme-menu-text: initial;
  --pure-theme-sidebar-logo: none;
  --pure-theme-menu-title-hover: initial;
  --pure-theme-menu-active-before: transparent;

  /* Primary Blue — 主交互色使用专业蓝 */
  --el-color-primary: #409EFF;
  --el-color-primary-light-1: #53ACFF;
  --el-color-primary-light-2: #66B8FF;
  --el-color-primary-light-3: #79C4FF;
  --el-color-primary-light-4: #8CD0FF;
  --el-color-primary-light-5: #9FDBFF;
  --el-color-primary-light-6: #B2E6FF;
  --el-color-primary-light-7: #C5EFFF;
  --el-color-primary-light-8: #D8F4FF;
  --el-color-primary-light-9: #EBF9FF;
  --el-color-primary-dark-1: #3A8EE6;
  --el-color-primary-dark-2: #337ECC;
  --el-color-primary-rgb: 64, 158, 255;
  --el-menu-active-color: #409EFF;
  --el-menu-hover-bg-color: rgb(64 158 255 / 8%);
}

/* 灰色模式 */
.html-grey {
  filter: grayscale(100%);
}

/* 色弱模式 */
.html-weakness {
  filter: invert(80%);
}
