diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/banner.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/banner.dart index 90acac0218..4020a58fd3 100644 --- a/frontend/appflowy_flutter/lib/plugins/document/presentation/banner.dart +++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/banner.dart @@ -22,7 +22,7 @@ class DocumentBanner extends StatelessWidget { constraints: const BoxConstraints(minHeight: 60), child: Container( width: double.infinity, - color: colorScheme.error, + color: colorScheme.surfaceVariant, child: FittedBox( alignment: Alignment.center, fit: BoxFit.scaleDown, @@ -30,7 +30,7 @@ class DocumentBanner extends StatelessWidget { children: [ FlowyText.medium( LocaleKeys.deletePagePrompt_text.tr(), - color: colorScheme.onError, + color: colorScheme.tertiary, fontSize: 14, ), const HSpace(20), @@ -39,13 +39,13 @@ class DocumentBanner extends StatelessWidget { minHeight: 40, contentPadding: EdgeInsets.zero, bgColor: Colors.transparent, - highlightColor: Theme.of(context).colorScheme.primaryContainer, - outlineColor: colorScheme.onError, + highlightColor: Theme.of(context).colorScheme.onErrorContainer, + outlineColor: colorScheme.tertiaryContainer, borderRadius: Corners.s8Border, onPressed: onRestore, child: FlowyText.medium( LocaleKeys.deletePagePrompt_restore.tr(), - color: colorScheme.onError, + color: colorScheme.tertiary, fontSize: 13, ), ), @@ -55,13 +55,13 @@ class DocumentBanner extends StatelessWidget { minHeight: 40, contentPadding: EdgeInsets.zero, bgColor: Colors.transparent, - highlightColor: Theme.of(context).colorScheme.primary, - outlineColor: colorScheme.onError, + highlightColor: Theme.of(context).colorScheme.error, + outlineColor: colorScheme.tertiaryContainer, borderRadius: Corners.s8Border, onPressed: onDelete, child: FlowyText.medium( LocaleKeys.deletePagePrompt_deletePermanent.tr(), - color: colorScheme.onError, + color: colorScheme.tertiary, fontSize: 13, ), ),