Merge pull request 'feat: Add local Mulish font family and remove Google Fonts dependency.' (#897) from mso7nueh/eatvio_app:main into main

Reviewed-on: eatvio/eatvio_app#897
This commit is contained in:
mso7nueh
2026-02-03 11:50:27 +00:00
18 changed files with 47 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:google_fonts/google_fonts.dart';
/// Helper class for managing themes and colors.
class ThemeHelper {
@@ -34,7 +34,8 @@ class ThemeHelper {
var colorScheme = _supportedColorScheme[_appTheme] ?? ColorSchemes.primaryColorScheme;
return ThemeData(
textTheme: GoogleFonts.mulishTextTheme(),
fontFamily: 'Mulish-Local',
textTheme: ThemeData.light().textTheme.apply(fontFamily: 'Mulish-Local'),
visualDensity: VisualDensity.standard,
colorScheme: colorScheme,
scaffoldBackgroundColor: colorScheme.onPrimary,

View File

@@ -36,7 +36,6 @@ dependencies:
url_launcher: ^6.3.2
easy_debounce: ^2.0.3
badges: ^3.1.2
google_fonts: ^6.3.3
syncfusion_flutter_charts: ^32.1.20
syncfusion_flutter_gauges: ^32.1.20
table_calendar: ^3.2.0
@@ -112,6 +111,50 @@ flutter:
- assets/icons/
- assets/splash/
- assets/lottie_animations/
fonts:
- family: Mulish-Local
fonts:
- asset: assets/fonts/Mulish-ExtraLight.ttf
weight: 200
- asset: assets/fonts/Mulish-ExtraLightItalic.ttf
weight: 200
style: italic
- asset: assets/fonts/Mulish-Light.ttf
weight: 300
- asset: assets/fonts/Mulish-LightItalic.ttf
weight: 300
style: italic
- asset: assets/fonts/Mulish-Regular.ttf
weight: 400
- asset: assets/fonts/Mulish-Italic.ttf
weight: 400
style: italic
- asset: assets/fonts/Mulish-Medium.ttf
weight: 500
- asset: assets/fonts/Mulish-MediumItalic.ttf
weight: 500
style: italic
- asset: assets/fonts/Mulish-SemiBold.ttf
weight: 600
- asset: assets/fonts/Mulish-SemiBoldItalic.ttf
weight: 600
style: italic
- asset: assets/fonts/Mulish-Bold.ttf
weight: 700
- asset: assets/fonts/Mulish-BoldItalic.ttf
weight: 700
style: italic
- asset: assets/fonts/Mulish-ExtraBold.ttf
weight: 800
- asset: assets/fonts/Mulish-ExtraBoldItalic.ttf
weight: 800
style: italic
- asset: assets/fonts/Mulish-Black.ttf
weight: 900
- asset: assets/fonts/Mulish-BlackItalic.ttf
weight: 900
style: italic
flutter_intl:
enabled: true