change text of boursemes"
This commit is contained in:
+11
-2
@@ -123,7 +123,7 @@ import img_bottomGradiant from '@/views/login/assets/img/gr_bottom_white.svg'
|
||||
import {DotLottieVue} from '@lottiefiles/dotlottie-vue'
|
||||
import BasicButton from '@/components/BasicPacks/BasicButton.vue'
|
||||
import {useConfigStore} from "@/store/configStore";
|
||||
import {getProjectFontFamily, getProjectLoginLogo, getProjectSplashBackground, isBoursecuProject} from "@/utils/config";
|
||||
import {getProjectFontFamily, getProjectLoginLogo, getProjectSplashBackground, getProjectBrandRed, isBoursecuProject} from "@/utils/config";
|
||||
import {ConfigProvider as AConfigProvider} from 'ant-design-vue'
|
||||
import BasicIcon from "@/components/BasicPacks/BasicIcon.vue";
|
||||
|
||||
@@ -142,13 +142,22 @@ const popVisible = ref(false)
|
||||
const antTheme = computed(() => {
|
||||
if (!config.config?.color) return null
|
||||
|
||||
const brandRed = getProjectBrandRed()
|
||||
|
||||
return {
|
||||
token: {
|
||||
colorPrimary: "#ff0000",
|
||||
colorPrimary: config.config.color,
|
||||
colorLink: config.config.color,
|
||||
colorLinkActive: config.config.color,
|
||||
colorLinkHover: config.config.color,
|
||||
fontFamily: getProjectFontFamily(),
|
||||
...(brandRed ? {
|
||||
colorError: brandRed,
|
||||
colorErrorHover: brandRed,
|
||||
colorErrorActive: brandRed,
|
||||
colorErrorBg: '#f8ecec',
|
||||
colorErrorBorder: '#f0d8d8',
|
||||
} : {}),
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user