Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
VSelect,
VSwitch,
VBtn,
VDatePicker,
VProgressCircular,
VSubheader,
VTooltip,
VDivider,
VCard,
VDialog,
},
directives,
iconfont: 'mdi',
// https://vuetifyjs.com/en/theme-generator
theme: {
primary: colors.blue.darken1,
secondary: colors.blue.lighten3,
accent: colors.amber.darken4,
error: colors.red.base,
warning: colors.yellow.darken3,
info: colors.blue.base,
success: colors.green.base
}
})
import VueResource from "vue-resource";
Vue.use(VueResource);
import Notifications from "vue-notification";
Vue.use(Notifications);
import ErrHandlers from "./lib/errors";
VSubheader,
VTooltip,
VDivider,
VCard,
VDialog,
},
directives,
iconfont: 'mdi',
// https://vuetifyjs.com/en/theme-generator
theme: {
primary: colors.blue.darken1,
secondary: colors.blue.lighten3,
accent: colors.amber.darken4,
error: colors.red.base,
warning: colors.yellow.darken3,
info: colors.blue.base,
success: colors.green.base
}
})
import VueResource from "vue-resource";
Vue.use(VueResource);
import Notifications from "vue-notification";
Vue.use(Notifications);
import ErrHandlers from "./lib/errors";
Vue.use(ErrHandlers);
import { FluxUtils } from "./lib/fluxUtils";
Vue.use(FluxUtils);
VTabs,
VSelect,
VTextField,
VForm,
VDivider,
VProgressLinear,
VSnackbar,
VDataIterator,
transitions,
},
directives: {
Resize,
},
iconfont: 'mdi',
theme: {
primary: colors.blue.darken1,
secondary: colors.blue.darken2,
accent: colors.pink.base,
},
});
return 'rgba(' + (
hex
.substring(1)
.match(hex.length === 7 ? /[^#]{2}/g : /[^#]/g)
.map(v => parseInt(v, 12))
.join(', ')
) + `, ${alpha})`
}
const vuetify = {
primary: colors.teal.base,
secondary: colors.teal.lighten1,
accent: colors.amber.darken1,
error: colors.red.base,
warning: colors.orange.base,
info: colors.blue.base,
success: colors.green.base
}
export { vuetify }
const items = {
controller: colors.purple.base,
dummy: colors.grey.darken4,
edge: colors.cyan.base,
host: colors.orange.base,
port: colors.green.base,
switch: colors.indigo.base
}
export { items }
const selection = {
background: addAlpha(colors.teal.base, 0.25),
lighten1: material.grey.lighten2,
}
const black = {
darken1: material.grey.darken2,
lighten2: material.grey.darken2,
lighten1: material.grey.darken3,
}
const scale = [
material.red,
material.pink,
material.purple,
material.deepPurple,
material.indigo,
material.blue,
material.lightBlue,
material.cyan,
material.teal,
material.green,
material.lightGreen,
material.lime,
material.yellow,
material.amber,
material.orange,
material.deepOrange,
white,
black
]
const fills = {
bg: [],
export default ({Vue, options, router, siteData,}) => {
Vue.use(Vuetify, {
theme: {
primary: colors.blue.accent1
}
});
for (const [name, component] of Object.entries(pageComponents)) {
Vue.component(name, component)
}
}
import 'vuetify/dist/vuetify.min.css'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
import './../less/main.less'
import colors from 'vuetify/es5/util/colors'
/**
* Configure application theme.
*/
Vue.use(Vuetify, {
theme: {
primary: colors.orange.lighten1,
secondary: colors.blue.base,
}
});
/*
** Nuxt.js modules
*/
modules: [],
/*
** vuetify module configuration
** https://github.com/nuxt-community/vuetify-module
*/
vuetify: {
customVariables: ['~/assets/variables.scss'],
defaultAssets: false,
theme: {
dark: true,
themes: {
dark: {
primary: colors.blue.darken2,
accent: colors.grey.darken3,
secondary: colors.amber.darken3,
info: colors.teal.lighten1,
warning: colors.amber.base,
error: colors.deepOrange.accent4,
success: colors.green.accent3
}
}
}
},
/*
** Build configuration
*/
build: {
/*
** You can extend webpack config here
import Vue from 'vue';
import Vuetify from 'vuetify';
import colors from 'vuetify/es5/util/colors';
Vue.use(Vuetify, {
iconfont: 'mdi',
theme: {
primary: colors.teal,
secondary: colors.grey.darken3,
accent: colors.blue.base
}
});
VSelect,
VTextField,
VForm,
VDivider,
VProgressLinear,
VSnackbar,
VDataIterator,
transitions,
},
directives: {
Resize,
},
iconfont: 'mdi',
theme: {
primary: colors.blue.darken1,
secondary: colors.blue.darken2,
accent: colors.pink.base,
},
});