Skip to content

Commit

Permalink
Fix: Fix missing Black variant for Translucent and Immersive themes
Browse files Browse the repository at this point in the history
Fixes: #1309
  • Loading branch information
zhanghai committed Sep 17, 2024
1 parent 2f19441 commit 7e5301e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/src/main/res/values-night/themes_material3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,12 @@
<item name="colorPrimaryDark">@color/color_primary_dark_black</item>
<item name="colorSurface">@android:color/black</item>
</style>
<style name="Theme.MaterialFiles.Material3.Translucent.Black">
<item name="colorPrimaryDark">@color/color_primary_dark_black</item>
<item name="colorSurface">@android:color/black</item>
</style>
<style name="Theme.MaterialFiles.Material3.Immersive.Black">
<item name="colorPrimaryDark">@color/color_primary_dark_black</item>
<item name="colorSurface">@android:color/black</item>
</style>
</resources>
2 changes: 2 additions & 0 deletions app/src/main/res/values/themes_material3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,6 @@
<style name="Theme.MaterialFiles.Material3.Immersive" parent="Base.Theme.MaterialFiles.Material3.Immersive" />

<style name="Theme.MaterialFiles.Material3.Black" />
<style name="Theme.MaterialFiles.Material3.Translucent.Black" />
<style name="Theme.MaterialFiles.Material3.Immersive.Black" />
</resources>

0 comments on commit 7e5301e

Please sign in to comment.