Adds starFilled

This commit is contained in:
Tessa Kelly 2020-12-10 12:45:42 -08:00
parent 94f2c59ce5
commit 75ba47d7b4
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"