Skip to content

Commit a28daa4

Browse files
committed
fix(mods): sync switch-version dialog colors with active app theme
1 parent 0834dc2 commit a28daa4

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

app_pojavlauncher/src/main/res/drawable/bg_version_current_pill.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<shape xmlns:android="http://schemas.android.com/apk/res/android"
33
android:shape="rectangle">
44
<corners android:radius="@dimen/_20sdp" />
5-
<solid android:color="@color/mod_version_current_bg" />
5+
<solid android:color="?attr/copperAccent" />
66
</shape>

app_pojavlauncher/src/main/res/drawable/bg_version_row_current.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
<solid android:color="?attr/colorBgStatusBar" />
66
<stroke
77
android:width="@dimen/_1sdp"
8-
android:color="@color/mod_version_current_bg" />
8+
android:color="?attr/copperAccent" />
99
</shape>

app_pojavlauncher/src/main/res/layout/dialog_switch_mod_version.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
android:layout_width="0dp"
1616
android:layout_height="wrap_content"
1717
android:text="@string/switch_mod_version_title"
18-
android:textColor="@color/primary_text"
18+
android:textColor="?attr/colorTextPrimary"
1919
android:textStyle="bold"
2020
android:textSize="@dimen/_16ssp"
2121
app:layout_constraintStart_toStartOf="parent"
@@ -71,7 +71,7 @@
7171
android:id="@+id/switch_version_error_textview"
7272
android:layout_width="wrap_content"
7373
android:layout_height="wrap_content"
74-
android:textColor="@color/secondary_text"
74+
android:textColor="?attr/colorTextSecondary"
7575
android:textAlignment="center"
7676
android:text="@string/switch_mod_version_no_versions" />
7777

@@ -101,7 +101,7 @@
101101
android:layout_marginTop="@dimen/padding_moderate"
102102
android:background="?android:attr/selectableItemBackground"
103103
android:padding="@dimen/padding_moderate"
104-
android:textColor="@color/secondary_text"
104+
android:textColor="?attr/colorTextSecondary"
105105
android:textSize="@dimen/_12ssp"
106106
android:text="@string/switch_mod_version_show_incompatible"
107107
app:layout_constraintStart_toStartOf="parent"

app_pojavlauncher/src/main/res/layout/item_mod_version_row.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
android:layout_width="0dp"
3737
android:layout_height="wrap_content"
3838
android:layout_marginStart="@dimen/padding_moderate"
39-
android:textColor="@color/primary_text"
39+
android:textColor="?attr/colorTextPrimary"
4040
android:textStyle="bold"
4141
android:textSize="@dimen/_13ssp"
4242
android:maxLines="1"
@@ -52,7 +52,7 @@
5252
android:layout_width="0dp"
5353
android:layout_height="wrap_content"
5454
android:layout_marginStart="@dimen/padding_moderate"
55-
android:textColor="@color/secondary_text"
55+
android:textColor="?attr/colorTextSecondary"
5656
android:textSize="@dimen/_11ssp"
5757
android:maxLines="1"
5858
android:ellipsize="end"
@@ -70,7 +70,7 @@
7070
android:paddingHorizontal="@dimen/padding_moderate"
7171
android:paddingVertical="@dimen/padding_small"
7272
android:text="@string/switch_mod_version_current"
73-
android:textColor="#000000"
73+
android:textColor="#FFFFFF"
7474
android:textStyle="bold"
7575
android:textSize="@dimen/_9ssp"
7676
android:visibility="gone"

0 commit comments

Comments
 (0)