mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-11-10 09:03:02 +08:00
Use a color from the theme on topbar
This commit is contained in:
parent
0a085447be
commit
9a9ad14c8b
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ const liveSocket = new LiveSocket("/live", Socket, {
|
|||
});
|
||||
|
||||
// Show progress bar on live navigation and form submits
|
||||
topbar.config({ barColors: { 0: "#29d" }, shadowColor: "rgba(0, 0, 0, .3)" });
|
||||
topbar.config({ barColors: { 0: "#b2c1ff" }, shadowColor: "rgba(0, 0, 0, .3)" });
|
||||
window.addEventListener("phx:page-loading-start", () => topbar.show());
|
||||
window.addEventListener("phx:page-loading-stop", () => topbar.hide());
|
||||
|
||||
|
|
Loading…
Reference in a new issue