diff --git a/examples/stories/src/stories/home-page.stories.mdx b/examples/stories/src/stories/home-page.stories.mdx index 849279165..9150cb938 100644 --- a/examples/stories/src/stories/home-page.stories.mdx +++ b/examples/stories/src/stories/home-page.stories.mdx @@ -5,7 +5,7 @@ fullPage: true menu: false --- -import { jsx, Flex, Heading, Text } from 'theme-ui'; +import { jsx, Flex, Heading, Text, Button } from 'theme-ui'; @@ -13,6 +13,7 @@ import { jsx, Flex, Heading, Text } from 'theme-ui'; design -> develop -> test + diff --git a/integrations/gatsby-theme-stories/src/components/GatsbyLink.tsx b/integrations/gatsby-theme-stories/src/components/GatsbyLink.tsx index 38e824fe8..d1b4d4448 100644 --- a/integrations/gatsby-theme-stories/src/components/GatsbyLink.tsx +++ b/integrations/gatsby-theme-stories/src/components/GatsbyLink.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ import { FC } from 'react'; -import { jsx, LinkProps, Theme } from 'theme-ui'; +import { jsx, LinkProps } from 'theme-ui'; import { Link } from 'gatsby'; export const GatsbyLink: FC = ({ @@ -9,19 +9,5 @@ export const GatsbyLink: FC = ({ ...props }) => ( //@ts-ignore - `4px solid ${t?.colors?.accent}`, - color: 'white', - }, - ':hover': { - backgroundColor: 'shadow', - }, - }} - /> + ); diff --git a/integrations/gatsby-theme-stories/src/components/Layout.tsx b/integrations/gatsby-theme-stories/src/components/Layout.tsx index 146a8ddf7..eed234ebf 100644 --- a/integrations/gatsby-theme-stories/src/components/Layout.tsx +++ b/integrations/gatsby-theme-stories/src/components/Layout.tsx @@ -1,19 +1,17 @@ /** @jsx jsx */ import { FC } from 'react'; -import { jsx, Flex } from 'theme-ui'; +import { jsx } from 'theme-ui'; import { Global } from '@emotion/core'; import { ThemeProvider } from '@component-controls/components'; -import { Page, SEO, Header } from '@component-controls/app'; +import { App } from '@component-controls/app'; import { SidebarContextProvider, LinkContextProvider, } from '@component-controls/app-components'; import { BlockContextProvider } from '@component-controls/blocks'; import { Store } from '@component-controls/store'; -import { Sidebar } from './Sidebar'; import { GatsbyLink } from './GatsbyLink'; import { PagesConfig } from './types'; -import { Footer } from './Footer'; interface LayoutProps { title?: string; @@ -41,23 +39,10 @@ export const Layout: FC = ({ })} /> - - - -
- - - - -