mirror of
https://github.com/foss42/apidash.git
synced 2025-05-28 12:18:06 +08:00
Update widgets UI as per the latest Material 3 colors
This commit is contained in:
@ -118,12 +118,7 @@ class ViewCodePane extends StatelessWidget {
|
||||
? kLightCodeTheme
|
||||
: kDarkCodeTheme;
|
||||
final textContainerdecoration = BoxDecoration(
|
||||
color: Color.alphaBlend(
|
||||
(Theme.of(context).brightness == Brightness.dark
|
||||
? Theme.of(context).colorScheme.onPrimaryContainer
|
||||
: Theme.of(context).colorScheme.primaryContainer)
|
||||
.withOpacity(kForegroundOpacity),
|
||||
Theme.of(context).colorScheme.surface),
|
||||
color: Theme.of(context).colorScheme.surfaceContainerLow,
|
||||
border: Border.all(
|
||||
color: Theme.of(context).colorScheme.surfaceContainerHighest),
|
||||
borderRadius: kBorderRadius8,
|
||||
|
Reference in New Issue
Block a user