                        (navigate "Journal"))
             bg (get-in c/colors [:list-bg @theme])
             text-bg (get-in c/colors [:text-bg @theme])
-            text-color (get-in c/colors [:text @theme])
-            header-color (get-in c/colors [:header-text @theme])]
-        ;(swap! local2 assoc :navigate navigate)
+            text-color (get-in c/colors [:text @theme])]
         [view {:style {:display        "flex"
                        :flex-direction "column"
                        :padding-top    50}}


(def local (r/atom {:md ""}))

(defn header [save-fn cancel-fn label]
  (let [theme (subscribe [:active-theme])]
    (fn [save-fn cancel-fn]
      (let [button-bg (get-in c/colors [:button-bg @theme])
            btn-text (get-in c/colors [:btn-text @theme])
            header-color (get-in c/colors [:header-text @theme])]

(defn editor [_]
  (let [theme (subscribe [:active-theme])]
    (fn [{:keys [screenProps navigation] :as props}]
      (let [{:keys [navigate]} (js->clj navigation :keywordize-keys true)
            cancel-fn (fn []
                        (.dismiss keyboard)
                        (navigate "Journal"))
