feat: give the Following badge a vivid accent shield with a white figure

Tying the badge to the tonal-button palette (secondaryContainer) made it read
too dark against profile photos. Match the original badge look instead — a
vivid shield with a white figure — recoloured to the accent: shield = primary,
figure = onPrimary.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D1F9jXNwRGTP8qmsV3Wd69
This commit is contained in:
Claude
2026-07-16 23:46:29 +00:00
parent 8891e3a1a7
commit 2af730e5f7
@@ -66,9 +66,10 @@ fun AmethystIcon(iconSize: Dp) {
@Composable
fun FollowingIcon(modifier: Modifier) {
// Match the FilledTonalButton palette: shield = secondaryContainer, figure = onSecondaryContainer.
val shield = MaterialTheme.colorScheme.secondaryContainer
val figure = MaterialTheme.colorScheme.onSecondaryContainer
// Match the previous badge look — a vivid accent shield with a white figure — recoloured to the
// selected accent: shield = primary, figure = onPrimary.
val shield = MaterialTheme.colorScheme.primary
val figure = MaterialTheme.colorScheme.onPrimary
val icon = remember(shield, figure) { following(shield, figure) }
Icon(
imageVector = icon,