-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add glyphs for new treatment page #60
Conversation
@Yihwan you don't have to worry about the size on the radiance storybook. By default, we size everything to 25px x 25px so if the glyph sizing will change based on their viewbox. For the color, you need to remove some of the masks on the SVG definition |
@@ -0,0 +1,15 @@ | |||
<svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"> | |||
<mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="15" y="16" width="20" height="20"> |
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.
can remove this
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.663 19.4663V17.7333H27.7223V19.4663H22.663ZM22.6204 15.9333C21.6248 15.9333 20.863 16.7571 20.863 17.7166V19.483C20.863 20.4425 21.6248 21.2663 22.6204 21.2663H27.7649C28.7605 21.2663 29.5223 20.4425 29.5223 19.483V17.7166C29.5223 16.7571 28.7605 15.9333 27.7649 15.9333H22.6204ZM32.1955 18.4903C31.8493 18.1337 31.2795 18.1252 30.9228 18.4714C30.5662 18.8177 30.5578 19.3874 30.904 19.7441C31.0599 19.9047 31.152 20.128 31.152 20.3663V32.7315C31.152 32.9698 31.0599 33.1931 30.904 33.3537C30.749 33.5133 30.5445 33.5979 30.3372 33.5979H20.0481C19.8408 33.5979 19.6363 33.5133 19.4813 33.3537C19.1351 32.997 18.5653 32.9886 18.2087 33.3348C17.852 33.681 17.8436 34.2508 18.1898 34.6075C18.678 35.1103 19.3459 35.3979 20.0481 35.3979H30.3372C31.0394 35.3979 31.7073 35.1103 32.1955 34.6075C32.6828 34.1055 32.952 33.4302 32.952 32.7315V20.3663C32.952 19.6676 32.6828 18.9923 32.1955 18.4903Z" fill="#332E54"/> | ||
</g> | ||
<rect x="15" y="16" width="14" height="15" fill="white"/> | ||
<mask id="mask1" mask-type="alpha" maskUnits="userSpaceOnUse" x="12" y="13" width="20" height="20"> |
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.
can remove this
@@ -0,0 +1,15 @@ | |||
<svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"> |
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.
i'd consider renaming this to clipboards-glyph since this doesn't have to be strictly used for consultation history
The color is grey because of the Unless the white fill is necessary, I think this should be the minimal code necessary to render the ClipboardStackGlyph:
|
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.
These look good to me! 👍
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.
I'd leave out the changelog on a PR since the PR might not be the only thing going on the version. You can just commit the changelog when you deploy a new version of the package on NPM
Added glyphs for new Treatment Page.