diff --git a/index.html b/index.html index 3a600bf..4c9d2f2 100644 --- a/index.html +++ b/index.html @@ -193,6 +193,15 @@ + + + + + + + + + diff --git a/scss/icons/icons.scss b/scss/icons/icons.scss index b789ded..3fa7957 100644 --- a/scss/icons/icons.scss +++ b/scss/icons/icons.scss @@ -52,6 +52,12 @@ &.star.is-empty::before { @include pixelize($icon-star-empty, $icon-star-empty-colors, $px); } + &.star.is-half::before { + @include pixelize($icon-star-half, $icon-star-colors, $px); + } + &.star.is-transparent::before { + @include pixelize($icon-star-transparent, $icon-star-colors, $px); + } &.trophy::before { @include pixelize($icon-trophy, $icon-trophy-colors, $px); diff --git a/scss/icons/star.scss b/scss/icons/star.scss index e448c43..6d58939 100644 --- a/scss/icons/star.scss +++ b/scss/icons/star.scss @@ -39,3 +39,41 @@ $icon-star-empty: ( (1,0,0,1,1,0,0,0,0,0,1,1,0,0,1,0), (1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0) ); + +$icon-star-half: ( + (0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0), + (0, 0, 0, 0, 0, 0, 2, 3, 2, 0, 0, 0, 0, 0, 0, 0), + (0, 0, 0, 0, 0, 0, 2, 3, 2, 0, 0, 0, 0, 0, 0, 0), + (0, 0, 0, 0, 0, 2, 3, 3, 0, 2, 0, 0, 0, 0, 0, 0), + (0, 0, 0, 0, 0, 2, 3, 3, 0, 2, 0, 0, 0, 0, 0, 0), + (2, 2, 2, 2, 2, 2, 3, 3, 0, 0, 2, 2, 2, 2, 2, 0), + (2, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 2, 0), + (0, 2, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 2, 0, 0), + (0, 0, 2, 3, 3, 3, 3, 3, 0, 0, 0, 0, 2, 0, 0, 0), + (0, 0, 0, 2, 3, 3, 3, 3, 0, 0, 0, 2, 0, 0, 0, 0), + (0, 0, 2, 3, 3, 3, 3, 4, 0, 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