CSS Hooks
Documentation
Source on GitHub

Home > @css-hooks/core > Config > sort

Config.sort property

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Options for sorting declarations when multiple rules are passed to the css function.

Signature:

sort?: {
    properties?: boolean;

    conditionalStyles?: boolean;
  };