diff --git a/src/components/GalleryImage/GalleryImage.js b/src/components/GalleryImage/GalleryImage.js index b5e9e88..a81794f 100644 --- a/src/components/GalleryImage/GalleryImage.js +++ b/src/components/GalleryImage/GalleryImage.js @@ -135,8 +135,9 @@ const GalleryImage = ({ data, location: { state } }) => { locationString = location.join(", "); } const vibrant = getVibrant(image, true); + const BLEND = 'hsl' const darkAccent = chroma - .mix(vibrant.Vibrant, "hsla(216, 12%, 90%, 1)", 0.7) + .mix(vibrant.Vibrant, "hsla(216, 0%, 90%, 1)", 0.6, BLEND) .hex(); const canonicalSize = getCanonicalSize(image); @@ -162,7 +163,7 @@ const GalleryImage = ({ data, location: { state } }) => { className="text-black transition-colors" // style={getHelmetSafeBodyStyle(vibrant)} style={getHelmetSafeBodyStyle({ - background: chroma.mix(vibrant.Vibrant, "white", 0.7).hex(), + background: chroma.mix(vibrant.Vibrant, "white", 0.7, BLEND).hex(), })} /> @@ -263,9 +264,8 @@ const GalleryImage = ({ data, location: { state } }) => {