From 077a0685ad7f965e87282a5437274de1aeefb67f Mon Sep 17 00:00:00 2001 From: SirStendec Date: Fri, 27 Sep 2019 15:44:33 -0400 Subject: [PATCH] 4.12.2 * Added: Helper text to `Appearance > Theme` with suggested colors, as well as the previous site fonts. * Changed: Automatically enable or disable Twitch's Dark Theme when setting a background color, to ensure page elements stay styled correctly. * Changed: Don't try injecting our script on `brand` or `dev` subdomains. * Changed: Do not allow setting the alpha value of custom background colors. * Fixed: Add relative positioning to most of our tool-tip wrapper elements, to ensure tool-tips are positioned correctly. * Fixed: Stop modifying queries with Apollo. Just send our own queries when we need a bit of extra data. Should prevent loading issues. * Fixed: Option to hide the Discover link in the top navigation not working. * Fixed: Option to hide live indicators on channel cards not working. * Fixed: Add a few more rules to the new theme to ensure all elements are colored correctly. * Fixed: Do not square avatars within the Bits Leaderboard. * Known Issue: Light custom themes do not look good in Theater Mode. --- package.json | 2 +- src/entry.js | 2 +- .../components/badge-term-editor.vue | 2 +- .../main_menu/components/color-picker.vue | 8 ++- .../components/filter-rule-editor.vue | 10 +-- .../main_menu/components/main-menu.vue | 2 +- .../main_menu/components/profile-editor.vue | 4 +- .../main_menu/components/profile-manager.vue | 16 ++--- .../components/setting-color-box.vue | 8 +++ .../main_menu/components/term-editor.vue | 6 +- .../components/translation-ui.vue | 2 +- .../twitch-twilight/modules/channel_bar.jsx | 8 +-- .../modules/css_tweaks/index.js | 6 +- .../css_tweaks/styles/square-avatars.scss | 13 ++-- .../css_tweaks/styles/swap-sidebars.scss | 2 +- .../modules/directory/following.jsx | 14 ++-- .../modules/directory/game.jsx | 8 +-- .../modules/directory/index.jsx | 7 +- .../twitch-twilight/modules/theme/index.js | 44 +++++++++--- .../modules/video_chat/index.jsx | 4 +- .../styles/color_normalizer.scss | 70 ++++++++----------- src/std-components/tooltip.vue | 2 +- styles/widgets.scss | 4 ++ styles/widgets/color-picker.scss | 37 +++++++++- styles/widgets/profile-selector.scss | 8 +-- styles/widgets/tab-container.scss | 12 ++-- 26 files changed, 182 insertions(+), 119 deletions(-) diff --git a/package.json b/package.json index b02872ab..e5c2bc46 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "frankerfacez", "author": "Dan Salvato LLC", - "version": "4.12.0", + "version": "4.12.2", "description": "FrankerFaceZ is a Twitch enhancement suite.", "license": "Apache-2.0", "scripts": { diff --git a/src/entry.js b/src/entry.js index eb58a937..a1a794ae 100644 --- a/src/entry.js +++ b/src/entry.js @@ -2,7 +2,7 @@ 'use strict'; (() => { // Don't run on certain sub-domains. - if ( /^(?:localhost\.rig|blog|player|im|chatdepot|tmi|api|)\./.test(location.hostname) ) + if ( /^(?:localhost\.rig|blog|player|im|chatdepot|tmi|api|brand|dev)\./.test(location.hostname) ) return; const DEBUG = localStorage.ffzDebugMode == 'true' && document.body.classList.contains('ffz-dev') && ! window.Ember, diff --git a/src/modules/main_menu/components/badge-term-editor.vue b/src/modules/main_menu/components/badge-term-editor.vue index e20a1cc8..61d2aec2 100644 --- a/src/modules/main_menu/components/badge-term-editor.vue +++ b/src/modules/main_menu/components/badge-term-editor.vue @@ -43,7 +43,7 @@ -
+
- +
@@ -44,7 +44,7 @@ :class="{'ffz-bottom-100': openUp}" class="tw-absolute tw-z-above tw-balloon--up tw-balloon--right" > - +
@@ -63,6 +63,10 @@ export default { props: { value: String, + alpha: { + type: Boolean, + default: true + }, default: { type: String, default: '#000' diff --git a/src/modules/main_menu/components/filter-rule-editor.vue b/src/modules/main_menu/components/filter-rule-editor.vue index 5c0e6b09..bd6590f2 100644 --- a/src/modules/main_menu/components/filter-rule-editor.vue +++ b/src/modules/main_menu/components/filter-rule-editor.vue @@ -14,7 +14,7 @@
@@ -31,7 +31,7 @@ :class="[isShort ? '' : 'tw-mg-l-1']" class="tw-border-l tw-pd-l-1 tw-flex tw-flex-column tw-flex-wrap tw-justify-content-start tw-align-items-start" > -
+
@@ -44,13 +44,13 @@