2025-02-07 15:29:03 +01:00
|
|
|
// import this after install `@mdi/font` package
|
|
|
|
import '@mdi/font/css/materialdesignicons.css'
|
|
|
|
|
|
|
|
import 'vuetify/styles'
|
|
|
|
import { createVuetify } from 'vuetify'
|
2025-02-16 14:20:40 +01:00
|
|
|
import { aliases, mdi } from 'vuetify/iconsets/mdi'
|
|
|
|
import {VIcon} from "vuetify/components";
|
2025-02-16 21:10:50 +01:00
|
|
|
import {VCalendar} from "vuetify/labs/VCalendar";
|
2025-02-07 15:29:03 +01:00
|
|
|
|
|
|
|
export default defineNuxtPlugin((app) => {
|
2025-02-16 14:20:40 +01:00
|
|
|
const vuetify = createVuetify({
|
2025-02-16 21:10:50 +01:00
|
|
|
components: {
|
|
|
|
VCalendar,
|
|
|
|
},
|
2025-02-16 14:20:40 +01:00
|
|
|
icons: { // https://pictogrammers.com/library/mdi/icon/youtube/
|
|
|
|
defaultSet: 'mdi',
|
|
|
|
},
|
|
|
|
theme: {
|
|
|
|
defaultTheme: 'light',
|
|
|
|
themes: {
|
|
|
|
light: {
|
|
|
|
colors: {
|
|
|
|
background: '#ffffff',
|
|
|
|
primary: '#303030',
|
|
|
|
'primary-darken': '#d0d0d0',
|
|
|
|
secondary: '#606060',
|
|
|
|
'secondary-darken': '#a0a0a0',
|
|
|
|
color: '#CF3476',
|
|
|
|
light: '#d0d0d0',
|
|
|
|
dark: '#303030'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// dark: {
|
|
|
|
// colors: {
|
|
|
|
// background: '#000',
|
|
|
|
// primary: '#d0d0d0',
|
|
|
|
// 'primary-darken': '#303030',
|
|
|
|
// secondary: '#a0a0a0',
|
|
|
|
// 'secondary-darken': '#606060',
|
|
|
|
// color: '#CF3476',
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
},
|
|
|
|
},
|
|
|
|
aliases: {
|
|
|
|
SmallIcon: VIcon,
|
|
|
|
BigIcon: VIcon,
|
|
|
|
},
|
|
|
|
defaults: {
|
|
|
|
SmallIcon: {
|
|
|
|
color: 'color',
|
|
|
|
style: [{ 'margin-left': '20px', 'margin-top': '15px', 'font-size': '30px'}]
|
|
|
|
},
|
|
|
|
BigIcon: {
|
|
|
|
color: 'color',
|
|
|
|
style: [{ margin: '20px', 'font-size': '60px'}]
|
|
|
|
},
|
|
|
|
},
|
2025-02-16 21:10:50 +01:00
|
|
|
locale: {
|
|
|
|
locale: 'cs',
|
2025-03-05 16:21:16 +01:00
|
|
|
messages: {
|
|
|
|
cs: {
|
|
|
|
calendar: {
|
|
|
|
today: "dnes",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2025-02-16 21:10:50 +01:00
|
|
|
},
|
|
|
|
date: {
|
|
|
|
locale: {
|
|
|
|
cs: 'cs-CZ',
|
|
|
|
}
|
|
|
|
}
|
2025-02-16 14:20:40 +01:00
|
|
|
})
|
|
|
|
|
2025-02-07 15:29:03 +01:00
|
|
|
app.vueApp.use(vuetify)
|
|
|
|
})
|