commit code.
This commit is contained in:
18
src/App.vue
18
src/App.vue
@@ -1,23 +1,21 @@
|
||||
<template>
|
||||
<n-config-provider :theme-overrides="themeOverrides">
|
||||
<n-message-provider>
|
||||
<router-view />
|
||||
</n-message-provider>
|
||||
<router-view />
|
||||
</n-config-provider>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { NConfigProvider, type GlobalThemeOverrides } from 'naive-ui'
|
||||
import { NConfigProvider, type GlobalThemeOverrides } from "naive-ui";
|
||||
|
||||
const themeOverrides: GlobalThemeOverrides = {
|
||||
common: {
|
||||
primaryColor: '#6777ef',
|
||||
primaryColorHover: 'rgba(103, 119, 239, 0.8)',
|
||||
primaryColorPressed: '#515dbc',
|
||||
borderRadius: '4px',
|
||||
primaryColor: "#6777ef",
|
||||
primaryColorHover: "rgba(103, 119, 239, 0.8)",
|
||||
primaryColorPressed: "#515dbc",
|
||||
borderRadius: "4px",
|
||||
},
|
||||
Button: {
|
||||
fontSizeLarge: '18px',
|
||||
fontSizeLarge: "18px",
|
||||
},
|
||||
// Select: {
|
||||
// peers: {
|
||||
@@ -26,5 +24,5 @@ const themeOverrides: GlobalThemeOverrides = {
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user