This repository has been archived by the owner on Aug 12, 2023. It is now read-only.
It's now possible to build custom utils by using the composeUtil
function.
import { createStyled } from "@stitches/react";
import { composeUtil } from "stitches-utils";
const size = composeUtil("width", "height");
export const { styled, css } = createStyled({
utils: {
size,
},
});