1
0
Fork 0

For #5712: Updates text color for fill link from clipboard

master
Sawyer Blatz 2019-10-01 12:50:39 -07:00 committed by Emily Kager
parent f7c9ab11eb
commit 2f0d8d8243
5 changed files with 9 additions and 1 deletions

View File

@ -89,7 +89,7 @@
android:id="@+id/clipboard_url"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textColor="?accent"
android:textColor="?fillLinkFromClipboard"
android:textAppearance="@style/Subtitle12TextStyle"
android:maxLines="1"
android:ellipsize="end"

View File

@ -29,6 +29,7 @@
<color name="toolbar_center_gradient_normal_theme">@color/toolbar_center_gradient_dark_theme</color>
<color name="toolbar_end_gradient_normal_theme">@color/toolbar_end_gradient_dark_theme</color>
<color name="toolbar_divider_color_normal_theme">@color/toolbar_divider_color_dark_theme</color>
<color name="fill_link_from_clipboard_normal_theme">@color/accent_on_dark_background_normal_theme</color>
<!-- Collection icons-->
<color name="collection_icon_color_violet">@color/collection_icon_color_violet_dark_theme</color>

View File

@ -36,6 +36,7 @@
<attr name="toolbarCenterGradient" format="reference"/>
<attr name="toolbarEndGradient" format="reference"/>
<attr name="shieldLottieFile" format="reference" />
<attr name="fillLinkFromClipboard" format="reference"/>
<declare-styleable name="LibraryListItem">
<attr name="listItemTitle" format="reference" />

View File

@ -30,6 +30,7 @@
<color name="toolbar_center_gradient_light_theme">@color/foundation_light_theme</color>
<color name="toolbar_end_gradient_light_theme">@color/foundation_light_theme</color>
<color name="toolbar_divider_color_light_theme">#CDCCCF</color>
<color name="fill_link_from_clipboard_light_theme">@color/accent_light_theme</color>
<!-- Dark theme color palette -->
<color name="primary_text_dark_theme">#FBFBFE</color>
@ -58,6 +59,7 @@
<color name="toolbar_center_gradient_dark_theme">@color/foundation_dark_theme</color>
<color name="toolbar_end_gradient_dark_theme">@color/foundation_dark_theme</color>
<color name="toolbar_divider_color_dark_theme">#45444D</color>
<color name="fill_link_from_clipboard_dark_theme">@color/accent_on_dark_background_normal_theme</color>
<!-- Private theme color palette -->
<color name="primary_text_private_theme">#FBFBFE</color>
@ -83,6 +85,7 @@
<color name="toolbar_center_gradient_private_theme">#492E85</color>
<color name="toolbar_end_gradient_private_theme">#383372</color>
<color name="toolbar_divider_color_private_theme">#403760</color>
<color name="fill_link_from_clipboard_private_theme">@color/accent_on_dark_background_private_theme</color>
<!-- Normal theme colors for light mode -->
<color name="primary_text_normal_theme">@color/primary_text_light_theme</color>
@ -108,6 +111,7 @@
<color name="toolbar_center_gradient_normal_theme">@color/toolbar_center_gradient_light_theme</color>
<color name="toolbar_end_gradient_normal_theme">@color/toolbar_end_gradient_light_theme</color>
<color name="toolbar_divider_color_normal_theme">@color/toolbar_divider_color_light_theme</color>
<color name="fill_link_from_clipboard_normal_theme">@color/fill_link_from_clipboard_light_theme</color>
<!-- Bookmark buttons -->
<color name="bookmark_favicon_background">#DFDFE3</color>

View File

@ -49,6 +49,7 @@
<item name="toolbarCenterGradient">@color/toolbar_center_gradient_normal_theme</item>
<item name="toolbarEndGradient">@color/toolbar_end_gradient_normal_theme</item>
<item name="toolbarDivider">@color/toolbar_divider_color_normal_theme</item>
<item name="fillLinkFromClipboard">@color/fill_link_from_clipboard_normal_theme</item>
<!-- Drawables -->
<item name="fenixLogo">@drawable/ic_logo_wordmark_normal</item>
@ -132,6 +133,7 @@
<item name="toolbarCenterGradient">@color/toolbar_center_gradient_private_theme</item>
<item name="toolbarEndGradient">@color/toolbar_end_gradient_private_theme</item>
<item name="toolbarDivider">@color/toolbar_divider_color_private_theme</item>
<item name="fillLinkFromClipboard">@color/fill_link_from_clipboard_private_theme</item>
<!-- Drawables -->
<item name="fenixLogo">@drawable/ic_logo_wordmark_private</item>