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

29 lines
648 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: {
primaryColor: '#42b883',
borderRadius: '4px',
},
// Button: {
// textColor: '#FF0000',
// },
// Select: {
// peers: {
// InternalSelection: {
// textColor: '#FF0000',
// },
// },
// },
}
2022-12-27 13:42:47 +08:00
</script>