Skip to content

Instantly share code, notes, and snippets.

@SaraVieira
Last active August 18, 2017 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SaraVieira/75344315c967737106b9a6f4fa4689df to your computer and use it in GitHub Desktop.
Save SaraVieira/75344315c967737106b9a6f4fa4689df to your computer and use it in GitHub Desktop.
import styled, { css } from 'styled-components';
export const Section = styled.main`
display: flex;
flex-direction: column;
background: #fff;
`;
export const Paragraph = styled.p`
font-size: 14px;
line-height: 18px;
color: #4a4a4a;
margin-bottom: 20px;
`;
export const ButtonStyles = css`
display: inline-block;
border-radius: 3px;
padding: 0.5rem 0;
margin: 0.5rem 1rem;
width: 11rem;
background: transparent;
color: white;
border: 2px solid white;
${p => p && p.secondary`
background: white;
color: palevioletred;
`}
`
export const CoolerButton = styled.css`
${ButtonStyles}
background: #BADA55;
`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment