feat(ui,learn,todo,train,meditate): the kingfisher on the launch screens, and as Learn's icon

The commissioned kingfisher (tool/kingfisher.svg) becomes Halkyon's
again. Learn's launcher icon is the bird in its own colours on the
white tile, its themed variants the bird's outline, and its launch
screen shows the bird alone (ADR 0031, D12; ADR 0045, D14). Todo,
Train and Meditate keep their glyphs on the launchers, and their launch
screens show the bird in their own colours (D11). tool/app_icons.py
draws all of them; halkyon_ui's LaunchScreen takes an emblem in place
of the icon. Lucide's notice leaves Learn's licence list, as its icon
no longer is Lucide's.

Whats-New: Halkyon's kingfisher is back: Learn's icon, and on the screen while each app opens.
Whats-New-De: Halkyons Eisvogel ist zurück: als Symbol von Learn und auf dem Bildschirm, während jede App startet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-11-12 13:33:37 +01:00
commit 4eff894128
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -2,12 +2,14 @@ import 'package:halkyon_ui/src/widget/brand_wordmark.dart';
import 'package:material_ui/material_ui.dart';
/// What shows while an app opens (its instance, the session, the person's
/// data): the app's [icon], and beneath it the [BrandWordmark] with its
/// [product] word, then a quiet line of progress; read out as the app's
/// [name].
/// data): Halkyon's kingfisher in the app's colours ([emblem]; ADR 0031,
/// D11, where the launcher shows the app's icon), and beneath it the
/// [BrandWordmark] with its [product] word, then a quiet line of progress;
/// read out as the app's [name].
class const LaunchScreen({
/// The app's icon, square; it shows rounded as a launcher rounds it.
required final ImageProvider icon,
/// The kingfisher in the app's colours, square, on transparency, shown as
/// it is (`tool/app_icons.py` draws it).
required final ImageProvider emblem,
/// The app's own word, below "Halkyon".
required final String product,
@ -16,8 +18,8 @@ class const LaunchScreen({
required final String name,
super.key,
}) extends StatelessWidget {
/// How large the icon shows.
static const iconSize = 112.0;
/// How large the kingfisher shows.
static const emblemSize = 160.0;
@override
Widget build(BuildContext context) => Scaffold(
@ -28,20 +30,16 @@ class const LaunchScreen({
mainAxisSize: MainAxisSize.min,
children: [
ExcludeSemantics(
child: ClipRRect(
// As the launcher rounds it.
borderRadius: BorderRadius.circular(iconSize * 0.22),
child: Image(
// No more than three times its size in memory, whatever
// the source's.
image: ResizeImage.resizeIfNeeded(
(iconSize * 3).round(),
null,
icon,
),
width: iconSize,
height: iconSize,
child: Image(
// No more than three times its size in memory, whatever the
// source's.
image: ResizeImage.resizeIfNeeded(
(emblemSize * 3).round(),
null,
emblem,
),
width: emblemSize,
height: emblemSize,
),
),
const SizedBox(height: 24),