Ionic 6 calendar Style Not visible in dark theme

We are using ionic 6 reactjs application . In our dark theme ionic calendar is not showing the months and days properly . dark theme background and labels are showing as same color .
tried to change the shadow DOM style of the calendar but its is not getting updated.
any help on this is much appreciated

Do you have a code sample? The date picker works fine for me in dark mode, so it may be that you have CSS styles that you defined that are interfering.