mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-12 00:50:53 +00:00
4.20.53
* Fixed: Background highlight colors for chat messages.
This commit is contained in:
parent
b098e59f4c
commit
7adee6556c
2 changed files with 2 additions and 2 deletions
|
@ -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": {
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue