mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Cleanup
This commit is contained in:
@@ -69,7 +69,7 @@
|
|||||||
|
|
||||||
(defn toggle-active-theme-id
|
(defn toggle-active-theme-id
|
||||||
"Toggle a `theme-id` by checking `:token-active-themes`.
|
"Toggle a `theme-id` by checking `:token-active-themes`.
|
||||||
De-activate all theme-ids that have the same group as `theme-id` when activating `theme-id`.
|
Deactivate all theme-ids that have the same group as `theme-id` when activating `theme-id`.
|
||||||
Ensures that the temporary theme id is selected when the resulting set is empty."
|
Ensures that the temporary theme id is selected when the resulting set is empty."
|
||||||
[theme-id state]
|
[theme-id state]
|
||||||
(let [temp-theme-id-set (some->> (get-temp-theme-id state) (conj #{}))
|
(let [temp-theme-id-set (some->> (get-temp-theme-id state) (conj #{}))
|
||||||
|
|||||||
Reference in New Issue
Block a user