Back to The Bathyal Post
SOURCE / PINNED RELEASE

Made of little things.

The Bathyal Post

Release
fa6ce530b9f3…
Author-recorded commit
b255b3c9fd49…
License
LICENSE
Author’s source reference
nostr://npub182jczunncwe0jn6frpqwq3e0qjws7yqqnc3auccqv9nte2dnd63scjm4rf/wss%3A%2F%2Fgit.napplet.soy%2F/n-55c50b9a042

Archive hash verified: 03cf62191e7476c5…. The source-to-build association is the author’s claim; it has not been independently rebuilt.

src/icons.ts
const paths = {
  bag: '<path d="M3 7.5h18v12H3zM3 8l9 6 9-6M8 7.5V5h8v2.5"/>',
  book: '<path d="M3 5.5c3-1.2 6-1 9 1 3-2 6-2.2 9-1v14c-3-1.2-6-1-9 1-3-2-6-2.2-9-1zM12 7v13"/>',
  sound: '<path d="M3 10h4l5-4v12l-5-4H3zM16 8a6 6 0 0 1 0 8M19 5a10 10 0 0 1 0 14"/>',
  mute: '<path d="M3 10h4l5-4v12l-5-4H3zM17 9l5 6m0-6-5 6"/>',
  help: '<circle cx="12" cy="12" r="9"/><path d="M9.6 9.1a2.5 2.5 0 0 1 5 .4c0 2-2.6 2.1-2.6 4.3M12 16.3h.01"/>',
  air: '<path d="M10 3h4m-2 0v3M8 7.5c0-2 8-2 8 0v12c0 2-8 2-8 0zM8 11h8M8 17h8"/>',
  hull: '<path d="M3 13l9 3 9-3-3 6H6zM6 13V9l6-3 6 3v4M12 6V3M2 21c2-2 4 1 6 0s3-1 5 0 4-1 6 0"/>',
  wake: '<path d="M2 13h3l2-5 3 10 4-15 3 12 2-4h3"/>',
  turn: '<path d="M3 18c8 0 5-12 14-12h4m-5-4 5 4-5 4"/>',
  drift: '<path d="M2 9h11c4 0 4-6 .6-6M4 13h14c4 0 4 6 .5 6M2 17h8"/>',
  drive: '<path d="M2 13h6l4-7 4 7h6M5 17h14M9 20h6"/>',
  arrow: '<path d="M3 12h17m-6-6 6 6-6 6"/>',
  pin: '<circle cx="12" cy="10" r="2"/><path d="M12 22s7-8 7-13A7 7 0 0 0 5 9c0 5 7 13 7 13Z"/>',
  close: '<path d="m6 6 12 12M18 6 6 18"/>',
  select: '<path d="m6 9 6 6 6-6"/>',
  letter: '<path d="M2 5h20v14H2zM2 6l10 8L22 6"/>',
  anchor: '<circle cx="12" cy="5" r="2"/><path d="M12 7v14M8 10h8M3 13c0 5 4 8 9 8s9-3 9-8m-21 1 3-2 3 2m12 0 3-2 3 2"/>',
  compass: '<circle cx="12" cy="12" r="9"/><path d="m16 7-2 7-6 3 2-7z"/>',
  wrench: '<path d="m4 20 9-9a5 5 0 0 1 6-7l-3 3 2 2 3-3c2 5-2 8-6 7l-9 9z"/>',
} as const
export type IconName = keyof typeof paths
export function icon(name: IconName) {
  return `<svg viewBox="0 0 24 24" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.55" stroke-linecap="round" stroke-linejoin="round">${paths[name]}</svg>`
}
export const emblem = `<svg class="emblem" viewBox="0 0 58 56" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linejoin="round">
<path d="M4 10h16l4 5H8zM2 18h16l4 5H7zM5 26h12l5 5h-9zM54 10H38l-4 5h16zM56 18H40l-4 5h15zM53 26H41l-5 5h9z"/>
<path d="M18 36V25a11 11 0 0 1 22 0v11l3 3v3H15v-3zM17 35h24M24 14v-3h10v3M27 10V7h4v3"/><circle cx="29" cy="25" r="5"/><circle cx="29" cy="25" r="2.6"/><path d="m16 45 5 2 8-2 7 2 6-2m-21 5 8-2 7 2"/></svg>`