styles: Propagate WireGuard red in UI
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
fd571c53ce
commit
6bd4f7495d
@ -35,6 +35,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="bottom|end"
|
android:layout_gravity="bottom|end"
|
||||||
android:layout_margin="8dp"
|
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_labelStyle="@style/fab_label"
|
||||||
app:fab_labelsPosition="left"
|
app:fab_labelsPosition="left"
|
||||||
app:layout_dodgeInsetEdges="bottom">
|
app:layout_dodgeInsetEdges="bottom">
|
||||||
@ -44,6 +46,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:onClick="@{fragment::onRequestCreateConfig}"
|
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_icon="@drawable/ic_action_edit"
|
||||||
app:fab_size="mini"
|
app:fab_size="mini"
|
||||||
app:fab_title="@string/create_empty" />
|
app:fab_title="@string/create_empty" />
|
||||||
@ -53,6 +57,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:onClick="@{fragment::onRequestImportConfig}"
|
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_icon="@drawable/ic_action_open"
|
||||||
app:fab_size="mini"
|
app:fab_size="mini"
|
||||||
app:fab_title="@string/create_from_file" />
|
app:fab_title="@string/create_from_file" />
|
||||||
|
@ -2,4 +2,5 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<color name="list_item_activated">#cfd8dc</color> <!-- Blue Grey 200 -->
|
<color name="list_item_activated">#cfd8dc</color> <!-- Blue Grey 200 -->
|
||||||
<color name="list_item_ripple">#808e95</color> <!-- Blue Grey 200 dark -->
|
<color name="list_item_ripple">#808e95</color> <!-- Blue Grey 200 dark -->
|
||||||
|
<color name="wireguard_brand_red">#871719</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
<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">
|
<style name="SettingsTheme" parent="AppTheme">
|
||||||
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user