Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Commit

Permalink
feat(font-family-system-ui): add feature docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Feb 3, 2017
1 parent cf304ac commit bc70661
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/content/features.md
Expand Up @@ -483,6 +483,20 @@ div {
|
[Plugin documentation](https://github.com/dmarchena/postcss-color-hsl)

## `system-ui` font-family

Allows you to use `system-ui` generic font-family. The current transformation provides a practical font-family list as fallback.

```css
body {
font-family: system-ui;
}
```

[Specification](https://drafts.csswg.org/css-fonts-4/#valdef-font-family-system-ui)
|
[Plugin documentation](https://github.com/JLHwung/postcss-font-family-system-ui)

## @todo

Any omissions of the CSS specifications (even in draft) that are subject to be
Expand Down
6 changes: 6 additions & 0 deletions docs/content/index.md
Expand Up @@ -151,6 +151,12 @@ title: cssnext - Use tomorrow’s CSS syntax, today.
(functional-notation)
</small>
</li>
<li class="r-Grid-cell r-minS--1of2">
<a href="/features/#system-ui-font-family"><code>system-ui</code> font-family</a>
<small class="cssnext-FeaturesList-small">
(font-family fallback)
</small>
</li>
</ul>
<small
class="cssnext-FeaturesList-small"
Expand Down

0 comments on commit bc70661

Please sign in to comment.