feat: login page
This commit is contained in:
@@ -1,11 +1,46 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../../presentation/components/assets/fonts.gen.dart';
|
||||
|
||||
part 'app_color.dart';
|
||||
part 'app_style.dart';
|
||||
part 'app_value.dart';
|
||||
|
||||
class ThemeApp {
|
||||
static ThemeData get theme => ThemeData(
|
||||
useMaterial3: true,
|
||||
);
|
||||
useMaterial3: true,
|
||||
scaffoldBackgroundColor: AppColor.background,
|
||||
fontFamily: FontFamily.quicksand,
|
||||
inputDecorationTheme: InputDecorationTheme(
|
||||
hintStyle: AppStyle.md.copyWith(color: AppColor.textSecondary),
|
||||
contentPadding: const EdgeInsets.symmetric(horizontal: AppValue.padding),
|
||||
border: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(AppValue.radius),
|
||||
borderSide: const BorderSide(color: AppColor.border),
|
||||
),
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(AppValue.radius),
|
||||
borderSide: const BorderSide(color: AppColor.border),
|
||||
),
|
||||
focusedBorder: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(AppValue.radius),
|
||||
borderSide: const BorderSide(color: AppColor.primary, width: 2),
|
||||
),
|
||||
errorBorder: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(AppValue.radius),
|
||||
borderSide: const BorderSide(color: AppColor.error),
|
||||
),
|
||||
filled: true,
|
||||
fillColor: AppColor.backgroundLight,
|
||||
),
|
||||
elevatedButtonTheme: ElevatedButtonThemeData(
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: Colors.transparent,
|
||||
shadowColor: Colors.transparent,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(AppValue.radius),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user