Skip to content

Commit aaef5eb

Browse files
authored
Merge pull request #9 from headlines-toolkit/refactor_app_shell_spacing
Refactor app shell spacing
2 parents 82859b1 + 8cf743b commit aaef5eb

File tree

7 files changed

+356
-246
lines changed

7 files changed

+356
-246
lines changed

lib/app/view/app_shell.dart

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,15 @@ class AppShell extends StatelessWidget {
8888
label: l10n.appConfiguration,
8989
),
9090
],
91-
body: (_) => navigationShell,
91+
body: (_) => Padding(
92+
padding: const EdgeInsets.fromLTRB(
93+
0,
94+
AppSpacing.sm,
95+
AppSpacing.sm,
96+
AppSpacing.sm,
97+
),
98+
child: navigationShell,
99+
),
92100
),
93101
);
94102
}

lib/l10n/app_localizations.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,18 @@ abstract class AppLocalizations {
955955
/// In en, this message translates to:
956956
/// **'Font Settings'**
957957
String get fontSettingsLabel;
958+
959+
/// Description for the main settings page
960+
///
961+
/// In en, this message translates to:
962+
/// **'Configure your personal preferences for the Dashboard interface, encompassing visual presentation and language selection.'**
963+
String get settingsPageDescription;
964+
965+
/// No description provided for @appearanceSettingsDescription.
966+
///
967+
/// In en, this message translates to:
968+
/// **'Adjust the visual characteristics of the Dashboard, including theme, accent colors, and typographic styles.'**
969+
String get appearanceSettingsDescription;
958970
}
959971

960972
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,4 +499,12 @@ class AppLocalizationsAr extends AppLocalizations {
499499

500500
@override
501501
String get fontSettingsLabel => 'إعدادات الخط';
502+
503+
@override
504+
String get settingsPageDescription =>
505+
'قم بتكوين تفضيلاتك الشخصية لواجهة لوحة القيادة، بما في ذلك العرض المرئي واختيار اللغة.';
506+
507+
@override
508+
String get appearanceSettingsDescription =>
509+
'اضبط الخصائص المرئية للوحة القيادة، بما في ذلك السمة وألوان التمييز والأنماط الطباعية.';
502510
}

lib/l10n/app_localizations_en.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,4 +497,12 @@ class AppLocalizationsEn extends AppLocalizations {
497497

498498
@override
499499
String get fontSettingsLabel => 'Font Settings';
500+
501+
@override
502+
String get settingsPageDescription =>
503+
'Configure your personal preferences for the Dashboard interface, encompassing visual presentation and language selection.';
504+
505+
@override
506+
String get appearanceSettingsDescription =>
507+
'Adjust the visual characteristics of the Dashboard, including theme, accent colors, and typographic styles.';
500508
}

lib/l10n/arb/app_ar.arb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,5 +595,10 @@
595595
"fontSettingsLabel": "إعدادات الخط",
596596
"@fontSettingsLabel": {
597597
"description": "تسمية تبويب إعدادات الخط الفرعي"
598-
}
598+
},
599+
"settingsPageDescription": "قم بتكوين تفضيلاتك الشخصية لواجهة لوحة القيادة، بما في ذلك العرض المرئي واختيار اللغة.",
600+
"@settingsPageDescription": {
601+
"description": "وصف صفحة الإعدادات الرئيسية"
602+
},
603+
"appearanceSettingsDescription": "اضبط الخصائص المرئية للوحة القيادة، بما في ذلك السمة وألوان التمييز والأنماط الطباعية."
599604
}

lib/l10n/arb/app_en.arb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,5 +595,10 @@
595595
"fontSettingsLabel": "Font Settings",
596596
"@fontSettingsLabel": {
597597
"description": "Label for the Font Settings sub-tab"
598-
}
598+
},
599+
"settingsPageDescription": "Configure your personal preferences for the Dashboard interface, encompassing visual presentation and language selection.",
600+
"@settingsPageDescription": {
601+
"description": "Description for the main settings page"
602+
},
603+
"appearanceSettingsDescription": "Adjust the visual characteristics of the Dashboard, including theme, accent colors, and typographic styles."
599604
}

0 commit comments

Comments
 (0)