Skip to content

Commit

Permalink
Make debug level messages readable in light mode (#156)
Browse files Browse the repository at this point in the history
Change cyan to darkcyan
  • Loading branch information
ArthurClemens committed Mar 27, 2024
1 parent 49aadda commit f230d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/static/phoenix_live_reload.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class LiveReloader {
}

log(level, str){
let levelColor = level === "debug" ? "cyan" : "inherit"
let levelColor = level === "debug" ? "darkcyan" : "inherit"
let consoleFunc = level === "error" ? level : "log"
console[consoleFunc](`%c📡 ${str}`, `color: ${levelColor};`)
}
Expand Down

0 comments on commit f230d9c

Please sign in to comment.