rivet-stickers
Version:
Stickers for Indiana University's Rivet Design System
7 lines (4 loc) • 1.01 kB
JavaScript
import { registerSticker } from './rivet-sticker-element.js';
const name = 'medal';
const svg = `<svg><path fill="var(--fill)" d="M26.74 19h26.52l10.076 5.598-13.14 25.268A10.93 10.93 0 0 1 51 54c0 6.075-4.925 11-11 11s-11-4.925-11-11c0-1.462.285-2.858.803-4.134l-13.14-25.268L26.742 19ZM40 41.9 45.904 31H34.096L40 41.9Z"/><path d="M26.74 19h26.52l10.076 5.598-13.14 25.268A10.93 10.93 0 0 1 51 54c0 6.075-4.925 11-11 11s-11-4.925-11-11c0-1.462.285-2.858.803-4.134l-13.14-25.268L26.742 19Zm4.213 28.742a11.064 11.064 0 0 1 2.315-2.442l-11.18-21.427-2.752 1.529 11.617 22.34Zm-7.116-24.84L34.96 44.22a10.926 10.926 0 0 1 3.425-1.102L26.602 21.365l-2.765 1.536ZM28.68 21l4.333 8h13.976l4.333-8H28.679Zm24.719.365L41.615 43.118c1.218.179 2.371.558 3.425 1.102L56.163 22.9l-2.765-1.536ZM40 41.9 45.904 31H34.096L40 41.9Zm6.732 3.4c.89.69 1.672 1.514 2.315 2.442l11.617-22.34-2.752-1.53L46.732 45.3ZM40 45a9 9 0 1 0 0 18 9 9 0 0 0 0-18Zm0 4a4 4 0 0 0-4 4h-2a6 6 0 0 1 6-6v2Z"/></svg>`;
registerSticker(name, svg);