From 0f25ed1579b39a102eed7db78b3d7a4e2bd994ed Mon Sep 17 00:00:00 2001 From: Karol Musur Date: Sat, 21 Oct 2017 22:54:44 +0200 Subject: [PATCH] Remove underline on hyperlinked images --- src/utils/typography.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/utils/typography.js b/src/utils/typography.js index 5af3ba6..cb559ac 100644 --- a/src/utils/typography.js +++ b/src/utils/typography.js @@ -1,6 +1,12 @@ import Typography from 'typography' import Wordpress2016 from 'typography-theme-wordpress-2016' +Wordpress2016.overrideThemeStyles = () => ({ + 'a.gatsby-resp-image-link': { + boxShadow: 'none', + } +}) + const typography = new Typography(Wordpress2016) // Hot reload typography in development.