mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-09-22 12:48:43 +03:00
Merge pull request #142 from NoRedInk/add-self-review-assignment-type
Add Self Review assignment type icon
This commit is contained in:
commit
93a2d6a5c3
@ -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 =
|
||||
|
@ -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"
|
||||
|
@ -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" }
|
||||
|
3
styleguide-app/assets/images/self-review-white.svg
Normal file
3
styleguide-app/assets/images/self-review-white.svg
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2f58a25f4629afd6d327efd8597de9bd896a2d217ec10163726cc564dadb61e7
|
||||
size 3317
|
Loading…
Reference in New Issue
Block a user