Updated theme colours, more consistency with regular UI

This commit is contained in:
Mike Barnes 2026-01-03 13:19:25 +11:00
commit 312734f1c1
4 changed files with 10 additions and 9 deletions

View file

@ -31,8 +31,8 @@ android {
namespace "com.keylesspalace.tusky"
minSdk 24
targetSdk 35
versionCode 94
versionName "28.0-CW0"
versionCode 95
versionName "28.0-CW1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true

View file

@ -235,11 +235,11 @@ internal class StatusNotificationViewHolder(
val icon: Drawable?
when (type) {
Notification.Type.Favourite -> {
icon = getIconWithColor(context, R.drawable.ic_star_24dp, R.color.tusky_orange_light)
icon = getIconWithColor(context, R.drawable.ic_star_24dp, R.color.chinwag_gold)
format = context.getString(R.string.notification_favourite_format)
}
Notification.Type.Reblog -> {
icon = getIconWithColor(context, R.drawable.ic_repeat_24dp, R.color.tusky_orange)
icon = getIconWithColor(context, R.drawable.ic_repeat_24dp, R.color.chinwag_green)
format = context.getString(R.string.notification_reblog_format)
}
Notification.Type.Status -> {
@ -251,7 +251,7 @@ internal class StatusNotificationViewHolder(
format = context.getString(R.string.notification_update_format)
}
else -> {
icon = getIconWithColor(context, R.drawable.ic_star_24dp, R.color.tusky_orange_light)
icon = getIconWithColor(context, R.drawable.ic_star_24dp, R.color.chinwag_gold)
format = context.getString(R.string.notification_favourite_format)
}
}

View file

@ -53,6 +53,7 @@
<color name="chinwag_green">#388e3c</color>
<color name="chinwag_green_light">#508f53</color>
<color name="transparent_chinwag_green">#8c388e3c</color>
<color name="chinwag_gold">#e4e270</color>
<color name="chinwag_grey_dark">#cecec1</color>
<color name="chinwag_grey_medium">#f0f0ec</color>

View file

@ -2,7 +2,7 @@
<resources>
<color name="colorPrimary">@color/chinwag_green</color>
<color name="colorSecondary">@color/chinwag_green</color>
<color name="colorSurface">@color/chinwag_grey_light</color>
<color name="colorSurface">@color/chinwag_grey_medium</color>
<color name="colorPrimaryDark">@color/chinwag_green_light</color>
<color name="colorOnPrimary">@color/white</color>
@ -19,10 +19,10 @@
<color name="iconColor">@color/tusky_grey_50</color>
<color name="colorBackgroundAccent">@color/tusky_grey_70</color>
<color name="colorBackgroundHighlight">@color/tusky_grey_50</color>
<color name="colorBackgroundAccent">@color/transparent_chinwag_green</color>
<color name="colorBackgroundHighlight">@color/chinwag_green_light</color>
<color name="dividerColor">@color/chinwag_grey_dark</color>
<color name="dividerColorOther">@color/tusky_grey_90</color>
<color name="dividerColorOther">@color/chinwag_gold</color>
<color name="favoriteButtonActiveColor">@color/tusky_orange_light</color>