UNPKG

@equinor/fusion-react-styles

Version:
24 lines 942 B
import { type Jss } from 'jss'; /** * Creates a JSS instance with all necessary plugins configured * * This function sets up a JSS instance with all required plugins for the styling system: * - functions: Enables function values in styles (e.g., props-based styles) * - global: Enables global styles * - nested: Enables nested selectors (e.g., '&:hover') * - camelCase: Converts camelCase to kebab-case * - defaultUnit: Adds default units to numeric values * - vendorPrefixer: Adds vendor prefixes (only in browser) * - propsSort: Sorts CSS properties for consistent output * * @returns A configured JSS instance ready to use */ export declare function createJssInstance(): Jss; /** * Default JSS instance * * This is the default instance used throughout the application. * Individual StylesProviders can override this with their own instance. */ export declare const defaultJss: Jss; //# sourceMappingURL=jss-setup.d.ts.map