Skip to content

Commit

Permalink
Hopefully, fixed the Cljdoc problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
green-coder committed Jun 4, 2022
1 parent 34f8cab commit 4870d58
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/girouette/src/girouette/tw/common.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
For example:
.space-y-2 uses this selector to add space between elements"
#garden.selectors.CSSSelector{:selector "&>:not([hidden])~:not([hidden])"})
(garden.selectors.CSSSelector. {:selector "&>:not([hidden])~:not([hidden])"}))


(defn outer-state-variants-transform [rule props]
Expand Down
12 changes: 6 additions & 6 deletions lib/girouette/test/girouette/tw/border_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -80,28 +80,28 @@

;; Divide Width
"divide-x"
[".divide-x" [#garden.selectors.CSSSelector{:selector "&>:not([hidden])~:not([hidden])"}
[".divide-x" [(garden.selectors.CSSSelector. {:selector "&>:not([hidden])~:not([hidden])"})
{:--gi-divide-x-reverse 0
:border-right-width "calc(1px * calc(1 - var(--gi-divide-x-reverse)))"
:border-left-width "calc(1px * var(--gi-divide-x-reverse))"}]]

"divide-y-2"
[".divide-y-2" [#garden.selectors.CSSSelector{:selector "&>:not([hidden])~:not([hidden])"}
[".divide-y-2" [(garden.selectors.CSSSelector. {:selector "&>:not([hidden])~:not([hidden])"})
{:--gi-divide-y-reverse 0
:border-top-width "calc(2px * calc(1 - var(--gi-divide-y-reverse)))"
:border-bottom-width "calc(2px * var(--gi-divide-y-reverse))"}]]

"divide-y-reverse"
[".divide-y-reverse" [#garden.selectors.CSSSelector{:selector "&>:not([hidden])~:not([hidden])"}
[".divide-y-reverse" [(garden.selectors.CSSSelector. {:selector "&>:not([hidden])~:not([hidden])"})
{:--gi-divide-y-reverse 1}]]

;; Divide Color
"divide-current"
[".divide-current" [#garden.selectors.CSSSelector{:selector "&>:not([hidden])~:not([hidden])"}
[".divide-current" [(garden.selectors.CSSSelector. {:selector "&>:not([hidden])~:not([hidden])"})
{:border-color "currentColor"}]]

"divide-gray-100"
[".divide-gray-100" [#garden.selectors.CSSSelector{:selector "&>:not([hidden])~:not([hidden])"}
[".divide-gray-100" [(garden.selectors.CSSSelector. {:selector "&>:not([hidden])~:not([hidden])"})
{:--gi-divide-opacity 1
:border-color "rgba(243,244,246,var(--gi-divide-opacity))"}]]

Expand All @@ -111,7 +111,7 @@

;; Divide Style
"divide-double"
[".divide-double" [#garden.selectors.CSSSelector{:selector "&>:not([hidden])~:not([hidden])"}
[".divide-double" [(garden.selectors.CSSSelector. {:selector "&>:not([hidden])~:not([hidden])"})
{:border-style "double"}]]

;; Outline width
Expand Down
8 changes: 4 additions & 4 deletions lib/girouette/test/girouette/tw/spacing_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@
:margin-right "-0.5rem"}]

"space-x-2"
[".space-x-2" [#garden.selectors.CSSSelector{:selector "&>:not([hidden])~:not([hidden])"} {:margin-left "0.5rem"}]]
[".space-x-2" [(garden.selectors.CSSSelector. {:selector "&>:not([hidden])~:not([hidden])"}) {:margin-left "0.5rem"}]]

"space-y-2"
[".space-y-2" [#garden.selectors.CSSSelector{:selector "&>:not([hidden])~:not([hidden])"} {:margin-top "0.5rem"}]]
[".space-y-2" [(garden.selectors.CSSSelector. {:selector "&>:not([hidden])~:not([hidden])"}) {:margin-top "0.5rem"}]]

"space-x-2-reverse"
[".space-x-2-reverse" [#garden.selectors.CSSSelector{:selector "&>:not([hidden])~:not([hidden])"} {:margin-right "0.5rem"}]]
[".space-x-2-reverse" [(garden.selectors.CSSSelector. {:selector "&>:not([hidden])~:not([hidden])"}) {:margin-right "0.5rem"}]]

"space-y-2-reverse"
[".space-y-2-reverse" [#garden.selectors.CSSSelector{:selector "&>:not([hidden])~:not([hidden])"} {:margin-bottom "0.5rem"}]]))
[".space-y-2-reverse" [(garden.selectors.CSSSelector. {:selector "&>:not([hidden])~:not([hidden])"}) {:margin-bottom "0.5rem"}]]))

0 comments on commit 4870d58

Please sign in to comment.