refactor: Deprecate accentColor

This commit is contained in:
Christian Pauly 2021-05-24 10:59:00 +02:00
commit 1c81ac3f82
17 changed files with 60 additions and 39 deletions

View file

@ -30,7 +30,7 @@ class OnePageCard extends StatelessWidget {
colors: [
Theme.of(context).secondaryHeaderColor.withAlpha(alpha),
Theme.of(context).primaryColor.withAlpha(alpha),
Theme.of(context).accentColor.withAlpha(alpha),
Theme.of(context).colorScheme.secondary.withAlpha(alpha),
Theme.of(context).backgroundColor.withAlpha(alpha),
],
),