Use generated svgs rather than a separate svg file

This commit is contained in:
Tessa Kelly 2018-10-18 10:58:11 -07:00
parent 08b67825c0
commit 0ff72c1ba6
4 changed files with 14 additions and 20 deletions

View File

@ -437,9 +437,9 @@ assignmentTypeDiagnostic assets =
{-| -}
assignmentTypeGuidedDraft : { r | icons_guidedDraftWhite_svg : Asset } -> IconType
assignmentTypeGuidedDraft : { r | guidedDraftWhite : String } -> IconType
assignmentTypeGuidedDraft assets =
ImgIcon assets.icons_guidedDraftWhite_svg
SvgIcon assets.guidedDraftWhite
{-| -}

View File

@ -34,6 +34,7 @@ type alias Assets =
, flipper : String
, footsteps : String
, gear : String
, guidedDraftWhite : String
, hint_png : Asset
, iconCalendar_svg : Asset
, iconCheck_png : Asset
@ -44,7 +45,6 @@ type alias Assets =
, icons_arrowRightBlue_svg : Asset
, icons_clockRed_svg : Asset
, icons_equals_svg : Asset
, icons_guidedDraftWhite_svg : Asset
, icons_helpBlue_svg : Asset
, icons_peerReview_svg : Asset
, icons_peerReviewWhite_svg : Asset
@ -127,6 +127,7 @@ assets =
, flipper = "icon-flipper"
, footsteps = "icon-footsteps"
, gear = "icon-gear"
, guidedDraftWhite = "guided-draft-white"
, hint_png = Asset "assets/images/hint.png"
, iconCalendar_svg = Asset "assets/images/icon-calendar.svg"
, iconCheck_png = Asset "assets/images/icon-check.png"
@ -137,7 +138,6 @@ assets =
, icons_arrowRightBlue_svg = Asset "assets/images/arrow-right-blue.svg"
, icons_clockRed_svg = Asset "assets/images/clock-red.svg"
, icons_equals_svg = Asset "assets/images/equals.svg"
, icons_guidedDraftWhite_svg = Asset "assets/images/guided-draft-white.svg"
, icons_helpBlue_svg = Asset "assets/images/help-blue.svg"
, icons_peerReview_svg = Asset "assets/images/peer-review.svg"
, icons_peerReviewWhite_svg = Asset "assets/images/peer-review-white.svg"

File diff suppressed because one or more lines are too long

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a8891fa500e4ef1c8716d3225c26b297c729f1d23001b115e88c7d6bcc2c2fee
size 6028