aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/data/format/css/font.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/data/format/css/font.lux')
-rw-r--r--stdlib/source/library/lux/data/format/css/font.lux26
1 files changed, 26 insertions, 0 deletions
diff --git a/stdlib/source/library/lux/data/format/css/font.lux b/stdlib/source/library/lux/data/format/css/font.lux
new file mode 100644
index 000000000..c153ec0b8
--- /dev/null
+++ b/stdlib/source/library/lux/data/format/css/font.lux
@@ -0,0 +1,26 @@
+(.module:
+ [library
+ [lux #*
+ [type
+ abstract]
+ [control
+ [parser
+ ["s" code]]]
+ ["." macro
+ [syntax (#+ syntax:)]]
+ [world
+ [net (#+ URL)]]]]
+ ["." // #_
+ ["#." value (#+ Value Font-Stretch Font-Style Font-Weight)]])
+
+(type: #export Unicode-Range
+ {#start Nat
+ #end Nat})
+
+(type: #export Font
+ {#family Text
+ #source URL
+ #stretch (Maybe (Value Font-Stretch))
+ #style (Maybe (Value Font-Style))
+ #weight (Maybe (Value Font-Weight))
+ #unicode-range (Maybe Unicode-Range)})