Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

Commit 77b902b

Browse files
authored
fix: make mobile actually get mobile styles (#632)
1 parent c2b139f commit 77b902b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/styles/breakpoints.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const breakpoints = {
1+
export const breakpoints = {
22
// The grid is mobile first so xs is the default, hence no breakpoint
33
xs: false,
44
sm: 768,

src/styles/typography.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
const SMALL_DEVICE = 360;
1+
import { breakpoints } from './breakpoints';
2+
3+
const SMALL_DEVICE = breakpoints.sm;
24

35
const WEIGHTS = {
46
regular: 400,

0 commit comments

Comments
 (0)