aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/data/format/css/font.lux
blob: 2ed7c0f4dcc6c2e0a1f16fd836a8bba63ea5a024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(.module:
  [lux #*
   [type
    abstract]
   ["." macro
    ["s" 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)})