Skip to content

Commit 6f87789

Browse files
committed
feat(AboutIcon): customize icon color and size
- Add theme color for icon to match surface variant - Set icon size to 20 for better visibility - These changes improve the icon's appearance and consistency with the app's design guidelines
1 parent d314ad0 commit 6f87789

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/shared/widgets/about_icon.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,13 @@ class AboutIcon extends StatelessWidget {
2222
@override
2323
Widget build(BuildContext context) {
2424
final l10n = AppLocalizationsX(context).l10n;
25+
final theme = Theme.of(context);
2526
return IconButton(
26-
icon: const Icon(Icons.info_outline),
27+
icon: Icon(
28+
Icons.info_outline,
29+
color: theme.colorScheme.onSurfaceVariant,
30+
),
31+
iconSize: 20,
2732
tooltip: l10n.aboutIconTooltip,
2833
onPressed: () {
2934
showDialog<void>(

0 commit comments

Comments
 (0)