variables.scss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // 主题颜色 - 精致简约浅色系
  2. $primary-color: #4f8cff;
  3. $primary-color-light: #e8f1ff;
  4. $primary-color-dark: #3a7bd5;
  5. $success-color: #52c41a;
  6. $success-color-light: #f6ffed;
  7. $warning-color: #faad14;
  8. $warning-color-light: #fffbe6;
  9. $danger-color: #ff4d4f;
  10. $danger-color-light: #fff2f0;
  11. $info-color: #8c8c8c;
  12. // 品牌渐变色
  13. $gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  14. $gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  15. $gradient-info: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  16. $gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  17. // 文字颜色
  18. $text-primary: #1f2937;
  19. $text-regular: #4b5563;
  20. $text-secondary: #9ca3af;
  21. $text-placeholder: #d1d5db;
  22. // 边框颜色
  23. $border-base: #e5e7eb;
  24. $border-light: #f3f4f6;
  25. $border-lighter: #f9fafb;
  26. // 背景颜色
  27. $bg-base: #f8fafc;
  28. $bg-light: #ffffff;
  29. $bg-page: #f1f5f9;
  30. // 侧边栏 - 浅色优雅风格
  31. $sidebar-width: 200px;
  32. $sidebar-collapsed-width: 64px;
  33. $sidebar-bg: #ffffff;
  34. $sidebar-menu-active-bg: $primary-color-light;
  35. $sidebar-text-color: #64748b;
  36. $sidebar-active-text-color: $primary-color;
  37. // 头部
  38. $header-height: 48px;
  39. $header-bg: #ffffff;
  40. // 布局
  41. $content-padding: 20px;
  42. // 标签页面板
  43. $tabs-panel-width: 480px;
  44. $tabs-panel-min-width: 360px;
  45. $tabs-panel-max-width: 640px;
  46. // 阴影
  47. $shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  48. $shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  49. $shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  50. $shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  51. // 圆角
  52. $radius-sm: 6px;
  53. $radius-base: 8px;
  54. $radius-lg: 12px;
  55. $radius-xl: 16px;