From e468105c7b0bc7e5fb192cabdc11b654ea650ca6 Mon Sep 17 00:00:00 2001 From: Rakantor Date: Tue, 8 Nov 2022 23:22:01 +0100 Subject: [PATCH] Fix ts error: missing type definitions --- plugins/vuetify.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/vuetify.ts b/plugins/vuetify.ts index c56b068..d3ed3f9 100644 --- a/plugins/vuetify.ts +++ b/plugins/vuetify.ts @@ -2,6 +2,8 @@ import { createVuetify, ThemeDefinition } from 'vuetify' import * as components from 'vuetify/components' import * as directives from 'vuetify/directives' import '@mdi/font/css/materialdesignicons.css' +// @ts-expect-error Missing type definitions +import colors from 'vuetify/lib/util/colors' const myCustomDarkTheme: ThemeDefinition = { dark: true, @@ -9,12 +11,12 @@ const myCustomDarkTheme: ThemeDefinition = { background: '#0A192F', backgroundSecondary: '#112240', primary: '#64FFDA', - /* accent: colors.grey.darken3, + accent: colors.grey.darken3, secondary: colors.amber.darken3, info: colors.teal.lighten1, warning: colors.amber.base, error: colors.deepOrange.accent4, - success: colors.green.accent3 */ + success: colors.green.accent3 } // Bert /* dark: {