diff options
Diffstat (limited to 'stdlib/source/library/lux/data/format/css.lux')
-rw-r--r-- | stdlib/source/library/lux/data/format/css.lux | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/stdlib/source/library/lux/data/format/css.lux b/stdlib/source/library/lux/data/format/css.lux index 75013483b..3bb1f1da5 100644 --- a/stdlib/source/library/lux/data/format/css.lux +++ b/stdlib/source/library/lux/data/format/css.lux @@ -105,11 +105,12 @@ (text.interposed ..separator)) "}"))) - (template: (!composite <pre> <post>) - [(abstraction - (format (representation <pre>) - ..separator - (representation <post>)))]) + (def: !composite + (template (!composite <pre> <post>) + [(abstraction + (format (representation <pre>) + ..separator + (representation <post>)))])) (def: .public (and pre post) (All (_ kind) (-> (CSS kind) (CSS kind) (CSS kind))) @@ -132,7 +133,7 @@ (!composite (..rule selector style) (..in_context combinator selector inner))) - (template [<name> <combinator>] + (with_template [<name> <combinator>] [(def: .public <name> (-> (Selector Any) Style (CSS Common) (CSS Common)) (..dependent <combinator>))] @@ -160,7 +161,7 @@ (!composite (..rule selector style) (..in_case combinator selector inner))) - (template [<name> <combinator>] + (with_template [<name> <combinator>] [(def: .public <name> (-> (Selector (Generic Any)) Style (CSS Common) (CSS Common)) (..specialized <combinator>))] |