Skip to content

Instantly share code, notes, and snippets.

@wwwhatley
Last active July 13, 2018 14:36
Show Gist options
  • Save wwwhatley/95d1c0c40d3369990a43ac31e3bbdbff to your computer and use it in GitHub Desktop.
Save wwwhatley/95d1c0c40d3369990a43ac31e3bbdbff to your computer and use it in GitHub Desktop.
import styled from 'styled-components';
// Forms, inputs, buttons
export const Form = styled.form`
width: 300px;
display: flex;
flex-direction: column;
align-items: center;
`;
export const Input = styled.input`
width: 300px;
height: 35px;
border: 1px solid #ccc;
background-color: #fff;
`;
export const Button = styled.button`
width: 300px;
height: 35px;
background-color: #5995ef;
color: #fff;
border-radius: 3px;
`;
// Text
export const Title = styled.h1`
font-family: 'Raleway', sans-serif;
font-weight: 600;
color: #4d4d4d;
font-size: 2.2em;
`;
export const Title2 = styled.h2`
font-family: 'Raleway', sans-serif;
font-weight: 300;
color: #4d4d4d;
font-size: 1.8em;
`;
export const Text = styled.p`
font-family: 'Raleway', sans-serif;
color: ${props => props.color || '#4d4d4d'}
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment