How to use the gatsby-theme-apollo/src/util/colors.primary function in gatsby-theme-apollo

To help you get started, we’ve selected a few gatsby-theme-apollo examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github apollographql / principled-graphql / src / templates / page.js View on Github external
});

const MainHeading = styled.h1({
  display: 'flex',
  alignItems: 'center'
});

const HeadingImage = styled.img({
  width: '2em',
  margin: 0,
  marginRight: '0.5em'
});

const Markdown = styled.div({
  a: {
    color: colors.primary,
    textDecoration: 'none',
    ':hover': {
      textDecoration: 'underline'
    }
  },
  '.anchor': {
    color: 'inherit',
    svg: {
      fill: 'currentColor'
    }
  },
  '.float': {
    width: '50%',
    marginLeft: 24,
    marginBottom: 24,
    float: 'right',

gatsby-theme-apollo

Sets up your Gatsby website for use with Apollo

MIT
Latest version published 2 years ago

Package Health Score

51 / 100
Full package analysis