Use a silhouette icon for the profile button
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 1m36s
pauljd/davidson-ci: Davidson CI / ai-review (push) Failing after 1m22s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-11-01 22:23:21 +00:00
co-authored by Claude Opus 5.5
parent 7e6fbad5d7
commit 2fc51b69d6
10 changed files with 1139 additions and 4 deletions
+3 -2
View File
@@ -47,11 +47,12 @@ def icon(name, c, accent):
'documentaries': f'<circle cx="44" cy="52" r="34" {s}/><path d="M12 42C28 50 36 38 44 46S40 70 50 84M62 24C56 34 66 40 76 40" {s}/><path d="M60 24C66 8 80 6 90 8 90 22 82 34 66 32Z" {a}/>',
'sport': f'<path d="M14 30V84M82 30V84" {s}/><path d="M14 42H82M14 56H82M14 70H82" {a}/><circle cx="14" cy="26" r="5" fill="{c}"/><circle cx="82" cy="26" r="5" fill="{c}"/>',
'gear': f'<polygon points="{gear_path()}" {s}/><circle cx="48" cy="48" r="12" {a}/>',
'profile': f'<circle cx="48" cy="33" r="19" fill="{c}"/><path d="M12 86C12 64 28 56 48 56S84 64 84 86Z" fill="{c}"/>',
'office': f'<path d="M10 28H86V42C78 42 78 54 86 54V68H10V54C18 54 18 42 10 42Z" {s}/><path d="M60 30V66" {a} stroke-dasharray="5 7"/><path d="M26 42H48M26 54H42" {s}/>',
}[name]
ICONS = ['all', 'entertainment', 'movies', 'comedy', 'kids', 'documentaries', 'sport', 'gear', 'office']
ICONS = ['all', 'entertainment', 'movies', 'comedy', 'kids', 'documentaries', 'sport', 'gear', 'office', 'profile']
for name in ICONS:
src = P / 'icons' / f'orbit_icon_{name}.svg'
src.write_text(svg(96, 96, icon(name, SILVER, '#7FB2FF')))
@@ -111,7 +112,7 @@ def picture(x, y, w, h):
def top_bar(title='orbit'):
return (orbit_logo(60, 26, 76) +
text(1620, 74, 'Sun 1 Nov 20:14', 28, 'white', '600', anchor='end') + rect(1652, 28, 76, 68, PANEL, 12) + use_icon('gear', 1664, 36, 52) + rect(1748, 28, 112, 68, PANEL, 12) + text(1804, 74, 'Profile', 22, MUTED, '600', anchor='middle'))
text(1620, 74, 'Sun 1 Nov 20:14', 28, 'white', '600', anchor='end') + rect(1652, 28, 76, 68, PANEL, 12) + use_icon('gear', 1664, 36, 52) + rect(1748, 28, 76, 68, PANEL, 12) + use_icon('profile', 1762, 38, 48))
def legend(items, y=1040, x=60):
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="96" height="96" viewBox="0 0 96 96"><circle cx="48" cy="33" r="19" fill="#E8EDF5"/><path d="M12 86C12 64 28 56 48 56S84 64 84 86Z" fill="#E8EDF5"/></svg>

After

Width:  |  Height:  |  Size: 243 B

File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 403 KiB

After

Width:  |  Height:  |  Size: 403 KiB

Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 484 KiB

After

Width:  |  Height:  |  Size: 484 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 163 KiB

After

Width:  |  Height:  |  Size: 163 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 143 KiB

After

Width:  |  Height:  |  Size: 143 KiB