Skip to content

Commit c7909b4

Browse files
Merge pull request #1 from domdomegg/addThemeToggle
Use blue light theme
2 parents 62ace57 + 2fe2125 commit c7909b4

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

app/src/main/res/values/colors.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@
66
<color name="text_background">#90000000</color>
77
<color name="item_white_background">#ffffffff</color>
88
<color name="main_background_dark">#000000</color>
9-
<color name="main_background_light">#bdbdbd</color>
9+
<color name="main_background_light">#ffffff</color>
1010
<color name="commons_app_blue_dark">#33FFFFFF</color>
1111
<color name="commons_app_blue_light">#33FFFFFF</color>
1212
<color name="activity_welcome_background_dark">#0c609c</color>
1313
<color name="activity_welcome_background_light">#0c609c</color>
14+
<color name="action_bar_blue">#0c609c</color>
15+
<color name="status_bar_blue">#08436d</color>
1416
<color name="sub_background_dark">#20ffffff</color>
1517
<color name="sub_background_light">#20ffffff</color>
1618
<color name="fragment_categorisation_background_dark">#AA000000</color>
17-
<color name="fragment_categorisation_background_light">#44ffffff</color>
19+
<color name="fragment_categorisation_background_light">#AA000000</color>
1820
<color name="button_background_dark">#90000000</color>
1921
<color name="button_background_light">#B0000000</color>
2022
<color name="upload_overlay_background_dark">#77000000</color>

app/src/main/res/values/styles.xml

+9-6
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<item name="iconUndo">@drawable/ic_undo_white_24dp</item>
1717
</style>
1818

19-
<style name="LightAppTheme" parent="Theme.AppCompat.Light">
19+
<style name="LightAppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
2020
<item name="mainBackground">@color/main_background_light</item>
2121
<item name="semitransparentText">@color/commons_app_blue_light</item>
2222
<item name="commonsAppBlue">@color/activity_welcome_background_light</item>
@@ -25,11 +25,14 @@
2525
<item name="buttonBackground">@color/button_background_light</item>
2626
<item name="uploadOverlayBackground">@color/upload_overlay_background_light</item>
2727
<item name="toggleButtonIcon">@drawable/toggle</item>
28-
<item name="iconSend">@drawable/ic_send_black_24dp</item>
29-
<item name="iconSave">@drawable/ic_save_black_24dp</item>
30-
<item name="iconCamera">@drawable/ic_photo_camera_black_24dp</item>
31-
<item name="iconPhoto">@drawable/ic_photo_black_24dp</item>
32-
<item name="iconUndo">@drawable/ic_undo_black_24dp</item>
28+
<item name="iconSend">@drawable/ic_send_white_24dp</item>
29+
<item name="iconSave">@drawable/ic_save_white_24dp</item>
30+
<item name="iconCamera">@drawable/ic_photo_camera_white_24dp</item>
31+
<item name="iconPhoto">@drawable/ic_photo_white_24dp</item>
32+
<item name="iconUndo">@drawable/ic_undo_white_24dp</item>
33+
34+
<item name="colorPrimary">@color/action_bar_blue</item>
35+
<item name="colorPrimaryDark">@color/status_bar_blue</item>
3336
</style>
3437

3538
<style name="SpinnerTheme" parent="LightAppTheme">

0 commit comments

Comments
 (0)