Skip to content

Commit

Permalink
fix(*): Adjust mask identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
josepmartins committed May 24, 2021
1 parent 90c23e4 commit 1823547
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/avatar-beam.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const AvatarBeam = ( props ) => {
{...props}
>
<mask
id="mask__bauhaus"
id="mask__beam"
maskUnits="userSpaceOnUse"
x={0}
y={0}
Expand All @@ -59,7 +59,7 @@ const AvatarBeam = ( props ) => {
fill="white"
/>
</mask>
<g mask="url(#mask__bauhaus)" fill="transparent">
<g mask="url(#mask__beam)" fill="transparent">
<rect
width={SIZE}
height={SIZE}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/avatar-marble.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const AvatarMarble = ( props ) => {
{...props}
>
<mask
id="mask__eye"
id="mask__marble"
maskUnits="userSpaceOnUse"
x={0}
y={0}
Expand All @@ -43,7 +43,7 @@ const AvatarMarble = ( props ) => {
fill="#fff"
/>
</mask>
<g mask="url(#mask__eye)">
<g mask="url(#mask__marble)">
<path
d="M80 40C80 17.909 62.091 0 40 0S0 17.909 0 40s17.909 40 40 40 40-17.909 40-40z"
fill={properties[0].color}
Expand Down

0 comments on commit 1823547

Please sign in to comment.