This commit is contained in:
admin8800
2026-05-10 06:41:44 +00:00
parent d104b6e40d
commit 3eb70ee9ed
252 changed files with 42215 additions and 2 deletions
+56
View File
@@ -0,0 +1,56 @@
/**
* plugins/vuetify.ts
*
* Framework documentation: https://vuetifyjs.com`
*/
// Styles
import '@mdi/font/css/materialdesignicons.css'
import 'vuetify/styles/main.css'
import colors from 'vuetify/util/colors'
import { fa, en, vi, zhHans, zhHant, ru } from 'vuetify/locale'
// Composables
import { createVuetify } from 'vuetify'
// https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides
export default createVuetify({
defaults: {
VRow: { density: 'compact' },
VTextField: {
variant: 'solo-filled',
},
VSelect: {
variant: 'solo-filled',
},
VCombobox: {
variant: 'solo-filled',
},
VTextarea: {
variant: 'solo-filled',
},
},
theme: {
defaultTheme: localStorage.getItem('theme') ?? 'system',
themes: {
light: {
colors: {
error: '#FF5252',
background: colors.grey.lighten4,
},
},
dark: {
colors: {
primary: colors.blue.darken4,
error: colors.red.accent3,
},
},
},
},
locale: {
locale: localStorage.getItem("locale") ?? 'en',
fallback: 'en',
messages: { en, fa, vi, zhHans, zhHant, ru },
},
})