Merge pull request #5 from github/tobiasahlin/polish-readme

Polish readme
This commit is contained in:
Tobias Ahlin 2022-11-09 15:40:53 +01:00 коммит произвёл GitHub
Родитель 7d8b093a2f 6a5a7f67a0
Коммит b2910c3fcc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 25 добавлений и 6 удалений

Просмотреть файл

@ -1,18 +1,37 @@
# Mona Sans # Mona Sans
[Typeface microsite](http://github.com/mona-sans) ↗️ [Download Mona Sans](http://github.com/github/mona-sans/releases/latest) • [Typeface microsite](http://github.com/mona-sans) ↗️
A strong and versatile typeface, designed with [Degarism](https://degarism.com/) and inspired by industrial-era grotesques. Mona Sans works well across product, web, and print. A strong and versatile typeface, designed together with [Degarism](https://degarism.com/) and inspired by industrial-era grotesques. Mona Sans works well across product, web, and print. Made to work well together with Mona Sans's sidekick, [Hubot Sans](https://github.com/github/hubot-sans).
Mona is a [variable font](https://web.dev/variable-fonts/). Variable fonts enable different variations of a typeface to be incorporated into one single file, and are supported by all major browsers, allowing for performance benefits and granular design control of the typeface's weight, width, and slant. Mona Sans is a [variable font](https://web.dev/variable-fonts/). Variable fonts enable different variations of a typeface to be incorporated into one single file, and are supported by all major browsers, allowing for performance benefits and granular design control of the typeface's weight, width, and slant.
![mona-sans](https://user-images.githubusercontent.com/99746865/200648883-dbd47e9a-9d95-483e-aef6-1bfa602eb942.png) ![mona-sans](https://user-images.githubusercontent.com/99746865/200648883-dbd47e9a-9d95-483e-aef6-1bfa602eb942.png)
Check out Mona Sans's sidekick, [Hubot Sans](https://github.com/github/hubot-sans). ## Usage
# Usage For web, we recommend using `Mona Sans.woff2`. Define the font with a `@font-face` rule, set its **weight** and **stretch** ranges, and use it:
[Notes on using Mona Sans] ```css
@font-face {
font-family: 'Mona Sans';
src:
url('Mona-Sans.woff2') format('woff2 supports variations'),
url('Mona-Sans.woff2') format('woff2-variations');
font-weight: 200 900;
font-stretch: 75% 125%;
}
html {
font-family: 'Mona Sans';
}
```
To reduce [CLS](https://web.dev/cls/), you can preload the font in the `head` of your document:
```html
<link rel="preload" href="Mona-Sans.woff2" as="font" type="font/woff2" crossorigin>
```
## Styles ## Styles
| Style Name | Italic Name | Weight | Width | | Style Name | Italic Name | Weight | Width |