22 lines
493 B
Vue
22 lines
493 B
Vue
<script setup lang="ts">
|
|||
|
|
import { theme } from "ant-design-vue";
|
||
|
|
import faIR from "ant-design-vue/es/locale/fa_IR";
|
||
|
|
|
||
|
|
const antdTheme = {
|
||
|
|
algorithm: theme.defaultAlgorithm,
|
||
|
|
token: {
|
||
|
|
colorPrimary: "#ff5a00",
|
||
|
|
colorInfo: "#ff5a00",
|
||
|
|
colorLink: "#e04f00",
|
||
|
|
fontFamily: '"IRANSans", Tahoma, sans-serif',
|
||
|
|
borderRadius: 8,
|
||
|
|
},
|
||
|
|
};
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<template>
|
||
|
|
<a-config-provider :theme="antdTheme" direction="rtl" :locale="faIR">
|
||
|
|
<RouterView />
|
||
|
|
</a-config-provider>
|
||
|
|
</template>
|