aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2023-05-20 19:41:50 -0600
committerIván Ávalos <avalos@disroot.org>2023-05-20 19:41:50 -0600
commit41b1ed94d6964e3fcedf427bbd323861b03fd1de (patch)
treea06c356ac7027f6c21664278acf9e6cecf1b7243
parenta932c7491ca1f00ec9219e84f03a7fc98040b07a (diff)
downloadlinkchat-41b1ed94d6964e3fcedf427bbd323861b03fd1de.tar.gz
linkchat-41b1ed94d6964e3fcedf427bbd323861b03fd1de.tar.bz2
linkchat-41b1ed94d6964e3fcedf427bbd323861b03fd1de.zip
Se añade tipografía Manrope
-rw-r--r--fonts/Manrope-Bold.ttfbin0 -> 94928 bytes
-rw-r--r--fonts/Manrope-ExtraBold.ttfbin0 -> 95688 bytes
-rw-r--r--fonts/Manrope-ExtraLight.ttfbin0 -> 94872 bytes
-rw-r--r--fonts/Manrope-Light.ttfbin0 -> 94880 bytes
-rw-r--r--fonts/Manrope-Medium.ttfbin0 -> 95060 bytes
-rw-r--r--fonts/Manrope-Regular.ttfbin0 -> 94972 bytes
-rw-r--r--fonts/Manrope-SemiBold.ttfbin0 -> 95096 bytes
-rw-r--r--lib/settings/themes.dart6
-rw-r--r--pubspec.yaml19
9 files changed, 23 insertions, 2 deletions
diff --git a/fonts/Manrope-Bold.ttf b/fonts/Manrope-Bold.ttf
new file mode 100644
index 0000000..dae35ae
--- /dev/null
+++ b/fonts/Manrope-Bold.ttf
Binary files differ
diff --git a/fonts/Manrope-ExtraBold.ttf b/fonts/Manrope-ExtraBold.ttf
new file mode 100644
index 0000000..c586c62
--- /dev/null
+++ b/fonts/Manrope-ExtraBold.ttf
Binary files differ
diff --git a/fonts/Manrope-ExtraLight.ttf b/fonts/Manrope-ExtraLight.ttf
new file mode 100644
index 0000000..c89c561
--- /dev/null
+++ b/fonts/Manrope-ExtraLight.ttf
Binary files differ
diff --git a/fonts/Manrope-Light.ttf b/fonts/Manrope-Light.ttf
new file mode 100644
index 0000000..4c08014
--- /dev/null
+++ b/fonts/Manrope-Light.ttf
Binary files differ
diff --git a/fonts/Manrope-Medium.ttf b/fonts/Manrope-Medium.ttf
new file mode 100644
index 0000000..1b77c2e
--- /dev/null
+++ b/fonts/Manrope-Medium.ttf
Binary files differ
diff --git a/fonts/Manrope-Regular.ttf b/fonts/Manrope-Regular.ttf
new file mode 100644
index 0000000..7568e9c
--- /dev/null
+++ b/fonts/Manrope-Regular.ttf
Binary files differ
diff --git a/fonts/Manrope-SemiBold.ttf b/fonts/Manrope-SemiBold.ttf
new file mode 100644
index 0000000..1200888
--- /dev/null
+++ b/fonts/Manrope-SemiBold.ttf
Binary files 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
+