0.1.7 • Published 6 years ago

style-definitions v0.1.7

Weekly downloads
80
License
BSD-3-Clause
Repository
github
Last release
6 years ago

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