Files
mealie/frontend/src/plugins/vuetify.js
Hayden be378cb20c feature/recipe-patch-improvements (#382)
* automated docs update

* recipe rating component

* recipe partial updates - closes #25

* use Vue.delete to update store

* format

* arrow functions

* fix tests

* format

* initial context menu

* localize

* add confirmation dialog

* context menu

* fix bare exception

* update line length

* format all file with prettier

* update changelog

* download as json

* update python dependencies

* update javascript dependencies

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-05-01 20:46:02 -08:00

58 lines
1.2 KiB
JavaScript

import Vue from "vue";
import Vuetify from "vuetify/lib";
Vue.use(Vuetify);
import de from "vuetify/es5/locale/de";
import en from "vuetify/es5/locale/en";
import fr from "vuetify/es5/locale/fr";
import pl from "vuetify/es5/locale/pl";
import pt from "vuetify/es5/locale/pt";
import sv from "vuetify/es5/locale/sv";
import zhHans from "vuetify/es5/locale/zh-Hans";
import zhHant from "vuetify/es5/locale/zh-Hant";
const vuetify = new Vuetify({
theme: {
dark: false,
options: { customProperties: true },
themes: {
light: {
primary: "#E58325",
accent: "#00457A",
secondary: "#973542",
success: "#43A047",
info: "#FFFD99",
warning: "#FF4081",
error: "#EF5350",
},
dark: {
primary: "#4527A0",
accent: "#FF4081",
secondary: "#26C6DA",
success: "#43A047",
info: "#2196F3",
warning: "#FB8C00",
error: "#FF5252",
},
},
},
lang: {
locales: {
"de-DE": de,
"en-US": en,
"fr-FR": fr,
"pl-PL": pl,
"pt-PT": pt,
"sv-SE": sv,
"zh-CN": zhHans,
"zh-TW": zhHant,
},
current: "en-US",
},
});
export default vuetify;
export { vuetify };