rivet-stickers
Version:
Stickers for Indiana University's Rivet Design System
7 lines (4 loc) • 1.63 kB
JavaScript
import { registerSticker } from './rivet-sticker-element.js';
const name = 'snowflake';
const svg = `<svg><path fill="var(--fill)" d="m41 23.414 3.707-3.707-1.414-1.414L41 20.586V16h-2v4.586l-2.293-2.293-1.414 1.414L39 23.414v10.172l-2 2-7-7V23h-2v3.586l-3.293-3.293-1.414 1.414L26.586 28H23v2h5.586l7 7-2 2H23.414l-3.707-3.707-1.414 1.414L20.586 39H16v2h4.586l-2.293 2.293 1.414 1.414L23.414 41h10.172l2 2-7 7H23v2h3.586l-3.293 3.293 1.414 1.414L28 53.414V57h2v-5.586l7-7 2 2v10.172l-3.707 3.707 1.414 1.414L39 59.414V64h2v-4.586l2.293 2.293 1.414-1.414L41 56.586V46.414l2-2 7 7V57h2v-3.586l3.293 3.293 1.414-1.414L53.414 52H57v-2h-5.586l-7-7 2-2h10.172l3.707 3.707 1.414-1.414L59.414 41H64v-2h-4.586l2.293-2.293-1.414-1.414L56.586 39H46.414l-2-2 7-7H57v-2h-3.586l3.293-3.293-1.414-1.414L52 26.586V23h-2v5.586l-7 7-2-2V23.414Z"/><path d="m41 23.414 3.707-3.707-1.414-1.414L41 20.586V16h-2v4.586l-2.293-2.293-1.414 1.414L39 23.414v10.172l-2 2-7-7V23h-2v3.586l-3.293-3.293-1.414 1.414L26.586 28H23v2h5.586l7 7-2 2H23.414l-3.707-3.707-1.414 1.414L20.586 39H16v2h4.586l-2.293 2.293 1.414 1.414L23.414 41h10.172l2 2-7 7H23v2h3.586l-3.293 3.293 1.414 1.414L28 53.414V57h2v-5.586l7-7 2 2v10.172l-3.707 3.707 1.414 1.414L39 59.414V64h2v-4.586l2.293 2.293 1.414-1.414L41 56.586V46.414l2-2 7 7V57h2v-3.586l3.293 3.293 1.414-1.414L53.414 52H57v-2h-5.586l-7-7 2-2h10.172l3.707 3.707 1.414-1.414L59.414 41H64v-2h-4.586l2.293-2.293-1.414-1.414L56.586 39H46.414l-2-2 7-7H57v-2h-3.586l3.293-3.293-1.414-1.414L52 26.586V23h-2v5.586l-7 7-2-2V23.414ZM44.586 40 40 44.586 35.414 40 40 35.414 44.586 40Z"/></svg>`;
registerSticker(name, svg);