/** @jsx jsx */ import { jsx, SxStyleProp } from 'theme-ui'; import { LogoPath, BrandPath } from './svg-paths'; import { LogoProps } from '.'; import { qt } from 'gatsby-theme-query'; import { withFocusStyle } from '../with-focus-style'; const logoSize = { width: 122, height: 46, }; const styledSVG: SxStyleProp = { display: 'block', width: `${logoSize.width}px`, height: `${logoSize.height}px`, fill: 'currentColor', color: qt('corals')(0), cursor: 'pointer', transition: `color ${qt('duration')(1)}s ${qt('timing')(0)}`, ':hover': { color: qt('corals')(1), }, }; export const LogoBase: React.FunctionComponent = ( props ): JSX.Element => { return ( {props.title} {props.desc} ); }; export const Logo = withFocusStyle(LogoBase); export default Logo;