1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-12 09:00:54 +00:00
* Fixed: Background highlight colors for chat messages.
This commit is contained in:
SirStendec 2020-11-25 20:19:15 -05:00
parent b098e59f4c
commit 7adee6556c
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "frankerfacez", "name": "frankerfacez",
"author": "Dan Salvato LLC", "author": "Dan Salvato LLC",
"version": "4.20.52", "version": "4.20.53",
"description": "FrankerFaceZ is a Twitch enhancement suite.", "description": "FrankerFaceZ is a Twitch enhancement suite.",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {

View file

@ -619,7 +619,7 @@ export default class ChatHook extends Module {
if ( chat_text ) if ( chat_text )
text_dark = chat_text.luminance() < 0.5; text_dark = chat_text.luminance() < 0.5;
chat_text = text_dark ? '#dad8de' : '#19171c'; chat_text = text_dark ? '#19171c' : '#dad8de';
// TODO: Get the background color from the theme system. // TODO: Get the background color from the theme system.
// Updated: Use the lightest/darkest colors from alternating rows for better readibility. // Updated: Use the lightest/darkest colors from alternating rows for better readibility.