1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-17 02:16:54 +00:00

3.5.527. Tooltips! Lots of changes to how link tooltips render. And some stuff about the dark theme I guess.

This commit is contained in:
SirStendec 2017-09-26 17:01:51 -04:00
parent 231e2839e8
commit 9e845b171e
14 changed files with 534 additions and 181 deletions

View file

@ -1616,9 +1616,10 @@ FFZ.prototype._build_mod_card_history = function(msg, modcard, show_from, ts_cli
colors = raw_color && this._handle_color(raw_color),
Layout = utils.ember_lookup('service:layout'),
ThemeManager = utils.ember_lookup('service:theme-manager'),
Settings = utils.ember_settings(),
is_dark = (Layout && Layout.get('isTheatreMode')) || this.settings.get_twitch("darkMode");
is_dark = (ThemeManager && ThemeManager.get('themes.activeTheme') === 'theme--dark') || (Layout && Layout.get('isTheatreMode')) || this.settings.get_twitch("darkMode");
// Styling