logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 8fa0331771812e67fa4aa045f2997c80bc72cde2
parent 2725a0c6398a876590b458ff1a8d6c2cc9af1d11
Author: Eris <femmediscord@gmail.com>
Date:   Mon, 14 Jun 2021 20:09:28 +0000

Add apply and reset themes to top of theme tab

Diffstat:

Msrc/components/settings_modal/tabs/theme_tab/theme_tab.vue15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/components/settings_modal/tabs/theme_tab/theme_tab.vue b/src/components/settings_modal/tabs/theme_tab/theme_tab.vue @@ -1,6 +1,21 @@ <template> <div class="theme-tab"> <div class="presets-container"> + <div class="apply-container"> + <button + class="btn button-default submit" + :disabled="!themeValid" + @click="setCustomTheme" + > + {{ $t('general.apply') }} + </button> + <button + class="btn button-default" + @click="clearAll" + > + {{ $t('settings.style.switcher.reset') }} + </button> + </div><br> <div class="save-load"> <div v-if="themeWarning"