Fix unreadable channel title in YouTube dark mode
This commit is contained in:
parent
422de80de9
commit
3a09a7d0d4
@ -185,7 +185,7 @@ function updateYouTubeChannelHeader() {
|
|||||||
replacement.style.fontWeight = '400';
|
replacement.style.fontWeight = '400';
|
||||||
replacement.style.lineHeight = '3rem';
|
replacement.style.lineHeight = '3rem';
|
||||||
replacement.style.textDecoration = 'none';
|
replacement.style.textDecoration = 'none';
|
||||||
replacement.style.color = 'black';
|
replacement.style.color = 'var(--yt-spec-text-primary)';
|
||||||
}
|
}
|
||||||
replacement.textContent = lastAppliedYouTubeTitle;
|
replacement.textContent = lastAppliedYouTubeTitle;
|
||||||
replacement.href = lastAppliedYouTubeUrl;
|
replacement.href = lastAppliedYouTubeUrl;
|
||||||
|
Loading…
Reference in New Issue
Block a user