rivet-stickers
Version:
Stickers for Indiana University's Rivet Design System
7 lines (4 loc) • 796 B
JavaScript
import { registerSticker } from './rivet-sticker-element.js';
const name = 'heart-plus';
const svg = `<svg><path fill="var(--fill)" d="M20.201 26.571c4.686-4.686 12.284-4.686 16.97 0L40 29.4l2.828-2.828c4.687-4.686 12.285-4.686 16.971 0s4.686 12.284 0 16.97L40 63.342l-19.799-19.8c-4.686-4.686-4.686-12.284 0-16.97Z"/><path d="M41 44v6h-2v-6h-6v-2h6v-6h2v6h6v2h-6Z"/><path d="M20.201 26.571c4.686-4.686 12.284-4.686 16.97 0L40 29.4l2.828-2.828c4.687-4.686 12.285-4.686 16.971 0s4.686 12.284 0 16.97L40 63.342l-19.799-19.8c-4.686-4.686-4.686-12.284 0-16.97Zm15.556 1.414c-3.905-3.905-10.236-3.905-14.142 0-3.905 3.906-3.905 10.237 0 14.142L40 60.513l18.385-18.385c3.905-3.905 3.905-10.236 0-14.142-3.905-3.905-10.237-3.905-14.142 0L40 32.228l-4.243-4.243Z"/></svg>`;
registerSticker(name, svg);