Feature/style unification (#420)

* set global icons

* fixes #419

* button style docs

* category/tag page updates

* dynamic router imports

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden 2021-05-23 12:38:55 -08:00 committed by GitHub
parent ef87f2231d
commit eb3d56936e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
78 changed files with 332 additions and 201 deletions

View file

@ -10,7 +10,7 @@
<v-card height="100%">
<v-app-bar dark :color="color" class="mt-n1 mb-0">
<v-icon large left>
{{ titleIcon }}
{{ displayTitleIcon }}
</v-icon>
<v-toolbar-title class="headline"> {{ title }} </v-toolbar-title>
<v-spacer></v-spacer>
@ -55,7 +55,7 @@ export default {
default: "Modal Title",
},
titleIcon: {
default: "mdi-account",
default: null,
},
modalWidth: {
default: "500",
@ -83,6 +83,9 @@ export default {
determineClose() {
return this.submitted && !this.loading && !this.keepOpen;
},
displayTitleIcon() {
return this.titleIcon || this.$globals.icons.user;
},
},
watch: {
determineClose() {