Skip to content

Commit

Permalink
fix(app): make dark theme variant 35% darker
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshgngwr committed May 14, 2020
1 parent 17ec373 commit 1219da2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/src/main/res/values-night/colors.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorBackground">#3f3f4d</color>
<color name="colorCardBackground">#3c3c48</color>
<color name="colorPopupBackground">#32323d</color>
<color name="colorBackground">#282832</color>
<color name="colorCardBackground">#23232d</color>
<color name="colorPopupBackground">#202028</color>
<!-- Following is needed because AboutPage doesn't have any way to define custom style.
This is supposed to override its default background color -->
<color name="about_background_color">@color/colorBackground</color>
Expand Down
5 changes: 3 additions & 2 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#1eb980</color>
<color name="colorPrimaryDark">#1d1d23</color>
<color name="colorPrimaryDark">#168a60</color>
<color name="colorAccent">#1eb980</color>
<color name="colorActionBar">#2b2b34</color>
<color name="colorStatusBar">#17171d</color>
<color name="colorActionBar">#1b1b22</color>
<color name="colorBackground">#f8fAf9</color>
<color name="colorCardBackground">#fdfdfd</color>
<color name="colorPopupBackground">#fefefe</color>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<item name="floatingActionButtonStyle">@style/Widget.App.FloatingActionButton</item>
<item name="popupMenuStyle">@style/Widget.App.PopupMenu</item>
<item name="bottomSheetDialogTheme">@style/Theme.App.BottomSheetDialog</item>
<item name="android:statusBarColor">@color/colorStatusBar</item>
</style>

<style name="ThemeOverlay.App.Dark.ActionBar" parent="ThemeOverlay.MaterialComponents.Dark.ActionBar">
Expand Down

0 comments on commit 1219da2

Please sign in to comment.