Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eljefe223 opened this issue Jul 29, 2024 · 0 comments
Assignees
Labels
docs:article Additions, improvements, or fixes to site articles

Comments

@eljefe223
Copy link
Contributor

🙋 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 eljefe223 added the status:triage New Issue - needs triage label Jul 29, 2024
@janechu janechu added docs:article Additions, improvements, or fixes to site articles and removed status:triage New Issue - needs triage labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs:article Additions, improvements, or fixes to site articles
Projects
None yet
Development

No branches or pull requests

2 participants