59 lines
1.9 KiB
Dart
59 lines
1.9 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
const primaryColor = Color(0xff272262);
|
|
const secondaryColor = Color(0xffff4400);
|
|
const thirdColor = Color(0xf0ff4444);
|
|
const nextColor = Color(0xFFfa833d);
|
|
const buttonColor = Color(0xFFFFFFFF);
|
|
const buttonBkColor = Color(0xFF268944);
|
|
const labelColor = Color(0xFF757575);
|
|
var dividerColor = Colors.grey.shade400;
|
|
const dangerColor = Color(0xffff0606);
|
|
const hintTextColor = Color.fromARGB(255, 187, 187, 187);
|
|
const linkColor = Color(0xff0000EE);
|
|
const oddColor = Color(0xffECF1F7);
|
|
|
|
const TextStyle labelStyle =
|
|
TextStyle(fontSize: 20, color: labelColor, fontWeight: FontWeight.w500);
|
|
const TextStyle labelStyleMM = TextStyle(
|
|
fontSize: 20,
|
|
color: labelColor,
|
|
fontWeight: FontWeight.w500,
|
|
height: 1,
|
|
fontFamily: "Myanmar3");
|
|
|
|
const TextStyle welcomeSubLabelStyle =
|
|
TextStyle(fontSize: 18, color: primaryColor, fontWeight: FontWeight.w500);
|
|
const TextStyle siginButtonStyle =
|
|
TextStyle(fontSize: 16, color: Colors.white, fontWeight: FontWeight.w500);
|
|
|
|
TextStyle newLabelStyle(
|
|
{Color? color,
|
|
double? fontSize,
|
|
FontWeight? fontWeight,
|
|
bool underline = false}) {
|
|
return TextStyle(
|
|
fontSize: fontSize ?? 14,
|
|
color: color ?? secondaryColor,
|
|
fontWeight: fontWeight ?? FontWeight.w500,
|
|
decoration: underline ? TextDecoration.underline : TextDecoration.none);
|
|
}
|
|
|
|
TextStyle newLabelStyleMM(
|
|
{Color? color,
|
|
double? fontSize,
|
|
FontWeight? fontWeight,
|
|
bool underline = false}) {
|
|
return TextStyle(
|
|
fontSize: fontSize ?? 13,
|
|
color: color ?? secondaryColor,
|
|
fontWeight: fontWeight ?? FontWeight.w500,
|
|
decoration: underline ? TextDecoration.underline : TextDecoration.none,
|
|
fontFamily: "Myanmar3");
|
|
}
|
|
|
|
const TextStyle textStyle = TextStyle(fontSize: 14, color: Colors.black);
|
|
|
|
const TextStyle subTitleStyle =
|
|
TextStyle(fontSize: 12, color: Colors.black45, fontWeight: FontWeight.w500);
|