Skip to content

Commit

Permalink
fixed toast errors having no background color
Browse files Browse the repository at this point in the history
  • Loading branch information
0neGal committed Mar 10, 2022
1 parent 0cae81f commit f942df2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/app/toast.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit f942df2

Please sign in to comment.