Skip to content

Commit 325f92e

Browse files
Merge pull request #38 from ricknout/master
Update Android module resources to use Material Components and new themes/styles guidance
2 parents 1c8b618 + 14d5f2d commit 325f92e

File tree

3 files changed

+20
-13
lines changed

3 files changed

+20
-13
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<color name="colorPrimary">#6200EE</color>
4-
<color name="colorPrimaryDark">#3700B3</color>
5-
<color name="colorAccent">#03DAC5</color>
3+
<color name="purple_500">#FF6200EE</color>
4+
<color name="purple_700">#FF3700B3</color>
5+
<color name="teal_200">#FF03DAC5</color>
6+
<color name="teal_700">#FF018786</color>
7+
<color name="black">#FF000000</color>
8+
<color name="white">#FFFFFFFF</color>
69
</resources>

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

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<resources>
2+
<!-- Base application theme. -->
3+
<style name="AppTheme" parent="Theme.MaterialComponents.Light.DarkActionBar">
4+
<!-- Primary brand color. -->
5+
<item name="colorPrimary">@color/purple_500</item>
6+
<item name="colorPrimaryVariant">@color/purple_700</item>
7+
<item name="colorOnPrimary">@color/white</item>
8+
<!-- Secondary brand color. -->
9+
<item name="colorSecondary">@color/teal_200</item>
10+
<item name="colorSecondaryVariant">@color/teal_700</item>
11+
<item name="colorOnSecondary">@color/black</item>
12+
</style>
13+
14+
</resources>

0 commit comments

Comments
 (0)