Renames Bold master to Black and introduces a new weight "Black" which is practically the same as "bold" prior to this change. "Bold" is now an interpolated, slightly lighter version of "Black"

This commit is contained in:
Rasmus Andersson 2017-09-05 11:06:04 -04:00
parent 3471ae885a
commit 9950357a6b
2237 changed files with 31569 additions and 31339 deletions

View file

@ -705,6 +705,21 @@ for (const ch of uniqueChars) {
url("fonts/Interface-BoldItalic.woff") format("woff");
}
@font-face {
font-family: 'Interface-VERSION';
font-style: normal;
font-weight: 900;
src: url("fonts/Interface-Black.woff2") format("woff2"),
url("fonts/Interface-Black.woff") format("woff");
}
@font-face {
font-family: 'Interface-VERSION';
font-style: italic;
font-weight: 900;
src: url("fonts/Interface-BlackItalic.woff2") format("woff2"),
url("fonts/Interface-BlackItalic.woff") format("woff");
}
.interface, .interface input, .interface select {
font-family: 'Interface-VERSION', 'Interface', serif !important;
}
@ -1015,6 +1030,7 @@ document.head.appendChild(fontCSS)
<option value="400" selected>Regular (400)</option>
<option value="500">Medium (500)</option>
<option value="700">Bold (700)</option>
<option value="900">Black (900)</option>
</select>
<label style="display:inline-block; margin-left:4px"><input type="checkbox" name="italic"> <em>Italic</em></label>
</label>