TF-3758 Update text style for folder item
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -254,6 +254,8 @@ extension AppColor on Color {
|
||||
static const blackAlpha40 = Color.fromRGBO(0, 0, 0, 0.4);
|
||||
static const blackAlpha20 = Color.fromRGBO(0, 0, 0, 0.2);
|
||||
static const textPrimary = Color(0xFF424244);
|
||||
static const iconFolder = Color(0xFF297EF2);
|
||||
static const folderDivider = Color(0xFFE4E8EC);
|
||||
|
||||
static const mapGradientColor = [
|
||||
[Color(0xFF21D4FD), Color(0xFFB721FF)],
|
||||
|
||||
@@ -222,7 +222,25 @@ class ThemeUtils {
|
||||
letterSpacing: 0.0,
|
||||
fontSize: fontSize ?? 15,
|
||||
height: 20 / (fontSize ?? 15),
|
||||
color: color,
|
||||
color: color ?? Colors.black,
|
||||
);
|
||||
|
||||
static TextStyle textStyleInter500() => const TextStyle(
|
||||
fontFamily: ConstantsUI.fontApp,
|
||||
fontWeight: FontWeight.w500,
|
||||
letterSpacing: 0.0,
|
||||
fontSize: 14,
|
||||
height: 18 / 14,
|
||||
color: Colors.black,
|
||||
);
|
||||
|
||||
static TextStyle textStyleInter400() => const TextStyle(
|
||||
fontFamily: ConstantsUI.fontApp,
|
||||
fontWeight: FontWeight.normal,
|
||||
letterSpacing: 0.01,
|
||||
fontSize: 13,
|
||||
height: 16 / 13,
|
||||
color: Colors.black,
|
||||
);
|
||||
|
||||
static TextStyle textStyleM3LabelLarge({Color? color}) => TextStyle(
|
||||
|
||||
Reference in New Issue
Block a user