Skip to content

Commit 97fe224

Browse files
committed
changed colors for text visibility in email sent screens
1 parent c43d0ad commit 97fe224

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

Simplenote/src/main/res/layout/fragment_confirmation.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
android:layout_gravity="center"
1414
android:layout_marginBottom="@dimen/padding_large"
1515
android:src="@drawable/ic_mail"
16-
android:tint="@color/gray_50" />
16+
android:tint="@color/text_description" />
1717

1818
<com.automattic.simplenote.widgets.RobotoRegularTextView
1919
android:id="@+id/email_confirmation_text"
@@ -23,7 +23,7 @@
2323
android:layout_marginEnd="@dimen/padding_extra_extra_large"
2424
android:layout_marginBottom="@dimen/padding_extra_large"
2525
android:gravity="center"
26-
android:textColor="@color/gray_80"
26+
android:textColor="@color/text_description"
2727
android:textSize="16sp"
2828
tools:text="We've sent an email to example@email.com. Please check your inbox and follow the instructions." />
2929

@@ -35,8 +35,8 @@
3535
android:layout_marginEnd="@dimen/padding_extra_extra_large"
3636
android:layout_marginBottom="@dimen/padding_extra_large"
3737
android:gravity="center"
38-
android:textColor="@color/gray_50"
39-
android:textColorLink="@color/gray_50"
38+
android:textColor="@color/text_description_secondary"
39+
android:textColorLink="@color/text_description_secondary"
4040
android:textSize="16sp"
4141
tools:text="Didn't get an email? You may already have an account. Contact simplenote@support.com for help." />
4242

Simplenote/src/main/res/layout/fragment_magic_link_code.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@
7272
android:minHeight="@dimen/height_button"
7373
android:text="@string/magic_link_confirm_code_enter_pass_label"
7474
android:textAllCaps="true"
75-
android:textColor="@android:color/black"/>
75+
android:textColor="@color/text_button_tertiary"/>
7676

7777
</LinearLayout>

Simplenote/src/main/res/values-night/colors.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
<color name="style_preview_default_title">@color/text_title_dark</color>
2525
<color name="text_button_red">@color/red_20</color>
2626

27+
<!-- STANDALONE CLARIFICATION TEXT -->
28+
<color name="text_description">@color/gray_20</color>
29+
<color name="text_description_secondary">@color/gray_30</color>
30+
2731
<!-- Button text colors for dark theme -->
2832
<color name="text_button_primary">@color/gray_1</color>
2933
<color name="text_button_secondary">@color/gray_1</color>

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@
128128
<color name="text_title_light">@color/gray_80</color>
129129
<color name="text_button_red">@color/red_50</color>
130130

131+
<!-- STANDALONE CLARIFICATION TEXT -->
132+
<color name="text_description">@color/gray_80</color>
133+
<color name="text_description_secondary">@color/gray_50</color>
134+
131135
<!-- SIMPERIUM -->
132136
<color name="background_button_disabled">@color/gray_20</color>
133137
<color name="background_button_primary">@color/simplenote_blue_50</color>

0 commit comments

Comments
 (0)