Package Exports
- system-font-stack
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (system-font-stack) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
system-font-stack
Use the system font family so your web app look more native
Inspired by https://css-tricks.com/snippets/css/system-font-stack/
It works really well with CSS-in-JS style solutions, like styled-components:
import { injectGlobal } from 'styled-components'
import systemFontStack from 'system-font-stack'
injectGlobal`
body {
font-family: ${systemFontStack};
}
`