Skip to content

Commit

Permalink
fix: root styles set
Browse files Browse the repository at this point in the history
  • Loading branch information
ogonkov committed May 21, 2024
1 parent d578050 commit ffa2efd
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions styles/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,15 @@ $-pin-mixin-variables-ns: --_--g-pin-mixin-border-radius;
}

@mixin pin($block, $selectors, $radius, $append: true) {
&#{get-pin-selector($block, $selectors, $append)} {
border-radius: (
var(#{$-pin-mixin-variables-ns}-top-left) var(#{$-pin-mixin-variables-ns}-top-right)
var(#{$-pin-mixin-variables-ns}-bottom-right)
var(#{$-pin-mixin-variables-ns}-bottom-left)
);
@each $selector in $selectors {
&#{get-pin-selector($block, $selector, $append)} {
border-radius: (
var(#{$-pin-mixin-variables-ns}-top-left)
var(#{$-pin-mixin-variables-ns}-top-right)
var(#{$-pin-mixin-variables-ns}-bottom-right)
var(#{$-pin-mixin-variables-ns}-bottom-left)
);
}
}

@each $selector in $selectors {
Expand Down

0 comments on commit ffa2efd

Please sign in to comment.