diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/data/format/css.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/data/format/css.lux b/stdlib/source/lux/data/format/css.lux index aef22816a..31daa7462 100644 --- a/stdlib/source/lux/data/format/css.lux +++ b/stdlib/source/lux/data/format/css.lux @@ -8,7 +8,7 @@ ["%" format (#+ format)] ["." encoding (#+ Encoding)]] [collection - ["." list ("#;." functor)]]] + ["." list ("#\." functor)]]] [type abstract] [world @@ -57,7 +57,7 @@ ["font-style" (|> font (get@ #/font.style) (maybe.default /value.normal-style) /value.value)] ["font-weight" (|> font (get@ #/font.weight) (maybe.default /value.normal-weight) /value.value)] with-unicode) - (list;map (function (_ [property value]) + (list\map (function (_ [property value]) (format property ": " value ";"))) (text.join-with /style.separator) (text.enclose ["{" "}"]) @@ -85,7 +85,7 @@ (-> (Value Animation) (List Frame) (CSS Special)) (:abstraction (format "@keyframes " (/value.value animation) " {" (|> frames - (list;map (function (_ frame) + (list\map (function (_ frame) (format (/value.percentage (get@ #when frame)) " {" (/style.inline (get@ #what frame)) "}"))) @@ -105,7 +105,7 @@ (|> css :representation (text.split-all-with ..css-separator) - (list;map (|>> (format (/selector.selector (|> selector (combinator (/selector.tag ""))))))) + (list\map (|>> (format (/selector.selector (|> selector (combinator (/selector.tag ""))))))) (text.join-with ..css-separator) :abstraction)) |