Skip to content

Commit

Permalink
feat(changed color names): changed middle to ok
Browse files Browse the repository at this point in the history
  • Loading branch information
BioPhoton committed Dec 19, 2016
1 parent b8a6b95 commit b70125b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/sc5-styleguide/elements.sc5.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ The different star colors.
.default - Stars is colored default
.positive - Stars is colored positive
.middle - Stars is colored middle
.ok - Stars is colored ok
.negative - Stars is colored negative
markup:
Expand Down
2 changes: 1 addition & 1 deletion src/sc5-styleguide/modifiers.sc5.scss
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ Overriding default colors of ratings to display the color independent of the rat
default - No static color
.color-default - Stars are always colored default
.color-positive - Stars are always colored positive
.color-ok - Stars are always colored middle
.color-ok - Stars are always colored ok
.color-negative - Stars are always colored negative
markup:
Expand Down
2 changes: 1 addition & 1 deletion src/scss/_elements.scss
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Star element
color: $color-negative-rating;
}
}
&.middle {
&.ok {
svg {
fill: $color-ok-rating;
}
Expand Down
2 changes: 1 addition & 1 deletion src/scss/_modifiers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Rating Component
}

@if $i == 3 {
@extend .middle;
@extend .ok;
}

@if $i >= 4 {
Expand Down

0 comments on commit b70125b

Please sign in to comment.