Negligent Parachute Maintainers
    Have ideas to improve npm?Join in the discussion! »

    styletron-standard
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/styletron-standard package

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

    Keywords

    none

    Install

    npm i styletron-standard

    DownloadsWeekly Downloads

    24,640

    Version

    3.0.5

    License

    MIT

    Unpacked Size

    36.3 kB

    Total Files

    17

    Last publish

    Collaborators

    • avatar