session expired dialog color scheme.

main_production_RSG
Sikander Saleem 2 months ago
parent a974c020f2
commit 6a01df319d

@ -146,7 +146,7 @@ class _SearchDevicePageState extends State<SearchDevicePage> {
Navigator.of(context).pop(device); Navigator.of(context).pop(device);
} }
}, },
selectButton: Text(title, style: AppTextStyles.bodyText.copyWith(color: AppColor.blueStatus(context))), selectButton: Text(title, style: AppTextStyles.bodyText.copyWith(color: AppColor.primary10)),
); );
}, },
).expanded, ).expanded,

@ -16,7 +16,7 @@ class SingleBtnDialog extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Dialog( return Dialog(
backgroundColor: Colors.white, backgroundColor: AppColor.background(context),
shape: const RoundedRectangleBorder(), shape: const RoundedRectangleBorder(),
insetPadding: const EdgeInsets.only(left: 21, right: 21), insetPadding: const EdgeInsets.only(left: 21, right: 21),
child: Padding( child: Padding(
@ -27,9 +27,9 @@ class SingleBtnDialog extends StatelessWidget {
children: [ children: [
Text( Text(
title ?? "Confirm", title ?? "Confirm",
style: const TextStyle(fontSize: 24, fontWeight: FontWeight.w600, color: Colors.black87, height: 35 / 24, letterSpacing: -0.96), style: TextStyle(fontSize: 24, fontWeight: FontWeight.w600, color: AppColor.headingTextColor(context), height: 35 / 24, letterSpacing: -0.96),
).paddingOnly(top: 16), ).paddingOnly(top: 16),
message != null ? message!.heading5(context).custom(color: AppColor.neutral70) : const SizedBox(), message != null ? message!.heading5(context).custom(color: AppColor.headingTextColor(context)) : const SizedBox(),
28.height, 28.height,
AppFilledButton( AppFilledButton(
label: okTitle ?? "OK", label: okTitle ?? "OK",

@ -60,7 +60,7 @@ class AssetItemListView extends StatelessWidget {
children: [ children: [
Text( Text(
context.translation.viewDetails, context.translation.viewDetails,
style: AppTextStyles.bodyText2.copyWith(color: AppColor.blueStatus(context)), style: AppTextStyles.bodyText2.copyWith(color: AppColor.primary10),
), ),
4.width, 4.width,
const Icon(Icons.arrow_forward, color: AppColor.primary10, size: 14) const Icon(Icons.arrow_forward, color: AppColor.primary10, size: 14)

@ -228,7 +228,8 @@ class _MyAssetsPageState extends State<MyAssetsPage> {
), ),
floatingActionButton: FloatingActionButton( floatingActionButton: FloatingActionButton(
heroTag: "some tag 2", heroTag: "some tag 2",
child: "qr".toSvgAsset(height: 32, fit: BoxFit.fitHeight, color: Theme.of(context).scaffoldBackgroundColor), backgroundColor: AppColor.primary10,
child: "qr".toSvgAsset(height: 32, fit: BoxFit.fitHeight, color: AppColor.background(context)),
onPressed: () async { onPressed: () async {
String? result = await Navigator.of(context).push( String? result = await Navigator.of(context).push(
MaterialPageRoute(builder: (_) => const ScanQr()), MaterialPageRoute(builder: (_) => const ScanQr()),

Loading…
Cancel
Save