2016-03-23 19:05:42 +00:00
|
|
|
(ns syng-im.constants)
|
|
|
|
|
|
|
|
(def ethereum-rpc-url "http://localhost:8545")
|
|
|
|
|
2016-04-08 09:17:10 +00:00
|
|
|
(def server-address "http://rpc0.syng.im:20000/")
|
|
|
|
;; (def server-address "http://10.0.3.2:3000/")
|
2016-03-28 12:14:57 +00:00
|
|
|
|
|
|
|
(def text-content-type "text/plain")
|
2016-04-04 15:19:52 +00:00
|
|
|
(def content-type-command "command")
|
2016-04-06 13:40:31 +00:00
|
|
|
(def content-type-command-request "command-request")
|
2016-04-22 10:51:14 +00:00
|
|
|
(def content-type-status "status")
|
2016-04-06 13:13:31 +00:00
|
|
|
(def group-chat-colors [{:background "#AB7967", :text "#FFFFFF"}
|
|
|
|
{:background "#B48EAD", :text "#FFFFFF"}
|
|
|
|
{:background "#8FA1B3", :text "#FFFFFF"}
|
|
|
|
{:background "#96B5B4", :text "#FFFFFF"}
|
|
|
|
{:background "#A3BE8C", :text "#FFFFFF"}
|
|
|
|
{:background "#EBCB8B", :text "#FFFFFF"}
|
|
|
|
{:background "#D08770", :text "#FFFFFF"}
|
|
|
|
{:background "#BF616A", :text "#FFFFFF"}
|
|
|
|
{:background "#EFF1F5", :text "#000000"}
|
|
|
|
{:background "#DFE1E8", :text "#000000"}
|
|
|
|
{:background "#C0C5CE", :text "#000000"}
|
|
|
|
{:background "#A7ADBA", :text "#000000"}
|
|
|
|
{:background "#65737E", :text "#FFFFFF"}
|
|
|
|
{:background "#4F5B66", :text "#FFFFFF"}
|
|
|
|
{:background "#343D46", :text "#FFFFFF"}
|
|
|
|
{:background "#2B303B", :text "#FFFFFF"}])
|
|
|
|
|
|
|
|
(comment
|
|
|
|
|
|
|
|
(map (fn [c]
|
|
|
|
{:background c
|
|
|
|
:foreground c}) group-chat-colors)
|
|
|
|
(reverse group-chat-colors)
|
|
|
|
|
|
|
|
)
|