feat(styles): add breakpoint mixin
This commit is contained in:
parent
95fabbf1f9
commit
5c56b266a6
@ -1,3 +1,5 @@
|
|||||||
|
@import "variables";
|
||||||
|
|
||||||
@mixin display-flex($content: center, $items: center, $direction: row) {
|
@mixin display-flex($content: center, $items: center, $direction: row) {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: #{$content};
|
justify-content: #{$content};
|
||||||
@ -47,3 +49,9 @@
|
|||||||
border-color: transparent $triangle-color transparent transparent;
|
border-color: transparent $triangle-color transparent transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin breakpoint($query, $no-query: false) {
|
||||||
|
@include breakpoints.breakpoint($query, $no-query) {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user