docs: convert website from postcss to emotion (#2068)
This commit is contained in:
committed by
Shawn Erquhart
parent
7b0838dfef
commit
3d474b1944
5
website/src/utils.js
Normal file
5
website/src/utils.js
Normal file
@ -0,0 +1,5 @@
|
||||
import theme from './theme';
|
||||
|
||||
export const mq = theme.breakpoints.map(bp => `@media (min-width: ${bp}px)`);
|
||||
|
||||
export const themeGet = (key, initial) => props => props.theme[key] || initial;
|
Reference in New Issue
Block a user