Files
fcs/lib/helpers/theme.dart

59 lines
1.9 KiB
Dart
Raw Normal View History

2020-05-29 07:45:27 +06:30
import 'package:flutter/material.dart';
2025-04-02 15:02:49 +06:30
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);
2024-01-25 17:40:35 +06:30
var dividerColor = Colors.grey.shade400;
2025-04-02 15:02:49 +06:30
const dangerColor = Color(0xffff0606);
const hintTextColor = Color.fromARGB(255, 187, 187, 187);
2025-04-02 15:02:49 +06:30
const linkColor = Color(0xff0000EE);
2025-03-07 17:41:09 +06:30
const oddColor = Color(0xffECF1F7);
2020-05-29 07:45:27 +06:30
const TextStyle labelStyle =
TextStyle(fontSize: 20, color: labelColor, fontWeight: FontWeight.w500);
2020-09-07 16:05:28 +06:30
const TextStyle labelStyleMM = TextStyle(
2020-09-10 16:04:09 +06:30
fontSize: 20,
color: labelColor,
2020-09-07 16:05:28 +06:30
fontWeight: FontWeight.w500,
2020-09-11 16:14:36 +06:30
height: 1,
fontFamily: "Myanmar3");
2020-05-31 15:00:11 +06:30
const TextStyle welcomeSubLabelStyle =
TextStyle(fontSize: 18, color: primaryColor, fontWeight: FontWeight.w500);
const TextStyle siginButtonStyle =
2020-05-31 16:14:56 +06:30
TextStyle(fontSize: 16, color: Colors.white, fontWeight: FontWeight.w500);
2020-05-31 15:00:11 +06:30
2020-05-29 07:45:27 +06:30
TextStyle newLabelStyle(
2021-09-10 14:27:38 +06:30
{Color? color,
double? fontSize,
FontWeight? fontWeight,
2020-05-29 07:45:27 +06:30
bool underline = false}) {
return TextStyle(
2025-04-02 15:02:49 +06:30
fontSize: fontSize ?? 14,
color: color ?? secondaryColor,
fontWeight: fontWeight ?? FontWeight.w500,
2020-05-29 07:45:27 +06:30
decoration: underline ? TextDecoration.underline : TextDecoration.none);
}
TextStyle newLabelStyleMM(
2021-09-10 14:27:38 +06:30
{Color? color,
double? fontSize,
FontWeight? fontWeight,
2020-05-29 07:45:27 +06:30
bool underline = false}) {
return TextStyle(
2025-04-02 15:02:49 +06:30
fontSize: fontSize ?? 13,
color: color ?? secondaryColor,
fontWeight: fontWeight ?? FontWeight.w500,
2020-05-29 07:45:27 +06:30
decoration: underline ? TextDecoration.underline : TextDecoration.none,
2020-09-11 16:14:36 +06:30
fontFamily: "Myanmar3");
2020-05-29 07:45:27 +06:30
}
2025-04-02 15:02:49 +06:30
const TextStyle textStyle = TextStyle(fontSize: 14, color: Colors.black);
2020-05-29 07:45:27 +06:30
const TextStyle subTitleStyle =
TextStyle(fontSize: 12, color: Colors.black45, fontWeight: FontWeight.w500);