diff options
Diffstat (limited to 'stdlib/source/lux/data/format/css/property.lux')
-rw-r--r-- | stdlib/source/lux/data/format/css/property.lux | 127 |
1 files changed, 109 insertions, 18 deletions
diff --git a/stdlib/source/lux/data/format/css/property.lux b/stdlib/source/lux/data/format/css/property.lux index b6a97cea4..8282b6528 100644 --- a/stdlib/source/lux/data/format/css/property.lux +++ b/stdlib/source/lux/data/format/css/property.lux @@ -1,25 +1,20 @@ (.module: [lux (#- All Cursor) [data - ["." color (#+ Color)] - ["." number] - ["." text - format] - [collection - ["." list ("list/." Functor<List> Monoid<List>)]]] + [color (#+ Color)]] [type abstract] - ["." macro + [macro + ["." template] ["." code] - ["s" syntax (#+ syntax:)]] - [world - [net (#+ URL)]]] + ["s" syntax (#+ syntax:)]]] [// [value (#+ All + Number Length Thickness Time Location Area Slice - Alignment Direction + Alignment Animation-Direction Animation Animation-Fill Column-Fill Column-Span Iteration Count @@ -28,10 +23,17 @@ Blend Span Image Angle Repeat Border Collapse Break Caption - Clear + Float Clear Content Cursor - Shadow Clip)]]) + Shadow Clip + Text-Direction + Display Empty + Filter + Flex-Direction Flex-Wrap + Font Font-Kerning Font-Size Font-Variant + Grid Grid-Content Grid-Flow Grid-Span Grid-Template + Hanging-Punctuation Hyphens)]]) (syntax: (text-identifier {identifier s.text}) (wrap (list (code.local-identifier identifier)))) @@ -51,9 +53,9 @@ (Property <brand>) (:abstraction <property>))] - (~~ (macro.multi <alias>+)))) + (~~ (template.splice <alias>+)))) - (with-expansions [<rows> (macro.multi <property>+)] + (with-expansions [<rows> (template.splice <property>+)] (do-template [<property>] [(`` (def: #export (~~ (text-identifier <property>)) (Property <brand>) @@ -71,7 +73,12 @@ ["border-image-width"] ["bottom"] ["column-gap"] - ["column-width"]]] + ["column-width"] + ["flex-basis"] + ["grid-column-gap"] + ["grid-gap"] + ["grid-row-gap"] + ["height"]]] [Time [] @@ -99,7 +106,7 @@ ["align-items"] ["align-self"]]] - [Direction + [Animation-Direction [] [["animation-direction"]]] @@ -125,7 +132,9 @@ [Count [] - [["column-count"]]] + [["column-count"] + ["flex-grow"] + ["flex-shrink"]]] [Play [] @@ -227,5 +236,87 @@ [Cursor [] [["cursor"]]] + + [Text-Direction + [[text-direction "direction"]] + []] + + [Display + [] + [["display"]]] + + [Empty + [] + [["empty-cells"]]] + + [Filter + [] + [["filter"]]] + + [Flex-Direction + [] + [["flex-direction"]]] + + [Flex-Wrap + [] + [["flex-wrap"]]] + + [Float + [] + [["float"]]] + + [Font + [] + [["font-family"]]] + + [Font-Kerning + [] + [["font-kerning"]]] + + [Font-Size + [] + [["font-size"]]] + + [Number + [] + [["font-size-adjust"]]] + + [Font-Variant + [] + [["font-variant"]]] + + [Grid + [] + [["grid-area"]]] + + [Grid-Content + [] + [["grid-auto-columns"] + ["grid-auto-rows"] + ["grid-template-columns"] + ["grid-template-rows"]]] + + [Grid-Flow + [] + [["grid-auto-flow"]]] + + [Grid-Span + [] + [["grid-column-end"] + ["grid-column-start"] + ["grid-row-end"] + ["grid-row-start"]]] + + [Grid-Template + [] + [["grid-template-areas"]]] + + [Hanging-Punctuation + [] + [["hanging-punctuation"]]] + + [Hyphens + [] + [["hyphens"]]] ) ) |