(ns schema.common (:require [schema.registry :as registry])) (def ^:private ?theme [:enum :light :dark]) (def ^:private ?customization-color [:or :string :keyword]) (defn register-schemas [] (registry/register ::theme ?theme) (registry/register ::customization-color ?customization-color))