npm.io
0.1.7 • Published 8 years ago

style-definitions

Licence
BSD-3-Clause
Version
0.1.7
Deps
0
Size
36 kB
Vulns
0
Weekly
0

This library provides definitions for commonly used css patterns as plain js objects that can be used with css-in-js solutions such as glamorous. Typescript definitions is included.

Example

import glamorous from 'glamorous'
import {row} from 'style-definitions'

const IconRow = glamorous.div({
  ...row({
    vertical: 'center',
    horizontal: 'center',
  }),

  padding: 16,
})

Keywords