From f942df2bdbefdb740f545a62c80fd6bed3f22147 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Thu, 10 Mar 2022 20:27:13 +0100 Subject: fixed toast errors having no background color --- src/app/main.css | 2 +- src/app/toast.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/main.css b/src/app/main.css index 734f60b..18afc41 100644 --- a/src/app/main.css +++ b/src/app/main.css @@ -579,7 +579,7 @@ a:hover { #installmod {background: rgb(var(--blue))} #togglemod, #toggleall {background: rgb(var(--orange))} -#northstar, #removeall, #removemod {background: rgb(var(--red))} +#removeall, #removemod {background: rgb(var(--red))} button:disabled { opacity: 0.5; pointer-events: none; diff --git a/src/app/toast.js b/src/app/toast.js index 2a8555e..9cb8996 100644 --- a/src/app/toast.js +++ b/src/app/toast.js @@ -11,7 +11,7 @@ function Toast(properties) { switch(toast.scheme) { case "error": toast.fg = "#FFFFFF"; - toast.bg = "var(--red)"; + toast.bg = "rgb(var(--red))"; break case "success": toast.fg = "#FFFFFF"; -- cgit v1.2.3