Closes #463 - Add attr for home divider color for private mode theming
parent
2fa814947a
commit
ffd3049d99
|
@ -78,7 +78,7 @@
|
|||
android:id="@+id/homeDivider"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/photonGrey30"
|
||||
android:background="?attr/homeDividerColor"
|
||||
app:layout_constraintTop_toBottomOf="@id/toolbar_wrapper"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
<attr name="toolbarWrapperBackground" format="reference"/>
|
||||
<attr name="toolbarTextColor" format="reference"/>
|
||||
<attr name="navigationBarColorHome" format="reference"/>
|
||||
<attr name="homeDividerColor" format="reference" />
|
||||
|
||||
<!-- Search fragment -->
|
||||
<attr name="searchBackground" format="reference"/>
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
<item name="menuButtonTint">@android:color/black</item>
|
||||
<item name="toolbarWrapperBackground">@drawable/home_search_background_light</item>
|
||||
<item name="toolbarTextColor">@color/search_text</item>
|
||||
<item name="homeDividerColor">@color/photonGrey30</item>
|
||||
|
||||
<!-- Search fragment colors -->
|
||||
<item name="searchBackground">@color/off_white</item>
|
||||
|
@ -62,6 +63,7 @@
|
|||
<item name="menuButtonTint">@color/off_white</item>
|
||||
<item name="toolbarWrapperBackground">@drawable/home_search_background_private</item>
|
||||
<item name="toolbarTextColor">@color/off_white</item>
|
||||
<item name="homeDividerColor">@color/search_private_background</item>
|
||||
|
||||
<!-- Search fragment colors -->
|
||||
<item name="searchBackground">@color/private_browsing_bottom_gradient</item>
|
||||
|
|
Loading…
Reference in New Issue