@gov-design-system-ce/fonts 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_roboto.less +197 -0
- package/lib/_roboto.scss +257 -0
- package/lib/roboto-bold-ext.woff2 +0 -0
- package/lib/roboto-bold-italic-ext.woff2 +0 -0
- package/lib/roboto-bold-italic.woff2 +0 -0
- package/lib/roboto-bold.woff2 +0 -0
- package/lib/roboto-italic-ext.woff2 +0 -0
- package/lib/roboto-italic.woff2 +0 -0
- package/lib/roboto-light-ext.woff2 +0 -0
- package/lib/roboto-light-italic-ext.woff2 +0 -0
- package/lib/roboto-light-italic.woff2 +0 -0
- package/lib/roboto-light.woff2 +0 -0
- package/lib/roboto-medium-ext.woff2 +0 -0
- package/lib/roboto-medium-italic-ext.woff2 +0 -0
- package/lib/roboto-medium-italic.woff2 +0 -0
- package/lib/roboto-medium.woff2 +0 -0
- package/lib/roboto-regular-ext.woff2 +0 -0
- package/lib/roboto-regular.woff2 +0 -0
- package/lib/roboto-thin-ext.woff2 +0 -0
- package/lib/roboto-thin-italic-ext.woff2 +0 -0
- package/lib/roboto-thin-italic.woff2 +0 -0
- package/lib/roboto-thin.woff2 +0 -0
- package/lib/roboto.css +195 -0
- package/package.json +24 -0
- package/readme.md +86 -0
package/lib/_roboto.less
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
@gov-font-path: "..";
|
|
2
|
+
@gov-font-display: auto;
|
|
3
|
+
/* latin-ext */
|
|
4
|
+
@font-face {
|
|
5
|
+
font-family: Roboto;
|
|
6
|
+
font-weight: 100;
|
|
7
|
+
font-style: italic;
|
|
8
|
+
font-display: @gov-font-display;
|
|
9
|
+
src: local("Roboto Thin Italic"), local("Roboto-ThinItalic"), url("@{gov-font-path}/roboto-thin-italic-ext.woff2?v=@{$version}") format("woff2");
|
|
10
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
11
|
+
}
|
|
12
|
+
/* latin */
|
|
13
|
+
@font-face {
|
|
14
|
+
font-family: Roboto;
|
|
15
|
+
font-weight: 100;
|
|
16
|
+
font-style: italic;
|
|
17
|
+
font-display: @gov-font-display;
|
|
18
|
+
src: local("Roboto Thin Italic"), local("Roboto-ThinItalic"), url("@{gov-font-path}/roboto-thin-italic.woff2?v=@{$version}") format("woff2");
|
|
19
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
20
|
+
U+FEFF, U+FFFD;
|
|
21
|
+
}
|
|
22
|
+
/* latin-ext */
|
|
23
|
+
@font-face {
|
|
24
|
+
font-family: Roboto;
|
|
25
|
+
font-weight: 300;
|
|
26
|
+
font-style: italic;
|
|
27
|
+
font-display: @gov-font-display;
|
|
28
|
+
src: local("Roboto Light Italic"), local("Roboto-LightItalic"), url("@{gov-font-path}/roboto-light-italic-ext.woff2?v=@{$version}") format("woff2");
|
|
29
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
30
|
+
}
|
|
31
|
+
/* latin */
|
|
32
|
+
@font-face {
|
|
33
|
+
font-family: Roboto;
|
|
34
|
+
font-weight: 300;
|
|
35
|
+
font-style: italic;
|
|
36
|
+
font-display: @gov-font-display;
|
|
37
|
+
src: local("Roboto Light Italic"), local("Roboto-LightItalic"), url("@{gov-font-path}/roboto-light-italic.woff2?v=@{$version}") format("woff2");
|
|
38
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
39
|
+
U+FEFF, U+FFFD;
|
|
40
|
+
}
|
|
41
|
+
/* latin-ext */
|
|
42
|
+
@font-face {
|
|
43
|
+
font-family: Roboto;
|
|
44
|
+
font-weight: 400;
|
|
45
|
+
font-style: italic;
|
|
46
|
+
font-display: @gov-font-display;
|
|
47
|
+
src: local("Roboto Italic"), local("Roboto-Italic"), url("@{gov-font-path}/roboto-italic-ext.woff2?v=@{$version}") format("woff2");
|
|
48
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
49
|
+
}
|
|
50
|
+
/* latin */
|
|
51
|
+
@font-face {
|
|
52
|
+
font-family: Roboto;
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
font-style: italic;
|
|
55
|
+
font-display: @gov-font-display;
|
|
56
|
+
src: local("Roboto Italic"), local("Roboto-Italic"), url("@{gov-font-path}/roboto-italic.woff2?v=@{$version}") format("woff2");
|
|
57
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
58
|
+
U+FEFF, U+FFFD;
|
|
59
|
+
}
|
|
60
|
+
/* latin-ext */
|
|
61
|
+
@font-face {
|
|
62
|
+
font-family: Roboto;
|
|
63
|
+
font-weight: 500;
|
|
64
|
+
font-style: italic;
|
|
65
|
+
font-display: @gov-font-display;
|
|
66
|
+
src: local("Roboto Medium Italic"), local("Roboto-MediumItalic"), url("@{gov-font-path}/roboto-medium-italic-ext.woff2?v=@{$version}") format("woff2");
|
|
67
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
68
|
+
}
|
|
69
|
+
/* latin */
|
|
70
|
+
@font-face {
|
|
71
|
+
font-family: Roboto;
|
|
72
|
+
font-weight: 500;
|
|
73
|
+
font-style: italic;
|
|
74
|
+
font-display: @gov-font-display;
|
|
75
|
+
src: local("Roboto Medium Italic"), local("Roboto-MediumItalic"), url("@{gov-font-path}/roboto-medium-italic.woff2?v=@{$version}") format("woff2");
|
|
76
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
77
|
+
U+FEFF, U+FFFD;
|
|
78
|
+
}
|
|
79
|
+
/* latin-ext */
|
|
80
|
+
@font-face {
|
|
81
|
+
font-family: Roboto;
|
|
82
|
+
font-weight: 700;
|
|
83
|
+
font-style: italic;
|
|
84
|
+
font-display: @gov-font-display;
|
|
85
|
+
src: local("Roboto Bold Italic"), local("Roboto-BoldItalic"), url("@{gov-font-path}/roboto-bold-italic-ext.woff2?v=@{$version}") format("woff2");
|
|
86
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
87
|
+
}
|
|
88
|
+
/* latin */
|
|
89
|
+
@font-face {
|
|
90
|
+
font-family: Roboto;
|
|
91
|
+
font-weight: 700;
|
|
92
|
+
font-style: italic;
|
|
93
|
+
font-display: @gov-font-display;
|
|
94
|
+
src: local("Roboto Bold Italic"), local("Roboto-BoldItalic"), url("@{gov-font-path}/roboto-bold-italic.woff2?v=@{$version}") format("woff2");
|
|
95
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
96
|
+
U+FEFF, U+FFFD;
|
|
97
|
+
}
|
|
98
|
+
/* latin-ext */
|
|
99
|
+
@font-face {
|
|
100
|
+
font-family: Roboto;
|
|
101
|
+
font-weight: 100;
|
|
102
|
+
font-style: normal;
|
|
103
|
+
font-display: @gov-font-display;
|
|
104
|
+
src: local("Roboto Thin"), local("Roboto-Thin"), url("@{gov-font-path}/roboto-thin-ext.woff2?v=@{$version}") format("woff2");
|
|
105
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
106
|
+
}
|
|
107
|
+
/* latin */
|
|
108
|
+
@font-face {
|
|
109
|
+
font-family: Roboto;
|
|
110
|
+
font-weight: 100;
|
|
111
|
+
font-style: normal;
|
|
112
|
+
font-display: @gov-font-display;
|
|
113
|
+
src: local("Roboto Thin"), local("Roboto-Thin"), url("@{gov-font-path}/roboto-thin.woff2?v=@{$version}") format("woff2");
|
|
114
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
115
|
+
U+FEFF, U+FFFD;
|
|
116
|
+
}
|
|
117
|
+
/* latin-ext */
|
|
118
|
+
@font-face {
|
|
119
|
+
font-family: Roboto;
|
|
120
|
+
font-weight: 300;
|
|
121
|
+
font-style: normal;
|
|
122
|
+
font-display: @gov-font-display;
|
|
123
|
+
src: local("Roboto Light"), local("Roboto-Light"), url("@{gov-font-path}/roboto-light-ext.woff2?v=@{$version}") format("woff2");
|
|
124
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
125
|
+
}
|
|
126
|
+
/* latin */
|
|
127
|
+
@font-face {
|
|
128
|
+
font-family: Roboto;
|
|
129
|
+
font-weight: 300;
|
|
130
|
+
font-style: normal;
|
|
131
|
+
font-display: @gov-font-display;
|
|
132
|
+
src: local("Roboto Light"), local("Roboto-Light"), url("@{gov-font-path}/roboto-light.woff2?v=@{$version}") format("woff2");
|
|
133
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
134
|
+
U+FEFF, U+FFFD;
|
|
135
|
+
}
|
|
136
|
+
/* latin-ext */
|
|
137
|
+
@font-face {
|
|
138
|
+
font-family: Roboto;
|
|
139
|
+
font-weight: 400;
|
|
140
|
+
font-style: normal;
|
|
141
|
+
font-display: @gov-font-display;
|
|
142
|
+
src: local("Roboto"), local("Roboto-Regular"), url("@{gov-font-path}/roboto-regular-ext.woff2?v=@{$version}") format("woff2");
|
|
143
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
144
|
+
}
|
|
145
|
+
/* latin */
|
|
146
|
+
@font-face {
|
|
147
|
+
font-family: Roboto;
|
|
148
|
+
font-weight: 400;
|
|
149
|
+
font-style: normal;
|
|
150
|
+
font-display: @gov-font-display;
|
|
151
|
+
src: local("Roboto"), local("Roboto-Regular"), url("@{gov-font-path}/roboto-regular.woff2?v=@{$version}") format("woff2");
|
|
152
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
153
|
+
U+FEFF, U+FFFD;
|
|
154
|
+
}
|
|
155
|
+
/* latin-ext */
|
|
156
|
+
@font-face {
|
|
157
|
+
font-family: Roboto;
|
|
158
|
+
font-weight: 500;
|
|
159
|
+
font-style: normal;
|
|
160
|
+
font-display: @gov-font-display;
|
|
161
|
+
src: local("Roboto Medium"), local("Roboto-Medium"), url("@{gov-font-path}/roboto-medium-ext.woff2?v=@{$version}") format("woff2");
|
|
162
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
163
|
+
}
|
|
164
|
+
/* latin */
|
|
165
|
+
@font-face {
|
|
166
|
+
font-family: Roboto;
|
|
167
|
+
font-weight: 500;
|
|
168
|
+
font-style: normal;
|
|
169
|
+
font-display: @gov-font-display;
|
|
170
|
+
src: local("Roboto Medium"), local("Roboto-Medium"), url("@{gov-font-path}/roboto-medium.woff2?v=@{$version}") format("woff2");
|
|
171
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
172
|
+
U+FEFF, U+FFFD;
|
|
173
|
+
}
|
|
174
|
+
/* latin-ext */
|
|
175
|
+
@font-face {
|
|
176
|
+
font-family: Roboto;
|
|
177
|
+
font-weight: 700;
|
|
178
|
+
font-style: normal;
|
|
179
|
+
font-display: @gov-font-display;
|
|
180
|
+
src: local("Roboto Bold"), local("Roboto-Bold"), url("@{gov-font-path}/roboto-bold-ext.woff2?v=@{$version}") format("woff2");
|
|
181
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
182
|
+
}
|
|
183
|
+
/* latin */
|
|
184
|
+
@font-face {
|
|
185
|
+
font-family: Roboto;
|
|
186
|
+
font-weight: 700;
|
|
187
|
+
font-style: normal;
|
|
188
|
+
font-display: @gov-font-display;
|
|
189
|
+
src: local("Roboto Bold"), local("Roboto-Bold"), url("@{gov-font-path}/roboto-bold.woff2?v=@{$version}") format("woff2");
|
|
190
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
191
|
+
U+FEFF, U+FFFD;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
body {
|
|
195
|
+
-moz-osx-font-smoothing: grayscale;
|
|
196
|
+
-webkit-font-smoothing: antialiased;
|
|
197
|
+
}
|
package/lib/_roboto.scss
ADDED
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
$gov-font-path: '..' !default;
|
|
2
|
+
$gov-font-display: auto !default;
|
|
3
|
+
/* latin-ext */
|
|
4
|
+
@font-face {
|
|
5
|
+
font-family: Roboto;
|
|
6
|
+
font-weight: 100;
|
|
7
|
+
font-style: italic;
|
|
8
|
+
font-display: $gov-font-display;
|
|
9
|
+
src: local('Roboto Thin Italic'), local('Roboto-ThinItalic'),
|
|
10
|
+
url('#{$gov-font-path}/roboto-thin-italic-ext.woff2' + '?v=' + $version)
|
|
11
|
+
format('woff2');
|
|
12
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
13
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
14
|
+
}
|
|
15
|
+
/* latin */
|
|
16
|
+
@font-face {
|
|
17
|
+
font-family: Roboto;
|
|
18
|
+
font-weight: 100;
|
|
19
|
+
font-style: italic;
|
|
20
|
+
font-display: $gov-font-display;
|
|
21
|
+
src: local('Roboto Thin Italic'), local('Roboto-ThinItalic'),
|
|
22
|
+
url('#{$gov-font-path}/roboto-thin-italic.woff2' + '?v=' + $version)
|
|
23
|
+
format('woff2');
|
|
24
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
25
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
26
|
+
U+FEFF, U+FFFD;
|
|
27
|
+
}
|
|
28
|
+
/* latin-ext */
|
|
29
|
+
@font-face {
|
|
30
|
+
font-family: Roboto;
|
|
31
|
+
font-weight: 300;
|
|
32
|
+
font-style: italic;
|
|
33
|
+
font-display: $gov-font-display;
|
|
34
|
+
src: local('Roboto Light Italic'), local('Roboto-LightItalic'),
|
|
35
|
+
url('#{$gov-font-path}/roboto-light-italic-ext.woff2' + '?v=' + $version)
|
|
36
|
+
format('woff2');
|
|
37
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
38
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
39
|
+
}
|
|
40
|
+
/* latin */
|
|
41
|
+
@font-face {
|
|
42
|
+
font-family: Roboto;
|
|
43
|
+
font-weight: 300;
|
|
44
|
+
font-style: italic;
|
|
45
|
+
font-display: $gov-font-display;
|
|
46
|
+
src: local('Roboto Light Italic'), local('Roboto-LightItalic'),
|
|
47
|
+
url('#{$gov-font-path}/roboto-light-italic.woff2' + '?v=' + $version)
|
|
48
|
+
format('woff2');
|
|
49
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
50
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
51
|
+
U+FEFF, U+FFFD;
|
|
52
|
+
}
|
|
53
|
+
/* latin-ext */
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: Roboto;
|
|
56
|
+
font-weight: 400;
|
|
57
|
+
font-style: italic;
|
|
58
|
+
font-display: $gov-font-display;
|
|
59
|
+
src: local('Roboto Italic'), local('Roboto-Italic'),
|
|
60
|
+
url('#{$gov-font-path}/roboto-italic-ext.woff2' + '?v=' + $version)
|
|
61
|
+
format('woff2');
|
|
62
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
63
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
64
|
+
}
|
|
65
|
+
/* latin */
|
|
66
|
+
@font-face {
|
|
67
|
+
font-family: Roboto;
|
|
68
|
+
font-weight: 400;
|
|
69
|
+
font-style: italic;
|
|
70
|
+
font-display: $gov-font-display;
|
|
71
|
+
src: local('Roboto Italic'), local('Roboto-Italic'),
|
|
72
|
+
url('#{$gov-font-path}/roboto-italic.woff2' + '?v=' + $version)
|
|
73
|
+
format('woff2');
|
|
74
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
75
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
76
|
+
U+FEFF, U+FFFD;
|
|
77
|
+
}
|
|
78
|
+
/* latin-ext */
|
|
79
|
+
@font-face {
|
|
80
|
+
font-family: Roboto;
|
|
81
|
+
font-weight: 500;
|
|
82
|
+
font-style: italic;
|
|
83
|
+
font-display: $gov-font-display;
|
|
84
|
+
src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'),
|
|
85
|
+
url('#{$gov-font-path}/roboto-medium-italic-ext.woff2' + '?v=' + $version)
|
|
86
|
+
format('woff2');
|
|
87
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
88
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
89
|
+
}
|
|
90
|
+
/* latin */
|
|
91
|
+
@font-face {
|
|
92
|
+
font-family: Roboto;
|
|
93
|
+
font-weight: 500;
|
|
94
|
+
font-style: italic;
|
|
95
|
+
font-display: $gov-font-display;
|
|
96
|
+
src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'),
|
|
97
|
+
url('#{$gov-font-path}/roboto-medium-italic.woff2' + '?v=' + $version)
|
|
98
|
+
format('woff2');
|
|
99
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
100
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
101
|
+
U+FEFF, U+FFFD;
|
|
102
|
+
}
|
|
103
|
+
/* latin-ext */
|
|
104
|
+
@font-face {
|
|
105
|
+
font-family: Roboto;
|
|
106
|
+
font-weight: 700;
|
|
107
|
+
font-style: italic;
|
|
108
|
+
font-display: $gov-font-display;
|
|
109
|
+
src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'),
|
|
110
|
+
url('#{$gov-font-path}/roboto-bold-italic-ext.woff2' + '?v=' + $version)
|
|
111
|
+
format('woff2');
|
|
112
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
113
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
114
|
+
}
|
|
115
|
+
/* latin */
|
|
116
|
+
@font-face {
|
|
117
|
+
font-family: Roboto;
|
|
118
|
+
font-weight: 700;
|
|
119
|
+
font-style: italic;
|
|
120
|
+
font-display: $gov-font-display;
|
|
121
|
+
src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'),
|
|
122
|
+
url('#{$gov-font-path}/roboto-bold-italic.woff2' + '?v=' + $version)
|
|
123
|
+
format('woff2');
|
|
124
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
125
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
126
|
+
U+FEFF, U+FFFD;
|
|
127
|
+
}
|
|
128
|
+
/* latin-ext */
|
|
129
|
+
@font-face {
|
|
130
|
+
font-family: Roboto;
|
|
131
|
+
font-weight: 100;
|
|
132
|
+
font-style: normal;
|
|
133
|
+
font-display: $gov-font-display;
|
|
134
|
+
src: local('Roboto Thin'), local('Roboto-Thin'),
|
|
135
|
+
url('#{$gov-font-path}/roboto-thin-ext.woff2' + '?v=' + $version)
|
|
136
|
+
format('woff2');
|
|
137
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
138
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
139
|
+
}
|
|
140
|
+
/* latin */
|
|
141
|
+
@font-face {
|
|
142
|
+
font-family: Roboto;
|
|
143
|
+
font-weight: 100;
|
|
144
|
+
font-style: normal;
|
|
145
|
+
font-display: $gov-font-display;
|
|
146
|
+
src: local('Roboto Thin'), local('Roboto-Thin'),
|
|
147
|
+
url('#{$gov-font-path}/roboto-thin.woff2' + '?v=' + $version)
|
|
148
|
+
format('woff2');
|
|
149
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
150
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
151
|
+
U+FEFF, U+FFFD;
|
|
152
|
+
}
|
|
153
|
+
/* latin-ext */
|
|
154
|
+
@font-face {
|
|
155
|
+
font-family: Roboto;
|
|
156
|
+
font-weight: 300;
|
|
157
|
+
font-style: normal;
|
|
158
|
+
font-display: $gov-font-display;
|
|
159
|
+
src: local('Roboto Light'), local('Roboto-Light'),
|
|
160
|
+
url('#{$gov-font-path}/roboto-light-ext.woff2' + '?v=' + $version)
|
|
161
|
+
format('woff2');
|
|
162
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
163
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
164
|
+
}
|
|
165
|
+
/* latin */
|
|
166
|
+
@font-face {
|
|
167
|
+
font-family: Roboto;
|
|
168
|
+
font-weight: 300;
|
|
169
|
+
font-style: normal;
|
|
170
|
+
font-display: $gov-font-display;
|
|
171
|
+
src: local('Roboto Light'), local('Roboto-Light'),
|
|
172
|
+
url('#{$gov-font-path}/roboto-light.woff2' + '?v=' + $version)
|
|
173
|
+
format('woff2');
|
|
174
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
175
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
176
|
+
U+FEFF, U+FFFD;
|
|
177
|
+
}
|
|
178
|
+
/* latin-ext */
|
|
179
|
+
@font-face {
|
|
180
|
+
font-family: Roboto;
|
|
181
|
+
font-weight: 400;
|
|
182
|
+
font-style: normal;
|
|
183
|
+
font-display: $gov-font-display;
|
|
184
|
+
src: local('Roboto'), local('Roboto-Regular'),
|
|
185
|
+
url('#{$gov-font-path}/roboto-regular-ext.woff2' + '?v=' + $version)
|
|
186
|
+
format('woff2');
|
|
187
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
188
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
189
|
+
}
|
|
190
|
+
/* latin */
|
|
191
|
+
@font-face {
|
|
192
|
+
font-family: Roboto;
|
|
193
|
+
font-weight: 400;
|
|
194
|
+
font-style: normal;
|
|
195
|
+
font-display: $gov-font-display;
|
|
196
|
+
src: local('Roboto'), local('Roboto-Regular'),
|
|
197
|
+
url('#{$gov-font-path}/roboto-regular.woff2' + '?v=' + $version)
|
|
198
|
+
format('woff2');
|
|
199
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
200
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
201
|
+
U+FEFF, U+FFFD;
|
|
202
|
+
}
|
|
203
|
+
/* latin-ext */
|
|
204
|
+
@font-face {
|
|
205
|
+
font-family: Roboto;
|
|
206
|
+
font-weight: 500;
|
|
207
|
+
font-style: normal;
|
|
208
|
+
font-display: $gov-font-display;
|
|
209
|
+
src: local('Roboto Medium'), local('Roboto-Medium'),
|
|
210
|
+
url('#{$gov-font-path}/roboto-medium-ext.woff2' + '?v=' + $version)
|
|
211
|
+
format('woff2');
|
|
212
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
213
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
214
|
+
}
|
|
215
|
+
/* latin */
|
|
216
|
+
@font-face {
|
|
217
|
+
font-family: Roboto;
|
|
218
|
+
font-weight: 500;
|
|
219
|
+
font-style: normal;
|
|
220
|
+
font-display: $gov-font-display;
|
|
221
|
+
src: local('Roboto Medium'), local('Roboto-Medium'),
|
|
222
|
+
url('#{$gov-font-path}/roboto-medium.woff2' + '?v=' + $version)
|
|
223
|
+
format('woff2');
|
|
224
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
225
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
226
|
+
U+FEFF, U+FFFD;
|
|
227
|
+
}
|
|
228
|
+
/* latin-ext */
|
|
229
|
+
@font-face {
|
|
230
|
+
font-family: Roboto;
|
|
231
|
+
font-weight: 700;
|
|
232
|
+
font-style: normal;
|
|
233
|
+
font-display: $gov-font-display;
|
|
234
|
+
src: local('Roboto Bold'), local('Roboto-Bold'),
|
|
235
|
+
url('#{$gov-font-path}/roboto-bold-ext.woff2' + '?v=' + $version)
|
|
236
|
+
format('woff2');
|
|
237
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
238
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
239
|
+
}
|
|
240
|
+
/* latin */
|
|
241
|
+
@font-face {
|
|
242
|
+
font-family: Roboto;
|
|
243
|
+
font-weight: 700;
|
|
244
|
+
font-style: normal;
|
|
245
|
+
font-display: $gov-font-display;
|
|
246
|
+
src: local('Roboto Bold'), local('Roboto-Bold'),
|
|
247
|
+
url('#{$gov-font-path}/roboto-bold.woff2' + '?v=' + $version)
|
|
248
|
+
format('woff2');
|
|
249
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
250
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
251
|
+
U+FEFF, U+FFFD;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
body {
|
|
255
|
+
-moz-osx-font-smoothing: grayscale;
|
|
256
|
+
-webkit-font-smoothing: antialiased;
|
|
257
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/roboto.css
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
/* latin-ext */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: Roboto;
|
|
4
|
+
font-weight: 100;
|
|
5
|
+
font-style: italic;
|
|
6
|
+
font-display: auto;
|
|
7
|
+
src: local('Roboto Thin Italic'), local('Roboto-ThinItalic'), url('roboto-thin-italic-ext.woff2') format('woff2');
|
|
8
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
9
|
+
}
|
|
10
|
+
/* latin */
|
|
11
|
+
@font-face {
|
|
12
|
+
font-family: Roboto;
|
|
13
|
+
font-weight: 100;
|
|
14
|
+
font-style: italic;
|
|
15
|
+
font-display: auto;
|
|
16
|
+
src: local('Roboto Thin Italic'), local('Roboto-ThinItalic'), url('roboto-thin-italic.woff2') format('woff2');
|
|
17
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
18
|
+
U+FEFF, U+FFFD;
|
|
19
|
+
}
|
|
20
|
+
/* latin-ext */
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: Roboto;
|
|
23
|
+
font-weight: 300;
|
|
24
|
+
font-style: italic;
|
|
25
|
+
font-display: auto;
|
|
26
|
+
src: local('Roboto Light Italic'), local('Roboto-LightItalic'), url('roboto-light-italic-ext.woff2') format('woff2');
|
|
27
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
28
|
+
}
|
|
29
|
+
/* latin */
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: Roboto;
|
|
32
|
+
font-weight: 300;
|
|
33
|
+
font-style: italic;
|
|
34
|
+
font-display: auto;
|
|
35
|
+
src: local('Roboto Light Italic'), local('Roboto-LightItalic'), url('roboto-light-italic.woff2') format('woff2');
|
|
36
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
37
|
+
U+FEFF, U+FFFD;
|
|
38
|
+
}
|
|
39
|
+
/* latin-ext */
|
|
40
|
+
@font-face {
|
|
41
|
+
font-family: Roboto;
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
font-style: italic;
|
|
44
|
+
font-display: auto;
|
|
45
|
+
src: local('Roboto Italic'), local('Roboto-Italic'), url('roboto-italic-ext.woff2') format('woff2');
|
|
46
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
47
|
+
}
|
|
48
|
+
/* latin */
|
|
49
|
+
@font-face {
|
|
50
|
+
font-family: Roboto;
|
|
51
|
+
font-weight: 400;
|
|
52
|
+
font-style: italic;
|
|
53
|
+
font-display: auto;
|
|
54
|
+
src: local('Roboto Italic'), local('Roboto-Italic'), url('roboto-italic.woff2') format('woff2');
|
|
55
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
56
|
+
U+FEFF, U+FFFD;
|
|
57
|
+
}
|
|
58
|
+
/* latin-ext */
|
|
59
|
+
@font-face {
|
|
60
|
+
font-family: Roboto;
|
|
61
|
+
font-weight: 500;
|
|
62
|
+
font-style: italic;
|
|
63
|
+
font-display: auto;
|
|
64
|
+
src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'), url('roboto-medium-italic-ext.woff2') format('woff2');
|
|
65
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
66
|
+
}
|
|
67
|
+
/* latin */
|
|
68
|
+
@font-face {
|
|
69
|
+
font-family: Roboto;
|
|
70
|
+
font-weight: 500;
|
|
71
|
+
font-style: italic;
|
|
72
|
+
font-display: auto;
|
|
73
|
+
src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'), url('roboto-medium-italic.woff2') format('woff2');
|
|
74
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
75
|
+
U+FEFF, U+FFFD;
|
|
76
|
+
}
|
|
77
|
+
/* latin-ext */
|
|
78
|
+
@font-face {
|
|
79
|
+
font-family: Roboto;
|
|
80
|
+
font-weight: 700;
|
|
81
|
+
font-style: italic;
|
|
82
|
+
font-display: auto;
|
|
83
|
+
src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'), url('roboto-bold-italic-ext.woff2') format('woff2');
|
|
84
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
85
|
+
}
|
|
86
|
+
/* latin */
|
|
87
|
+
@font-face {
|
|
88
|
+
font-family: Roboto;
|
|
89
|
+
font-weight: 700;
|
|
90
|
+
font-style: italic;
|
|
91
|
+
font-display: auto;
|
|
92
|
+
src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'), url('roboto-bold-italic.woff2') format('woff2');
|
|
93
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
94
|
+
U+FEFF, U+FFFD;
|
|
95
|
+
}
|
|
96
|
+
/* latin-ext */
|
|
97
|
+
@font-face {
|
|
98
|
+
font-family: Roboto;
|
|
99
|
+
font-weight: 100;
|
|
100
|
+
font-style: normal;
|
|
101
|
+
font-display: auto;
|
|
102
|
+
src: local('Roboto Thin'), local('Roboto-Thin'), url('roboto-thin-ext.woff2') format('woff2');
|
|
103
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
104
|
+
}
|
|
105
|
+
/* latin */
|
|
106
|
+
@font-face {
|
|
107
|
+
font-family: Roboto;
|
|
108
|
+
font-weight: 100;
|
|
109
|
+
font-style: normal;
|
|
110
|
+
font-display: auto;
|
|
111
|
+
src: local('Roboto Thin'), local('Roboto-Thin'), url('roboto-thin.woff2') format('woff2');
|
|
112
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
113
|
+
U+FEFF, U+FFFD;
|
|
114
|
+
}
|
|
115
|
+
/* latin-ext */
|
|
116
|
+
@font-face {
|
|
117
|
+
font-family: Roboto;
|
|
118
|
+
font-weight: 300;
|
|
119
|
+
font-style: normal;
|
|
120
|
+
font-display: auto;
|
|
121
|
+
src: local('Roboto Light'), local('Roboto-Light'), url('roboto-light-ext.woff2') format('woff2');
|
|
122
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
123
|
+
}
|
|
124
|
+
/* latin */
|
|
125
|
+
@font-face {
|
|
126
|
+
font-family: Roboto;
|
|
127
|
+
font-weight: 300;
|
|
128
|
+
font-style: normal;
|
|
129
|
+
font-display: auto;
|
|
130
|
+
src: local('Roboto Light'), local('Roboto-Light'), url('roboto-light.woff2') format('woff2');
|
|
131
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
132
|
+
U+FEFF, U+FFFD;
|
|
133
|
+
}
|
|
134
|
+
/* latin-ext */
|
|
135
|
+
@font-face {
|
|
136
|
+
font-family: Roboto;
|
|
137
|
+
font-weight: 400;
|
|
138
|
+
font-style: normal;
|
|
139
|
+
font-display: auto;
|
|
140
|
+
src: local('Roboto'), local('Roboto-Regular'), url('roboto-regular-ext.woff2') format('woff2');
|
|
141
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
142
|
+
}
|
|
143
|
+
/* latin */
|
|
144
|
+
@font-face {
|
|
145
|
+
font-family: Roboto;
|
|
146
|
+
font-weight: 400;
|
|
147
|
+
font-style: normal;
|
|
148
|
+
font-display: auto;
|
|
149
|
+
src: local('Roboto'), local('Roboto-Regular'), url('roboto-regular.woff2') format('woff2');
|
|
150
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
151
|
+
U+FEFF, U+FFFD;
|
|
152
|
+
}
|
|
153
|
+
/* latin-ext */
|
|
154
|
+
@font-face {
|
|
155
|
+
font-family: Roboto;
|
|
156
|
+
font-weight: 500;
|
|
157
|
+
font-style: normal;
|
|
158
|
+
font-display: auto;
|
|
159
|
+
src: local('Roboto Medium'), local('Roboto-Medium'), url('roboto-medium-ext.woff2') format('woff2');
|
|
160
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
161
|
+
}
|
|
162
|
+
/* latin */
|
|
163
|
+
@font-face {
|
|
164
|
+
font-family: Roboto;
|
|
165
|
+
font-weight: 500;
|
|
166
|
+
font-style: normal;
|
|
167
|
+
font-display: auto;
|
|
168
|
+
src: local('Roboto Medium'), local('Roboto-Medium'), url('roboto-medium.woff2') format('woff2');
|
|
169
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
170
|
+
U+FEFF, U+FFFD;
|
|
171
|
+
}
|
|
172
|
+
/* latin-ext */
|
|
173
|
+
@font-face {
|
|
174
|
+
font-family: Roboto;
|
|
175
|
+
font-weight: 700;
|
|
176
|
+
font-style: normal;
|
|
177
|
+
font-display: auto;
|
|
178
|
+
src: local('Roboto-Bold'), local('Roboto-Bold'), url('roboto-bold-ext.woff2') format('woff2');
|
|
179
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
180
|
+
}
|
|
181
|
+
/* latin */
|
|
182
|
+
@font-face {
|
|
183
|
+
font-family: Roboto;
|
|
184
|
+
font-weight: 700;
|
|
185
|
+
font-style: normal;
|
|
186
|
+
font-display: auto;
|
|
187
|
+
src: local('Roboto-Bold'), local('Roboto-Bold'), url('roboto-bold.woff2') format('woff2');
|
|
188
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
189
|
+
U+FEFF, U+FFFD;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
body {
|
|
193
|
+
-moz-osx-font-smoothing: grayscale;
|
|
194
|
+
-webkit-font-smoothing: antialiased;
|
|
195
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gov-design-system-ce/fonts",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "This package includes Gov Design System CE Fonts.",
|
|
5
|
+
"author": "Zdeněk Vítek",
|
|
6
|
+
"main": "lib/roboto.css",
|
|
7
|
+
"directories": {
|
|
8
|
+
"lib": "lib"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"lib"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "copyfiles --flat ./lib/* ../../dist/packages/fonts",
|
|
15
|
+
"serve": "copyfiles --flat ./lib/* ../../dist/packages/core/www/build/assets/fonts"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"copyfiles": "2.4.1"
|
|
19
|
+
},
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"license": "EUPL v1.2 Licensed"
|
|
24
|
+
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# Stencil Component Starter
|
|
4
|
+
|
|
5
|
+
This is a starter project for building a standalone Web Component using Stencil.
|
|
6
|
+
|
|
7
|
+
Stencil is also great for building entire apps. For that, use
|
|
8
|
+
the [stencil-app-starter](https://github.com/ionic-team/stencil-app-starter) instead.
|
|
9
|
+
|
|
10
|
+
# Stencil
|
|
11
|
+
|
|
12
|
+
Stencil is a compiler for building fast web apps using Web Components.
|
|
13
|
+
|
|
14
|
+
Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time
|
|
15
|
+
tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering
|
|
16
|
+
pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components
|
|
17
|
+
that run in any browser supporting the Custom Elements v1 spec.
|
|
18
|
+
|
|
19
|
+
Stencil components are just Web Components, so they work in any major framework or with no framework at all.
|
|
20
|
+
|
|
21
|
+
## Getting Started
|
|
22
|
+
|
|
23
|
+
To start building a new web component using Stencil, clone this repo to a new directory:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
git clone https://github.com/ionic-team/stencil-component-starter.git my-component
|
|
27
|
+
cd my-component
|
|
28
|
+
git remote rm origin
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
and run:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npm install
|
|
35
|
+
npm start
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
To build the component for production, run:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npm run build
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
To run the unit tests for the components, run:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
npm test
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Need help? Check out our docs [here](https://stenciljs.com/docs/my-first-component).
|
|
51
|
+
|
|
52
|
+
## Naming Components
|
|
53
|
+
|
|
54
|
+
When creating new component tags, we recommend _not_ using `stencil` in the component name (ex: `<stencil-datepicker>`).
|
|
55
|
+
This is because the generated component has little to nothing to do with Stencil; it's just a web component!
|
|
56
|
+
|
|
57
|
+
Instead, use a prefix that fits your company or any name for a group of related components. For example, all of the
|
|
58
|
+
Ionic generated web components use the prefix `ion`.
|
|
59
|
+
|
|
60
|
+
## Using this component
|
|
61
|
+
|
|
62
|
+
There are three strategies we recommend for using web components built with Stencil.
|
|
63
|
+
|
|
64
|
+
The first step for all three of these strategies is
|
|
65
|
+
to [publish to NPM](https://docs.npmjs.com/getting-started/publishing-npm-packages).
|
|
66
|
+
|
|
67
|
+
### Script tag
|
|
68
|
+
|
|
69
|
+
- Put a script tag similar to
|
|
70
|
+
this `<script type='module' src='https://unpkg.com/my-component@0.0.1/dist/my-component.esm.js'></script>` in the head
|
|
71
|
+
of your index.html
|
|
72
|
+
- Then you can use the element anywhere in your template, JSX, html etc
|
|
73
|
+
|
|
74
|
+
### Node Modules
|
|
75
|
+
|
|
76
|
+
- Run `npm install my-component --save`
|
|
77
|
+
- Put a script tag similar to
|
|
78
|
+
this `<script type='module' src='node_modules/my-component/dist/my-component.esm.js'></script>` in the head of your
|
|
79
|
+
index.html
|
|
80
|
+
- Then you can use the element anywhere in your template, JSX, html etc
|
|
81
|
+
|
|
82
|
+
### In a stencil-starter app
|
|
83
|
+
|
|
84
|
+
- Run `npm install my-component --save`
|
|
85
|
+
- Add an import to the npm packages `import my-component;`
|
|
86
|
+
- Then you can use the element anywhere in your template, JSX, html etc
|