Skip to main content

Breakpoints

loonar-wp/assets/styles/config/
├── colors/
├── layout/
│ ├── _breakpoints.scss
│ └── _grid.scss
├── typography/
└── z-index/
_breakpoints.scss
// Create a Sass map, including breakpoint name (as key)
// and the corresponding media query (as value in pixels).
$breakpoints: (
'sm': 576px,
'md': 768px,
'lg': 992px,
'xl': 1200px,
'xxl': 1640px,
);

// Rarely you might want to use the `max-width` property instead of `min-width`.
// To let loonar know that you want to use the `max-width` breakpoint on the smallest breakpoint,
// you may optionally set the `$initial-breakpoint-name` variable. By default is set to `xs`
$initial-breakpoint-name: 'xs';