styles: Propagate WireGuard red in UI

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2018-05-03 23:41:37 +05:30 committed by Samuel Holland
parent fd571c53ce
commit 6bd4f7495d
3 changed files with 10 additions and 1 deletions

View File

@ -35,6 +35,8 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="8dp"
app:fab_addButtonColorNormal="@color/wireguard_brand_red"
app:fab_addButtonColorPressed="@color/wireguard_brand_red"
app:fab_labelStyle="@style/fab_label"
app:fab_labelsPosition="left"
app:layout_dodgeInsetEdges="bottom">
@ -44,6 +46,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="@{fragment::onRequestCreateConfig}"
app:fab_colorNormal="@color/wireguard_brand_red"
app:fab_colorPressed="@color/wireguard_brand_red"
app:fab_icon="@drawable/ic_action_edit"
app:fab_size="mini"
app:fab_title="@string/create_empty" />
@ -53,6 +57,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="@{fragment::onRequestImportConfig}"
app:fab_colorNormal="@color/wireguard_brand_red"
app:fab_colorPressed="@color/wireguard_brand_red"
app:fab_icon="@drawable/ic_action_open"
app:fab_size="mini"
app:fab_title="@string/create_from_file" />

View File

@ -2,4 +2,5 @@
<resources>
<color name="list_item_activated">#cfd8dc</color> <!-- Blue Grey 200 -->
<color name="list_item_ripple">#808e95</color> <!-- Blue Grey 200 dark -->
<color name="wireguard_brand_red">#871719</color>
</resources>

View File

@ -1,7 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar" />
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorAccent">@color/wireguard_brand_red</item>
</style>
<style name="SettingsTheme" parent="AppTheme">
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>