* Link image regions to any object and rework region editing
Image regions can be linked to people, families, events, places,
sources and citations, and an object can have several regions in the
same image. Regions can be moved and resized, drawing works on touch
screens, and Escape cancels a drag or clears the selection.
* Fix label
* Style tweaks
* Address comments
The ancestor, descendant and hourglass charts draw right-angled
connectors like the relationship chart, with rounded outer corners.
Each stretch of a shared stem or bar is drawn by one link only, and
links use an opaque colour, so overlapping lines do not look darker.
The tree charts show all child relations and dash the lines to
children who are not birth children, as the relationship chart does.
The descendant chart and the relatives menu now include adopted, step
and foster children.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Draw right-angled connectors in the relationship chart
Graphviz places the partner groups, and the links between them are
routed in the app: each family gets one bar over its children, with a
line down to each child. Bars that would overlap get different heights,
ordered so that lines from above end before lines going down at the same
x, and gaps between rows grow where they need more bars. A link that
skips rows goes through each row where Graphviz left room for it, and is
straightened where the row has room. Several parent families of one
child reach its card side by side.
The stem and bar of a family are drawn once and stay solid, so only the
line to a non-birth child is dashed. Links fade out and in when the
layout changes. Rows are closer together, and links and couple
connectors are 1.5 pixels wide.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Address comment, other fixes
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Replace all uses of @material/mwc-fab with @material/web/fab/fab.js.
Icons use grampsjs-icon in slot="icon" with MDI paths. Colors are
overridden via CSS custom properties in :root to match the previous
mwc-fab appearance (blue background, white icon).
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* Add theme select to settings view
* WIP: dark mode colors
* Use system theme by default
* Fix eslint error
* Move variables unrelated to theme back to SharedStyles.js
* Move theme css variables to separate file
* Revert light theme colors
* WIP: replace hardcoded colors with variables
* Add commas to rgb values for vs code to show color decorators
* Fix invalid color code
* Remove unused css
* WIP: replace hardcoded colors with variables
* WIP: replace hardcoded colors with variables
* WIP: replace hardcoded colors with variables
* WIP: replace hardcoded colors with variables
* WIP: replace hardcoded colors with variables
* WIP: replace hardcoded colors with variables
* Set dark theme colors for legacy material components
* Set dark theme colors for legacy checkbox component
* Change primary color for dark theme
* Imrove fan chart text colors for dark mode
* Set dark theme outline colors for legacy button component
* Fix light mode background colors when dialog is open
* Change primary color for dark theme
* Sync map theme with gramps theme
* Make theme selector translatable
* Improve contrast for mwc-dialog in dark theme
* Replace hardcoded colors with variables
* Fix contrast for broken image in dark theme