M3 palette consistency: orphaned B-blue monogram + old text-0 in OG billboards
Token alignment (M3.1) orphaned a few bare literals: PlayerAvatar's team-less monogram accent still fell back to the retired B-blue #4A9EFF → Design neutral #B8BCC8; the player/u OG + portrait billboards painted old text-0 #E8E8F0 → Design #F0F0F0 (satori canvas needs literals). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,7 @@ export default async function Image({ params }: { params: Promise<{ name: string
|
|||||||
width: '100%',
|
width: '100%',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
background: '#06060B',
|
background: '#06060B',
|
||||||
color: '#E8E8F0',
|
color: '#F0F0F0',
|
||||||
padding: 72,
|
padding: 72,
|
||||||
fontFamily: 'monospace',
|
fontFamily: 'monospace',
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ export default async function Image({ params }: { params: Promise<{ handle: stri
|
|||||||
width: '100%',
|
width: '100%',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
background: '#06060B',
|
background: '#06060B',
|
||||||
color: '#E8E8F0',
|
color: '#F0F0F0',
|
||||||
padding: 72,
|
padding: 72,
|
||||||
fontFamily: 'monospace',
|
fontFamily: 'monospace',
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ export async function GET(
|
|||||||
width: '100%',
|
width: '100%',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
background: '#06060B',
|
background: '#06060B',
|
||||||
color: '#E8E8F0',
|
color: '#F0F0F0',
|
||||||
padding: 90,
|
padding: 90,
|
||||||
fontFamily: 'monospace',
|
fontFamily: 'monospace',
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ export default function PlayerAvatar({
|
|||||||
const url = (headshotUrl || playerId != null || espnId != null)
|
const url = (headshotUrl || playerId != null || espnId != null)
|
||||||
? getHeadshotUrl({ sport, playerId, espnId, headshotUrl })
|
? getHeadshotUrl({ sport, playerId, espnId, headshotUrl })
|
||||||
: null;
|
: null;
|
||||||
const accent = (team && accentColor(team, String(sport))) || '#4A9EFF';
|
const accent = (team && accentColor(team, String(sport))) || '#B8BCC8'; // Design neutral (was orphaned B-blue)
|
||||||
const showImg = url && url !== '/images/player-silhouette.svg' && !broken;
|
const showImg = url && url !== '/images/player-silhouette.svg' && !broken;
|
||||||
|
|
||||||
const Monogram = (
|
const Monogram = (
|
||||||
|
|||||||
Reference in New Issue
Block a user