summaryrefslogtreecommitdiff
path: root/misc/dist/inter-ui.css
blob: d098a8af17555862a4353581a1f63b9780c6a83f (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
@font-face {
  font-family: 'Inter UI';
  font-style:  normal;
  font-weight: 400;
  src: url('Inter-UI.var.woff2') format("woff2-variations"),
       url("Inter-UI-Regular.woff2") format("woff2"),
       url("Inter-UI-Regular.woff") format("woff");
}
@font-face {
  font-family: 'Inter UI';
  font-style:  italic;
  font-weight: 400;
  src: url('Inter-UI.var.woff2') format("woff2-variations"),
       url("Inter-UI-Italic.woff2") format("woff2"),
       url("Inter-UI-Italic.woff") format("woff");
}

@font-face {
  font-family: 'Inter UI';
  font-style:  normal;
  font-weight: 500;
  src: url('Inter-UI.var.woff2') format("woff2-variations"),
       url("Inter-UI-Medium.woff2") format("woff2"),
       url("Inter-UI-Medium.woff") format("woff");
}
@font-face {
  font-family: 'Inter UI';
  font-style:  italic;
  font-weight: 500;
  src: url('Inter-UI.var.woff2') format("woff2-variations"),
       url("Inter-UI-MediumItalic.woff2") format("woff2"),
       url("Inter-UI-MediumItalic.woff") format("woff");
}

@font-face {
  font-family: 'Inter UI';
  font-style:  normal;
  font-weight: 700;
  src: url('Inter-UI.var.woff2') format("woff2-variations"),
       url("Inter-UI-Bold.woff2") format("woff2"),
       url("Inter-UI-Bold.woff") format("woff");
}
@font-face {
  font-family: 'Inter UI';
  font-style:  italic;
  font-weight: 700;
  src: url('Inter-UI.var.woff2') format("woff2-variations"),
       url("Inter-UI-BoldItalic.woff2") format("woff2"),
       url("Inter-UI-BoldItalic.woff") format("woff");
}

@font-face {
  font-family: 'Inter UI';
  font-style:  normal;
  font-weight: 900;
  src: url('Inter-UI.var.woff2') format("woff2-variations"),
       url("Inter-UI-Black.woff2") format("woff2"),
       url("Inter-UI-Black.woff") format("woff");
}
@font-face {
  font-family: 'Inter UI';
  font-style:  italic;
  font-weight: 900;
  src: url('Inter-UI.var.woff2') format("woff2-variations"),
       url("Inter-UI-BlackItalic.woff2") format("woff2"),
       url("Inter-UI-BlackItalic.woff") format("woff");
}

/*
Single variable font.
Note that you may want to do something like this to make sure you're serving
constant fonts to older browsers:

html {
  font-family: 'Inter UI', sans-serif;
}
@supports (font-variation-settings: normal) {
  html {
    font-family: 'Inter UI var', sans-serif;
  }
}

*/
@font-face {
  font-family: 'Inter UI var';
  font-weight: 400 900; /* safe weight range */
  src: url('Inter-UI.var.woff2') format("woff2-variations"),
       url('Inter-UI.var.woff2') format("woff2");
}