aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/data/format/css/font.lux
blob: 3c06ac1292f23ba70e0f73c681401ae3c8020143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
(.using
 [library
  [lux (.except)
   [type
    abstract]
   [control
    [parser
     ["s" code]]]
   [world
    [net (.only URL)]]]]
 ["[0]" //
  ["[1][0]" value (.only Value Font_Stretch Font_Style Font_Weight)]])

(type: .public Unicode_Range
  (Record
   [#start Nat
    #end Nat]))

(type: .public Font
  (Record
   [#family Text
    #source URL
    #stretch (Maybe (Value Font_Stretch))
    #style (Maybe (Value Font_Style))
    #weight (Maybe (Value Font_Weight))
    #unicode_range (Maybe Unicode_Range)]))