💄 Minor UI improvements

This commit is contained in:
Liyas Thomas
2019-11-14 05:00:44 +05:30
parent dfbb563b6f
commit 9de8c4cf04
6 changed files with 18 additions and 30 deletions

View File

@@ -247,13 +247,6 @@ export default {
.setAttribute("content", color);
this.applySetting("THEME_TAB_COLOR", color);
document.documentElement.className = name;
let imgGitHub = document.getElementById("imgGitHub");
imgGitHub.style["filter"] = "";
imgGitHub.style["webkit-filter"] = "invert(100%)";
if (name.includes("light")) {
imgGitHub.style["filter"] = "invert(100%)";
imgGitHub.style["webkit-filter"] = "invert(100%)";
}
},
setActiveColor(color, vibrant) {
// By default, the color is vibrant.