Skip to content

Commit

Permalink
Update background color of the content in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
malinajirka committed Dec 16, 2020
1 parent 7d2f683 commit 8788064
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WordPress/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
<item name="materialCalendarDay">@style/WordPress.MaterialCalendarDayTextView</item>
<!-- Used to color the cancel button which doesn't use any overridable styles -->
<item name="colorOnPrimary">?attr/colorOnSurface</item>
<item name="android:background">?attr/colorSurface</item>
</style>

<style name="WordPress.MaterialCalendarStyle" parent="Widget.MaterialComponents.MaterialCalendar.Fullscreen">
Expand All @@ -135,6 +136,7 @@
<style name="WordPress.MaterialCalendarHeaderSelection" parent="Widget.MaterialComponents.MaterialCalendar.HeaderSelection.Fullscreen">
<item name="android:textColor">?attr/colorOnSurface</item>
<item name="android:textAppearance">?attr/textAppearanceHeadline5</item>
<item name="android:background">@color/transparent</item>
</style>

<style name="WordPress.MaterialCalendarHeaderToggleButton" parent="Widget.MaterialComponents.MaterialCalendar.HeaderToggleButton">
Expand Down

0 comments on commit 8788064

Please sign in to comment.