feat(ui): Update drawer item styling with transparent background

This commit is contained in:
cogwheel0
2025-11-12 11:09:43 +05:30
parent 35377cebd8
commit 87529201f7

View File

@@ -1771,13 +1771,14 @@ class _ConversationTile extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final theme = context.conduitTheme; final theme = context.conduitTheme;
final borderRadius = BorderRadius.circular(AppBorderRadius.small); const BorderRadius borderRadius = BorderRadius.zero;
final Color background = selected final Color background = selected
? theme.buttonPrimary.withValues(alpha: 0.1) ? theme.buttonPrimary.withValues(alpha: 0.1)
: theme.surfaceContainer; : Colors.transparent;
final Color borderColor = selected final Color borderColor = selected
? theme.buttonPrimary.withValues(alpha: 0.5) ? theme.buttonPrimary.withValues(alpha: 0.5)
: theme.surfaceContainerHighest.withValues(alpha: 0.40); : Colors.transparent;
final List<BoxShadow> shadow = const []; final List<BoxShadow> shadow = const [];
Color? overlayForStates(Set<WidgetState> states) { Color? overlayForStates(Set<WidgetState> states) {