Fix photo header contrast

This commit is contained in:
Sam Becker 2024-03-26 12:55:28 -05:00
parent bdd83170bc
commit 9b9818f17c
3 changed files with 4 additions and 3 deletions

View File

@ -21,7 +21,7 @@ export default function CameraHeader({
const camera = cameraFromPhoto(photos[0], cameraProp);
return (
<PhotoSetHeader
entity={<PhotoCamera {...{ camera }} hideAppleIcon />}
entity={<PhotoCamera {...{ camera }} contrast="high" hideAppleIcon />}
entityVerb="Photo"
entityDescription={
descriptionForCameraPhotos(photos, undefined, count, dateRange)}

View File

@ -25,13 +25,14 @@ export default function PhotoFilmSimulation({
href={pathForFilmSimulation(simulation)}
icon={<PhotoFilmSimulationIcon
simulation={simulation}
className="translate-y-[-1px]"
className="translate-y-[-0.5px]"
/>}
title={`Film Simulation: ${large}`}
type={type}
badged={badged}
contrast={contrast}
hoverEntity={countOnHover}
iconWide
/>
);
}

View File

@ -22,7 +22,7 @@ export default function TagHeader({
<PhotoSetHeader
entity={isTagFavs(tag)
? <FavsTag />
: <PhotoTag tag={tag} />}
: <PhotoTag tag={tag} contrast="high" />}
entityVerb="Tagged"
entityDescription={descriptionForTaggedPhotos(photos, undefined, count)}
photos={photos}