diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/data/format/css/value.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/data/format/css/value.lux b/stdlib/source/lux/data/format/css/value.lux index 558bf2fcb..4b3f3b1ba 100644 --- a/stdlib/source/lux/data/format/css/value.lux +++ b/stdlib/source/lux/data/format/css/value.lux @@ -8,7 +8,7 @@ ["." product] ["." maybe] [number - ["." nat] + ["n" nat] ["i" int] ["r" rev] ["f" frac]] @@ -952,7 +952,7 @@ (def: #export (degree value) (-> Nat Angle) - (:abstraction (format (%.nat (n/% ..degree-limit value)) "deg"))) + (:abstraction (format (%.nat (n.% ..degree-limit value)) "deg"))) (template [<degree> <name>] [(def: #export <name> Angle (..degree <degree>))] @@ -989,7 +989,7 @@ (def: #export (%% value) (-> Nat Percentage) - (:abstraction (format (%.nat (n/% percentage-limit value)) "%"))) + (:abstraction (format (%.nat (n.% percentage-limit value)) "%"))) (def: #export slice-percent/1 (-> Percentage (Value Slice)) @@ -1008,7 +1008,7 @@ (~~ (template.splice <function>+))))] - [Nat (<| (:representation Value) ..px nat.frac) + [Nat (<| (:representation Value) ..px n.frac) [[blur "blur"]]] [Nat (<| ..angle ..degree) [[hue-rotate "hue-rotate"]]] |