This commit is contained in:
齐斌 2025-09-18 14:40:01 +08:00
parent 75fa634108
commit 271a8368e5
13 changed files with 19 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

View File

@ -14,7 +14,7 @@
width: 100px!important;
height: 100px!important;
border-radius: 50%;
background: #46299D;
background: var(--theme-primary, #BA4A8F);
padding: 5px!important;
}

View File

@ -1,5 +1,18 @@
@import "color.scss";
// 定义CSS自定义属性CSS变量
:root {
--theme-primary: #{$theme-primary};
--theme-darker: #{$theme-darker};
--theme-dark: #{$theme-dark};
--basic-white: #{$basic-white};
--basic-black: #{$basic-black};
--text-theme: #{$text-theme};
--border-theme: #{$border-theme};
--btn-primary: #{$btn-primary};
--btn-basic: #{$btn-basic};
}
.ant-btn:active,
.ant-btn:focus,
.ant-btn:hover {

View File

@ -2,11 +2,16 @@ import router from "@/router/index.js";
import { createApp } from "vue";
import App from "./App.vue";
import { registerPlugins } from "./plugins/index.js";
import { settingConfig } from "@/config/settings/index.js";
window.process = {
env: {
VUE_APP_API_URL: import.meta.env.VITE_API_URL,
},
};
// 动态设置CSS变量值
document.documentElement.style.setProperty('--theme-primary', settingConfig.themeColor);
const app = createApp(App);
// 注册插件
registerPlugins(app);