diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/data/format/css/query.lux | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/stdlib/source/library/lux/data/format/css/query.lux b/stdlib/source/library/lux/data/format/css/query.lux index 3e40701eb..115aeaf97 100644 --- a/stdlib/source/library/lux/data/format/css/query.lux +++ b/stdlib/source/library/lux/data/format/css/query.lux @@ -16,13 +16,13 @@ ["." // #_ ["#." value (#+ Value Length Count Resolution Ratio Orientation Scan Boolean Update - Block-Overflow Inline-Overflow - Display-Mode Color-Gamut Inverted-Colors + Block_Overflow Inline_Overflow + Display_Mode Color_Gamut Inverted_Colors Pointer Hover - Light Scripting Motion Color-Scheme)]]) + Light Scripting Motion Color_Scheme)]]) -(syntax: (text-identifier {identifier s.text}) - (wrap (list (code.local-identifier identifier)))) +(syntax: (text_identifier {identifier s.text}) + (in (list (code.local_identifier (text.replace_all "-" "_" identifier))))) (abstract: #export Media Text @@ -32,7 +32,7 @@ (|>> :representation)) (template [<media>] - [(`` (def: #export (~~ (text-identifier <media>)) + [(`` (def: #export (~~ (text_identifier <media>)) Media (:abstraction <media>)))] @@ -50,7 +50,7 @@ (|>> :representation)) (template [<feature> <brand>] - [(`` (def: #export ((~~ (text-identifier <feature>)) input) + [(`` (def: #export ((~~ (text_identifier <feature>)) input) (-> (Value <brand>) Feature) (:abstraction (format "(" <feature> ": " (//value.value input) ")"))))] @@ -82,15 +82,15 @@ ["max-aspect-ratio" Ratio] ["min-aspect-ratio" Ratio] - ["display-mode" Display-Mode] - ["color-gamut" Color-Gamut] + ["display-mode" Display_Mode] + ["color-gamut" Color_Gamut] ["grid" Boolean] ["orientation" Orientation] - ["overflow-block" Block-Overflow] - ["overflow-inline" Inline-Overflow] + ["overflow-block" Block_Overflow] + ["overflow-inline" Inline_Overflow] ["scan" Scan] ["update" Update] - ["inverted-colors" Inverted-Colors] + ["inverted-colors" Inverted_Colors] ["pointer" Pointer] ["any-pointer" Pointer] ["hover" Hover] @@ -98,7 +98,7 @@ ["light-level" Light] ["scripting" Scripting] ["prefers-reduced-motion" Motion] - ["prefers-color-scheme" Color-Scheme] + ["prefers-color-scheme" Color_Scheme] ) ) |