浏览代码

新增主题色

ZaiZai 1 年之前
父节点
当前提交
9a5da30be3
共有 2 个文件被更改,包括 6 次插入2 次删除
  1. 1 0
      src/config/theme.js
  2. 5 2
      src/styles/app/main.scss

+ 1 - 0
src/config/theme.js

@@ -14,6 +14,7 @@ import bg11 from '~src/assets/home/fd8d568edf61d6824a5a2e3e8e4a0ec4.jpg'
 export default {
     color: [
         { name: 'blue', color: '#204DA0', label: '深蓝' },
+        { name: 'blue1', color: '#0D3253', label: '暗蓝' },
         { name: 'light-blue', color: '#409eff', label: '浅蓝' },
         { name: 'black1', color: '#2c3643', label: '黑色' },
     ],

+ 5 - 2
src/styles/app/main.scss

@@ -12,10 +12,13 @@ embed {
 }
 
 .bg-blue {
-    background-color: #004ca7 !important;
+    background-color: #0D3253 !important;
+    color: white !important;
+}
+.bg-blue1 {
+    background-color: #0E2741 !important;
     color: white !important;
 }
-
 .bg-light-blue {
     background-color: #409eff !important;
     color: white !important;