generated from nventive/Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ariane Leonard
authored and
Ariane Leonard
committed
Oct 7, 2024
1 parent
6eb8ce9
commit 412d3f0
Showing
11 changed files
with
77 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
class GlobalThemeData { | ||
static ThemeData lightThemeData = themeData(lightColorScheme); | ||
static ThemeData darkThemeData = themeData(darkColorScheme); | ||
|
||
static ThemeData themeData(ColorScheme colorScheme) { | ||
return ThemeData( | ||
useMaterial3: true, | ||
fontFamily: 'Guillon', | ||
colorScheme: colorScheme, | ||
); | ||
} | ||
|
||
static const ColorScheme lightColorScheme = ColorScheme( | ||
primary: Color(0xFF0D59CD), | ||
onPrimary: Colors.white, | ||
secondary: Color(0xFF5BC5F2), | ||
onSecondary: Color(0xFF001E60), | ||
error: Color(0xFFD93B27), | ||
onError: Color(0xFFFDEFED), | ||
surface: Color(0xFFF5FAFF), | ||
onSurface: Color(0xFF001E60), | ||
brightness: Brightness.light, | ||
); | ||
|
||
static const ColorScheme darkColorScheme = ColorScheme( | ||
primary: Color(0xFF89C5FF), | ||
onPrimary: Color(0xFF121821), | ||
secondary: Color(0xFFFCA58B), | ||
onSecondary: Color(0xFF302B29), | ||
error: Color(0xFFE8897D), | ||
onError: Color(0xFF32110D), | ||
surface: Color(0xFF2C3034), | ||
onSurface: Colors.white, | ||
brightness: Brightness.dark, | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters