 ;; UI Components
 ;;
 
+(def common-style
+  (css [:h1 {:font-weight "bold"}]))
+
+(defonce style-node
+  (let [node (js/document.createElement "style")]
+    (js/document.head.appendChild node)
+    node))
+
+(aset style-node "innerHTML" style)
+
 (defn app []
   [:section.section>div.container
    [:h1.title

   [reagent.core :as r]
   [posh.reagent :as p]
   [datascript.core :as d]
   ;; -----
   [myproject.utils :as utils :refer [log*]]
   [myproject.client :as client]))

         "!")]
   [:p.subtitle "Let's go!"]])

;;
;; Init
;;

(r/render [app] (js/document.getElementById "app"))

(client/start-router!)
