CSS Hooks
Documentation
Source on GitHub

Home > @css-hooks/core

core package

CSS Hooks core library

Functions

Function

Description

buildHooksSystem(stringify)

Creates a flavor of CSS Hooks tailored to a specific app framework.

Interfaces

Interface

Description

CreateHooksResult

An object containing the functions needed to support and use the configured hooks.

Type Aliases

Type Alias

Description

Condition

Represents the conditions under which a given hook or declaration applies.

CreateHooksFn

Represents the function used to define hooks and related configuration.

EnhanceStyleFn

Enhances a style object by merging in conditional declarations.

Selector

Represents the selector logic used to create a hook.

StringifyFn

Function to convert a value into a string.