smarthr-normalize-css
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

smarthr-normalize-css

A sharable normalize CSS for SmartHR. This is intended to use at a project for styled-components.

Installation

smarthr-normalize-css is available as an npm package.

// with npm
npm install --save-dev smarthr-normalize-css

// with yarn
yarn add --dev smarthr-normalize-css

Usage

import * as React from 'react'
import { CssBaseLine } from 'smarthr-normalize-css'

const App = () => (
  <React.Fragment>
    <CssBaseLine />
    <div>Hello World!</div>
  </React.Fragment>
)

You can also use the default export or named export (lowercase) in your own global style.

import * as React from 'react'
import { createGlobalStyle } from 'styled-components'
import cssBaseLine from 'smarthr-normalize-css'

const GlobalStyle = createGlobalStyle`
  ${cssBaseLine}
  /* other styles */
`

export const App = () => (
  <React.Fragment>
    <GlobalStyle />
    <div>Hello World!</div>
  </React.Fragment>
}

Package Sidebar

Install

npm i smarthr-normalize-css

Weekly Downloads

3,972

Version

1.1.0

License

MIT

Unpacked Size

8.18 kB

Total Files

9

Last publish

Collaborators

  • shingo.sasaki
  • kesteer
  • yamish123
  • ackndev
  • ibulog
  • alpaca-tc
  • nabeliwo
  • atsushim
  • koba04
  • im36.123
  • smarthr-dev
  • ykarakita
  • cidermitaina
  • meganemura
  • wata727
  • wmoai
  • diescake
  • moshisora
  • tokky0425
  • hawaiiman
  • smarthr-admin
  • yamamoto-yuta
  • kgsi
  • otapo
  • kuny