feat: login view

This commit is contained in:
2024-02-07 14:44:40 +07:00
parent 0a347f5e6d
commit 9475767021
10 changed files with 318 additions and 7 deletions

View File

@@ -1,17 +1,22 @@
import 'package:cims_apps/application/theme/color_palette.dart';
import 'package:cims_apps/core/utils/size_config.dart';
import 'package:flutter/material.dart';
class ButtonBack extends StatelessWidget {
const ButtonBack({super.key});
final EdgeInsets? margin;
const ButtonBack({super.key, this.margin});
@override
Widget build(BuildContext context) {
return SizedBox(
return Container(
margin: margin ?? EdgeInsets.all(0),
width: SizeConfig.width * 0.1,
child: IconButton(
style: IconButton.styleFrom(
backgroundColor: Colors.white,
shape: const CircleBorder()
shape: const CircleBorder(
side: BorderSide(color: ColorPalette.slate200)
)
),
onPressed: () {
Navigator.pop(context);

View File

@@ -95,6 +95,8 @@ class TextFormView extends StatelessWidget {
name,
style: const TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
color: ColorPalette.slate800
// color: ColorPalette.greyLight,
),
),
@@ -112,6 +114,8 @@ class TextFormView extends StatelessWidget {
name,
style: const TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
color: ColorPalette.slate800
),
)
: const SizedBox(),

View File

@@ -73,7 +73,6 @@ class ColorPalette {
static const Color chathamsBlue = Color(0xFF285BB9);
static const Color background = Color(0xFFDADADA);
static const Color backgroundBlueLight = Color(0xFFEBF3FD);
static const Color slate500 = Color(0xFF64748B);
static const Color blue50 = Color(0xFFEFF6FF);
static const Color blue200 = Color(0xFFBFDBFE);
static const Color slate50 = Color(0xFFF8FAFC);