Skip to content

Commit

Permalink
fix: Fix dialog border
Browse files Browse the repository at this point in the history
  • Loading branch information
witwash committed Sep 15, 2024
1 parent fe6261d commit 8c62986
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions optimus/lib/src/dialogs/dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ Future<T?> showOptimusDialog<T>({
),
barrierDismissible: isDismissible,
barrierLabel: MaterialLocalizations.of(context).modalBarrierDismissLabel,
barrierColor: OptimusTheme.of(context)
.colors
.neutral1000t64, // TODO(witwash): migrate to tokens
barrierColor: context.tokens.borderStaticPrimary,
transitionDuration: const Duration(milliseconds: 150),
transitionBuilder: (_, animation, __, child) => FadeTransition(
opacity: CurvedAnimation(parent: animation, curve: Curves.easeOut),
Expand Down
1 change: 1 addition & 0 deletions optimus/lib/src/dialogs/dialog_content.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class DialogContent extends StatelessWidget {
child: OptimusCard(
variant: OptimusBasicCardVariant.overlay,
padding: OptimusCardSpacing.spacing0,
isOutlined: false,
child: Material(
color: tokens.backgroundStaticFloating,
child: Column(
Expand Down

0 comments on commit 8c62986

Please sign in to comment.