@styn/core
Version:
8 lines (5 loc) • 326 B
text/typescript
import { StynTree, StynWalk } from "@styn/tree";
export type StynPlugin = (tree: StynTree, walk: StynWalk) => StynTree;
// TODO: typed css object? how handle strict css property type check and still support css vars?
export type CSSObject = { [key: string]: any };
export type CSSObjectRules = { [key: string]: CSSObject };