mirror of
https://github.com/kidoman/embd
synced 2025-02-10 20:53:20 +01:00
23 lines
489 B
SCSS
23 lines
489 B
SCSS
// Shapes
|
|
|
|
@mixin shape($shape: square, $shape-radius: false) {
|
|
@if $shape == oval {
|
|
@include border-radius(1000px);
|
|
}
|
|
@else if $shape == circle {
|
|
@include border-radius(1000px);
|
|
}
|
|
@else if $shape == pill-left {
|
|
@include border-radius(500px 0 0 500px);
|
|
}
|
|
@else if $shape == pill-right {
|
|
@include border-radius(0 500px 500px 0);
|
|
}
|
|
@else if $shape-radius != false {
|
|
@include border-radius($shape-radius);
|
|
}
|
|
@else {
|
|
@include border-radius(0);
|
|
}
|
|
}
|