New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

system-ui

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

system-ui

Fallbacks for the W3C CSS generic system-ui font-family.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

system-ui

Fallbacks for the W3C CSS generic system-ui font-family.

Install

$ yarn add system-ui
# npm v5+
$ npm install system-ui
# before npm v5
$ npm install --save system-ui

Usage

import system_ui from "system-ui";
import { injectGlobal } from "styled-components";

// system_ui == "system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue"

injectGlobal`
  body {
    font-family: ${system_ui}, sans-serif;
    font-size: 16px;

    color: #000;
  }
`;

Chores

  • Build: yarn build

  • Pretty: yarn pretty

License

MIT.

Keywords

system-ui

FAQs

Package last updated on 28 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts