From 41b1ed94d6964e3fcedf427bbd323861b03fd1de Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Sat, 20 May 2023 19:41:50 -0600 Subject: Se añade tipografía Manrope MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fonts/Manrope-Bold.ttf | Bin 0 -> 94928 bytes fonts/Manrope-ExtraBold.ttf | Bin 0 -> 95688 bytes fonts/Manrope-ExtraLight.ttf | Bin 0 -> 94872 bytes fonts/Manrope-Light.ttf | Bin 0 -> 94880 bytes fonts/Manrope-Medium.ttf | Bin 0 -> 95060 bytes fonts/Manrope-Regular.ttf | Bin 0 -> 94972 bytes fonts/Manrope-SemiBold.ttf | Bin 0 -> 95096 bytes lib/settings/themes.dart | 6 ++++-- pubspec.yaml | 19 +++++++++++++++++++ 9 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 fonts/Manrope-Bold.ttf create mode 100644 fonts/Manrope-ExtraBold.ttf create mode 100644 fonts/Manrope-ExtraLight.ttf create mode 100644 fonts/Manrope-Light.ttf create mode 100644 fonts/Manrope-Medium.ttf create mode 100644 fonts/Manrope-Regular.ttf create mode 100644 fonts/Manrope-SemiBold.ttf diff --git a/fonts/Manrope-Bold.ttf b/fonts/Manrope-Bold.ttf new file mode 100644 index 0000000..dae35ae Binary files /dev/null and b/fonts/Manrope-Bold.ttf differ diff --git a/fonts/Manrope-ExtraBold.ttf b/fonts/Manrope-ExtraBold.ttf new file mode 100644 index 0000000..c586c62 Binary files /dev/null and b/fonts/Manrope-ExtraBold.ttf differ diff --git a/fonts/Manrope-ExtraLight.ttf b/fonts/Manrope-ExtraLight.ttf new file mode 100644 index 0000000..c89c561 Binary files /dev/null and b/fonts/Manrope-ExtraLight.ttf differ diff --git a/fonts/Manrope-Light.ttf b/fonts/Manrope-Light.ttf new file mode 100644 index 0000000..4c08014 Binary files /dev/null and b/fonts/Manrope-Light.ttf differ diff --git a/fonts/Manrope-Medium.ttf b/fonts/Manrope-Medium.ttf new file mode 100644 index 0000000..1b77c2e Binary files /dev/null and b/fonts/Manrope-Medium.ttf differ diff --git a/fonts/Manrope-Regular.ttf b/fonts/Manrope-Regular.ttf new file mode 100644 index 0000000..7568e9c Binary files /dev/null and b/fonts/Manrope-Regular.ttf differ diff --git a/fonts/Manrope-SemiBold.ttf b/fonts/Manrope-SemiBold.ttf new file mode 100644 index 0000000..1200888 Binary files /dev/null and b/fonts/Manrope-SemiBold.ttf differ diff --git a/lib/settings/themes.dart b/lib/settings/themes.dart index bc489b7..cc506a9 100644 --- a/lib/settings/themes.dart +++ b/lib/settings/themes.dart @@ -4,11 +4,13 @@ class ThemeSettings { static ThemeData lightTheme = ThemeData( useMaterial3: true, primaryColor: Colors.purple, + fontFamily: 'Manrope', ); - static ThemeData darkTheme = ThemeData.dark( + static ThemeData darkTheme = ThemeData( useMaterial3: true, - ).copyWith( + brightness: Brightness.dark, + fontFamily: 'Manrope', colorScheme: const ColorScheme.dark().copyWith( primary: Colors.purple, ), diff --git a/pubspec.yaml b/pubspec.yaml index 1f079b3..90b0bf8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -34,3 +34,22 @@ flutter: assets: - assets/ + + fonts: + - family: Manrope + fonts: + - asset: fonts/Manrope-ExtraLight.ttf + weight: 200 + - asset: fonts/Manrope-Light.ttf + weight: 300 + - asset: fonts/Manrope-Regular.ttf + weight: 400 + - asset: fonts/Manrope-Medium.ttf + weight: 500 + - asset: fonts/Manrope-SemiBold.ttf + weight: 600 + - asset: fonts/Manrope-Bold.ttf + weight: 700 + - asset: fonts/Manrope-ExtraBold.ttf + weight: 800 + -- cgit v1.2.3