-
Notifications
You must be signed in to change notification settings - Fork 55
feat(Icons): Added icon for add-page and also added missing icon sizes #601
Conversation
priyankar205
commented
Dec 12, 2018
- Added add-page icon
- Added sizes 'x-large' and 'xx-large' for icons.
@@ -18,4 +18,5 @@ export default { | |||
</svg> | |||
), | |||
styles: {}, | |||
exportedAs: 'canvas-add-page', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -50,6 +51,7 @@ export default { | |||
'call-control-present-new': callControlPresentNew, | |||
'call-control-stop-presenting-new': callControlStopPresentingNew, | |||
'call-recording': callRecording, | |||
'canvas-add-page': canvasAddPage, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
if (!sizeModifier) { | ||
return sizes.get(size) | ||
} | ||
const modifiedSizes = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the context this icon will be used? We will need a way to specify sizing, but I don't believe we want to do it in css. In Teams, the different sizes should actually be different icons (in most cases).
We need to undo the complexity added here with the We should instead unify our 3 sizing patterns to accomplish this feature. Let's always reduce complexity with changes. |