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.lux14
1 files changed, 7 insertions, 7 deletions
diff --git a/stdlib/source/library/lux/data/format/css/value.lux b/stdlib/source/library/lux/data/format/css/value.lux
index 25b09fb71..ba082cb05 100644
--- a/stdlib/source/library/lux/data/format/css/value.lux
+++ b/stdlib/source/library/lux/data/format/css/value.lux
@@ -827,7 +827,7 @@
(def: .public (rgba pigment)
(-> color.Pigment (Value Color))
- (let [(^slots [#color.color #color.alpha]) pigment
+ (let [(^slots [color.#color color.#alpha]) pigment
[red green blue] (color.rgb color)]
(..apply "rgba" (list (%.nat red)
(%.nat green)
@@ -919,10 +919,10 @@
(def: (with_hint [hint stop])
(-> [(Maybe Hint) Stop] Text)
(case hint
- #.None
+ {.#None}
(:representation Stop stop)
- {#.Some hint}
+ {.#Some hint}
(format (:representation Hint hint) ..value_separator (:representation Stop stop))))))
(type: .public (List/1 a)
@@ -1078,10 +1078,10 @@
(Value Image))
(let [after_extent (format "at " (:representation location))
with_extent (case extent
- {#.Some extent}
+ {.#Some extent}
(format (..extent extent) " " after_extent)
- #.None
+ {.#None}
after_extent)
where (format (..shape shape) " " with_extent)
[now after] next]
@@ -1158,13 +1158,13 @@
(def: .public (font_family options)
(-> (List Font) (Value Font))
(case options
- {#.Item _}
+ {.#Item _}
(|> options
(list\each ..font_name)
(text.interposed ",")
(:abstraction Value))
- #.End
+ {.#End}
..initial))])
(def: .public font_size