UNPKG

rivet-stickers

Version:

Stickers for Indiana University's Rivet Design System

7 lines (4 loc) 766 B
import { registerSticker } from './rivet-sticker-element.js'; const name = 'heart'; 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.829c4.687-4.686 12.285-4.686 16.971 0 4.686 4.687 4.686 12.285 0 16.97L40 63.342l-19.799-19.8c-4.686-4.685-4.686-12.283 0-16.97Z"/><path d="M20.201 26.571c4.686-4.686 12.284-4.686 16.97 0L40 29.4l2.828-2.829c4.687-4.686 12.285-4.686 16.971 0 4.686 4.687 4.686 12.285 0 16.97L40 63.342l-19.799-19.8c-4.686-4.685-4.686-12.283 0-16.97Zm15.556 1.415c-3.905-3.906-10.236-3.906-14.142 0-3.905 3.905-3.905 10.236 0 14.142L40 60.513l18.385-18.385c3.905-3.906 3.905-10.237 0-14.142-3.905-3.906-10.237-3.906-14.142 0L40 32.228l-4.243-4.242Z"/></svg>`; registerSticker(name, svg);