fabe/gatsby-starter-deck

Retina images

antoinerousseau opened this issue · 2 comments

I had to add this option in the gatsby-remark-images options (gatsby-config.js):

wrapperStyle: fluidResult => `width:${fluidResult.presentationWidth / 2}px;`,

In order for my images to be displayed at half their pixels size, so they don't appear blurry on HDPI screens.
But it's a hack and it could be improved.

This is helpful, thanks!

fabe commented

I'm archiving this repository in favor of https://github.com/jxnblk/mdx-deck/tree/master/packages/gatsby-theme ✌️