Opinionated, standard interfaces for Styletron.
Check our documentation at styletron.org.
yarn add styletron-standard
import type { StyleObject } from "styletron-standard";
styletron-standard
defines a specific style object interface (along with corresponding Flow type definitions).
import type { StandardEngine } from "styletron-standard";
styletron-standard
also defines a standard engine interface.
interface StandardEngine {
renderStyle,
renderKeyframes,
renderFontFace,
};
import type { StandardEngine } from "styletron-standard";