fixed dark mode issue

This commit is contained in:
Kima
2024-04-23 20:24:50 +02:00
parent 7ac8c55b17
commit d3cd22ec7c
2 changed files with 27 additions and 4 deletions

View File

@@ -507,9 +507,11 @@ class AbsencesPageState extends State<AbsencesPage>
fontSize: 16.0,
fontWeight: FontWeight.w500,
height: 1.1,
color: ColorsUtils().darken(
color: ColorsUtils().fade(
context,
AppColors.of(context).green,
amount: 0.5,
darkenAmount: 0.5,
lightenAmount: 0.4,
),
),
),
@@ -536,9 +538,11 @@ class AbsencesPageState extends State<AbsencesPage>
fontSize: 16.0,
fontWeight: FontWeight.w500,
height: 1.1,
color: ColorsUtils().darken(
color: ColorsUtils().fade(
context,
AppColors.of(context).red,
amount: 0.4,
darkenAmount: 0.4,
lightenAmount: 0.2,
),
),
),