feat(ui): Update drawer item styling with transparent background
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user