Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Set material design colors
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed Oct 20, 2014
1 parent 23f3ba5 commit be302e1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion res/values/attrs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
<attr name="background_tutorial" format="reference" />
<attr name="cardStyle" format="reference" />

</resources>
</resources>
5 changes: 4 additions & 1 deletion res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<color name="color_primary">#8bc34a</color>
<color name="color_primary_dark">#689f38</color>
<color name="color_accent">#ff5177</color>
<color name="color_dangerous_light">#3CF83A3A</color>
<color name="color_dangerous_dark">#50F83A3A</color>
<color name="color_dangerous_dialog">#801D1D</color>
Expand All @@ -15,4 +18,4 @@
<color name="color_state_shared_light">#00DC00</color>
<color name="color_state_shared_dark">#008000</color>

</resources>
</resources>
9 changes: 8 additions & 1 deletion res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<style name="CustomTheme" parent="Theme.AppCompat">
<item name="colorPrimary">@color/color_primary</item>
<item name="colorPrimaryDark">@color/color_primary_dark</item>
<item name="colorAccent">@color/color_accent</item>
<item name="icon_granted">@drawable/granted_holo_dark</item>
<item name="icon_info">@drawable/info_holo_dark</item>
<item name="icon_info_book">@drawable/info_book_holo_dark</item>
Expand All @@ -26,6 +30,9 @@
</style>

<style name="CustomTheme.Light" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">@color/color_primary</item>
<item name="colorPrimaryDark">@color/color_primary_dark</item>
<item name="colorAccent">@color/color_accent</item>
<item name="icon_granted">@drawable/granted_holo_light</item>
<item name="icon_info">@drawable/info_holo_light</item>
<item name="icon_info_book">@drawable/info_book_holo_light</item>
Expand Down Expand Up @@ -63,7 +70,7 @@
<item name="android:windowIsFloating">false</item>
<item name="android:windowActionBar">true</item>
</style>

<style name="PreferenceLine">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
Expand Down

0 comments on commit be302e1

Please sign in to comment.