From 6da5d4c8b55606f614c056932fba43fb730fab5f Mon Sep 17 00:00:00 2001 From: SirStendec Date: Fri, 17 Nov 2017 14:59:46 -0500 Subject: [PATCH] Add convenience method for creating CSS variable or setting blocks of CSS directly in css_tweaks. Start using those variables for things like chat width. Add the ability to highlight messages with mentions in them. Fix Sidebar Swap and Theatre Mode. Closes #312 --- changelog.html | 16 ++++- src/modules/chat/index.js | 39 +++++++++++- src/modules/chat/tokenizers.js | 35 ++++++++--- .../twitch-twilight/modules/chat/index.js | 63 ++++++++++--------- .../twitch-twilight/modules/chat/line.js | 10 +-- .../modules/css_tweaks/index.js | 10 +++ .../modules/css_tweaks/styles/chat-font.scss | 5 ++ .../styles/chat-mention-bg-alt.scss | 9 +++ .../css_tweaks/styles/chat-mention-bg.scss | 7 +++ .../css_tweaks/styles/chat-mention-token.scss | 13 ++++ .../modules/css_tweaks/styles/chat-rows.scss | 6 +- .../modules/css_tweaks/styles/chat-width.scss | 12 ++++ .../css_tweaks/styles/swap-sidebars.scss | 16 +++++ styles/icons.scss | 21 ++++++- 14 files changed, 213 insertions(+), 49 deletions(-) create mode 100644 src/sites/twitch-twilight/modules/css_tweaks/styles/chat-font.scss create mode 100644 src/sites/twitch-twilight/modules/css_tweaks/styles/chat-mention-bg-alt.scss create mode 100644 src/sites/twitch-twilight/modules/css_tweaks/styles/chat-mention-bg.scss create mode 100644 src/sites/twitch-twilight/modules/css_tweaks/styles/chat-mention-token.scss create mode 100644 src/sites/twitch-twilight/modules/css_tweaks/styles/chat-width.scss diff --git a/changelog.html b/changelog.html index 0d42c864..f16fcb63 100644 --- a/changelog.html +++ b/changelog.html @@ -1,4 +1,18 @@ -
4.0.0-beta1.3@c89ba74a13dda449dfec
+
4.0.0-beta1.3@e82e3deb4ad3e3f1b253
+ + +
4.0.0-beta1.3@0c55f4f15b6397d644f4
+ + +
4.0.0-beta1.3@fb9568932222b25ebd88