Skip to content

Commit 044ec40

Browse files
committed
style #9: add custom theme values
1 parent d71be49 commit 044ec40

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

Affirmations/.idea/workspace.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Affirmations/app/src/main/res/values-night/themes.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<!-- Base application theme. -->
33
<style name="Theme.Affirmations" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
44
<!-- Primary brand color. -->
5-
<item name="colorPrimary">@color/purple_200</item>
6-
<item name="colorPrimaryVariant">@color/purple_700</item>
5+
<item name="colorPrimary">@color/blue_200</item>
6+
<item name="colorPrimaryVariant">@color/blue_500</item>
77
<item name="colorOnPrimary">@color/black</item>
88
<!-- Secondary brand color. -->
99
<item name="colorSecondary">@color/teal_200</item>

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
<color name="blue_200">#FF90CAF9</color>
44
<color name="blue_500">#FF2196F3</color>
55
<color name="blue_700">#FF1976D2</color>
6+
<color name="teal_200">#FF03DAC5</color>
7+
<color name="teal_700">#FF018786</color>
68
<color name="black">#FF000000</color>
79
<color name="white">#FFFFFFFF</color>
810
</resources>

Affirmations/app/src/main/res/values/themes.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<!-- Base application theme. -->
33
<style name="Theme.Affirmations" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
44
<!-- Primary brand color. -->
5-
<item name="colorPrimary">@color/purple_500</item>
6-
<item name="colorPrimaryVariant">@color/purple_700</item>
5+
<item name="colorPrimary">@color/blue_500</item>
6+
<item name="colorPrimaryVariant">@color/blue_700</item>
77
<item name="colorOnPrimary">@color/white</item>
88
<!-- Secondary brand color. -->
99
<item name="colorSecondary">@color/teal_200</item>

0 commit comments

Comments
 (0)