mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-22 13:48:55 +00:00
tint tweaks
This commit is contained in:
parent
6a474841fb
commit
f54f34ec56
4 changed files with 10 additions and 4 deletions
|
|
@ -2,11 +2,17 @@
|
|||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="?colorPrimaryDistinct" />
|
||||
<solid android:color="?textColorTintedSecondary" />
|
||||
<corners android:radius="4dp" android:topLeftRadius="8dp" android:topRightRadius="8dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item android:bottom="2dp">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:topLeftRadius="4dp" android:topRightRadius="4dp" android:bottomLeftRadius="2dp" android:bottomRightRadius="2dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:bottom="2dp">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="?colorTintedBackgroundOffset" />
|
||||
|
|
|
|||
|
|
@ -498,7 +498,7 @@ class TaskFormActivity : BaseActivity() {
|
|||
val view = CheckBox(this)
|
||||
view.setPadding(padding, view.paddingTop, view.paddingRight, view.paddingBottom)
|
||||
view.text = tag.name
|
||||
view.setTextColor(getThemeColor(R.attr.tintedUiDetails))
|
||||
view.setTextColor(getThemeColor(R.attr.textColorTintedPrimary))
|
||||
if (preselectedTags?.contains(tag.id) == true) {
|
||||
view.isChecked = true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ private fun TaskDifficultySelection(
|
|||
.background(HabiticaTheme.colors.tintedUiMain, MaterialTheme.shapes.medium)
|
||||
)
|
||||
}
|
||||
Image(icon, null, colorFilter = ColorFilter.tint(HabiticaTheme.colors.tintedUiDetails))
|
||||
Image(icon, null, colorFilter = ColorFilter.tint(textColor.value))
|
||||
}
|
||||
Text(
|
||||
text,
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
NAME=4.1
|
||||
CODE=5051
|
||||
CODE=5071
|
||||
Loading…
Reference in a new issue