Add SVG masks to server / user icons.

This commit is contained in:
Paul committed 2021-07-02 16:24:36 +01:00
1 parent 0f2b6b6b44
commit 1cb59ca40c
4 files changed
+29 -10

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
// This file must be imported and used at least once for SVG masks.
export default function Masks() {
return (
<svg width={0} height={0} style={{ position: 'fixed' }}>
<defs>
<mask id="server">
<rect x="0" y="0" width="32" height="32" fill="white" />
<circle cx="27" cy="5" r="7" fill={"black"} />
</mask>
<mask id="user">
<rect x="0" y="0" width="32" height="32" fill="white" />
<circle cx="27" cy="27" r="7" fill={"black"} />
</mask>
</defs>
</svg>
)
}