@nex-ui/system
Version:
A lightweight and performant styling library based on Emotion, focusing on component architecture and developer experience.
14 lines (11 loc) • 357 B
TypeScript
import { Interpolation } from '../types.js';
type CascadeLayer = 'global' | 'css';
type CreateLayersConfig = {
cssCascadeLayersDisabled?: boolean;
prefix?: string;
};
type Layers = {
atRules: string;
wrapWithLayer: (layer: CascadeLayer, styles: Interpolation) => Interpolation;
};
export type { CascadeLayer, CreateLayersConfig, Layers };