Ory Elements is a component library that makes building login, registration and account pages for Ory a breeze. Check out the components library on Chromatic https://www.chromatic.com/library?appId=63b58e306cfd32348fa48d50
This PR simplifies class overrides by providing a prefix name for the generated CSS classes.
In this case we add a prefix ory_elements__ to each class name.
The format is as follows: ory_elements_<variant|size>__hash
Example generated classes:
ory_elements__button_social__i8n2ik0ory_elements__button_social_size_medium__ecxsa2dory_elements__button_social_variant_semibold__xas31dg
[ ] I confirm that this pull request does not address a security vulnerability.
If this pull request addresses a security vulnerability,
I confirm that I got approval (please contact security@ory.sh) from the maintainers to push the changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added the necessary documentation within the code base (if appropriate).
This PR simplifies class overrides by providing a prefix name for the generated CSS classes.
In this case we add a prefix
ory_elements__
to each class name.The format is as follows: ory_elements_ <variant|size>__hash
Example generated classes:
ory_elements__button_social__i8n2ik0
ory_elements__button_social_size_medium__ecxsa2d
ory_elements__button_social_variant_semibold__xas31dg
See this discussion for more details https://github.com/ory/elements/discussions/162
Related Issue or Design Document
Checklist
Further comments