Skip to content

Latest commit

 

History

History
74 lines (50 loc) · 1.88 KB

README.md

File metadata and controls

74 lines (50 loc) · 1.88 KB

@typestyled/tools

Tools for generating and manipulating CSS properties.

Features

Coming soon!

Quick Start

The easiest way to get started with @typestyled/tools is to follow along as we go through the examples.

Installing @typestyled/tools

We recommend using Yarn or npm for managing front-end dependencies. If you are new to package managers, the Yarn documentation is a good place to start.

To install @typestyled/tools with Yarn, run:

yarn init
yarn add @typestyled/tools

To install @typestyled/tools with npm, run:

npm init
npm install --save @typestyled/tools

Both Yarn and npm download packages directly from the npm registry.

Enable TypeScript and Typestyle

We recommend using @typestyled libraries with TypeScript. TypeScript is a strict syntatical superset of JavaScript and adds optional static typing to the JavaScript language, and TypeStyle is a type-safe CSS-in-JS framework that works nicely with Typestyled libraries.

Hello Tools with TypeScript and TypeStyle

We recommend using a bundler like webpack or Browserify, so you can write modular code and bundle it together into small packages to optimize load time.

A small @typestyled/tools example looks like this:

// Coming soon!

Contribute

License

Copyright © 2017 The Typestyled Authors.

Licensed under the MIT license. See LICENSE.txt in the project root for complete license information.