Looking to develop a unique theme for Vuetify v3.0.0-alpha.10 and I'm working with my vuetify.ts plugin file.
import "@mdi/font/css/materialdesignicons.css";
import "vuetify/lib/styles/main.sass";
import { createVuetify, ThemeDefinition } from "vuetify";
import * as components from "vuetify/lib/components";
import * as directives from "vuetify/lib/directives";
const defaultLightTheme: ThemeDefinition = {
dark: false,
colors: {
background: "#FFFFFF",
surface: "#FFFFFF",
primary: "#6200EE",
"primary-darken-1": "#3700B3",
secondary: "#03DAC6",
"secondary-darken-1": "#018786",
error: "#B00020",
info: "#2196F3",
success: "#4CAF50",
warning: "#FB8C00",
},
};
export default createVuetify({
components,
directives,
theme: {
defaultTheme: "defaultLightTheme",
themes: {
defaultLightTheme,
},
},
});
However, encountering the following error message: Cannot use namespace 'ThemeDefinition' as a type
I followed the example in the Vuetify documentation: Vuetify docs
Seeking any insights or solutions to resolve this issue. Appreciate your help!