From 3d0631dd85a913eeb1968821b87cb2dfb19333c5 Mon Sep 17 00:00:00 2001 From: Hampus Kraft Date: Sat, 21 Feb 2026 14:36:28 +0000 Subject: [PATCH] [skip ci] --- .../popouts/UserProfileBadges.module.css | 6 ------ .../components/popouts/UserProfileBadges.tsx | 21 +------------------ 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/fluxer_app/src/components/popouts/UserProfileBadges.module.css b/fluxer_app/src/components/popouts/UserProfileBadges.module.css index a249ead0..ebaab8aa 100644 --- a/fluxer_app/src/components/popouts/UserProfileBadges.module.css +++ b/fluxer_app/src/components/popouts/UserProfileBadges.module.css @@ -63,16 +63,10 @@ font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; - text-shadow: - 0 0 6px var(--glow-color), - 0 0 14px color-mix(in srgb, var(--glow-color) 50%, transparent); } :global(.theme-light) .sequenceBadge { color: var(--brand-primary); - text-shadow: - 0 0 5px color-mix(in srgb, var(--glow-color) 60%, transparent), - 0 0 12px color-mix(in srgb, var(--glow-color) 30%, transparent); } .sequenceBadgeMobile { diff --git a/fluxer_app/src/components/popouts/UserProfileBadges.tsx b/fluxer_app/src/components/popouts/UserProfileBadges.tsx index e663c87a..f945726f 100644 --- a/fluxer_app/src/components/popouts/UserProfileBadges.tsx +++ b/fluxer_app/src/components/popouts/UserProfileBadges.tsx @@ -45,23 +45,9 @@ interface IconBadge extends BaseBadge { interface TextBadge extends BaseBadge { type: 'text'; text: string; - glowColor: string; } type Badge = IconBadge | TextBadge; -const GLOW_COLORS = [ - '#ff6b9d', // rose - '#c084fc', // violet - '#60a5fa', // sky blue - '#34d399', // emerald - '#fbbf24', // amber - '#f472b6', // pink - '#818cf8', // indigo - '#2dd4bf', // teal - '#fb923c', // orange - '#a78bfa', // purple -] as const; - interface UserProfileBadgesProps { user: UserRecord; profile: ProfileRecord | null; @@ -149,7 +135,6 @@ export const UserProfileBadges: React.FC = observer( text: `#${profile.premiumLifetimeSequence}`, tooltip: t`Visionary ID #${profile.premiumLifetimeSequence}`, url: badgeUrl, - glowColor: GLOW_COLORS[profile.premiumLifetimeSequence % GLOW_COLORS.length], }); } } @@ -188,11 +173,7 @@ export const UserProfileBadges: React.FC = observer( badge.type === 'icon' ? ( {badge.tooltip} ) : ( -