Skip to content

Black Friday

Annual Pro is $90 for the first year, normally $120. Or start monthly at $6 for two months, then $12.

Ends Dec 4, 11:59 PM PT.

Create an account
← Public packages

@kentcdodds/pie-night

Pie night sign-ups: hosts start an event, guests add the pies they are bringing and watch the list fill in live. Installable, with optional push notifications.

FollowForkOpen app

Files

art.ts

24 lines · 2.0 KB · TypeScript
/** Pie artwork shared by pages, icons, and the share image. No runtime imports. */

/** Pie parts shared by the header mascot and the icon mark: side view of a pumpkin pie with a whipped cream dollop. */
export const PIE_MARK = `<path d="M14 70 Q100 128 186 70 L178 92 Q100 140 22 92 Z" fill="#b9692e"/><ellipse cx="100" cy="70" rx="86" ry="34" fill="#d98a43"/><ellipse cx="100" cy="68" rx="74" ry="27" fill="#e07b2a"/><ellipse cx="92" cy="62" rx="44" ry="12" fill="#ef9443" opacity=".55"/><path d="M16 70 Q30 56 44 66 Q58 50 72 62 Q86 46 100 58 Q114 46 128 62 Q142 50 156 66 Q170 56 184 70" fill="none" stroke="#e7a45c" stroke-width="8" stroke-linecap="round"/><g fill="#fffaf0" stroke="#f1dcc0" stroke-width="2"><ellipse cx="100" cy="62" rx="24" ry="9"/><ellipse cx="100" cy="53" rx="17" ry="8"/><path d="M88 50 Q100 26 112 50 Z"/></g>`

/** Favicon and home-screen icon mark: the header pumpkin pie, no steam, transparent background. */
export const FAVICON_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="10 -18 180 180">${PIE_MARK}</svg>`

export const HERO_SVG = `<svg viewBox="0 0 200 130" width="200" height="130">
	<ellipse cx="100" cy="112" rx="88" ry="12" fill="#e9c9a0" opacity=".6"/>
	<path d="M14 70 Q100 128 186 70 L178 92 Q100 140 22 92 Z" fill="#b9692e"/>
	<ellipse cx="100" cy="70" rx="86" ry="34" fill="#d98a43"/>
	<ellipse cx="100" cy="68" rx="74" ry="27" fill="#e07b2a"/>
	<ellipse cx="92" cy="62" rx="44" ry="12" fill="#ef9443" opacity=".55"/>
	<path d="M16 70 Q30 56 44 66 Q58 50 72 62 Q86 46 100 58 Q114 46 128 62 Q142 50 156 66 Q170 56 184 70" fill="none" stroke="#e7a45c" stroke-width="8" stroke-linecap="round"/>
	<g class="steam" fill="none" stroke="#c9b6a3" stroke-width="4" stroke-linecap="round" opacity=".7">
		<path d="M66 32 q-8 -10 0 -18 q8 -8 0 -16"/><path d="M134 32 q-8 -10 0 -18 q8 -8 0 -16"/>
	</g>
	<g fill="#fffaf0" stroke="#f1dcc0" stroke-width="2">
		<ellipse cx="100" cy="62" rx="24" ry="9"/>
		<ellipse cx="100" cy="53" rx="17" ry="8"/>
		<path d="M88 50 Q100 26 112 50 Z"/>
	</g>
</svg>`