diff --git a/components/admin/Theme.vue b/components/admin/Theme.vue index 1bc47c09..a3b9b3d2 100644 --- a/components/admin/Theme.vue +++ b/components/admin/Theme.vue @@ -52,22 +52,22 @@ v-container v-img.mt-2(:src='`/headerimage.png?${headerImageKey}`' max-height="150px" contain) - - //- TODO choose theme colors - //- v-row - //- v-col(v-for='(color, i) in colors' :key='i') - //- v-menu(v-model='menu[i]' - //- :close-on-content-click="false" - //- transition="slide-x-transition" - //- offset-y - //- absolute - //- bottom - //- max-width="290px" - //- min-width="290px") - //- template(v-slot:activator='{ on }') - //- v-btn(:color='i' small - //- v-on='on') {{i}} - //- v-color-picker(light @update:color='c => updateColor(i, c)') + v-card-title {{$t('admin.colors')}} + v-card-text + //- choose theme colors + v-row + v-col(v-for='(color, i) in colors' :key='i') + v-menu(v-model='menu[i]' + :close-on-content-click="false" + transition="slide-x-transition" + offset-y + absolute + bottom + max-width="290px" + min-width="290px") + template(v-slot:activator='{ on }') + v-btn(:color='i' small v-on='on') {{i}} + v-color-picker(light :value='color' @update:color='c => updateColor(i, c)') v-dialog(v-model='linkModal' width='500' :fullscreen='$vuetify.breakpoint.xsOnly') v-card @@ -106,10 +106,11 @@ v-container