Skip to content

Commit

Permalink
use include rather than extend where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaswise committed Jul 25, 2016
1 parent 4f6f1ed commit 0d9246d
Show file tree
Hide file tree
Showing 10 changed files with 146 additions and 251 deletions.
2 changes: 1 addition & 1 deletion lib/sass/calcite-web/components/_alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
max-width: 40em;
border: 1px solid $blue;
@include box-shadow($box-shadow);
@extend .link-off-black;
@include link-color($off-black, $black);
&.is-active {
display: block;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/sass/calcite-web/components/_breadcrumbs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

.breadcrumbs-white & {
color: white;
@extend .link-white;
@include link-color($white, $lightest-gray);
background-image: url('#{$image-path}/forward-slash-white.svg');
}

Expand Down
Loading

0 comments on commit 0d9246d

Please sign in to comment.