Feature: 创建项目 & 导航栏动画 & i18n国际化支持
This commit is contained in:
37
src/plugins/vuetify.ts
Normal file
37
src/plugins/vuetify.ts
Normal file
@ -0,0 +1,37 @@
|
||||
/**
|
||||
* plugins/vuetify.ts
|
||||
*
|
||||
* Framework documentation: https://vuetifyjs.com`
|
||||
*/
|
||||
|
||||
// Composables
|
||||
import { createVuetify, type ThemeDefinition } from 'vuetify'
|
||||
import { md3 } from 'vuetify/blueprints'
|
||||
|
||||
// Styles
|
||||
import '@mdi/font/css/materialdesignicons.css'
|
||||
import 'vuetify/styles'
|
||||
|
||||
const jinshenLightTheme: ThemeDefinition = {
|
||||
dark: false,
|
||||
colors: {
|
||||
background: '#FFFFFF', // White
|
||||
primary: '#1976D2', // Blue
|
||||
secondary: '#424242', // Grey
|
||||
error: '#FF5252', // Red
|
||||
info: '#2196F3', // Light Blue
|
||||
success: '#4CAF50', // Green
|
||||
warning: '#FB8C00', // Orange
|
||||
},
|
||||
}
|
||||
|
||||
// https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides
|
||||
export default createVuetify({
|
||||
theme: {
|
||||
defaultTheme: 'light',
|
||||
themes: {
|
||||
light: jinshenLightTheme,
|
||||
},
|
||||
},
|
||||
blueprint: md3,
|
||||
})
|
||||
Reference in New Issue
Block a user