Skip to content

Commit

Permalink
Merge pull request #20 from YuanLiou/feature/dialog_color
Browse files Browse the repository at this point in the history
Feature/dialog color
  • Loading branch information
YuanLiou authored Dec 11, 2021
2 parents a2204c0 + 0f57690 commit 3b09112
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions app/src/main/res/values-v31/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@
<item name="shapeAppearance">@style/ShapeAppearance.App.MediumComponent</item>
</style>

<style name="MaterialAlertDialog.App.Title.Text" parent="MaterialAlertDialog.Material3.Title.Text">
<item name="android:textColor">@color/gray_21</item>
</style>

<style name="Widget.App.Button" parent="Widget.Material3.Button.TextButton.Dialog">
<item name="android:textColor">@color/primary_orange</item>
</style>
<style name="MaterialAlertDialog.App.Title.Text" parent="MaterialAlertDialog.Material3.Title.Text" />
<style name="Widget.App.Button" parent="Widget.Material3.Button.TextButton.Dialog" />

<style name="ShapeAppearance.App.MediumComponent" parent="ShapeAppearance.MaterialComponents.SmallComponent">
<item name="cornerFamily">rounded</item>
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildscript {
}

ext {
app_version = '2.1.0'
app_version = '3.0.0'

// settings
compile_sdk_version = 31
Expand Down

0 comments on commit 3b09112

Please sign in to comment.