mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-24 22:21:45 +03:00
Adds search icon
This commit is contained in:
parent
292f9cd357
commit
86b26bc442
@ -19,7 +19,8 @@ module Nri.Ui.UiIcon.V1 exposing
|
||||
, key, lock, premiumLock
|
||||
, badge
|
||||
, bold, italic, underline, list, link, undo, redo
|
||||
, home, library, searchInCicle
|
||||
, home, library
|
||||
, search, searchInCicle
|
||||
)
|
||||
|
||||
{-| How to add new icons: <https://paper.dropbox.com/doc/How-to-create-a-new-SVG-icon-for-use-in-Elm--Ay9uhSLfGUAix0ERIiJ0Dm8dAg-8WNqtARdr4EgjmYEHPeYD>
|
||||
@ -44,7 +45,8 @@ module Nri.Ui.UiIcon.V1 exposing
|
||||
@docs key, lock, premiumLock
|
||||
@docs badge
|
||||
@docs bold, italic, underline, list, link, undo, redo
|
||||
@docs home, library, searchInCicle
|
||||
@docs home, library
|
||||
@docs search, searchInCicle
|
||||
|
||||
import Html.Styled exposing (..)
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
@ -1411,6 +1413,23 @@ library =
|
||||
|> Nri.Ui.Svg.V1.fromHtml
|
||||
|
||||
|
||||
{-| -}
|
||||
search : Nri.Ui.Svg.V1.Svg
|
||||
search =
|
||||
Svg.svg
|
||||
[ Attributes.width "100%"
|
||||
, Attributes.height "100%"
|
||||
, Attributes.viewBox "0 0 25 25"
|
||||
, Attributes.fill "currentcolor"
|
||||
]
|
||||
[ Svg.path
|
||||
[ Attributes.d "M17.3076923,10.5765481 C17.3076923,8.72359894 16.6484159,7.13841054 15.3317383,5.82135785 C14.0146856,4.50468019 12.4294972,3.84540382 10.5765481,3.84540382 C8.72359894,3.84540382 7.13841054,4.50468019 5.82135785,5.82135785 C4.50468019,7.13841054 3.84540382,8.72359894 3.84540382,10.5765481 C3.84540382,12.4294972 4.50468019,14.0146856 5.82135785,15.3317383 C7.13841054,16.6484159 8.72359894,17.3076923 10.5765481,17.3076923 C12.4294972,17.3076923 14.0146856,16.6484159 15.3317383,15.3317383 C16.6484159,14.0146856 17.3076923,12.4294972 17.3076923,10.5765481 L17.3076923,10.5765481 Z M25,23.0780481 C25,23.5981939 24.8094924,24.049337 24.4299772,24.4299772 C24.049337,24.8094924 23.5981939,25 23.0780481,25 C22.5361514,25 22.0861334,24.8094924 21.724619,24.4299772 L16.5707878,19.2911466 C14.7793412,20.5335713 12.7797612,21.1545962 10.5765481,21.1545962 C9.14399076,21.1545962 7.77406096,20.8763351 6.4675087,20.3198128 C5.16095644,19.7644156 4.03441138,19.0128855 3.08637345,18.0667227 C2.14021061,17.1201848 1.38868055,15.9936397 0.833658346,14.6855874 C0.27676107,13.3790352 0,12.0091054 0,10.5765481 C0,9.14399076 0.27676107,7.77406096 0.833658346,6.4675087 C1.38868055,5.16095644 2.14021061,4.03441138 3.08637345,3.08637345 C4.03441138,2.14021061 5.16095644,1.38868055 6.4675087,0.833658346 C7.77406096,0.27676107 9.14399076,0 10.5765481,0 C12.0091054,0 13.3790352,0.27676107 14.6855874,0.833658346 C15.9936397,1.38868055 17.1201848,2.14021061 18.0667227,3.08637345 C19.0128855,4.03441138 19.7644156,5.16095644 20.3198128,6.4675087 C20.8763351,7.77406096 21.1545962,9.14399076 21.1545962,10.5765481 C21.1545962,12.7797612 20.5335713,14.7793412 19.2911466,16.5707878 L24.4449778,21.724619 C24.8154926,22.0951338 25,22.5462769 25,23.0780481 L25,23.0780481 Z"
|
||||
]
|
||||
[]
|
||||
]
|
||||
|> Nri.Ui.Svg.V1.fromHtml
|
||||
|
||||
|
||||
{-| -}
|
||||
searchInCicle : Nri.Ui.Svg.V1.Svg
|
||||
searchInCicle =
|
||||
|
@ -144,6 +144,9 @@ example =
|
||||
, IconExamples.view "Navigation"
|
||||
[ ( "home", UiIcon.home )
|
||||
, ( "library", UiIcon.library )
|
||||
]
|
||||
, IconExamples.view "Search"
|
||||
[ ( "search", UiIcon.search )
|
||||
, ( "searchInCircle", UiIcon.searchInCicle )
|
||||
]
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user