Fix unreadable channel title in YouTube dark mode

This commit is contained in:
shinigami-eyes 2020-12-26 06:52:52 +00:00
parent 422de80de9
commit 3a09a7d0d4

View File

@ -185,7 +185,7 @@ function updateYouTubeChannelHeader() {
replacement.style.fontWeight = '400';
replacement.style.lineHeight = '3rem';
replacement.style.textDecoration = 'none';
replacement.style.color = 'black';
replacement.style.color = 'var(--yt-spec-text-primary)';
}
replacement.textContent = lastAppliedYouTubeTitle;
replacement.href = lastAppliedYouTubeUrl;