-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docz-theme-default): include media queries facepaint
- Loading branch information
1 parent
1e98401
commit 5f78734
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import { styles } from './styles' | ||
import * as colors from './styles/colors' | ||
import { prismTheme } from './styles/prism-theme' | ||
import { mq } from './styles/responsive' | ||
|
||
export const config = { | ||
colors, | ||
styles, | ||
prismTheme, | ||
mq, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import facepaint from 'facepaint' | ||
|
||
export const mq = facepaint([ | ||
'@media(min-width: 420px)', | ||
'@media(min-width: 920px)', | ||
'@media(min-width: 1120px)' | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters