0.0.1 • Published 4 years ago

@miksu/styletron-standard v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

styletron-standard

npm version dependencies status

Opinionated, standard interfaces for Styletron.

Check our documentation at styletron.org.

Installation

yarn add styletron-standard

API

Style object interface

import type { StyleObject } from "styletron-standard";

styletron-standard defines a specific style object interface (along with corresponding Flow type definitions).

Engine interface

import type { StandardEngine } from "styletron-standard";

styletron-standard also defines a standard engine interface.

interface StandardEngine {
  renderStyle,
  renderKeyframes,
  renderFontFace,
};

Driver

import type { StandardEngine } from "styletron-standard";