import 'package:enaklo_pos/core/assets/fonts.gen.dart';
import 'package:enaklo_pos/core/constants/colors.dart';
import 'package:flutter/material.dart';

ThemeData getApplicationTheme = ThemeData(
  primaryColor: AppColors.primary,
  scaffoldBackgroundColor: AppColors.white,
  appBarTheme: AppBarTheme(
    color: AppColors.white,
    elevation: 0,
    titleTextStyle: TextStyle(
      color: AppColors.primary,
      fontSize: 16.0,
      fontWeight: FontWeight.w500,
    ),
    iconTheme: const IconThemeData(
      color: AppColors.primary,
    ),
  ),
  fontFamily: FontFamily.quicksand,
  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),
    ),
  ),
);
