mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
Effective UI in nightmode (#2574)
* change bookmarks row button color * achievement_background * Change UI for nightmode * revert first commit, change color of buttons in bottom_sheet in night mode
This commit is contained in:
parent
d1a7b2cbfe
commit
0a3d8c09a7
16 changed files with 49 additions and 19 deletions
|
|
@ -15,11 +15,16 @@
|
|||
<attr name="buttonPressed" format="reference"/>
|
||||
<attr name="textDisabled" format="reference"/>
|
||||
<attr name="textEnabled" format="reference"/>
|
||||
<attr name="rowButtonColor" format="reference"/>
|
||||
|
||||
<attr name="contributionsListBackground" format="reference"/>
|
||||
<attr name="achievementBackground" format="reference"/>
|
||||
<attr name="drawerHeaderBackground" format="reference"/>
|
||||
<attr name="tutorialBackground" format="reference"/>
|
||||
<attr name="mainTabBackground" format="reference"/>
|
||||
<attr name="mainCardBackground" format="reference"/>
|
||||
<attr name="mainScreenNearbyPermissionbutton" format="reference"/>
|
||||
<attr name="icon" format="reference"/>
|
||||
|
||||
|
||||
<declare-styleable name="CompatTextView">
|
||||
|
|
|
|||
|
|
@ -3,6 +3,12 @@
|
|||
<!-- Main application background color -->
|
||||
<color name="main_background_dark">#303030</color>
|
||||
<color name="main_background_light">#fafafa</color>
|
||||
<color name="achievement_background_dark">#494949</color>
|
||||
<color name="achievement_background_light">#D6DCE0</color>
|
||||
<color name="drawerHeader_background_dark">#494949</color>
|
||||
<color name="drawerHeader_background_light">#aaaaaa</color>
|
||||
<color name="tutorial_background_dark">#303030</color>
|
||||
<color name="tutorial_background_light">#0c609c</color>
|
||||
<color name="divider_grey">#eaeaea</color>
|
||||
<color name="contributionListDarkBackground">#1a1a1a</color>
|
||||
|
||||
|
|
@ -49,6 +55,7 @@
|
|||
<color name="enabled_button_text_color_dark">#FFFFFF</color>
|
||||
|
||||
<color name="button_blue">#0c609c</color>
|
||||
<color name="button_blue_dark">#116aaa</color>
|
||||
|
||||
<color name="bottom_bar_light">#E0E0E0</color>
|
||||
<color name="bottom_bar_dark">#424242</color>
|
||||
|
|
|
|||
|
|
@ -4,10 +4,15 @@
|
|||
<item name="contributionsListBackground">@color/contributionListDarkBackground</item>
|
||||
<item name="mainTabBackground">@color/contributionListDarkBackground</item>
|
||||
<item name="mainBackground">@color/main_background_dark</item>
|
||||
<item name="achievementBackground">@color/achievement_background_dark</item>
|
||||
<item name="drawerHeaderBackground">@color/drawerHeader_background_dark</item>
|
||||
<item name="tutorialBackground">@color/tutorial_background_dark</item>
|
||||
<item name="icon">@color/primaryTextColor</item>
|
||||
<item name="colorPrimary">@color/primaryColor</item>
|
||||
<item name="colorPrimaryDark">@color/primaryDarkColor</item>
|
||||
<item name="colorAccent">@color/white</item>
|
||||
<item name="colorButtonNormal">@color/primaryColor</item>
|
||||
<item name="rowButtonColor">@color/button_blue_dark</item>
|
||||
|
||||
<item name="semitransparentText">@color/commons_app_blue_dark</item>
|
||||
<item name="subBackground">@color/sub_background_dark</item>
|
||||
|
|
@ -29,9 +34,14 @@
|
|||
<item name="contributionsListBackground">@color/white</item>
|
||||
<item name="mainTabBackground">@color/primaryColor</item>
|
||||
<item name="mainBackground">@color/main_background_light</item>
|
||||
<item name="achievementBackground">@color/achievement_background_light</item>
|
||||
<item name="drawerHeaderBackground">@color/drawerHeader_background_light</item>
|
||||
<item name="tutorialBackground">@color/tutorial_background_light</item>
|
||||
<item name="icon">@color/secondaryTextColor</item>
|
||||
<item name="colorPrimaryDark">@color/primaryDarkColor</item>
|
||||
<item name="colorAccent">@color/primaryColor</item>
|
||||
<item name="colorButtonNormal">@color/primaryColor</item>
|
||||
<item name="rowButtonColor">@color/button_blue</item>
|
||||
|
||||
<item name="semitransparentText">@color/commons_app_blue_light</item>
|
||||
<item name="subBackground">@color/sub_background_light</item>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue