伙计们,你们知道怎样才能改变所有Vutify组件的文本和背景 colored颜色 吗?
我使用了自定义主题,但不是固定的.
:)
const myCustomLightTheme = {
dark: false,
colors: {
background: "#FFFFFF",
surface: "#FF0000",
primary: "#FF0000",
"primary-darken-1": "#FF0000",
secondary: "#03DAC6",
"secondary-darken-1": "#018786",
error: "#B00020",
info: "#2196F3",
success: "#4CAF50",
warning: "#FB8C00"
}
};
const vuetify = createVuetify({
components,
directives,
theme: {
defaultTheme: "myCustomLightTheme",
themes: {
myCustomLightTheme
}
}
});