Skip to content

Commit

Permalink
Merge pull request #1142 from NoRedInk/kra-547-speaker-icons
Browse files Browse the repository at this point in the history
Add speaker and mutedSpeaker
  • Loading branch information
lindsaykwardell authored Oct 27, 2022
2 parents f583b83 + da015ff commit a03ab62
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 2 deletions.
71 changes: 69 additions & 2 deletions src/Nri/Ui/UiIcon/V1.elm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Nri.Ui.UiIcon.V1 exposing
( seeMore, openClose, download, sort, gear, flipper, hamburger, kebab
, archive, unarchive
, playInCircle, pauseInCircle, stopInCircle
, playInCircle, pauseInCircle, stopInCircle, speaker, mutedSpeaker
, play, skip
, share, preview, copyToClipboard, gift, print
, activity
Expand Down Expand Up @@ -38,7 +38,7 @@ module Nri.Ui.UiIcon.V1 exposing
@docs seeMore, openClose, download, sort, gear, flipper, hamburger, kebab
@docs archive, unarchive
@docs playInCircle, pauseInCircle, stopInCircle
@docs playInCircle, pauseInCircle, stopInCircle, speaker, mutedSpeaker
@docs play, skip
@docs share, preview, copyToClipboard, gift, print
@docs activity
Expand Down Expand Up @@ -2162,3 +2162,70 @@ stretch =
]
]
]


{-| -}
speaker : Nri.Ui.Svg.V1.Svg
speaker =
Nri.Ui.Svg.V1.init "0 0 82 63"
[ Svg.g
[ Attributes.stroke "none"
, Attributes.strokeWidth "1"
, Attributes.fill "none"
, Attributes.fillRule "evenodd"
]
[ Svg.g
[ Attributes.fill "currentColor"
, Attributes.fillRule "nonzero"
]
[ Svg.path
[ Attributes.d "M70.266,4.734 C69.0433,3.5113 67.0668,3.5113 65.848,4.734 C64.6292,5.9567 64.6292,7.9332 65.848,9.152 C78.051,21.355 78.051,41.144 65.848,53.347 C64.6292,54.5697 64.6292,56.5462 65.848,57.765 C67.0668,58.9838 69.0472,58.9877 70.266,57.765 C84.911,43.12 84.911,19.378 70.266,4.73 L70.266,4.734 Z"
]
[]
, Svg.path
[ Attributes.d "M61.43,13.574 C60.2112,12.3513 58.2308,12.3513 57.012,13.574 C55.7932,14.7967 55.7932,16.7732 57.012,17.992 C64.3323,25.3123 64.3323,37.187 57.012,44.508 C55.7932,45.7307 55.7932,47.7072 57.012,48.926 C58.2308,50.1448 60.2112,50.1448 61.43,48.926 C71.1917,39.1643 71.1917,23.332 61.43,13.571 L61.43,13.574 Z"
]
[]
, Svg.path
[ Attributes.d "M52.586,22.414 C51.3672,21.1913 49.3868,21.1913 48.168,22.414 C46.9492,23.6367 46.9492,25.6132 48.168,26.832 C50.6094,29.2734 50.6094,33.2304 48.168,35.6679 C46.9492,36.8867 46.9492,38.8671 48.168,40.0859 C49.3868,41.3047 51.3672,41.3047 52.586,40.0859 C57.4688,35.2031 57.4688,27.2889 52.586,22.4099 L52.586,22.414 Z"
]
[]
, Svg.polygon
[ Attributes.points "12.5 18.75 0 18.75 0 43.75 12.5 43.75 37.5 62.5 43.75 62.5 43.75 0 37.5 0"
]
[]
]
]
]


{-| -}
mutedSpeaker : Nri.Ui.Svg.V1.Svg
mutedSpeaker =
Nri.Ui.Svg.V1.init "0 0 80 63"
[ Svg.g
[ Attributes.stroke "none"
, Attributes.strokeWidth "1"
, Attributes.fill "none"
, Attributes.fillRule "evenodd"
]
[ Svg.g
[ Attributes.fill "currentColor"
, Attributes.fillRule "nonzero"
]
[ Svg.polygon
[ Attributes.points "12.5 18.75 0 18.75 0 43.75 12.5 43.75 37.5 62.5 43.75 62.5 43.75 0 37.5 0"
]
[]
]
, Svg.g
[ Attributes.transform "translate(55.000000, 18.000000)"
, Attributes.fill "currentColor"
]
[ Svg.path
[ Attributes.d "M1.0665529,6.01535836 C-0.355517634,4.59328783 -0.355517634,2.48862344 1.0665529,1.0665529 C2.48862344,-0.355517634 4.59328783,-0.355517634 6.01535836,1.0665529 L12.3862344,7.4374289 L18.7571104,1.0665529 C20.1791809,-0.355517634 22.539818,-0.355517634 23.9334471,1.0665529 C25.3555176,2.48862344 25.3555176,4.84926052 23.9334471,6.24288965 L17.5625711,12.6137656 L23.9334471,18.9846416 C25.3555176,20.4067122 25.3555176,22.5113766 23.9334471,23.9334471 C22.5113766,25.3555176 20.4067122,25.3555176 18.9846416,23.9334471 L12.6137656,17.5625711 L6.24288965,23.9334471 C4.82081911,25.3555176 2.46018203,25.3555176 1.0665529,23.9334471 C-0.355517634,22.5113766 -0.355517634,20.1507395 1.0665529,18.7571104 L7.4374289,12.6137656 L1.0665529,6.01535836 Z"
]
[]
]
]
]
2 changes: 2 additions & 0 deletions styleguide-app/Examples/UiIcon.elm
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ all =
, [ ( "playInCircle", UiIcon.playInCircle, [] )
, ( "pauseInCircle", UiIcon.pauseInCircle, [] )
, ( "stopInCircle", UiIcon.stopInCircle, [] )
, ( "speaker", UiIcon.speaker, [] )
, ( "mutedSpeaker", UiIcon.mutedSpeaker, [] )
]
)
, ( "Media"
Expand Down

0 comments on commit a03ab62

Please sign in to comment.