diff --git a/src/content.ts b/src/content.ts index 709c05a1..f07bef16 100644 --- a/src/content.ts +++ b/src/content.ts @@ -892,6 +892,8 @@ function openInfoMenu() { closeButton.classList.add("smallLink"); closeButton.setAttribute("align", "center"); closeButton.addEventListener("click", closeInfoMenu); + // Theme based color + closeButton.style.color = "var(--yt-spec-text-primary)"; //add the close button popup.prepend(closeButton);