From 00269fbce18d64e4c68bb84822bd153beb61067f Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Thu, 18 Jun 2020 00:15:36 +1200 Subject: [PATCH] Redesign share button --- .../assets/img/invidious-logo-dark.svg | 1 + .../assets/img/invidious-logo-light.svg | 1 + src/renderer/assets/img/yt_logo_mono_dark.png | Bin 0 -> 7117 bytes .../components/ft-button/ft-button.vue | 4 +- .../ft-icon-button/ft-icon-button.vue | 10 ---- .../ft-share-button/ft-share-button.js | 12 +++++ .../ft-share-button/ft-share-button.sass | 51 ++++++++++++++++++ .../ft-share-button/ft-share-button.vue | 39 ++++++++++++++ .../watch-video-info/watch-video-info.js | 4 +- .../watch-video-info/watch-video-info.vue | 10 +--- 10 files changed, 111 insertions(+), 21 deletions(-) create mode 100644 src/renderer/assets/img/invidious-logo-dark.svg create mode 100644 src/renderer/assets/img/invidious-logo-light.svg create mode 100644 src/renderer/assets/img/yt_logo_mono_dark.png create mode 100644 src/renderer/components/ft-share-button/ft-share-button.js create mode 100644 src/renderer/components/ft-share-button/ft-share-button.sass create mode 100644 src/renderer/components/ft-share-button/ft-share-button.vue diff --git a/src/renderer/assets/img/invidious-logo-dark.svg b/src/renderer/assets/img/invidious-logo-dark.svg new file mode 100644 index 00000000..a0542d63 --- /dev/null +++ b/src/renderer/assets/img/invidious-logo-dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/renderer/assets/img/invidious-logo-light.svg b/src/renderer/assets/img/invidious-logo-light.svg new file mode 100644 index 00000000..d1c7c196 --- /dev/null +++ b/src/renderer/assets/img/invidious-logo-light.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/renderer/assets/img/yt_logo_mono_dark.png b/src/renderer/assets/img/yt_logo_mono_dark.png new file mode 100644 index 0000000000000000000000000000000000000000..05a4df7c274f253ca7598f068b609f08f0c5c475 GIT binary patch literal 7117 zcmW+*bwE?!7k^`vun|gbgb0Fwk{jJ9QeQwCrBNJ>j?U37iiD!VCLkh6N#~>`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bVJDe1YL20p_7=!z&?A*jsCTP1yMiyJys?*=H9ZW4j%jZmJja8iILobo5+%BcLl}#A}~xWjFmjDGDVL|=}0(X;=1?Qj;uhJjiu;=B;V}{|Zm4+4Ghqh_0g3&G*B3 zqWk!$270%0i{`1($#7QxUN^_1O-p4z-?ncGg@Y7nZSrsI@?5gN-&s?C63bx8owIA% za}5Ml>W&pDdI;SJwM?}7mx4O_}=KVvY>JB_Sig2p1e|%wyzQ; z)BSQ~axB3MaRu0rc`qAP?x6TEJyDS-R7|lwymftT{u;!D;R|Uzfs3TMIySL3KHGR$ zdNI{=v6lC_QCrTvNwuKg016XD+VBIL*{+r^>EgI#jNg3uV>X;0w}2LfJK=KaIWM;t zYE&={8eWJ05&yt*rb!v@1{@9G++$2h%0#B=N~Ssv&>S~>1d z9KFTYY>&5YFs=Gt{f->^5t|#we3YV?s}oMnne(lQdD+-LQ?8kXjqgp$HfsBo#av@Zlvz>z zm7`gs<}6n=BfURdqC_Tp zN*-Re6dvC;m~k$OZ01;zv8RPSIV9cub#McjiiR@>A` z1#HwPnx}3~WtKmgy{dIy6xY)XbhR|uo2KD65&Ja?=u>yO)tr& z36{=V`Q6NYm))3};SOPLKRyj#Z+kp`ZddPQFC5$2IbrcA&TpkQ`S4yn5&cFZG)#wp zYVT^!_kRmkL*#b6h4>Vg2?dAi4*abAoiJW?K4SThKcx!X`_pKielIJzNerf znq=dBM*zT39%twMNjFxt@U>^4@t)Bd_{2dk`HkrxG#q5$-Ws~qnHu57Yj0YQQLiI| zB}%BF;7O>CJO%AjC`)yi4O_(rGGZkEH7Y%?e$m%#B=t00C>fvTS6wZmy;=63%{?Wu z5A2Ja_PFZw;BfK%({?@2iKT!xt=2=SP1TZ32?Wzsa(^iXn2KhvlfzQ|oCnFHAICCg zGUOI`6W|Iyx$Xe^zlo}I2RoH;qWlt7*}*aD - {{ label }} + + {{ label }} + diff --git a/src/renderer/components/ft-icon-button/ft-icon-button.vue b/src/renderer/components/ft-icon-button/ft-icon-button.vue index f1ff3443..e445a5d2 100644 --- a/src/renderer/components/ft-icon-button/ft-icon-button.vue +++ b/src/renderer/components/ft-icon-button/ft-icon-button.vue @@ -23,16 +23,6 @@ top: dropdownPositionY === 'top' }" > -
    -
  • - {{ label }} -
  • -
    + + + + + +