feat: 主题颜色的调整,现在支持切换颜色

This commit is contained in:
2026-03-10 15:51:55 +08:00
parent 9cfde3f10a
commit df8a7f4de7
29 changed files with 106 additions and 267 deletions

View File

@@ -12,6 +12,32 @@
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 主题颜色:蓝色 */
// $theme-color-800: #174BB6;
// $theme-color-700: #19428F;
// $theme-color-500: #2D91FF;
// $theme-color-100: #D9EEFF;
// $theme-color-50: #EEF8FF;
/* 主题颜色:绿色 */
$theme-color-800: #0B7034;
$theme-color-700: #0B5C2D;
$theme-color-500: #0CCD58;
$theme-color-100: #E8FFF1;
$theme-color-50: #F0F8F3;
// text 颜色
$text-color-900: #181B25;
$text-color-800: #222530;
$text-color-700: #2B303B;
$text-color-600: #525866;
$text-color-500: #717784;
$text-color-400: #99A0AE;
$text-color-300: #CACFD8;
$text-color-200: #E5E8EE;
$text-color-100: #F2F5F8;
$text-color-50: #F9FAFB;
/* 颜色变量 */
/* 行为相关颜色 */
@@ -74,4 +100,4 @@ $uni-font-size-title: 20px;
$uni-color-subtitle: #555555; // 二级标题颜色
$uni-font-size-subtitle: 26px;
$uni-color-paragraph: #3f536e; // 文章段落颜色
$uni-font-size-paragraph: 15px;
$uni-font-size-paragraph: 15px;