Skip to content

Commit 4d85827

Browse files
committed
fix customTheme for light theme
1 parent 7928175 commit 4d85827

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

app/src/main/java/com/wmods/wppenhacer/utils/IColors.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ public class IColors {
2323
colors.put("#ff25d366", "#ff25d366"); // status indicator
2424
colors.put("#ffd9fdd3", "#ffd9fdd3"); // nav bar color in light theme
2525
colors.put("#ff15603e", "#ff15603e"); // nav bar color in light theme
26+
colors.put("#fff1f2f4", "#fff1f2f4"); // nav bar color in light theme
27+
colors.put("#ff008069", "#ff008069"); // header and buttons in light theme
28+
2629
colors.put("15603e", "15603e");
2730
// colors.put("#0b141a", "#ff0b141a");
2831

@@ -32,11 +35,12 @@ public class IColors {
3235
colors.put("#ff10161a", "#ff10161a"); // background header green color (above version 22)
3336
colors.put("#ff12181c", "#ff12181c"); // background header green color (above version 22)
3437
colors.put("#ff20272b", "#ff20272b"); // background footer (above version 22)
35-
38+
colors.put("#ff3a484f", "#ff3a484f"); // background of Dialogs
3639

3740
colors.put("#ffffffff", "#ffffffff"); // background color in light theme
3841
colors.put("#ff1b8755", "#ff1b8755"); // background toolbar color in light theme
3942

43+
4044
// Secondary
4145
colors.put("#ff202c33", "#ff202c33");
4246
colors.put("#ff2a2f33", "#ff2a2f33");

app/src/main/java/com/wmods/wppenhacer/xposed/features/customization/CustomTheme.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ private void hookColors() throws Exception {
173173
case "00a884", "1da457", "21c063", "d9fdd3" ->
174174
IColors.colors.put(c, primaryColor.substring(3));
175175
case "#ff00a884", "#ff1da457", "#ff21c063", "#ff1daa61", "#ff25d366",
176-
"#ffd9fdd3" -> IColors.colors.put(c, primaryColor);
177-
case "#ff103529" ->
176+
"#ffd9fdd3", "#ff008069" -> IColors.colors.put(c, primaryColor);
177+
case "#ff103529", "#fff1f2f4" ->
178178
IColors.colors.put(c, "#66" + primaryColor.substring(3));
179179
}
180180
}
@@ -185,7 +185,8 @@ private void hookColors() throws Exception {
185185
case "0b141a", "0a1014" ->
186186
IColors.colors.put(c, backgroundColor.substring(3));
187187
case "#ff0b141a", "#ff111b21", "#ff000000", "#ff0a1014", "#ff10161a",
188-
"#ff12181c", "#ff20272b" -> IColors.colors.put(c, backgroundColor);
188+
"#ff12181c", "#ff20272b", "#ff3a484f" ->
189+
IColors.colors.put(c, backgroundColor);
189190
}
190191
}
191192

0 commit comments

Comments
 (0)