mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-07 00:47:19 +08:00
fix: color name
This commit is contained in:
parent
9e7d78fd80
commit
d6a358e851
@ -29,23 +29,23 @@ const instanceConfig =
|
||||
getCurrentInstance().appContext.app.config.globalProperties.$config;
|
||||
|
||||
let themeColors = ref<Array<themeColorsType>>([
|
||||
// 暗雅(默认)
|
||||
// 道奇蓝(默认)
|
||||
{ rgb: "27, 42, 71", themeColor: "default" },
|
||||
// 明亮
|
||||
// 亮白色
|
||||
{ rgb: "255, 255, 255", themeColor: "light" },
|
||||
// 薄暮
|
||||
// 猩红色
|
||||
{ rgb: "245, 34, 45", themeColor: "dusk" },
|
||||
// 火山
|
||||
// 橙红色
|
||||
{ rgb: "250, 84, 28", themeColor: "volcano" },
|
||||
// 黄色
|
||||
// 金色
|
||||
{ rgb: "250, 219, 20", themeColor: "yellow" },
|
||||
// 明青
|
||||
// 绿宝石
|
||||
{ rgb: "19, 194, 194", themeColor: "mingQing" },
|
||||
// 极光绿
|
||||
// 酸橙绿
|
||||
{ rgb: "82, 196, 26", themeColor: "auroraGreen" },
|
||||
// 粉红
|
||||
// 深粉色
|
||||
{ rgb: "235, 47, 150", themeColor: "pink" },
|
||||
// 酱紫
|
||||
// 深紫罗兰色
|
||||
{ rgb: "114, 46, 209", themeColor: "saucePurple" }
|
||||
]);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* 极光绿 */
|
||||
/* 酸橙绿 */
|
||||
$subMenuActiveText: #fff;
|
||||
$menuBg: #0b1e15;
|
||||
$menuHover: #60ac80;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* 暗雅(默认)
|
||||
* 道奇蓝(默认)
|
||||
* 此scss变量文件作为multipleScopeVars去编译时,会自动移除!default以达到变量提升
|
||||
* 同时此scss变量文件作为默认主题变量文件,被其他.scss通过 @import 时,必需 !default
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* 薄暮 */
|
||||
/* 猩红色 */
|
||||
$subMenuActiveText: #fff;
|
||||
$menuBg: #2a0608;
|
||||
$menuHover: #e13c39;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* 明亮 */
|
||||
/* 亮白色 */
|
||||
$subMenuActiveText: #409eff;
|
||||
$menuBg: #fff;
|
||||
$menuHover: #e0ebf6;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* 明青 */
|
||||
/* 绿宝石 */
|
||||
$subMenuActiveText: #fff;
|
||||
$menuBg: #032121;
|
||||
$menuHover: #59bfc1;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* 粉红 */
|
||||
/* 深粉色 */
|
||||
$subMenuActiveText: #fff;
|
||||
$menuBg: #28081a;
|
||||
$menuHover: #d84493;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* 酱紫 */
|
||||
/* 深紫罗兰色 */
|
||||
$subMenuActiveText: #fff;
|
||||
$menuBg: #130824;
|
||||
$menuHover: #693ac9;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* 火山 */
|
||||
/* 橙红色 */
|
||||
$subMenuActiveText: #fff;
|
||||
$menuBg: #2b0e05;
|
||||
$menuHover: #e85f33;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* 橘黄 */
|
||||
/* 金色 */
|
||||
$subMenuActiveText: #d25f00;
|
||||
$menuBg: #2b2503;
|
||||
$menuHover: #f6da4d;
|
||||
|
@ -12,6 +12,7 @@ import NProgress from "/@/utils/progress";
|
||||
import { split, uniqBy } from "lodash-es";
|
||||
import { useTimeoutFn } from "@vueuse/core";
|
||||
import { RouteConfigs } from "/@/layout/types";
|
||||
import { transformI18n } from "/@/plugins/i18n";
|
||||
import { storageSession, storageLocal } from "/@/utils/storage";
|
||||
import { usePermissionStoreHook } from "/@/store/modules/permission";
|
||||
import { useMultiTagsStoreHook } from "/@/store/modules/multiTags";
|
||||
@ -30,7 +31,6 @@ import componentsRouter from "./modules/components";
|
||||
|
||||
// 动态路由
|
||||
import { getAsyncRoutes } from "/@/api/routes";
|
||||
import { transformI18n } from "/@/plugins/i18n";
|
||||
|
||||
// https://cn.vitejs.dev/guide/features.html#glob-import
|
||||
const modulesRoutes = import.meta.glob("/src/views/*/*/*.vue");
|
||||
|
Loading…
x
Reference in New Issue
Block a user