From 2af730e5f783a8ca6090554e494cfdb1cca614e3 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 16 Jul 2026 23:46:29 +0000 Subject: [PATCH] feat: give the Following badge a vivid accent shield with a white figure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_01D1F9jXNwRGTP8qmsV3Wd69 --- .../main/java/com/vitorpamplona/amethyst/ui/note/Icons.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/Icons.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/Icons.kt index a2ad634813..d3ed0d849a 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/Icons.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/Icons.kt @@ -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,