Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit a199d82

Browse files
update vuetify.ts
1 parent 68db384 commit a199d82

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

generator/templates/default/src/plugins/vuetify.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ Vue.use(Vuetify, {
3333
},
3434
<%_ } _%>
3535
<%_ if (options.useTheme) { _%>
36-
theme: {
37-
primary: '#ee44aa',
36+
theme: {
37+
primary: '#ee44aa',
3838
secondary: '#424242',
3939
accent: '#82B1FF',
4040
error: '#FF5252',
@@ -43,4 +43,16 @@ Vue.use(Vuetify, {
4343
warning: '#FFC107'
4444
},
4545
<%_ } _%>
46+
<%_ if (options.useCustomProperties) { _%>
47+
customProperties: true,
48+
<%_ } _%>
49+
<%_ if (options.iconFont === 'md') { _%>
50+
iconfont: 'md',
51+
<%_ } else if (options.iconFont === 'mdi') { _%>
52+
iconfont: 'mdi',
53+
<%_ } else if (options.iconFont === 'fa') { _%>
54+
iconfont: 'fa',
55+
<%_ } else if (options.iconFont === 'fa4') { _%>
56+
iconfont: 'fa4',
57+
<%_ } _%>
4658
})

0 commit comments

Comments
 (0)