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
Add constructible stylesheet as an output format #466
Comments
Open Props offers props on :host, is that what you need? otherwise, |
Sorry, I should have been more clear. I’m just looking for the utility classes that are available like buttons, shapes and layouts. Anything where classes are applied so I can use them in shadow roots. |
i leave classes up to user space.. the normalize and button stylesheets target tags by name and don't offer a class. Open Props v2 has a beta utility file you could try out tho? works like this: <div class="MyComponent grid surface rounded shadow padding"></div> .MyComponent {
--_padding: var(--size-5);
} here's a playground where i'm toying around with the thoughts and code |
As a developer who often works with custom elements and shadow DOM, I would love to have access to open-props using constructible stylesheets as an output target. I'd be happy to contribute this feature if there's interest but limited bandwidth.
The text was updated successfully, but these errors were encountered: