Skip to content

Commit

Permalink
Merge pull request #425 from jaivsh/patch1
Browse files Browse the repository at this point in the history
Updated the color schema and UI of light mode
  • Loading branch information
avinashkranjan authored Aug 10, 2023
2 parents 2115a78 + dcd0b9e commit a0e0000
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lib/screens/themes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
);

0 comments on commit a0e0000

Please sign in to comment.