fast icon indicating copy to clipboard operation
fast copied to clipboard

docs: fix/add documentation for css.partial.createCSS on non-shadowed elements

Open eljefe223 opened this issue 1 year ago • 0 comments

🙋 Documentation Request

The documentation seems to be lacking on css.partial. Especially when importing and applying a css.partial to a non-shadowed element.

💁 Possible Solution

The solution is:

const myPartial = css.partial`color: red`;

.my-class {
    myPartial.createCSS(() => {});
}

eljefe223 avatar Jul 29 '24 16:07 eljefe223