Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
For #18758 - Update colors on share layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandru2909 authored and mergify[bot] committed Feb 16, 2022
1 parent 3768353 commit e1f91aa
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/src/main/res/drawable/recent_apps_background.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="?recentlyUsedShareMenu"/>
<solid android:color="@color/fx_mobile_layer_color_1"/>
<corners android:radius="@dimen/share_recent_apps_background_radius"/>
</shape>
1 change: 1 addition & 0 deletions app/src/main/res/layout/account_share_list_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
android:lines="2"
android:textAlignment="gravity"
android:textSize="10sp"
android:textColor="?primaryText"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/app_share_list_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
android:gravity="center|top"
android:lines="2"
android:textAlignment="gravity"
android:textColor="@color/photonDarkGrey10"
android:textColor="?primaryText"
android:textSize="10sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/share_close.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
android:background="@android:color/transparent"
android:contentDescription="@string/content_description_close_button"
android:padding="12dp"
app:iconTint="@color/neutral_text"
app:tint="@color/fx_mobile_icon_color_oncolor"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_close" />
Expand All @@ -36,7 +36,7 @@
android:paddingHorizontal="1dp"
android:text="@string/share_header_2"
android:textAppearance="@style/HeaderTextStyle"
android:textColor="@color/neutral_text"
android:textColor="@color/fx_mobile_text_color_oncolor_primary"
android:textSize="20sp"
app:layout_constraintStart_toEndOf="@id/closeButton"
app:layout_constraintTop_toTopOf="parent" />
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/share_tab_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
android:textSize="20sp"
android:maxLines="1"
android:ellipsize="end"
android:textColor="?contrastText"
android:textColor="@color/fx_mobile_text_color_oncolor_primary"
tools:text="Download Firefox - Free Web Browser"
app:layout_constraintStart_toEndOf="@id/share_tab_favicon"
app:layout_constraintTop_toTopOf="parent"
Expand All @@ -42,7 +42,7 @@
android:textSize="12sp"
android:maxLines="1"
android:ellipsize="end"
android:textColor="@color/photonLightGrey60"
android:textColor="@color/fx_mobile_text_color_oncolor_secondary"
tools:text="https://www.mozilla.org/en-US/firefox/new/"
app:layout_constraintStart_toStartOf="@id/share_tab_title"
app:layout_constraintTop_toBottomOf="@id/share_tab_title"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@
<style name="ShareHeaderTextStyle">
<item name="android:singleLine">true</item>
<item name="android:textAllCaps">true</item>
<item name="android:textColor">@color/photonDarkGrey10</item>
<item name="android:textColor">?secondaryText</item>
<item name="android:textSize">@dimen/share_header_text_size</item>
<item name="android:textStyle">bold</item>
<item name="fontFamily">@font/metropolis_semibold</item>
Expand Down

0 comments on commit e1f91aa

Please sign in to comment.