Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
fenix
Commits
0436c8d8
Commit
0436c8d8
authored
Mar 03, 2020
by
David Walsh
Committed by
Emily Kager
Mar 05, 2020
Browse files
For #8874 - Update tab deletion colors
parent
2aef8865
Changes
7
Hide whitespace changes
Inline
Side-by-side
app/src/main/res/drawable/session_background.xml
View file @
0436c8d8
...
...
@@ -6,5 +6,5 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<corners
android:radius=
"@dimen/tab_corner_radius"
/>
<solid
android:color=
"
@color/photonGrey30
"
/>
<solid
android:color=
"
?swipeDeleteBackground
"
/>
</shape>
app/src/main/res/drawable/tab_in_collection_last_swipe_background.xml
View file @
0436c8d8
...
...
@@ -6,5 +6,5 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<corners
android:bottomLeftRadius=
"@dimen/tab_corner_radius"
android:bottomRightRadius=
"@dimen/tab_corner_radius"
/>
<solid
android:color=
"
@color/photonGrey30
"
/>
<solid
android:color=
"
?swipeDeleteBackground
"
/>
</shape>
app/src/main/res/drawable/tab_in_collection_swipe_background.xml
View file @
0436c8d8
...
...
@@ -5,5 +5,5 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<solid
android:color=
"
@color/photonGrey30
"
/>
<solid
android:color=
"
?swipeDeleteBackground
"
/>
</shape>
app/src/main/res/values-night/colors.xml
View file @
0436c8d8
...
...
@@ -34,6 +34,7 @@
<color
name=
"menu_category_normal_theme"
>
@color/primary_text_normal_theme
</color>
<color
name=
"sync_disconnected_icon_fill_normal_theme"
>
@color/sync_disconnected_icon_fill_dark_theme
</color>
<color
name=
"sync_disconnected_background_normal_theme"
>
@color/sync_disconnected_background_dark_theme
</color>
<color
name=
"swipe_delete_background_normal_theme"
>
@color/swipe_delete_background_dark_theme
</color>
<!-- Collection icons-->
<color
name=
"collection_icon_color_violet"
>
@color/collection_icon_color_violet_dark_theme
</color>
...
...
app/src/main/res/values/attrs.xml
View file @
0436c8d8
...
...
@@ -42,6 +42,7 @@
<attr
name=
"fillLinkFromClipboard"
format=
"reference"
/>
<attr
name=
"syncDisconnected"
format=
"reference"
/>
<attr
name=
"syncDisconnectedBackground"
format=
"reference"
/>
<attr
name=
"swipeDeleteBackground"
format=
"reference"
/>
<declare-styleable
name=
"LibraryListItem"
>
<attr
name=
"listItemTitle"
format=
"reference"
/>
...
...
app/src/main/res/values/colors.xml
View file @
0436c8d8
...
...
@@ -36,6 +36,7 @@
<color
name=
"fill_link_from_clipboard_light_theme"
>
@color/accent_light_theme
</color>
<color
name=
"sync_disconnected_icon_fill_light_theme"
>
#C45A27
</color>
<color
name=
"sync_disconnected_background_light_theme"
>
#FFFDE2
</color>
<color
name=
"swipe_delete_background_light_theme"
>
#E0E0E6
</color>
<!-- Dark theme color palette -->
<color
name=
"primary_text_dark_theme"
>
#FBFBFE
</color>
...
...
@@ -68,6 +69,7 @@
<color
name=
"fill_link_from_clipboard_dark_theme"
>
@color/accent_on_dark_background_normal_theme
</color>
<color
name=
"sync_disconnected_icon_fill_dark_theme"
>
#FFF36E
</color>
<color
name=
"sync_disconnected_background_dark_theme"
>
#5B5846
</color>
<color
name=
"swipe_delete_background_dark_theme"
>
#4A4A55
</color>
<!-- Private theme color palette -->
<color
name=
"primary_text_private_theme"
>
#FBFBFE
</color>
...
...
@@ -98,6 +100,7 @@
<color
name=
"menu_category_private_theme"
>
@color/primary_text_private_theme
</color>
<color
name=
"sync_disconnected_icon_fill_private_theme"
>
#C45A27
</color>
<color
name=
"sync_disconnected_background_private_theme"
>
#5B5846
</color>
<color
name=
"swipe_delete_background_private_theme"
>
#312A65
</color>
<!-- Normal theme colors for light mode -->
<color
name=
"primary_text_normal_theme"
>
@color/primary_text_light_theme
</color>
...
...
@@ -127,6 +130,7 @@
<color
name=
"menu_category_normal_theme"
>
@color/accent_light_theme
</color>
<color
name=
"sync_disconnected_icon_fill_normal_theme"
>
@color/sync_disconnected_icon_fill_light_theme
</color>
<color
name=
"sync_disconnected_background_normal_theme"
>
@color/sync_disconnected_background_light_theme
</color>
<color
name=
"swipe_delete_background_normal_theme"
>
@color/swipe_delete_background_light_theme
</color>
<!-- Bookmark buttons -->
<color
name=
"bookmark_favicon_background"
>
#DFDFE3
</color>
...
...
app/src/main/res/values/styles.xml
View file @
0436c8d8
...
...
@@ -58,6 +58,7 @@
<item
name=
"menuCategoryText"
>
@color/menu_category_normal_theme
</item>
<item
name=
"syncDisconnected"
>
@color/sync_disconnected_icon_fill_normal_theme
</item>
<item
name=
"syncDisconnectedBackground"
>
@color/sync_disconnected_background_normal_theme
</item>
<item
name=
"swipeDeleteBackground"
>
@color/swipe_delete_background_normal_theme
</item>
<!-- Drawables -->
<item
name=
"fenixLogo"
>
@drawable/ic_logo_wordmark_normal
</item>
...
...
@@ -151,6 +152,7 @@
<item
name=
"menuCategoryText"
>
@color/menu_category_private_theme
</item>
<item
name=
"syncDisconnected"
>
@color/sync_disconnected_icon_fill_private_theme
</item>
<item
name=
"syncDisconnectedBackground"
>
@color/sync_disconnected_background_private_theme
</item>
<item
name=
"swipeDeleteBackground"
>
@color/swipe_delete_background_private_theme
</item>
<!-- Drawables -->
<item
name=
"fenixLogo"
>
@drawable/ic_logo_wordmark_private
</item>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment