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

31 lines
735 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">
<n-message-provider>
<router-view />
</n-message-provider>
</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-29 00:37:02 +08:00
import { NConfigProvider, type GlobalThemeOverrides } from 'naive-ui'
const themeOverrides: GlobalThemeOverrides = {
common: {
2022-12-29 17:53:22 +08:00
primaryColor: '#6777ef',
primaryColorHover: 'rgba(103, 119, 239, 0.8)',
primaryColorPressed: '#515dbc',
2022-12-29 00:37:02 +08:00
borderRadius: '4px',
},
2022-12-29 17:53:22 +08:00
Button: {
fontSizeLarge: '18px',
},
2022-12-29 00:37:02 +08:00
// Select: {
// peers: {
// InternalSelection: {
// textColor: '#FF0000',
// },
// },
// },
}
2022-12-27 13:42:47 +08:00
</script>