0.0.5 • Published 7 years ago

@mcrowe/tss v0.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
7 years ago

tss

Strongly typed inline stylesheets for React.

Usage

npm install @mcrowe/tss --save

import StyleSheet from '@mcrowe/tss'

const $ = StyleSheet({
  title: {
    fontSize: 12,
    color: '#ffaabb'
  },
  bold: {
    fontWeight: 700
  },
})

<div style={$('title', 'bold')} />

Development

Install npm modules:

npm install

Run tests:

npm test

Release

Release a new version:

bin/release.sh

This will publish a new version to npm, as well as push a new tag up to github.

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago