bump phosphor icon font to size 1.0, fix welcome tests

Phosphor glyph fontSize set to 1.0 in unit space so glyphs fill
the full icon size (16px in the rail). Welcome tests updated to
match the redesigned view.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-22 23:52:38 +02:00
co-authored by Claude Opus 4.6
parent 3cde60dfcc
commit 44dad67417
3 changed files with 5 additions and 31 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ class _RailButton extends StatelessWidget {
),
),
),
child: ClideIcon(item.icon, size: 14, color: color),
child: ClideIcon(item.icon, size: 16, color: color),
),
),
),
+1 -1
View File
@@ -11,7 +11,7 @@ class PhosphorIconPainter extends ClideIconPainter {
@override
void paint(ui.Canvas canvas, ui.Color color) {
final builder = ui.ParagraphBuilder(
ui.ParagraphStyle(fontFamily: family, fontSize: 0.75, height: 1.0, textAlign: ui.TextAlign.center),
ui.ParagraphStyle(fontFamily: family, fontSize: 1.0, height: 1.0, textAlign: ui.TextAlign.center),
)
..pushStyle(ui.TextStyle(color: color, fontFamily: family))
..addText(String.fromCharCode(codePoint));