diff --git a/src/base/components/mask.css b/src/base/components/mask.css new file mode 100644 index 00000000000..ec6abb5d885 --- /dev/null +++ b/src/base/components/mask.css @@ -0,0 +1,59 @@ +.mask{ + &-squircle{ + mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCiAgPHBhdGggZD0iTSAxMDAgMCBDIDIwIDAgMCAyMCAwIDEwMCBDIDAgMTgwIDIwIDIwMCAxMDAgMjAwIEMgMTgwIDIwMCAyMDAgMTgwIDIwMCAxMDAgQyAyMDAgMjAgMTgwIDAgMTAwIDAgWiIvPgoKPC9zdmc+); + } + &-decagon{ + mask-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTkycHgiIGhlaWdodD0iMjAwcHgiIHZpZXdCb3g9IjAgMCAxOTIgMjAwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA2MC4xICg4ODEzMykgLSBodHRwczovL3NrZXRjaC5jb20gLS0+CiAgICA8dGl0bGU+ZGVjYWdvbjwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwb2x5Z29uIGlkPSJkZWNhZ29uIiBmaWxsPSIjMDAwMDAwIiBwb2ludHM9Ijk2IDAgMTU0Ljc3ODUyNSAxOS4wOTgzMD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ICA8L2c+Cjwvc3ZnPg==); + } +} \ No newline at end of file diff --git a/src/base/index.css b/src/base/index.css index 08c92460a24..ed192f6d1e5 100644 --- a/src/base/index.css +++ b/src/base/index.css @@ -24,3 +24,4 @@ @import "./components/link"; @import "./components/countdown"; @import "./components/divider"; +@import "./components/mask"; diff --git a/src/styled/components/mask.css b/src/styled/components/mask.css new file mode 100644 index 00000000000..f4fdb549a51 --- /dev/null +++ b/src/styled/components/mask.css @@ -0,0 +1,5 @@ +.mask{ + mask-size: contain; + mask-repeat: no-repeat; + mask-position: center; +} \ No newline at end of file diff --git a/src/styled/index.css b/src/styled/index.css index 8e0af1f60d6..48db27db047 100644 --- a/src/styled/index.css +++ b/src/styled/index.css @@ -25,3 +25,4 @@ @import "./components/link"; @import "./components/countdown"; @import "./components/divider"; +@import "./components/mask";