feat: remove google font and add quicksand
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import 'package:enaklo_pos/core/assets/fonts.gen.dart';
|
||||
import 'package:enaklo_pos/core/constants/colors.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
|
||||
ThemeData getApplicationTheme = ThemeData(
|
||||
primaryColor: AppColors.primary,
|
||||
@@ -8,7 +8,7 @@ ThemeData getApplicationTheme = ThemeData(
|
||||
appBarTheme: AppBarTheme(
|
||||
color: AppColors.white,
|
||||
elevation: 0,
|
||||
titleTextStyle: GoogleFonts.quicksand(
|
||||
titleTextStyle: TextStyle(
|
||||
color: AppColors.primary,
|
||||
fontSize: 16.0,
|
||||
fontWeight: FontWeight.w500,
|
||||
@@ -17,7 +17,7 @@ ThemeData getApplicationTheme = ThemeData(
|
||||
color: AppColors.primary,
|
||||
),
|
||||
),
|
||||
fontFamily: GoogleFonts.quicksand().fontFamily,
|
||||
fontFamily: FontFamily.quicksand,
|
||||
colorScheme: ColorScheme.fromSeed(seedColor: AppColors.primary),
|
||||
useMaterial3: true,
|
||||
inputDecorationTheme: InputDecorationTheme(
|
||||
|
||||
Reference in New Issue
Block a user