Rename init dir to mixins.

This commit is contained in:
Fredrik Jonsson 2023-01-25 09:54:08 +01:00
commit 48099a734b

View file

@ -0,0 +1,14 @@
@mixin respond-to($breakpoint) {
// If the key exists in the map
@if map-has-key($breakpoints, $breakpoint) {
// Prints a media query based on the value
@media (min-width: map-get($breakpoints, $breakpoint)) {
@content;
}
}
@else {
@media (min-width: $breakpoint) {
@content;
}
}
}