You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
It would be useful to get shadow parts exposed for styling the header section of the ion-datetime component.
Currently, there is a title slot, but this does not give full control over the look of the datetime header. Most importantly, changing the background color.
for example:
ion-datetime { --header-background: ###### }
Describe the Use Case
This would solve the issue of being able to customize the datetime header
Prerequisites
Describe the Feature Request
It would be useful to get shadow parts exposed for styling the header section of the ion-datetime component.
Currently, there is a title slot, but this does not give full control over the look of the datetime header. Most importantly, changing the background color.
for example:
ion-datetime { --header-background: ###### }
Describe the Use Case
This would solve the issue of being able to customize the datetime header
Describe Preferred Solution
No response
Describe Alternatives
The only alternative that really works is to do some hacky DOM manipulation after rendering like described here: https://forum.ionicframework.com/t/easy-way-to-style-the-ionic-datetime-header/236402
Related Code
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: