diff --git a/lib/ui/widgets/contributorsView/contributors_card.dart b/lib/ui/widgets/contributorsView/contributors_card.dart index 2a680e20..c02224e4 100644 --- a/lib/ui/widgets/contributorsView/contributors_card.dart +++ b/lib/ui/widgets/contributorsView/contributors_card.dart @@ -33,7 +33,7 @@ class _ContributorsCardState extends State { '', style: TextStyle( fontSize: 20, - fontWeight: FontWeight.w600, + fontWeight: FontWeight.w500, ), ), ), diff --git a/lib/ui/widgets/homeView/latest_commit_card.dart b/lib/ui/widgets/homeView/latest_commit_card.dart index 0f95625a..be88a64f 100644 --- a/lib/ui/widgets/homeView/latest_commit_card.dart +++ b/lib/ui/widgets/homeView/latest_commit_card.dart @@ -49,7 +49,7 @@ class _LatestCommitCardState extends State { ), ], ), - const SizedBox(height: 8), + const SizedBox(height: 4), Row( children: [ I18nText('latestCommitCard.managerLabel'), diff --git a/lib/ui/widgets/patcherView/app_selector_card.dart b/lib/ui/widgets/patcherView/app_selector_card.dart index 00b5ab4e..ae3dcb97 100644 --- a/lib/ui/widgets/patcherView/app_selector_card.dart +++ b/lib/ui/widgets/patcherView/app_selector_card.dart @@ -32,7 +32,7 @@ class AppSelectorCard extends StatelessWidget { ), ), ), - const SizedBox(height: 10), + const SizedBox(height: 8), locator().selectedApp == null ? I18nText('appSelectorCard.widgetSubtitle') : Row( @@ -49,21 +49,21 @@ class AppSelectorCard extends StatelessWidget { ), ), const SizedBox(width: 6), - Text(locator().getAppSelectionString()), + Text( + locator() + .getAppSelectionString(), + style: const TextStyle(fontWeight: FontWeight.w600), + ), ], ), locator().selectedApp == null ? Container() : Column( children: [ - const SizedBox(height: 10), - Padding( - padding: const EdgeInsets.only(left: 20), - child: Text( - locator() - .getRecommendedVersionString(context), - style: const TextStyle(fontStyle: FontStyle.italic), - ), + const SizedBox(height: 4), + Text( + locator() + .getRecommendedVersionString(context), ), ], ), diff --git a/lib/ui/widgets/patcherView/patch_selector_card.dart b/lib/ui/widgets/patcherView/patch_selector_card.dart index 9ece60c0..d9c25e1e 100644 --- a/lib/ui/widgets/patcherView/patch_selector_card.dart +++ b/lib/ui/widgets/patcherView/patch_selector_card.dart @@ -32,7 +32,7 @@ class PatchSelectorCard extends StatelessWidget { ), ), ), - const SizedBox(height: 10), + const SizedBox(height: 4), locator().selectedApp == null ? I18nText('patchSelectorCard.widgetSubtitle') : locator().selectedPatches.isEmpty @@ -46,7 +46,7 @@ class PatchSelectorCard extends StatelessWidget { String _getPatchesSelection() { String text = ''; for (Patch p in locator().selectedPatches) { - text += '${p.getSimpleName()} (v${p.version})\n'; + text += '\u2022 ${p.getSimpleName()} (v${p.version})\n'; } return text.substring(0, text.length - 1); } diff --git a/lib/ui/widgets/patchesSelectorView/patch_item.dart b/lib/ui/widgets/patchesSelectorView/patch_item.dart index a008bf11..8d6c8ce2 100644 --- a/lib/ui/widgets/patchesSelectorView/patch_item.dart +++ b/lib/ui/widgets/patchesSelectorView/patch_item.dart @@ -65,21 +65,14 @@ class _PatchItemState extends State { fontWeight: FontWeight.w600, ), ), - const SizedBox(width: 4), - Container( - padding: const EdgeInsets.symmetric( - horizontal: 4, - vertical: 2, + const SizedBox(width: 6), + Text( + widget.version, + style: TextStyle( + fontSize: 16, + color: Theme.of(context).colorScheme.secondary, ), - decoration: BoxDecoration( - color: Theme.of(context) - .colorScheme - .background - .withOpacity(0.5), - borderRadius: BorderRadius.circular(6), - ), - child: Text(widget.version), - ) + ), ], ), const SizedBox(height: 4), @@ -88,7 +81,10 @@ class _PatchItemState extends State { softWrap: true, maxLines: 3, overflow: TextOverflow.visible, - style: const TextStyle(fontSize: 14), + style: TextStyle( + fontSize: 14, + color: Theme.of(context).colorScheme.onSecondaryContainer, + ), ), ], ), @@ -119,12 +115,12 @@ class _PatchItemState extends State { padding: const EdgeInsets.only(top: 8), child: TextButton.icon( label: I18nText('patchItem.unsupportedWarningButton'), - icon: const Icon(Icons.warning), + icon: const Icon(Icons.warning, size: 20.0), onPressed: () => _showUnsupportedWarningDialog(), style: ButtonStyle( shape: MaterialStateProperty.all( RoundedRectangleBorder( - borderRadius: BorderRadius.circular(12), + borderRadius: BorderRadius.circular(8), side: BorderSide( width: 1, color: