1
0
mirror of https://github.com/google/fonts.git synced 2024-12-17 21:51:52 +03:00

Fix axis def markdown tables (#4419)

* Reformatting Markdown tables for axis definitions

Markdown tables need to have a minimum of 2 rows

* Further correcting Markdown table format

Needs header row to work, at least according to the .md preview. Also correcting the Step value of the `softness` axis.
This commit is contained in:
Elliot Jay Stocks 2022-03-25 13:30:35 +00:00 committed by GitHub
parent 3c5a605f75
commit 69c9cb483b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 36 additions and 12 deletions

View File

@ -2,7 +2,9 @@
The [Google Fonts CSS v2 API ](https://developers.google.com/fonts/docs/css2) defines the axis as:
| Default: 0 | Min: 0 | Max: 1 | Step: 0.01 |
| Default: | Min: | Max: | Step: |
| --- | --- | --- | --- |
| 0 | 0 | 1 | 0.01 |
<figure>

View File

@ -2,7 +2,9 @@
The [Google Fonts CSS v2 API ](https://developers.google.com/fonts/docs/css2) defines the axis as:
| Default: 0.5 | Min: 0 | Max: 1 | Step: 0.1 |
| Default: | Min: | Max: | Step: |
| --- | --- | --- | --- |
| 0.5 | 0 | 1 | 0.1 |
<figure>

View File

@ -2,7 +2,9 @@
The [Google Fonts CSS v2 API ](https://developers.google.com/fonts/docs/css2) defines the axis as:
| Default: 0 | Min: 0 | Max: 1 | Step: 0.01 |
| Default: | Min: | Max: | Step: |
| --- | --- | --- | --- |
| 0 | 0 | 1 | 0.01 |
This is currently implemented in Googles Material icons:

View File

@ -3,7 +3,9 @@
The [Google Fonts CSS v2 API ](https://developers.google.com/fonts/docs/css2) defines the axis as:
| Default: 0 | Min: -1000 | Max: 1000 | Step: 1 |
| Default: | Min: | Max: | Step: |
| --- | --- | --- | --- |
| 0 | -1000 | 1000 | 1 |
Negative grade makes the style lighter, while positive grade makes it heavier. The units are the same as in the weight (`wght`) axis.

View File

@ -3,7 +3,9 @@ Italic (`ital` in CSS) is an [axis](/glossary/axis_in_variable_fonts) found in s
The [Google Fonts CSS v2 API ](https://developers.google.com/fonts/docs/css2) defines the axis as:
| Default: 0 | Min: 0 | Max: 1 | Step: 0.1 |
| Default: | Min: | Max: | Step: |
| --- | --- | --- | --- |
| 0 | 0 | 1 | 0.1 |
<figure>

View File

@ -3,7 +3,9 @@
The [Google Fonts CSS v2 API ](https://developers.google.com/fonts/docs/css2) defines the axis as:
| Default: 0 | Min: 0 | Max: 1 | Step: 0.01 |
| Default: | Min: | Max: | Step: |
| --- | --- | --- | --- |
| 0 | 0 | 1 | 0.01 |
<figure>

View File

@ -3,7 +3,9 @@ Optical size (controlled with `font-optical-sizing` or `font-variation-setting:
The [Google Fonts CSS v2 API ](https://developers.google.com/fonts/docs/css2) defines the axis as:
| Default: 14 | Min: 6 | Max: 144 | Step: 0.1 |
| Default: | Min: | Max: | Step: |
| --- | --- | --- | --- |
| 14 | 6 | 144 | 0.1 |
<figure>

View File

@ -3,7 +3,9 @@ Slant (`slnt` in CSS) is an [axis](/glossary/axis_in_variable_fonts) found in so
The [Google Fonts CSS v2 API ](https://developers.google.com/fonts/docs/css2) defines the axis as:
| Default: 0 | Min: -90 | Max: 90 | Step: 1 |
| Default: | Min: | Max: | Step: |
| --- | --- | --- | --- |
| 0 | -90 | 90 | 1 |
<figure>

View File

@ -3,7 +3,9 @@
The [Google Fonts CSS v2 API ](https://developers.google.com/fonts/docs/css2) defines the axis as:
| Default: 0 | Min: 0 | Max: 100 | Step: 0.01 |
| Default: | Min: | Max: | Step: |
| --- | --- | --- | --- |
| 0 | 0 | 100 | 0.1 |
In the [Fraunces](https://fonts.google.com/specimen/Fraunces) [typeface](/glossary/typeface), the softness axis can turn the sharpness and [high-contrast](/glossary/contrast) [serifs](/glossary/serif) into bubble-like forms, and at its softest, the typeface starts to resemble the style of typefaces such as Souvenir or Bookman.

View File

@ -3,7 +3,9 @@ Weight (`wght` in CSS) is an axis found in many variable fonts. It controls the
The [Google Fonts CSS v2 API ](https://developers.google.com/fonts/docs/css2) defines the axis as:
| Default: 400 | Min: 1 | Max: 1000 | Step: 1 |
| Default: | Min: | Max: | Step: |
| --- | --- | --- | --- |
| 400 | 1 | 1000 | 1 |
<figure>

View File

@ -3,7 +3,9 @@ Width (`wdth` in CSS) is an [axis](/glossary/axis_in_variable_fonts) found in so
The [Google Fonts CSS v2 API ](https://developers.google.com/fonts/docs/css2) defines the axis as:
| Default: 100 | Min: 25 | Max: 200 | Step: 0.1 |
| Default: | Min: | Max: | Step: |
| --- | --- | --- | --- |
| 100 | 25 | 200 | 0.1 |
<figure>

View File

@ -3,7 +3,9 @@
The [Google Fonts CSS v2 API ](https://developers.google.com/fonts/docs/css2) defines the axis as:
| Default: 0 | Min: 0 | Max: 1 | Step: 1 |
| Default: | Min: | Max: | Step: |
| --- | --- | --- | --- |
| 0 | 0 | 1 | 1 |
In the [Fraunces](INSERT_URL) [typeface](/glossary/typeface), setting wonky to “on” (1) introduces the quirkier leaning of the lowercase n/m/h upright characters, or the bulbous flags of the lowercase b/d/h/k/l italic characters. In static fonts, wonky is also available as an [OpenType stylistic set](/glossary/stylistic_sets).