Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save themgoncalves/68829d255d68eb4b8c637a889611de89 to your computer and use it in GitHub Desktop.
Save themgoncalves/68829d255d68eb4b8c637a889611de89 to your computer and use it in GitHub Desktop.
import styled from 'styled-components';
import SuperQuery, { configureBreakpoints } from '@themgoncalves/super-query';
const customBreakpoints = {
extraSmall: 360,
small: 640,
medium: 960,
large: 1024,
extraLarge: 1200,
superExtraLarge: 1600,
};
configureBreakpoints(customBreakpoints);
const Title = styled.h1`
color: #666;
font-size: 16px;
SuperQuery().minWidth().superExtraLarge().css`
font-size: 26px;
`
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment