You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
583 B
SCSS
32 lines
583 B
SCSS
@use 'variables' as *;
|
|
|
|
@mixin reset {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
// @include color-scheme() {}
|
|
@mixin color-scheme($value: dark) {
|
|
@if $color-schemes {
|
|
@media (prefers-color-scheme: $value) {
|
|
@content;
|
|
}
|
|
}
|
|
}
|
|
|
|
// @include media($media-lg) {}
|
|
@mixin media($value: $media-md) {
|
|
@media (min-width: $value) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
// Add mixins for flex, etc. Anything that needs -webkit-, etc...
|
|
@mixin flex(){
|
|
display: -webkit-box;
|
|
display: -moz-box;
|
|
display: -ms-flexbox;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
}
|