feat(styles): add breakpoint mixin

This commit is contained in:
Walid 2022-03-17 00:43:52 +01:00
parent 95fabbf1f9
commit 5c56b266a6

View File

@ -1,3 +1,5 @@
@import "variables";
@mixin display-flex($content: center, $items: center, $direction: row) {
display: flex;
justify-content: #{$content};
@ -47,3 +49,9 @@
border-color: transparent $triangle-color transparent transparent;
}
}
@mixin breakpoint($query, $no-query: false) {
@include breakpoints.breakpoint($query, $no-query) {
@content;
}
}