-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Reddit icon and update X icon (#418)
Does not update uses of the word "Twitter" in code to avoid making a breaking change.
- Loading branch information
1 parent
3f072df
commit 2ba27f4
Showing
10 changed files
with
69 additions
and
21 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.IconSocialReddit { | ||
width: 1em; | ||
height: 1em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export const IconSocialRedditTemplate = ({ customClass }) => { | ||
if (!customClass) customClass = '' | ||
return ` | ||
<svg | ||
class="IconSocialReddit ${customClass}" | ||
width="24" | ||
height="22" | ||
viewBox="0 0 24 22" | ||
xmlns="http://www.w3.org/2000/svg" | ||
aria-hidden="true" | ||
focusable="false" | ||
> | ||
<path | ||
d="M24,11.187c0.001-1.449-1.172-2.625-2.622-2.626c-0.681-0.001-1.336,0.264-1.826,0.737 c-1.795-1.296-4.268-2.132-7.023-2.228l1.196-5.628l3.908,0.832c0.048,1.036,0.927,1.837,1.963,1.789s1.837-0.927,1.789-1.963 c-0.048-1.036-0.927-1.837-1.963-1.789c-0.683,0.032-1.295,0.432-1.597,1.045l-4.364-0.928c-0.253-0.054-0.502,0.108-0.556,0.361 l-1.336,6.28C8.775,7.146,6.263,7.984,4.444,9.294C3.399,8.289,1.738,8.322,0.733,9.366s-0.973,2.706,0.072,3.711 c0.218,0.21,0.472,0.381,0.748,0.504c-0.041,0.263-0.062,0.528-0.063,0.794c0,4.04,4.703,7.316,10.504,7.316 s10.504-3.275,10.504-7.316c0-0.264-0.021-0.528-0.062-0.789C23.387,13.167,24,12.226,24,11.187z M5.996,13.063 c0-1.036,0.84-1.876,1.875-1.876c1.036,0,1.876,0.84,1.876,1.875c0,1.036-0.839,1.876-1.875,1.876 C6.837,14.938,5.997,14.099,5.996,13.063z M16.455,18.02c-1.28,1.278-3.733,1.378-4.455,1.378s-3.175-0.099-4.453-1.378 c-0.19-0.19-0.19-0.498,0-0.687c0.19-0.19,0.498-0.19,0.687,0c0.807,0.807,2.533,1.093,3.767,1.093s2.959-0.286,3.767-1.094 c0.193-0.186,0.501-0.181,0.688,0.013C16.637,17.533,16.636,17.832,16.455,18.02L16.455,18.02z M16.125,14.939 c-1.036,0-1.876-0.84-1.876-1.876c0-1.036,0.84-1.876,1.876-1.876c1.036,0,1.876,0.84,1.876,1.876c0,0,0,0,0,0 C17.999,14.099,17.16,14.938,16.125,14.939z" | ||
fill="currentColor" | ||
/> | ||
</svg> | ||
` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters