This commit is contained in:
iriska-gri committed 2023-09-05 16:07:55 +03:00
commit 8c95bbf909
126 files changed
+16922

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
/**
* plugins/index.js
*
* Automatically included in `./src/main.js`
*/
// Plugins
import { loadFonts } from './webfontloader'
import vuetify from './vuetify'
import pinia from '../store'
import router from '../router'
export function registerPlugins (app) {
loadFonts()
app
.use(vuetify)
.use(pinia)
.use(router)
}
+45
View File
@@ -0,0 +1,45 @@
import '@mdi/font/css/materialdesignicons.css'
import 'vuetify/styles'
import { createVuetify } from 'vuetify'
export default createVuetify({
theme: {
defaultTheme: 'light'
},
theme: {
themes: {
light: {
colors: {
lampa: '#FFFFFF',
primary: '#1867C0',
secondary: '#5CBBF6',
main_theme: "#f7f7f7",
scrollbar: '#367F8A',
cards: '#F5F5F5',
text_carous: '#242424',
navigation: '#004D40',
numeral: '#3C3C3C' // Цвет для карусели с цифрами в работе
},
},
dark: {
colors: {
lampa: '#000000',
primary: '#1867C0',
secondary: '#5CBBF6',
main_theme: "#101311",
scrollbar: '#367F8A',
cards: '#F5F5F5',
text_carous: '#242424',
navigation: '#FDF5E6',
numeral: '#3C3C3C'
},
},
options: {
customProperties: true
},
},
},
})
+15
View File
@@ -0,0 +1,15 @@
/**
* plugins/webfontloader.js
*
* webfontloader documentation: https://github.com/typekit/webfontloader
*/
export async function loadFonts () {
const webFontLoader = await import(/* webpackChunkName: "webfontloader" */'webfontloader')
webFontLoader.load({
google: {
families: ['Roboto:100,300,400,500,700,900&display=swap'],
},
})
}