aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/data/format/css/value.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/data/format/css/value.lux')
-rw-r--r--stdlib/source/library/lux/data/format/css/value.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/data/format/css/value.lux b/stdlib/source/library/lux/data/format/css/value.lux
index 3845d2cb6..4675c0385 100644
--- a/stdlib/source/library/lux/data/format/css/value.lux
+++ b/stdlib/source/library/lux/data/format/css/value.lux
@@ -918,7 +918,7 @@
(def (with_hint [hint stop])
(-> [(Maybe Hint) Stop] Text)
- (case hint
+ (when hint
{.#None}
(representation Stop stop)
@@ -1073,7 +1073,7 @@
Stop (List/1 [(Maybe Hint) Stop])
(Value Image))
(let [after_extent (format "at " (representation location))
- with_extent (case extent
+ with_extent (when extent
{.#Some extent}
(format (..extent extent) " " after_extent)
@@ -1155,7 +1155,7 @@
(def .public (font_family options)
(-> (List Font) (Value Font))
- (case options
+ (when options
{.#Item _}
(|> options
(list#each ..font_name)