diff --git a/example/src/gatsby-theme-contact/components/details.js b/example/src/gatsby-theme-contact/components/details.js index a88a3f3..40fefcc 100644 --- a/example/src/gatsby-theme-contact/components/details.js +++ b/example/src/gatsby-theme-contact/components/details.js @@ -1,10 +1,10 @@ /** @jsx jsx */ import React from 'react' -import { jsx, Styled } from 'theme-ui' +import { jsx, Themed } from 'theme-ui' const Details = () => ( <> - Address + Address David Mathews
@@ -13,12 +13,12 @@ const Details = () => ( Moscow Kentucky 77382
- Phone + Phone (357) 616-5411 - Email + Email - email@example.com + email@example.com ) diff --git a/gatsby-theme-contact/README.md b/gatsby-theme-contact/README.md index ede8764..6eaf7cb 100644 --- a/gatsby-theme-contact/README.md +++ b/gatsby-theme-contact/README.md @@ -46,11 +46,11 @@ Gatsby theme for a styled serverless contact page using Netlify Forms. It can al // src/gatsby-theme-contact/components/details.js /** @jsx jsx */ import React from 'react' - import { jsx, Styled } from 'theme-ui' + import { jsx, Themed } from 'theme-ui' const Details = () => ( <> - Address + Address David Mathews
@@ -59,12 +59,12 @@ Gatsby theme for a styled serverless contact page using Netlify Forms. It can al Moscow Kentucky 77382
- Phone + Phone (357) 616-5411 - Email + Email - email@example.com + email@example.com ) diff --git a/gatsby-theme-contact/src/components/header.js b/gatsby-theme-contact/src/components/header.js index 455a1d5..3501a73 100644 --- a/gatsby-theme-contact/src/components/header.js +++ b/gatsby-theme-contact/src/components/header.js @@ -1,9 +1,9 @@ import React from 'react' -import { Styled } from 'theme-ui' +import { Themed } from 'theme-ui' const Header = () => ( <> - Get in touch + Get in touch ) diff --git a/gatsby-theme-contact/src/components/intro.js b/gatsby-theme-contact/src/components/intro.js index 5bcc545..6bd37ee 100644 --- a/gatsby-theme-contact/src/components/intro.js +++ b/gatsby-theme-contact/src/components/intro.js @@ -1,12 +1,12 @@ import React from 'react' -import { Styled } from 'theme-ui' +import { Themed } from 'theme-ui' const Intro = () => ( <> - + If you want to get in touch for your next project or you still have questions left, do not hesitate to start a chat. - + ) diff --git a/gatsby-theme-contact/src/components/socials.js b/gatsby-theme-contact/src/components/socials.js index b184f07..6882c7f 100644 --- a/gatsby-theme-contact/src/components/socials.js +++ b/gatsby-theme-contact/src/components/socials.js @@ -1,6 +1,6 @@ /** @jsx jsx */ import React from 'react' -import { jsx, Styled, useThemeUI } from 'theme-ui' +import { jsx, Themed, useThemeUI } from 'theme-ui' import { SocialIcon } from 'react-social-icons' import useSiteMetadata from '../hooks/use-site-metadata' @@ -9,10 +9,10 @@ const Socials = () => { const { theme } = useThemeUI() return social ? ( <> - Socials - + Socials + {social.map(({ url }) => ( - { bgColor='transparent' fgColor={theme.colors.text} /> - + ))} - + ) : null }