styletron-standard
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

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";

Readme

Keywords

none

Package Sidebar

Install

npm i styletron-standard

Weekly Downloads

43,463

Version

3.1.0

License

MIT

Unpacked Size

64.6 kB

Total Files

27

Last publish

Collaborators

  • rtsao