docs: fix breakpoints

This commit is contained in:
venashial 2022-03-30 18:49:19 -07:00
parent 323a593159
commit 60720b04db
2 changed files with 10 additions and 5 deletions

View File

@ -8,7 +8,16 @@ const config = {
require('postcss-preset-env')({
features: {
'custom-media-queries': {
importFrom: './src/lib/styles/variables/queries.postcss'
importFrom: [
{
customMedia: {
'--sm': '(min-width: 544px)',
'--md': '(min-width: 768px)',
'--lg': '(min-width: 1012px)',
'--xl': '(min-width: 1280px)',
},
},
]
}
}
}),

View File

@ -1,4 +0,0 @@
@custom-media --sm (min-width: 544px);
@custom-media --md (min-width: 768px);
@custom-media --lg (min-width: 1012px);
@custom-media --xl (min-width: 544px);