Skip to content

Commit 9409410

Browse files
Merge pull request #1867 from atsign-foundation/1860-fix-apkam-screen-npt
fix: authorization screen theme update.
2 parents 0531425 + 05f7586 commit 9409410

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

packages/dart/npt_flutter/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- **FEAT**: Added Version Number on the onboarding and settings screen.
77
- **FIX**: Added Localization support for the authentication feature.
88
- **FIX**: Backup Key is implemented correctly.
9+
- **FIX**: Authorization screen
910

1011
## 1.0.0
1112

packages/dart/npt_flutter/lib/features/authorisation/view/authorisation_view.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ class AuthorisationView extends StatelessWidget {
1515
),
1616
child: AuthorisationHub(
1717
service: context.watch<AuthorisationService>(),
18+
themeData: Theme.of(context).copyWith(
19+
colorScheme: Theme.of(context).colorScheme.copyWith(
20+
primary: Theme.of(context).colorScheme.primary,
21+
),
22+
),
1823
),
1924
),
2025
);

packages/dart/npt_flutter/lib/styles/app_theme.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ class AppTheme {
1212
fontSize: Sizes.p24,
1313
fontWeight: FontWeight.w500,
1414
),
15+
headlineSmall: TextStyle(
16+
fontSize: 15,
17+
fontWeight: FontWeight.w500,
18+
),
1519
titleMedium: TextStyle(
1620
fontSize: Sizes.p18,
1721
fontWeight: FontWeight.w600,
@@ -87,6 +91,7 @@ class AppTheme {
8791
primary: AppColor.primaryColor,
8892
surface: AppColor.surfaceColor,
8993
onSurface: AppColor.onSurfaceColor,
94+
onSurfaceVariant: AppColor.onSurfaceColor,
9095
surfaceTint: Colors.transparent),
9196
appBarTheme: const AppBarTheme(
9297
color: AppColor.surfaceColor,

0 commit comments

Comments
 (0)