Merge pull request #142 from NoRedInk/add-self-review-assignment-type

Add Self Review assignment type icon
This commit is contained in:
Michael Newton 2018-10-24 09:43:49 +01:00 committed by GitHub
commit 93a2d6a5c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 0 deletions

View File

@ -10,6 +10,7 @@ module Nri.Ui.Icon.V3 exposing
, assignmentStartButtonSecondary
, assignmentTypeDiagnostic
, assignmentTypePeerReview
, assignmentTypeSelfReview
, assignmentTypePractice
, assignmentTypeQuickWrite
, assignmentTypeQuiz
@ -96,6 +97,7 @@ module Nri.Ui.Icon.V3 exposing
@docs assignmentStartButtonSecondary
@docs assignmentTypeDiagnostic
@docs assignmentTypePeerReview
@docs assignmentTypeSelfReview
@docs assignmentTypePractice
@docs assignmentTypeQuickWrite
@docs assignmentTypeQuiz
@ -438,6 +440,12 @@ assignmentTypePeerReview assets =
ImgIcon assets.icons_peerReviewWhite_svg
{-| -}
assignmentTypeSelfReview : { r | icons_selfReviewWhite_svg : Asset } -> IconType
assignmentTypeSelfReview assets =
ImgIcon assets.icons_selfReviewWhite_svg
{-| -}
assignmentTypePractice : { r | practice : String } -> IconType
assignmentTypePractice assets =

View File

@ -47,6 +47,7 @@ type alias Assets =
, icons_helpBlue_svg : Asset
, icons_peerReview_svg : Asset
, icons_peerReviewWhite_svg : Asset
, icons_selfReviewWhite_svg : Asset
, icons_plusBlue_svg : Asset
, icons_quickWrite_svg : Asset
, icons_quickWriteWhite_svg : Asset
@ -138,6 +139,7 @@ assets =
, 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"
, icons_selfReviewWhite_svg = Asset "assets/images/self-review-white.svg"
, icons_plusBlue_svg = Asset "assets/images/plus-blue.svg"
, icons_quickWrite_svg = Asset "assets/images/quick-write.svg"
, icons_quickWriteWhite_svg = Asset "assets/images/quick-write-white.svg"

View File

@ -43,6 +43,7 @@ example =
, { icon = Icon.quickWrite, background = Light, alt = "QuickWrite" }
, { icon = Icon.assignmentTypePeerReview, background = Dark, alt = "PeerReview" }
, { icon = Icon.peerReview, background = Light, alt = "PeerReview" }
, { icon = Icon.assignmentTypeSelfReview, background = Dark, alt = "SelfReview" }
, { icon = Icon.submitting, background = Light, alt = "Submitting" }
, { icon = Icon.rating, background = Light, alt = "Rating" }
, { icon = Icon.revising, background = Light, alt = "Revising" }

View File

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