# Share map theme profiles as profile codes · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/479012c358c1a44f90cfb3054e4ff986d5d87dc4)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 479012c358c1a44f90cfb3054e4ff986d5d87dc4

Requested commit: 479012c358c1a44f90cfb3054e4ff986d5d87dc4

Commit: 479012c358c1a44f90cfb3054e4ff986d5d87dc4

Tree: b55855f97932c95fc3f7565bd27b6180d9389709

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Share map theme profiles as profile codes

A custom profile's menu gets Copy profile code, which puts one line of text
on the clipboard: icarus-theme: plus base64url of versioned JSON (name and
three colors). Import profile code, under New profile, opens a dialog that
prefills from the clipboard, previews the open map in the pasted colors,
and adds the profile. Junk, cut-off codes, codes from a newer Icarus, and
colors you already have each get one sentence instead of a silent failure.

Custom profiles now list oldest first, so an imported or new profile lands
at the end instead of wherever its random id sorts.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

```

## Parents

- [a91f17983a1e87b99d42930ce140f313f66d38ab](https://git.cafe/dara/icarus/commit/a91f17983a1e87b99d42930ce140f313f66d38ab?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/479012c358c1a44f90cfb3054e4ff986d5d87dc4?format=markdown)
