From 5c913a422d2f669f2c973a2054d4e3d7e5d4a6f1 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Thu, 23 Jan 2020 12:11:54 +0100 Subject: [PATCH] Frontend: Themes can define context menu colors Signed-off-by: Michael Mayer --- frontend/src/component/p-album-clipboard.vue | 2 +- frontend/src/component/p-photo-clipboard.vue | 16 ++--- frontend/src/resources/themes.json | 64 ++++++++++++++++---- 3 files changed, 62 insertions(+), 20 deletions(-) diff --git a/frontend/src/component/p-album-clipboard.vue b/frontend/src/component/p-album-clipboard.vue index 64d616ec6..f651a9e28 100644 --- a/frontend/src/component/p-album-clipboard.vue +++ b/frontend/src/component/p-album-clipboard.vue @@ -27,7 +27,7 @@ dark small :title="labels.download" - color="teal accent-4" + color="download" @click.stop="download()" class="p-album-clipboard-download" :disabled="selection.length !== 1" diff --git a/frontend/src/component/p-photo-clipboard.vue b/frontend/src/component/p-photo-clipboard.vue index c0c2ffb67..7427d5089 100644 --- a/frontend/src/component/p-photo-clipboard.vue +++ b/frontend/src/component/p-photo-clipboard.vue @@ -27,26 +27,26 @@ dark small :title="labels.private" - color="deep-purple lighten-2" + color="share" @click.stop="batchPrivate()" :disabled="selection.length === 0" v-if="context !== 'archive'" class="p-photo-clipboard-private" > - vpn_key + share - wifi + edit