Changed colors
This commit is contained in:
@@ -74,14 +74,22 @@ class ContentListTile extends StatelessWidget {
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
name,
|
||||
),
|
||||
Text(name),
|
||||
Text(', $location'),
|
||||
if (Breakpoints.xl < screenWidth) Text(' - $title'),
|
||||
if (Breakpoints.xl < screenWidth) const Text(' - '),
|
||||
if (Breakpoints.xl < screenWidth)
|
||||
Text(
|
||||
title,
|
||||
style:
|
||||
TextStyle(color: Theme.of(context).colorScheme.primary),
|
||||
),
|
||||
],
|
||||
),
|
||||
if (Breakpoints.xl >= screenWidth) Text(title),
|
||||
if (Breakpoints.xl >= screenWidth)
|
||||
Text(
|
||||
title,
|
||||
style: TextStyle(color: Theme.of(context).colorScheme.primary),
|
||||
),
|
||||
],
|
||||
),
|
||||
titleAlignment: ListTileTitleAlignment.titleHeight,
|
||||
@@ -90,12 +98,18 @@ class ContentListTile extends StatelessWidget {
|
||||
padding: const EdgeInsets.only(bottom: 8),
|
||||
child: Text(
|
||||
Tools.buildTimeString(startDate, endDate),
|
||||
style: Theme.of(context).textTheme.labelSmall,
|
||||
style: Theme.of(context).textTheme.labelSmall!.copyWith(
|
||||
color: Theme.of(context).colorScheme.secondary,
|
||||
),
|
||||
),
|
||||
)
|
||||
: null,
|
||||
trailing: Breakpoints.sm < screenWidth
|
||||
? Text(Tools.buildTimeString(startDate, endDate))
|
||||
? Text(
|
||||
Tools.buildTimeString(startDate, endDate),
|
||||
style:
|
||||
TextStyle(color: Theme.of(context).colorScheme.secondary),
|
||||
)
|
||||
: null,
|
||||
);
|
||||
|
||||
@@ -108,14 +122,22 @@ class ContentListTile extends StatelessWidget {
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
name,
|
||||
),
|
||||
Text(name),
|
||||
Text(', $location'),
|
||||
if (Breakpoints.xl < screenWidth) Text(' - $title'),
|
||||
if (Breakpoints.xl < screenWidth) const Text(' - '),
|
||||
if (Breakpoints.xl < screenWidth)
|
||||
Text(
|
||||
title,
|
||||
style:
|
||||
TextStyle(color: Theme.of(context).colorScheme.primary),
|
||||
),
|
||||
],
|
||||
),
|
||||
if (Breakpoints.xl >= screenWidth) Text(title),
|
||||
if (Breakpoints.xl >= screenWidth)
|
||||
Text(
|
||||
title,
|
||||
style: TextStyle(color: Theme.of(context).colorScheme.primary),
|
||||
),
|
||||
],
|
||||
),
|
||||
titleAlignment: ListTileTitleAlignment.titleHeight,
|
||||
@@ -128,14 +150,20 @@ class ContentListTile extends StatelessWidget {
|
||||
padding: const EdgeInsets.only(bottom: 8),
|
||||
child: Text(
|
||||
Tools.buildTimeString(startDate, endDate),
|
||||
style: Theme.of(context).textTheme.labelSmall,
|
||||
style: Theme.of(context).textTheme.labelSmall!.copyWith(
|
||||
color: Theme.of(context).colorScheme.secondary,
|
||||
),
|
||||
),
|
||||
),
|
||||
Text(description),
|
||||
],
|
||||
),
|
||||
trailing: Breakpoints.sm < screenWidth
|
||||
? Text(Tools.buildTimeString(startDate, endDate))
|
||||
? Text(
|
||||
Tools.buildTimeString(startDate, endDate),
|
||||
style:
|
||||
TextStyle(color: Theme.of(context).colorScheme.secondary),
|
||||
)
|
||||
: null,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user