diff --git a/dolphinscheduler-ui-next/src/views/login/index.tsx b/dolphinscheduler-ui-next/src/views/login/index.tsx index c19a73fbf87802af41b34849e9e9b31a39966b0a..0ebea90d07367a4953f96f58c00d189aa7f7b5f5 100644 --- a/dolphinscheduler-ui-next/src/views/login/index.tsx +++ b/dolphinscheduler-ui-next/src/views/login/index.tsx @@ -22,6 +22,7 @@ import { useForm } from './use-form' import { useTranslate } from './use-translate' import { useLogin } from './use-login' import { useLocalesStore } from '@/store/locales/locales' +import { useThemeStore } from "@/store/theme/theme"; const login = defineComponent({ name: 'login', @@ -30,6 +31,11 @@ const login = defineComponent({ const { handleChange } = useTranslate(locale) const { handleLogin } = useLogin(state) const localesStore = useLocalesStore() + const themeStore = useThemeStore() + + if (themeStore.getTheme) { + themeStore.setDarkTheme() + } return { t, handleChange, handleLogin, ...toRefs(state), localesStore } }, diff --git a/dolphinscheduler-ui-next/src/views/project/list/index.module.scss b/dolphinscheduler-ui-next/src/views/project/list/index.module.scss index 4ab32d69681c1796ba31a354f5e9f9ec20acf6bf..b518e961512ad977c68a9aeaba95a5d82b893e5f 100644 --- a/dolphinscheduler-ui-next/src/views/project/list/index.module.scss +++ b/dolphinscheduler-ui-next/src/views/project/list/index.module.scss @@ -43,7 +43,7 @@ } .links { - color: #2080f0; + color: dodgerblue; text-decoration: none; cursor: pointer;