Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

smarthr-normalize-css

kufu17.7kMIT1.1.0TypeScript support: included

A sharable normalize CSS for SmartHR

normalize.css, css, styled-components

readme

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>
}

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.1.0 (2022-10-27)

Features

  • 入力系の要素でもフォントファミリー、サイズを継承 (#57) (976ed95)

1.0.4 (2022-03-18)

1.0.3 (2022-03-18)

1.0.2 (2022-03-17)

1.0.1 (2020-11-09)

1.0.0 (2020-11-09)

Features

  • add standard-version to release (9f32f50)