mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-04-30 19:37:35 -05:00
refactor: replace legacy palette
This commit is contained in:
@@ -44,7 +44,7 @@ class CommitItem extends StatelessWidget {
|
||||
message!,
|
||||
style: TextStyle(
|
||||
fontSize: 17,
|
||||
color: theme.palette.text,
|
||||
color: AntTheme.of(context).colorText,
|
||||
),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 1,
|
||||
@@ -54,11 +54,12 @@ class CommitItem extends StatelessWidget {
|
||||
children: <Widget>[
|
||||
Text(author!,
|
||||
style: TextStyle(
|
||||
fontSize: 15, color: theme.palette.primary)),
|
||||
fontSize: 15,
|
||||
color: AntTheme.of(context).colorPrimary)),
|
||||
Text(
|
||||
' committed ${timeago.format(createdAt!)}',
|
||||
style: TextStyle(
|
||||
color: theme.palette.secondaryText,
|
||||
color: AntTheme.of(context).colorTextSecondary,
|
||||
fontSize: 15,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user