Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
Dark theme support
Browse files Browse the repository at this point in the history
  • Loading branch information
msoucy committed Apr 16, 2021
1 parent b4fc916 commit c0de58b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/com/chopshop166/cssignin/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class MainActivity : AppCompatActivity() {
val hDist = hypot(centerX, centerY)
gradientColor(hypot(x - centerX, y - centerY), hDist, CHOPSHOP_BLUE)
} else {
Color.TRANSPARENT
Color.WHITE
}
}

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<resources>

<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<style name="AppTheme" parent="Theme.AppCompat.DayNight.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
Expand Down

0 comments on commit c0de58b

Please sign in to comment.