feat: update home page
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
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,
|
||||
scaffoldBackgroundColor: AppColors.white,
|
||||
appBarTheme: AppBarTheme(
|
||||
color: AppColors.white,
|
||||
elevation: 0,
|
||||
titleTextStyle: GoogleFonts.quicksand(
|
||||
color: AppColors.primary,
|
||||
fontSize: 16.0,
|
||||
fontWeight: FontWeight.w500,
|
||||
),
|
||||
iconTheme: const IconThemeData(
|
||||
color: AppColors.primary,
|
||||
),
|
||||
),
|
||||
fontFamily: GoogleFonts.quicksand().fontFamily,
|
||||
colorScheme: ColorScheme.fromSeed(seedColor: AppColors.primary),
|
||||
useMaterial3: true,
|
||||
inputDecorationTheme: InputDecorationTheme(
|
||||
contentPadding: const EdgeInsets.symmetric(horizontal: 16.0),
|
||||
border: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(8.0),
|
||||
borderSide: BorderSide(color: AppColors.primary),
|
||||
),
|
||||
focusedBorder: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(8.0),
|
||||
borderSide: BorderSide(color: AppColors.primary),
|
||||
),
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(8.0),
|
||||
borderSide: BorderSide(color: AppColors.primary),
|
||||
),
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user