diff options
author | Iván Ávalos <avalos@disroot.org> | 2023-05-20 19:41:50 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2023-05-20 19:41:50 -0600 |
commit | 41b1ed94d6964e3fcedf427bbd323861b03fd1de (patch) | |
tree | a06c356ac7027f6c21664278acf9e6cecf1b7243 | |
parent | a932c7491ca1f00ec9219e84f03a7fc98040b07a (diff) | |
download | linkchat-41b1ed94d6964e3fcedf427bbd323861b03fd1de.tar.gz linkchat-41b1ed94d6964e3fcedf427bbd323861b03fd1de.tar.bz2 linkchat-41b1ed94d6964e3fcedf427bbd323861b03fd1de.zip |
Se añade tipografía Manrope
-rw-r--r-- | fonts/Manrope-Bold.ttf | bin | 0 -> 94928 bytes | |||
-rw-r--r-- | fonts/Manrope-ExtraBold.ttf | bin | 0 -> 95688 bytes | |||
-rw-r--r-- | fonts/Manrope-ExtraLight.ttf | bin | 0 -> 94872 bytes | |||
-rw-r--r-- | fonts/Manrope-Light.ttf | bin | 0 -> 94880 bytes | |||
-rw-r--r-- | fonts/Manrope-Medium.ttf | bin | 0 -> 95060 bytes | |||
-rw-r--r-- | fonts/Manrope-Regular.ttf | bin | 0 -> 94972 bytes | |||
-rw-r--r-- | fonts/Manrope-SemiBold.ttf | bin | 0 -> 95096 bytes | |||
-rw-r--r-- | lib/settings/themes.dart | 6 | ||||
-rw-r--r-- | pubspec.yaml | 19 |
9 files changed, 23 insertions, 2 deletions
diff --git a/fonts/Manrope-Bold.ttf b/fonts/Manrope-Bold.ttf Binary files differnew file mode 100644 index 0000000..dae35ae --- /dev/null +++ b/fonts/Manrope-Bold.ttf diff --git a/fonts/Manrope-ExtraBold.ttf b/fonts/Manrope-ExtraBold.ttf Binary files differnew file mode 100644 index 0000000..c586c62 --- /dev/null +++ b/fonts/Manrope-ExtraBold.ttf diff --git a/fonts/Manrope-ExtraLight.ttf b/fonts/Manrope-ExtraLight.ttf Binary files differnew file mode 100644 index 0000000..c89c561 --- /dev/null +++ b/fonts/Manrope-ExtraLight.ttf diff --git a/fonts/Manrope-Light.ttf b/fonts/Manrope-Light.ttf Binary files differnew file mode 100644 index 0000000..4c08014 --- /dev/null +++ b/fonts/Manrope-Light.ttf diff --git a/fonts/Manrope-Medium.ttf b/fonts/Manrope-Medium.ttf Binary files differnew file mode 100644 index 0000000..1b77c2e --- /dev/null +++ b/fonts/Manrope-Medium.ttf diff --git a/fonts/Manrope-Regular.ttf b/fonts/Manrope-Regular.ttf Binary files differnew file mode 100644 index 0000000..7568e9c --- /dev/null +++ b/fonts/Manrope-Regular.ttf diff --git a/fonts/Manrope-SemiBold.ttf b/fonts/Manrope-SemiBold.ttf Binary files differnew file mode 100644 index 0000000..1200888 --- /dev/null +++ b/fonts/Manrope-SemiBold.ttf 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 + |