gitoria

notes

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commita5c27cb6a5c27cb6Allow real edits back to earlier text and honor configured identAtlasa5c27cb6/components/icons/README.md

1.0 KB

  1. # Icons
  2. One source of the inline icons every component uses: `components/icons/icons.hl`.
  3. ```
  4. import Icon from '../icons/icons.hl'
  5. …
  6. button { type = "button" title = "Link (Ctrl+K)" 'aria-label' = "Link (Ctrl+K)" Icon { name = "link" } }
  7. ```
  8. - `Icon { name = "link" }` is an inline `<svg>` (24 x 24 box, `stroke = currentColor`, `aria-hidden`): it takes the text colour of its button. The button carries `title` and `aria-label`, the icon never speaks.
  9. - `size = "1.5em"` changes the size (default `1.25em`).
  10. - Names: `bold italic code link heading ul ol block undo redo file close`. A new icon is one more path in `shapes`.
  11. - Shipped once per app: a component that needs icons imports the file by path; Hybriel serves an imported file as one module however many components import it (the page names `components/icons/icons.hl` once). An app copies `icons/icons.hl` next to the other components (tools/sync-components.sh).
  12. - Each `Icon` on a page adds about 0.4 KB to the page's seed (its state), 11 per Markdown editor.

Branches

Latest commits

  • a5c27cb6Allow real edits back to earlier text and honor configured identAtlas
  • 15c46ced|||PR Preserve note edits, conflict bases and visible historyAtlas
  • 4c6e0bf6Merge branch 'notes13-day61' into mainAtlas
  • eb51864f|||PR Back/Forward via navigate, server drafts, Hybriel day61Atlas
  • 3537cf7eMerge branch 'vendor-day59' into mainAtlas
  • c13d188b|||PR Vendor Hybriel day59Atlas
  • 24c95433Merge branch 'notes17-ghost-note' into mainAtlas
  • ae1075b2Preserve rejected drafts during note ID adoptionAtlas
  • 383cce23|||PR Prevent saved local edits from restoring deleted notesAtlas
  • 99ca1cf6Merge branch 'vendor-day56' into mainAtlas
  • 649cef37|||PR Vendor Hybriel day56Atlas
  • aadd0abcMerge branch 'hl-standard-2' into mainAtlas
  • 52ffac9f|||PR Keyboard and reload checks for the notes gate (HL-STANDARD F21, F5)Atlas
  • 617ee8c0Merge branch 'hl-standard' into mainAtlas
  • 452458ee|||PR Type the function parameters of notes' own .hl files (HL-STANDARD L10)Atlas
  • 23758cd6Re-vendor complete Hybriel plugins and runtime to day44mre
  • 5d7cc700Backup tar: --hard-dereference, so mpackdb sidecars are never stored as hard links (Tracker's finding)mre
  • 3e07b1cfVendor complete Hybriel day39 plugin sources and librariesmre
  • d7366702Check session cookie flags after login and assert anonymous GET stays cookielessmre
  • 16bc8fd8Re-vendor Hybriel day38b with the mpackdb store-open race fixmre