variables.scss 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. // src/assets/styles/variables.scss
  2. // 主题色
  3. $primary-color: #3C92FB; // 主蓝色按钮、高亮元素
  4. $secondary-color: #5DABFF; // 次要蓝色
  5. $success-color: #07C160; // 成功色(添加这行)
  6. $green-color: #07C160; // 绿色标签(已解谜、进行中)
  7. $orange-color: #FF9F2D; // 橙色标签、按钮(主持人)
  8. $blue-light-color: #6EBCFF; // 浅蓝色标签(玩家)
  9. $danger-color: #FF5650; // 危险色(添加这行)
  10. $red-color: #FF5650; // 红色标签(新标签)
  11. $warning-color: #FFB11B; // 警告色(添加这行)
  12. $yellow-color: #FFB11B; // 黄色(评分星星)
  13. // 文字颜色
  14. $text-color-primary: #333; // 主要文字
  15. $text-color-regular: #666; // 常规文字
  16. $text-color-secondary: #999; // 次要文字
  17. $text-color-disabled: #C8C9CC; // 禁用状态文字
  18. $text-color-light: #FFF; // 白色文字(按钮内)
  19. // 背景色
  20. $background-color-base: #F7F8FA; // 页面背景色 - 修复变量名称
  21. $background-color-page: #F7F8FA; // 页面背景
  22. $background-color-light: #FFF; // 卡片背景
  23. $background-color-orange: #FFF8E8; // 主持人背景
  24. $background-color-blue: #EBF5FF; // 玩家背景
  25. $background-color-gold: #FFF8DC; // 金色背景(海龟汤介绍卡片)
  26. $background-color-gray: #F5F7FA; // 灰色背景(输入框、提示区域)
  27. $background-color-disabled: #F7F8FA; // 禁用状态背景色
  28. // 边框颜色
  29. $border-color-base: #EBEDF0; // 基本边框
  30. $border-color-light: #F5F5F5; // 浅色边框
  31. $border-color-dark: #DCDEE0; // 深色边框
  32. // 标签颜色
  33. $tag-color-new: #4caf50; // 新标签
  34. $tag-color-popular: #ff5722; // 热门标签
  35. // 字体大小
  36. $font-size-mini: 10px; // 最小文字(底部Tab)
  37. $font-size-small: 12px; // 小文字(标签、次要信息)
  38. $font-size-base: 14px; // 基础文字
  39. $font-size-medium: 16px; // 中等文字(标题)
  40. $font-size-large: 18px; // 大号文字(主标题)
  41. $font-size-xlarge: 20px; // 超大文字
  42. // 字体粗细
  43. $font-weight-regular: 400; // 常规
  44. $font-weight-medium: 500; // 中等
  45. $font-weight-bold: 600; // 粗体
  46. // 行高
  47. $line-height-tight: 1.2; // 紧凑
  48. $line-height-base: 1.5; // 基础
  49. $line-height-loose: 1.8; // 宽松
  50. // 文字间距
  51. $letter-spacing-tight: -0.2px; // 紧凑
  52. $letter-spacing-base: 0; // 基础
  53. $letter-spacing-loose: 0.2px; // 宽松
  54. // 间距
  55. $spacing-mini: 2px; // 最小间距
  56. $spacing-small: 4px; // 小间距
  57. $spacing-base: 6px; // 基础间距
  58. $spacing-medium: 8px; // 中等间距
  59. $spacing-large: 16px; // 大间距
  60. $spacing-xlarge: 24px; // 超大间距
  61. // 圆角
  62. $border-radius-mini: 2px; // 最小圆角
  63. $border-radius-small: 4px; // 小圆角(卡片)
  64. $border-radius-base: 8px; // 基础圆角(按钮)
  65. $border-radius-large: 16px; // 大圆角
  66. $border-radius-circle: 50%; // 圆形
  67. // 阴影
  68. $shadow-light: 0 2px 6px rgba(0, 0, 0, 0.05); // 轻微阴影
  69. $shadow-base: 0 2px 12px rgba(0, 0, 0, 0.1); // 基础阴影
  70. $shadow-deep: 0 4px 16px rgba(0, 0, 0, 0.15); // 深度阴影
  71. // 动效
  72. $animation-duration-fast: 0.2s; // 快速动效
  73. $animation-duration-base: 0.3s; // 基础动效
  74. $animation-duration-slow: 0.5s; // 慢速动效
  75. $animation-timing-function: ease-in-out; // 动效曲线