aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/web/css/font.lux
blob: 61494de3dac372b3403d70615e24543984800552 (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
27
... This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
... If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

(.require
 [library
  [lux (.except #source)
   [meta
    [code
     ["s" \\parser]]]
   [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)]))