From dcd0b9ef514518714e18784106ccd92c78e01224 Mon Sep 17 00:00:00 2001 From: Jaivardhan Shukla <93859359+jaivsh@users.noreply.github.com> Date: Thu, 10 Aug 2023 16:34:51 +0530 Subject: [PATCH] Update themes.dart --- lib/screens/themes.dart | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/screens/themes.dart b/lib/screens/themes.dart index 678482e840..b4cc3ea986 100644 --- a/lib/screens/themes.dart +++ b/lib/screens/themes.dart @@ -2,8 +2,17 @@ import 'package:flutter/material.dart'; final lightTheme = ThemeData( brightness: Brightness.light, + visualDensity: VisualDensity.adaptivePlatformDensity, + colorScheme: ColorScheme.fromSwatch() + .copyWith(secondary: Colors.white) + .copyWith(primary: Colors.black), + ); final darkTheme = ThemeData( - brightness: Brightness.dark, + primaryColor: Color(0xFF202328), + visualDensity: VisualDensity.adaptivePlatformDensity, + colorScheme: ColorScheme.fromSwatch() + .copyWith(secondary: Color(0xFF651FFF)) + .copyWith(background: Color(0xFF12171D)), );