File tree Expand file tree Collapse file tree 3 files changed +36
-1
lines changed Expand file tree Collapse file tree 3 files changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -1084,7 +1084,7 @@ export default {
1084
1084
},
1085
1085
1086
1086
darkMode (val ) {
1087
- this .$vuetify .theme .global .name = val ? ' dark' : ' light' ;
1087
+ this .$vuetify .theme .global .name . value = val ? ' dark' : ' light' ;
1088
1088
if (val) {
1089
1089
localStorage .setItem (' darkMode' , ' 1' );
1090
1090
} else {
Original file line number Diff line number Diff line change 1
1
import { createVuetify } from 'vuetify' ;
2
2
import { aliases , mdi } from 'vuetify/iconsets/mdi' ;
3
+ import * as components from 'vuetify/components' ;
4
+ import * as directives from 'vuetify/directives' ;
3
5
import OpenTofuIcon from '@/components/OpenTofuIcon.vue' ;
4
6
import PulumiIcon from '@/components/PulumiIcon.vue' ;
5
7
import TerragruntIcon from '@/components/TerragruntIcon.vue' ;
6
8
import HashicorpVaultIcon from '@/components/HashicorpVaultIcon.vue' ;
7
9
8
10
export default createVuetify ( {
11
+ components,
12
+ directives,
13
+ theme : {
14
+ defaultTheme : 'light' ,
15
+ themes : {
16
+ light : {
17
+ colors : {
18
+ primary : '#1976D2' ,
19
+ secondary : '#424242' ,
20
+ accent : '#82B1FF' ,
21
+ error : '#FF5252' ,
22
+ info : '#2196F3' ,
23
+ success : '#4CAF50' ,
24
+ warning : '#FFC107' ,
25
+ } ,
26
+ } ,
27
+ dark : {
28
+ colors : {
29
+ primary : '#2196F3' ,
30
+ secondary : '#424242' ,
31
+ accent : '#FF4081' ,
32
+ error : '#FF5252' ,
33
+ info : '#2196F3' ,
34
+ success : '#4CAF50' ,
35
+ warning : '#FB8C00' ,
36
+ } ,
37
+ } ,
38
+ } ,
39
+ } ,
9
40
icons : {
10
41
defaultSet : 'mdi' ,
11
42
aliases,
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ module.exports = {
5
5
plugins : [
6
6
new webpack . DefinePlugin ( {
7
7
'process.env.VUE_APP_BUILD_TYPE' : JSON . stringify ( process . env . VUE_APP_BUILD_TYPE ) ,
8
+ // Vue 3 feature flags
9
+ '__VUE_OPTIONS_API__' : JSON . stringify ( true ) ,
10
+ '__VUE_PROD_DEVTOOLS__' : JSON . stringify ( false ) ,
11
+ '__VUE_PROD_HYDRATION_MISMATCH_DETAILS__' : JSON . stringify ( false ) ,
8
12
} ) ,
9
13
] ,
10
14
devServer : {
You can’t perform that action at this time.
0 commit comments