forked from clj-commons/cljss
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
(ns cljss.specs | ||
(:require [clojure.spec.alpha :as s])) | ||
|
||
(s/def ::defstyled-args | ||
(s/cat :var symbol? :tag keyword? :styles map?)) | ||
|
||
(s/fdef cljss.core/defstyles | ||
:args (s/cat :var symbol? :args vector? :styles map?) | ||
:ret any?) | ||
|
||
(s/fdef cljss.rum/defstyled | ||
:args ::defstyled-args | ||
:ret any?) | ||
|
||
(s/fdef cljss.prum/defstyled | ||
:args ::defstyled-args | ||
:ret any?) | ||
|
||
(s/fdef cljss.reagent/defstyled | ||
:args ::defstyled-args | ||
:ret any?) | ||
|
||
(s/fdef cljss.om/defstyled | ||
:args ::defstyled-args | ||
:ret any?) | ||
|
||
(s/fdef cljss.core/defkeyframes | ||
:args (s/cat :var symbol? :args vector? :keyframes map?) | ||
:ret any?) | ||
|
||
(s/fdef cljss.core/font-face | ||
:args (s/cat :descriptors map?) | ||
:ret any?) | ||
|
||
(s/fdef cljss.core/inject-global | ||
:args (s/cat :styles map?) | ||
:ret any?) |