代码迁移

This commit is contained in:
zh
2025-07-03 13:54:01 +08:00
parent b04de8a084
commit 2a4da33e62
985 changed files with 358292 additions and 13 deletions

30
src/Global/Skin/index.js Normal file
View File

@ -0,0 +1,30 @@
let theme = {
"yingguangse": new Map(),
"gonganlan": new Map(),
"hong": new Map(),
}
// 主色
theme.yingguangse.set("--color-sdk-base", "#00ffff")
// 辅色
theme.yingguangse.set("--color-sdk-auxiliary", "#004242")
theme.yingguangse.set("--color-sdk-auxiliary-public", "#ffffff")
// 预警色
theme.yingguangse.set("--color-sdk-warning-0", "#1BF8C3")
theme.yingguangse.set("--color-sdk-warning-1", "#F16C55")
theme.yingguangse.set("--color-sdk-warning-2", "#FFA145")
theme.yingguangse.set("--color-sdk-warning-3", "#FFDF53")
// 文本色
theme.yingguangse.set("--color-sdk-text-head", "#FFFFFF")
theme.yingguangse.set("--color-sdk-text-head-1", "#E6F7FF")
theme.yingguangse.set("--color-sdk-text-head-2", "#ADF1FF")
// 渐变色
theme.yingguangse.set("--color-sdk-gradual", "#00ffff 6.25%, #00ffff 100%")
theme.yingguangse.set("--color-sdk-bg-gradual", "#00ffff33 0%, #00ffff00 100%")
export default theme;
function setSkin(name) {
document.documentElement.style.setProperty('--color-sdk-base', 'rgba(0, 55, 55, 1)');
}
export { setSkin }