Remove old cmdk && command palette

This commit is contained in:
Tienson Qin
2023-11-06 14:54:12 +08:00
parent f72afbb22c
commit b91fd4e6c8
34 changed files with 136 additions and 874 deletions

View File

@@ -51,7 +51,7 @@
:journals-length 3
:search/q ""
:search/mode :global ;; inner page or full graph? {:page :global}
:search/mode nil ; nil -> global mode, :graph -> add graph filter, etc.
:search/result nil
:search/graph-filters []
:search/engines {}
@@ -2207,11 +2207,11 @@ Similar to re-frame subscriptions"
(defn cycle-color! []
(let [current-color (get-color-accent)
next-color (->> (cons nil colors/color-list)
(drop-while #(not= % current-color))
next-color (->> (cons nil colors/color-list)
(drop-while #(not= % current-color))
(second))]
(if next-color
(set-color-accent! next-color)
(if next-color
(set-color-accent! next-color)
(unset-color-accent!))))
(defn set-page-properties-changed!