Canica

Icon and install

The app's icon, from the first of:

  1. app({ name: "Todos", icon: "list-checks" }): a Lucide icon (https://lucide.dev/icons; the name is typed, a wrong one fails with suggestions), drawn in the theme's primary-foreground on a rounded square of its primary color. The usual choice.
  2. icon.svg next to index.html, monochrome: every color it names is currentColor or none (fill, stroke, stop-color…, also in style and <style>), no <image>; plain black paths count. Drawn like a Lucide icon.
  3. icon.svg in color, or icon.png (square, at least 512×512): used as is. A file wins over app({ icon }).

Without any, it is the name's initial on the theme's primary color (canica lint and canica deploy say so). canica dev and the build make the favicons, apple-touch-icon.png, 192/512 and maskable icons and /manifest.webmanifest (name from app({ name }), colors from src/theme.css), and add their tags to index.html.