diff options
Diffstat (limited to 'stdlib/source/library/lux/data/format/css/style.lux')
-rw-r--r-- | stdlib/source/library/lux/data/format/css/style.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/data/format/css/style.lux b/stdlib/source/library/lux/data/format/css/style.lux index 8ec6a207f..42c7d07cb 100644 --- a/stdlib/source/library/lux/data/format/css/style.lux +++ b/stdlib/source/library/lux/data/format/css/style.lux @@ -7,7 +7,7 @@ [collection ["[0]" list ("[1]#[0]" mix)]]] [type - abstract]]] + [abstract {"-" pattern}]]]] ["[0]" // "_" ["[1][0]" value {"+" Value}] ["[1][0]" property {"+" Property}]]) @@ -17,19 +17,19 @@ (def: .public empty Style - (:abstraction "")) + (abstraction "")) (def: .public (with [property value]) (All (_ brand) (-> [(Property brand) (Value brand)] (-> Style Style))) - (|>> :representation + (|>> representation (format (//property.name property) ": " (//value.value value) ";") - :abstraction)) + abstraction)) (def: .public inline (-> Style Text) - (|>> :representation)) + (|>> representation)) (def: .public (style config) (-> (List (Ex (_ brand) [(Property brand) (Value brand)])) |