Increase theme-bility in Ionic 4 #216
Labels
Authenticator
An issue or a feature-request for an Authenticator UI Component
Documentation
An issue or a feature-request for our Amplify UI Doc site or AWS Amplify docs
Milestone
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Can't theme or modify layout for the amplify UI components with Ionic 4 because they're inside the Shadow DOM so CSS selectors don't apply. Similarly, there are hardcoded strings and string builders (e.g., from greeting.component.core.ts there is:
as well as "Sign in " and "sign out" etc - these strings should be replaceable.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than AWS Amplify.
What is the expected behavior?
Not sure, I'm new to this: possibly best to expose the fixed strings and such using slots, and define a slew of CSS4 variables for styling?
Which versions of Amplify, and which browser / OS are affected by this issue? Did this work in previous versions?
You can turn on the debug mode to provide more info for us by setting
window.LOG_LEVEL = 'DEBUG';
in your app.The text was updated successfully, but these errors were encountered: