Skip to content

Commit

Permalink
Add additonal @content blocks to legacy as it won't break current imp…
Browse files Browse the repository at this point in the history
…lementations
  • Loading branch information
Chris Coggburn committed Jul 2, 2015
1 parent ec32268 commit e50c9ee
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scss/_sassy-button-gradients.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@
@if $text-style {
@include sassy-button-text-style($first-color, $second-color, $text-color, $text-style);
}

@content;
}
2 changes: 1 addition & 1 deletion scss/_sassy-button-pseudo-states.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
cursor: default;
box-shadow: none;
}

@content;
}

@mixin sassy-button-hover( $first-color, $second-color, $style ) {
Expand Down
2 changes: 2 additions & 0 deletions scss/_sassy-button-shadows.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
// Mixinins for shadows used in buttons
@mixin sassy-button-highlight-shadow( $base-color ) {
box-shadow: lighten( $base-color, 15% ) 0 1px 0 inset;
@content;
}

@mixin sassy-button-active-shadow( $second-color ) {
box-shadow: darken( $second-color, 8% ) 0 1px 2px inset;
@content;
}
2 changes: 1 addition & 1 deletion scss/_sassy-button-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
}

}

@content;
}
1 change: 1 addition & 0 deletions scss/_sassy-button-text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@
}

}
@content;
}
1 change: 1 addition & 0 deletions scss/sassy-buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ $sb-pseudo-states: true !default;
padding: $padding;
@include sassy-button-default-structure;
border-radius: $border-radius;
@content;
}

0 comments on commit e50c9ee

Please sign in to comment.