Skip to content

Commit

Permalink
remove all log color. works better with dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
thheller committed Nov 28, 2019
1 parent bf19a8b commit 66217b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/shadow/cljs/devtools/client/browser.cljs
Expand Up @@ -23,7 +23,7 @@

(defn devtools-msg [msg & args]
(if (seq env/log-style)
(js/console.log.apply js/console (into-array (into [(str "%c\uD83D\uDCAB shadow-cljs: " msg) env/log-style] args)))
(js/console.log.apply js/console (into-array (into [(str "%c\uD83E\uDC36 shadow-cljs: " msg) env/log-style] args)))
(js/console.log.apply js/console (into-array (into [(str "shadow-cljs: " msg)] args)))))

(defn ws-msg [msg]
Expand Down
2 changes: 1 addition & 1 deletion src/main/shadow/cljs/devtools/client/env.cljs
Expand Up @@ -35,7 +35,7 @@

(goog-define ignore-warnings false)

(goog-define log-style "font-weight: bold; color: #3390ff;")
(goog-define log-style "font-weight: bold;")

(defn devtools-info []
#js {:server-port server-port
Expand Down

0 comments on commit 66217b0

Please sign in to comment.