Skip to content

Commit 96e20f7

Browse files
powerjungleiSoron
authored andcommitted
Fix(UI): X and ? symbols easier to distinguish in "pure black" dark mode
In addition to that, make "progress ring" a bit more visible.
1 parent 0daa4f6 commit 96e20f7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

uhabits-android/src/main/java/org/isoron/uhabits/activities/common/views/RingView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class RingView : View {
204204
val res = StyledResources(context)
205205
if (backgroundColor == null) backgroundColor = res.getColor(R.attr.cardBgColor)
206206
if (inactiveColor == null) inactiveColor = res.getColor(R.attr.contrast100)
207-
inactiveColor = setAlpha(inactiveColor!!, 0.1f)
207+
inactiveColor = setAlpha(inactiveColor!!, 0.15f)
208208
rect = RectF()
209209
}
210210

uhabits-android/src/main/res/values/styles.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,9 @@
126126
<item name="highlightedBackgroundColor">@color/black</item>
127127
<item name="contrast0">@color/black</item>
128128
<item name="contrast20">@color/grey_900</item>
129-
<item name="contrast60">@color/grey_700</item>
130-
<item name="contrast80">@color/grey_700</item>
129+
<item name="contrast40">@color/grey_800</item>
130+
<item name="contrast60">@color/grey_500</item>
131+
<item name="contrast80">@color/grey_400</item>
131132
<item name="contrast100">@color/grey_200</item>
132133
<item name="selectedBackground">@drawable/selected_box</item>
133134
<item name="textColorAlertDialogListItem">@color/grey_100</item>

0 commit comments

Comments
 (0)