Merge pull request #658 from NoRedInk/kraken/starFilled

Using administrator privileges to merge because the commit actually does look green
This commit is contained in:
Tessa 2020-12-14 12:10:49 -08:00 committed by GitHub
commit a040d88fce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 2 deletions

View File

@ -14,7 +14,7 @@ module Nri.Ui.UiIcon.V1 exposing
, arrowTop, arrowRight, arrowDown, arrowLeft, arrowPointingRight, arrowPointingRightThick
, checkmark, checkmarkInCircle, x
, attention, exclamation
, flag, star, starOutline
, flag, star, starFilled, starOutline
, equals, plus
, key, lock, premiumLock
, badge
@ -39,7 +39,7 @@ module Nri.Ui.UiIcon.V1 exposing
@docs arrowTop, arrowRight, arrowDown, arrowLeft, arrowPointingRight, arrowPointingRightThick
@docs checkmark, checkmarkInCircle, x
@docs attention, exclamation
@docs flag, star, starOutline
@docs flag, star, starFilled, starOutline
@docs equals, plus
@docs key, lock, premiumLock
@docs badge
@ -821,6 +821,23 @@ star =
|> Nri.Ui.Svg.V1.fromHtml
{-| -}
starFilled : Nri.Ui.Svg.V1.Svg
starFilled =
Svg.svg
[ Attributes.width "100%"
, Attributes.height "100%"
, Attributes.viewBox "0 0 25 24"
]
[ Svg.path
[ Attributes.d "M13.396.554l3.121 6.259a1 1 0 0 0 .744.542l6.89 1.054a1 1 0 0 1 .554 1.698l-4.966 4.937a1 1 0 0 0-.282.87l1.132 6.924a1 1 0 0 1-1.448 1.049l-6.18-3.216a1 1 0 0 0-.923 0L5.86 23.887a1 1 0 0 1-1.448-1.049l1.132-6.924a1 1 0 0 0-.282-.87L.295 10.107A1 1 0 0 1 .849 8.41l6.89-1.054a1 1 0 0 0 .744-.542l3.123-6.26a1 1 0 0 1 1.79.001z"
, Attributes.fill "currentcolor"
]
[]
]
|> Nri.Ui.Svg.V1.fromHtml
{-| -}
starOutline : Nri.Ui.Svg.V1.Svg
starOutline =

View File

@ -108,6 +108,7 @@ example =
, IconExamples.view "Notifs"
[ ( "flag", UiIcon.flag )
, ( "star", UiIcon.star )
, ( "starFilled", UiIcon.starFilled )
, ( "starOutline", UiIcon.starOutline )
]
, IconExamples.view "Math"