Files
plusone-admin-ui/src/App.vue

29 lines
674 B
Vue
Raw Normal View History

2022-12-27 10:13:24 +08:00
<template>
2022-12-29 00:37:02 +08:00
<n-config-provider :theme-overrides="themeOverrides">
2022-12-30 01:56:26 +08:00
<router-view />
2022-12-29 00:37:02 +08:00
</n-config-provider>
2022-12-27 10:13:24 +08:00
</template>
2022-12-27 13:42:47 +08:00
<script setup lang="ts">
2022-12-30 01:56:26 +08:00
import { NConfigProvider, type GlobalThemeOverrides } from "naive-ui";
2022-12-29 00:37:02 +08:00
const themeOverrides: GlobalThemeOverrides = {
common: {
2022-12-30 01:56:26 +08:00
primaryColor: "#6777ef",
primaryColorHover: "rgba(103, 119, 239, 0.8)",
primaryColorPressed: "#515dbc",
borderRadius: "4px",
2022-12-29 00:37:02 +08:00
},
2022-12-29 17:53:22 +08:00
Button: {
2022-12-30 01:56:26 +08:00
fontSizeLarge: "18px",
2022-12-29 17:53:22 +08:00
},
2022-12-29 00:37:02 +08:00
// Select: {
// peers: {
// InternalSelection: {
// textColor: '#FF0000',
// },
// },
// },
2022-12-30 01:56:26 +08:00
};
2022-12-27 13:42:47 +08:00
</script>