Greasy Fork is available in English.
Make YouTube Chat Tints
当前为
/* ==UserStyle==
@name YouTube Chat Tints
@version 0.1.5
@namespace github.com/cyfung1031
@license MIT
@description Make YouTube Chat Tints
@author CY Fung
@preprocessor stylus
@var color color-sponsor-text "Sponsor Text Color" #71ff8c
@var color color-moderator-text "Moderator Text Color" #70a7ff
@var color color-owner-chip-background "Owner Chip Background Color" #ffff3c
@var color color-general-author "General Author Color" #a3e3e3
@var range padding-left-message "Message Padding Left" [0.4, 0.2, 2, 0.2, 'em']
@var range message-font-size "Message Font Size" [1.8, 0.6, 2.6, 0.2, 'rem']
@var checkbox emoji-shadow-enable "emoji-shadow-enable" 0
@var color emoji-shadow "emoji-shadow" #9b9b9b45
@var checkbox loading-effect "loading-effect" 0
@var checkbox chat-author-vline-enable "Enable Chat Author Vline" 1
@var checkbox fade-author-icon-enable "Enable Fade Author Icon" 1
@var checkbox emoji-normalize-enable "Enable Emoji Normalize" 0
@var range emoji-font-size "Emoji Font Size" [2.2, 0.6, 3.4, 0.2, 'rem']
@var range member-icon-font-size "Member Icon Font Size" [1.8, 0.6, 2.6, 0.2, 'rem']
@var range author-font-size "Author Font Size" [3.0, 0.6, 4.6, 0.2, 'rem']
==/UserStyle== */
/*
@var checkbox ruby-font "Ruby Font" 1
@var checkbox pw-font "Proportional Width Font" 1
*/
ruby-font=0 //
pw-font=0 //
@-moz-document url-prefix("https://www.youtube.com/live_chat") {
author-font-size-2=author-font-size * 0.4 //
#author-name {
--yt-live-chat-secondary-text-color: color-general-author;
}
#message.yt-live-chat-text-message-renderer .emoji.yt-live-chat-text-message-renderer {
margin: 0;
if emoji-shadow-enable {
filter: //
drop-shadow(0px 1px 0px emoji-shadow) //
drop-shadow(1px 0px 0px emoji-shadow) //
drop-shadow(-1px 0px 0px emoji-shadow) //
drop-shadow(0px -1px 0px emoji-shadow);
}
if emoji-normalize-enable {
--emoji-font-size: emoji-font-size;
height: calc(var(--emoji-font-size) * 1.12);
width: auto;
object-fit: contain;
}
}
#author-photo img[src] {
height: author-icon-size;
object-fit: contain;
width: auto;
}
body yt-img-shadow#author-photo.style-scope {
contain-intrinsic-size: author-icon-size author-icon-size;
}
yt-live-chat-author-chip.yt-live-chat-text-message-renderer {
align-items: center;
display: inline-flex;
flex-direction: row;
margin: 0;
font-size: author-font-size-2;
line-height: calc(author-font-size-2 * 1.2);
}
#chat-badges.style-scope.yt-live-chat-author-chip {
display: inline;
flex-direction: row;
align-items: center;
justify-items: center;
}
img.yt-live-chat-author-badge-renderer {
height: member-icon-font-size;
width: auto;
}
@keyframes yt-live-chat-text-message-renderer-animation {}
@keyframes yt-live-chat-text-message-renderer-animation3 {
0% {
opacity: 0.38;
}
10% {
opacity: 0.6;
}
100% {
opacity: 0.7;
}
}
@keyframes yt-live-chat-text-message-renderer-animation2 {
0% {
left: 48px;
height: 6px;
width: 32px;
opacity: 0.9;
}
50% {
left: 48px;
height: 3.2px;
width: calc(100% - 72px);
opacity: 0.8;
}
51% {
left: 48px;
height: 3.2px;
width: calc(100% - 72px);
opacity: 0.4;
}
100% {
left: 48px;
height: 3.2px;
width: calc(100% - 72px);
opacity: 0.0;
}
}
#items yt-live-chat-text-message-renderer { // weak selector
contain: layout style;
} //
xfont-variant-east-asian=unset // ;
if ruby-font { //
xfont-variant-east-asian=ruby //
} //
if pw-font { //
xfont-variant-east-asian=proportional-width //
} //
if ruby-font and pw-font { //
xfont-variant-east-asian=ruby proportional-width //
} //
//
#items.style-scope.yt-live-chat-item-list-renderer {
// --yt-live-chat-sponsor-color: #2ba640;
--yt-live-chat-sponsor-color: color-sponsor-text; //
// --yt-live-chat-secondary-text-color: rgba(255, 255, 255, 0.7);
--yt-live-chat-secondary-text-color: #ddd; //
// --yt-live-chat-author-chip-owner-background-color: #ffd600;
--yt-live-chat-author-chip-owner-background-color: color-owner-chip-background;
// --yt-live-chat-moderator-color: #5e84f1;
--yt-live-chat-moderator-color: color-moderator-text; //
#message.yt-live-chat-text-message-renderer {
padding: 0px 0px;
margin-left: padding-left-message;
color: color-bubble-text;
display: flex;
flex-wrap: wrap;
align-items: center;
min-height: 2.6rem;
font-size: message-font-size;
line-height: 100%;
column-gap: 3px;
row-gap: 1px;
font-variant-east-asian: xfont-variant-east-asian;
letter-spacing: 0px !important;
}
#message.yt-live-chat-text-message-renderer a {
color: inherit !important;
font-variant-east-asian: revert;
}
yt-live-chat-author-chip {
margin-top: 4px;
margin-bottom: 2px;
display: inline-block;
}
#author-photo {
align-self: center;
display: flex;
padding: 0;
margin: 8px;
}
yt-live-chat-text-message-renderer {
padding: 0;
padding-right: 32px;
if fade-author-icon-enable {
#author-photo {
opacity: 0.2;
transition: opacity 300ms;
}
#author-photo:hover {
opacity: 1;
}
}
}
if loading-effect {
yt-live-chat-text-message-renderer::before {
content: '';
display: block;
position: absolute;
background: rgba(77, 77, 77, 0.5);
animation: yt-live-chat-text-message-renderer-animation2 400ms linear 0ms 1 normal forwards;
pointer-events: none;
touch-action: none;
user-select: none;
transform-origin: 50% 50%;
width: 32px;
bottom: 0;
height: 16px;
border-radius: 32px;
z-index: 1;
}
}
yt-live-chat-text-message-renderer {
animation: yt-live-chat-text-message-renderer-animation 1200ms ease 0s 1 normal forwards;
}
yt-live-chat-text-message-renderer:hover #content {
opacity: 1.0 !important;
}
yt-live-chat-text-message-renderer #content {
transform-origin: 0 50%;
animation: yt-live-chat-text-message-renderer-animation3 1200ms ease 0s 1 normal forwards;
margin-left: 12px;
}
if chat-author-vline-enable {
yt-live-chat-text-message-renderer #content::before {
width: 0px;
position: absolute;
box-shadow: -3px 0px 0px 0px var(--author-color-2), -10px 0px 0px 0px var(--author-color-1);
content: '';
width: 5px;
margin-left: -4px;
border-radius: 0;
display: block;
z-index: 999;
pointer-events: none;
touch-action: none;
user-select: none;
z-index: 2;
bottom: 1px;
top: 1px;
}
}
--author-color-set-1-1: #adffcb;
--author-color-set-1-2: #f2e582;
--author-color-set-1-3: #6ebadd;
--author-color-set-1-4: #c2b7ff;
--author-color-set-1-5: #fc92d2;
--author-color-set-1-6: #ffd782;
--author-color-set-1-7: #99f6ff;
--author-color-set-1-8: #93a5ed;
--author-color-set-1-9: #ea70e4;
--author-color-set-1-10: #8276ed;
--author-color-set-1-11: #ffe8bc;
--author-color-set-1-12: #85f2d6;
--author-color-set-1-13: #92f4d5;
--author-color-set-1-14: #b2ecf7;
--author-color-set-1-15: #92f49c;
--author-color-set-1-16: #adffb6;
--author-color-set-1-17: #fcea74;
--author-color-set-1-18: #ed84e6;
--author-color-set-1-19: #ffe8c6;
--author-color-set-1-20: #e099ff;
--author-color-set-1-21: #97a8ef;
--author-color-set-1-22: #edb46f;
--author-color-set-1-23: #76f78e;
--author-color-set-1-24: #b2ffd1;
--author-color-set-1-25: #c9fcab;
--author-color-set-1-26: #ff87cb;
--author-color-set-1-27: #ffdabf;
--author-color-set-1-28: #f794c5;
--author-color-set-1-29: #bcccff;
--author-color-set-1-30: #83a3e2;
--author-color-set-1-31: #90f4ab;
--author-color-set-1-32: #e3c4ff;
--author-color-set-1-33: #ff9196;
--author-color-set-1-34: #9cfcf2;
--author-color-set-1-35: #fc8879;
--author-color-set-1-36: #da7cf9;
--author-color-set-1-37: #ccf2ff;
--author-color-set-1-38: #fcedbd;
--author-color-set-1-39: #e1fca6;
--author-color-set-1-40: #a1fca7;
--author-color-set-1-41: #f29bb9;
--author-color-set-1-42: #f7d2a8;
--author-color-set-1-43: #ef86ed;
--author-color-set-1-44: #7abae2;
--author-color-set-1-45: #fcc4cb;
--author-color-set-1-46: #f7b7a0;
--author-color-set-1-47: #9bf993;
--author-color-set-1-48: #86dbe8;
--author-color-set-1-49: #7df2d9;
--author-color-set-1-50: #f9acaf;
--author-color-set-1-51: #fffabc;
--author-color-set-1-52: #8f74fc;
--author-color-set-1-53: #94f48b;
--author-color-set-1-54: #db9eff;
--author-color-set-1-55: #f7b7d8;
--author-color-set-1-56: #f7a0e1;
--author-color-set-1-57: #8785ea;
--author-color-set-1-58: #d6ffaa;
--author-color-set-1-59: #cbbffc;
--author-color-set-1-60: #a7f986;
--author-color-set-1-61: #a8ffd3;
--author-color-set-1-62: #fceec7;
--author-color-set-1-63: #ef7cc5;
--author-color-set-1-64: #bfc4ff;
--author-color-1-default: var(--author-color-set-1-64);
yt-live-chat-text-message-renderer {
--author-color-1: var(--author-color-1-default);
--author-color-2: var(--author-color-1-default);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/A"]) {
--author-color-1: var(--author-color-set-1-1);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/B"]) {
--author-color-1: var(--author-color-set-1-2);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/C"]) {
--author-color-1: var(--author-color-set-1-3);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/D"]) {
--author-color-1: var(--author-color-set-1-4);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/E"]) {
--author-color-1: var(--author-color-set-1-5);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/F"]) {
--author-color-1: var(--author-color-set-1-6);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/G"]) {
--author-color-1: var(--author-color-set-1-7);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/H"]) {
--author-color-1: var(--author-color-set-1-8);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/I"]) {
--author-color-1: var(--author-color-set-1-9);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/J"]) {
--author-color-1: var(--author-color-set-1-10);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/K"]) {
--author-color-1: var(--author-color-set-1-11);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/L"]) {
--author-color-1: var(--author-color-set-1-12);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/M"]) {
--author-color-1: var(--author-color-set-1-13);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/N"]) {
--author-color-1: var(--author-color-set-1-14);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/O"]) {
--author-color-1: var(--author-color-set-1-15);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/P"]) {
--author-color-1: var(--author-color-set-1-16);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/Q"]) {
--author-color-1: var(--author-color-set-1-17);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/R"]) {
--author-color-1: var(--author-color-set-1-18);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/S"]) {
--author-color-1: var(--author-color-set-1-19);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/T"]) {
--author-color-1: var(--author-color-set-1-20);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/U"]) {
--author-color-1: var(--author-color-set-1-21);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/V"]) {
--author-color-1: var(--author-color-set-1-22);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/W"]) {
--author-color-1: var(--author-color-set-1-23);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/X"]) {
--author-color-1: var(--author-color-set-1-24);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/Y"]) {
--author-color-1: var(--author-color-set-1-25);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/Z"]) {
--author-color-1: var(--author-color-set-1-26);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/a"]) {
--author-color-1: var(--author-color-set-1-27);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/b"]) {
--author-color-1: var(--author-color-set-1-28);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/c"]) {
--author-color-1: var(--author-color-set-1-29);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/d"]) {
--author-color-1: var(--author-color-set-1-30);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/e"]) {
--author-color-1: var(--author-color-set-1-31);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/f"]) {
--author-color-1: var(--author-color-set-1-32);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/g"]) {
--author-color-1: var(--author-color-set-1-33);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/h"]) {
--author-color-1: var(--author-color-set-1-34);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/i"]) {
--author-color-1: var(--author-color-set-1-35);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/j"]) {
--author-color-1: var(--author-color-set-1-36);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/k"]) {
--author-color-1: var(--author-color-set-1-37);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/l"]) {
--author-color-1: var(--author-color-set-1-38);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/m"]) {
--author-color-1: var(--author-color-set-1-39);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/n"]) {
--author-color-1: var(--author-color-set-1-40);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/o"]) {
--author-color-1: var(--author-color-set-1-41);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/p"]) {
--author-color-1: var(--author-color-set-1-42);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/q"]) {
--author-color-1: var(--author-color-set-1-43);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/r"]) {
--author-color-1: var(--author-color-set-1-44);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/s"]) {
--author-color-1: var(--author-color-set-1-45);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/t"]) {
--author-color-1: var(--author-color-set-1-46);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/u"]) {
--author-color-1: var(--author-color-set-1-47);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/v"]) {
--author-color-1: var(--author-color-set-1-48);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/w"]) {
--author-color-1: var(--author-color-set-1-49);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/x"]) {
--author-color-1: var(--author-color-set-1-50);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/y"]) {
--author-color-1: var(--author-color-set-1-51);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/z"]) {
--author-color-1: var(--author-color-set-1-52);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/0"]) {
--author-color-1: var(--author-color-set-1-53);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/1"]) {
--author-color-1: var(--author-color-set-1-54);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/2"]) {
--author-color-1: var(--author-color-set-1-55);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/3"]) {
--author-color-1: var(--author-color-set-1-56);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/4"]) {
--author-color-1: var(--author-color-set-1-57);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/5"]) {
--author-color-1: var(--author-color-set-1-58);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/6"]) {
--author-color-1: var(--author-color-set-1-59);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/7"]) {
--author-color-1: var(--author-color-set-1-60);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/8"]) {
--author-color-1: var(--author-color-set-1-61);
}
yt-live-chat-text-message-renderer:has(#img[src*="com/9"]) {
--author-color-1: var(--author-color-set-1-62);
}
yt-live-chat-text-message-renderer:has(#img[src*="A="]) {
--author-color-1: var(--author-color-set-1-1);
}
yt-live-chat-text-message-renderer:has(#img[src*="B="]) {
--author-color-1: var(--author-color-set-1-2);
}
yt-live-chat-text-message-renderer:has(#img[src*="C="]) {
--author-color-1: var(--author-color-set-1-3);
}
yt-live-chat-text-message-renderer:has(#img[src*="D="]) {
--author-color-1: var(--author-color-set-1-4);
}
yt-live-chat-text-message-renderer:has(#img[src*="E="]) {
--author-color-1: var(--author-color-set-1-5);
}
yt-live-chat-text-message-renderer:has(#img[src*="F="]) {
--author-color-1: var(--author-color-set-1-6);
}
yt-live-chat-text-message-renderer:has(#img[src*="G="]) {
--author-color-1: var(--author-color-set-1-7);
}
yt-live-chat-text-message-renderer:has(#img[src*="H="]) {
--author-color-1: var(--author-color-set-1-8);
}
yt-live-chat-text-message-renderer:has(#img[src*="I="]) {
--author-color-1: var(--author-color-set-1-9);
}
yt-live-chat-text-message-renderer:has(#img[src*="J="]) {
--author-color-1: var(--author-color-set-1-10);
}
yt-live-chat-text-message-renderer:has(#img[src*="K="]) {
--author-color-1: var(--author-color-set-1-11);
}
yt-live-chat-text-message-renderer:has(#img[src*="L="]) {
--author-color-1: var(--author-color-set-1-12);
}
yt-live-chat-text-message-renderer:has(#img[src*="M="]) {
--author-color-1: var(--author-color-set-1-13);
}
yt-live-chat-text-message-renderer:has(#img[src*="N="]) {
--author-color-1: var(--author-color-set-1-14);
}
yt-live-chat-text-message-renderer:has(#img[src*="O="]) {
--author-color-1: var(--author-color-set-1-15);
}
yt-live-chat-text-message-renderer:has(#img[src*="P="]) {
--author-color-1: var(--author-color-set-1-16);
}
yt-live-chat-text-message-renderer:has(#img[src*="Q="]) {
--author-color-1: var(--author-color-set-1-17);
}
yt-live-chat-text-message-renderer:has(#img[src*="R="]) {
--author-color-1: var(--author-color-set-1-18);
}
yt-live-chat-text-message-renderer:has(#img[src*="S="]) {
--author-color-1: var(--author-color-set-1-19);
}
yt-live-chat-text-message-renderer:has(#img[src*="T="]) {
--author-color-1: var(--author-color-set-1-20);
}
yt-live-chat-text-message-renderer:has(#img[src*="U="]) {
--author-color-1: var(--author-color-set-1-21);
}
yt-live-chat-text-message-renderer:has(#img[src*="V="]) {
--author-color-1: var(--author-color-set-1-22);
}
yt-live-chat-text-message-renderer:has(#img[src*="W="]) {
--author-color-1: var(--author-color-set-1-23);
}
yt-live-chat-text-message-renderer:has(#img[src*="X="]) {
--author-color-1: var(--author-color-set-1-24);
}
yt-live-chat-text-message-renderer:has(#img[src*="Y="]) {
--author-color-1: var(--author-color-set-1-25);
}
yt-live-chat-text-message-renderer:has(#img[src*="Z="]) {
--author-color-1: var(--author-color-set-1-26);
}
yt-live-chat-text-message-renderer:has(#img[src*="a="]) {
--author-color-1: var(--author-color-set-1-27);
}
yt-live-chat-text-message-renderer:has(#img[src*="b="]) {
--author-color-1: var(--author-color-set-1-28);
}
yt-live-chat-text-message-renderer:has(#img[src*="c="]) {
--author-color-1: var(--author-color-set-1-29);
}
yt-live-chat-text-message-renderer:has(#img[src*="d="]) {
--author-color-1: var(--author-color-set-1-30);
}
yt-live-chat-text-message-renderer:has(#img[src*="e="]) {
--author-color-1: var(--author-color-set-1-31);
}
yt-live-chat-text-message-renderer:has(#img[src*="f="]) {
--author-color-1: var(--author-color-set-1-32);
}
yt-live-chat-text-message-renderer:has(#img[src*="g="]) {
--author-color-1: var(--author-color-set-1-33);
}
yt-live-chat-text-message-renderer:has(#img[src*="h="]) {
--author-color-1: var(--author-color-set-1-34);
}
yt-live-chat-text-message-renderer:has(#img[src*="i="]) {
--author-color-1: var(--author-color-set-1-35);
}
yt-live-chat-text-message-renderer:has(#img[src*="j="]) {
--author-color-1: var(--author-color-set-1-36);
}
yt-live-chat-text-message-renderer:has(#img[src*="k="]) {
--author-color-1: var(--author-color-set-1-37);
}
yt-live-chat-text-message-renderer:has(#img[src*="l="]) {
--author-color-1: var(--author-color-set-1-38);
}
yt-live-chat-text-message-renderer:has(#img[src*="m="]) {
--author-color-1: var(--author-color-set-1-39);
}
yt-live-chat-text-message-renderer:has(#img[src*="n="]) {
--author-color-1: var(--author-color-set-1-40);
}
yt-live-chat-text-message-renderer:has(#img[src*="o="]) {
--author-color-1: var(--author-color-set-1-41);
}
yt-live-chat-text-message-renderer:has(#img[src*="p="]) {
--author-color-1: var(--author-color-set-1-42);
}
yt-live-chat-text-message-renderer:has(#img[src*="q="]) {
--author-color-1: var(--author-color-set-1-43);
}
yt-live-chat-text-message-renderer:has(#img[src*="r="]) {
--author-color-1: var(--author-color-set-1-44);
}
yt-live-chat-text-message-renderer:has(#img[src*="s="]) {
--author-color-1: var(--author-color-set-1-45);
}
yt-live-chat-text-message-renderer:has(#img[src*="t="]) {
--author-color-1: var(--author-color-set-1-46);
}
yt-live-chat-text-message-renderer:has(#img[src*="u="]) {
--author-color-1: var(--author-color-set-1-47);
}
yt-live-chat-text-message-renderer:has(#img[src*="v="]) {
--author-color-1: var(--author-color-set-1-48);
}
yt-live-chat-text-message-renderer:has(#img[src*="w="]) {
--author-color-1: var(--author-color-set-1-49);
}
yt-live-chat-text-message-renderer:has(#img[src*="x="]) {
--author-color-1: var(--author-color-set-1-50);
}
yt-live-chat-text-message-renderer:has(#img[src*="y="]) {
--author-color-1: var(--author-color-set-1-51);
}
yt-live-chat-text-message-renderer:has(#img[src*="z="]) {
--author-color-1: var(--author-color-set-1-52);
}
yt-live-chat-text-message-renderer:has(#img[src*="0="]) {
--author-color-1: var(--author-color-set-1-53);
}
yt-live-chat-text-message-renderer:has(#img[src*="1="]) {
--author-color-1: var(--author-color-set-1-54);
}
yt-live-chat-text-message-renderer:has(#img[src*="2="]) {
--author-color-1: var(--author-color-set-1-55);
}
yt-live-chat-text-message-renderer:has(#img[src*="3="]) {
--author-color-1: var(--author-color-set-1-56);
}
yt-live-chat-text-message-renderer:has(#img[src*="4="]) {
--author-color-1: var(--author-color-set-1-57);
}
yt-live-chat-text-message-renderer:has(#img[src*="5="]) {
--author-color-1: var(--author-color-set-1-58);
}
yt-live-chat-text-message-renderer:has(#img[src*="6="]) {
--author-color-1: var(--author-color-set-1-59);
}
yt-live-chat-text-message-renderer:has(#img[src*="7="]) {
--author-color-1: var(--author-color-set-1-60);
}
yt-live-chat-text-message-renderer:has(#img[src*="8="]) {
--author-color-1: var(--author-color-set-1-61);
}
yt-live-chat-text-message-renderer:has(#img[src*="9="]) {
--author-color-1: var(--author-color-set-1-62);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/A"]) {
--author-color-2: var(--author-color-set-1-1);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/B"]) {
--author-color-2: var(--author-color-set-1-2);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/C"]) {
--author-color-2: var(--author-color-set-1-3);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/D"]) {
--author-color-2: var(--author-color-set-1-4);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/E"]) {
--author-color-2: var(--author-color-set-1-5);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/F"]) {
--author-color-2: var(--author-color-set-1-6);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/G"]) {
--author-color-2: var(--author-color-set-1-7);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/H"]) {
--author-color-2: var(--author-color-set-1-8);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/I"]) {
--author-color-2: var(--author-color-set-1-9);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/J"]) {
--author-color-2: var(--author-color-set-1-10);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/K"]) {
--author-color-2: var(--author-color-set-1-11);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/L"]) {
--author-color-2: var(--author-color-set-1-12);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/M"]) {
--author-color-2: var(--author-color-set-1-13);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/N"]) {
--author-color-2: var(--author-color-set-1-14);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/O"]) {
--author-color-2: var(--author-color-set-1-15);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/P"]) {
--author-color-2: var(--author-color-set-1-16);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/Q"]) {
--author-color-2: var(--author-color-set-1-17);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/R"]) {
--author-color-2: var(--author-color-set-1-18);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/S"]) {
--author-color-2: var(--author-color-set-1-19);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/T"]) {
--author-color-2: var(--author-color-set-1-20);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/U"]) {
--author-color-2: var(--author-color-set-1-21);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/V"]) {
--author-color-2: var(--author-color-set-1-22);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/W"]) {
--author-color-2: var(--author-color-set-1-23);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/X"]) {
--author-color-2: var(--author-color-set-1-24);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/Y"]) {
--author-color-2: var(--author-color-set-1-25);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/Z"]) {
--author-color-2: var(--author-color-set-1-26);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/a"]) {
--author-color-2: var(--author-color-set-1-27);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/b"]) {
--author-color-2: var(--author-color-set-1-28);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/c"]) {
--author-color-2: var(--author-color-set-1-29);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/d"]) {
--author-color-2: var(--author-color-set-1-30);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/e"]) {
--author-color-2: var(--author-color-set-1-31);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/f"]) {
--author-color-2: var(--author-color-set-1-32);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/g"]) {
--author-color-2: var(--author-color-set-1-33);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/h"]) {
--author-color-2: var(--author-color-set-1-34);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/i"]) {
--author-color-2: var(--author-color-set-1-35);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/j"]) {
--author-color-2: var(--author-color-set-1-36);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/k"]) {
--author-color-2: var(--author-color-set-1-37);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/l"]) {
--author-color-2: var(--author-color-set-1-38);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/m"]) {
--author-color-2: var(--author-color-set-1-39);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/n"]) {
--author-color-2: var(--author-color-set-1-40);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/o"]) {
--author-color-2: var(--author-color-set-1-41);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/p"]) {
--author-color-2: var(--author-color-set-1-42);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/q"]) {
--author-color-2: var(--author-color-set-1-43);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/r"]) {
--author-color-2: var(--author-color-set-1-44);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/s"]) {
--author-color-2: var(--author-color-set-1-45);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/t"]) {
--author-color-2: var(--author-color-set-1-46);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/u"]) {
--author-color-2: var(--author-color-set-1-47);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/v"]) {
--author-color-2: var(--author-color-set-1-48);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/w"]) {
--author-color-2: var(--author-color-set-1-49);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/x"]) {
--author-color-2: var(--author-color-set-1-50);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/y"]) {
--author-color-2: var(--author-color-set-1-51);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/z"]) {
--author-color-2: var(--author-color-set-1-52);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/0"]) {
--author-color-2: var(--author-color-set-1-53);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/1"]) {
--author-color-2: var(--author-color-set-1-54);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/2"]) {
--author-color-2: var(--author-color-set-1-55);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/3"]) {
--author-color-2: var(--author-color-set-1-56);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/4"]) {
--author-color-2: var(--author-color-set-1-57);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/5"]) {
--author-color-2: var(--author-color-set-1-58);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/6"]) {
--author-color-2: var(--author-color-set-1-59);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/7"]) {
--author-color-2: var(--author-color-set-1-60);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/8"]) {
--author-color-2: var(--author-color-set-1-61);
}
yt-live-chat-text-message-renderer:has(img.yt-live-chat-author-badge-renderer[src*="com/9"]) {
--author-color-2: var(--author-color-set-1-62);
}
}
}