0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-26 00:36:12 -05:00
penpot/frontend/src/features.cljs
2023-04-27 12:26:26 +02:00

21 lines
642 B
Clojure

;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) KALEIDOS INC
;; This namespace is only to export the functions for toggle features
(ns features
(:require
[app.main.features :as features]))
(defn ^:export components-v2 []
(features/toggle-feature! :components-v2)
nil)
(defn ^:export is-components-v2 []
(let [active? (features/active-feature :components-v2)]
@active?))
(defn ^:export new-css-system []
(features/toggle-feature! :new-css-system))