Match topbar with theme

This commit is contained in:
Chris McCord 2022-01-14 11:05:41 -05:00
parent a39bb0a5ac
commit be420bdc44

View file

@ -187,7 +187,7 @@ let routeUpdated = () => {
}
// Show progress bar on live navigation and form submits
topbar.config({barColors: {0: "#29d"}, shadowColor: "rgba(0, 0, 0, .3)"})
topbar.config({barColors: {0: "rgba(147, 51, 234, 1)"}, shadowColor: "rgba(0, 0, 0, .3)"})
window.addEventListener("phx:page-loading-start", info => topbar.show())
window.addEventListener("phx:page-loading-stop", info => topbar.hide())