slightly increase padding (#295)

* slightly increase padding

* better colors

* add copy to bottom sheet

* increase font size

* base font size

* anchor chat at the bottom
This commit is contained in:
callebtc
2025-08-23 14:14:42 +02:00
committed by GitHub
parent 26520991cf
commit a7604d9026
10 changed files with 185 additions and 144 deletions
@@ -34,6 +34,7 @@ import androidx.compose.ui.unit.sp
import com.bitchat.android.R
import androidx.compose.ui.focus.onFocusChanged
import androidx.compose.ui.text.withStyle
import com.bitchat.android.ui.theme.BASE_FONT_SIZE
/**
* Input components for ChatScreen
@@ -326,7 +327,7 @@ fun CommandSuggestionItem(
fontWeight = FontWeight.Medium
),
color = colorScheme.primary,
fontSize = 11.sp
fontSize = (BASE_FONT_SIZE - 4).sp
)
// Show syntax if any
@@ -337,7 +338,7 @@ fun CommandSuggestionItem(
fontFamily = FontFamily.Monospace
),
color = colorScheme.onSurface.copy(alpha = 0.8f),
fontSize = 10.sp
fontSize = (BASE_FONT_SIZE - 5).sp
)
}
@@ -348,7 +349,7 @@ fun CommandSuggestionItem(
fontFamily = FontFamily.Monospace
),
color = colorScheme.onSurface.copy(alpha = 0.7f),
fontSize = 10.sp,
fontSize = (BASE_FONT_SIZE - 5).sp,
maxLines = 1,
overflow = TextOverflow.Ellipsis
)
@@ -400,7 +401,7 @@ fun MentionSuggestionItem(
fontWeight = FontWeight.SemiBold
),
color = Color(0xFFFF9500), // Orange like mentions
fontSize = 11.sp
fontSize = (BASE_FONT_SIZE - 4).sp
)
Spacer(modifier = Modifier.weight(1f))
@@ -411,7 +412,7 @@ fun MentionSuggestionItem(
fontFamily = FontFamily.Monospace
),
color = colorScheme.onSurface.copy(alpha = 0.7f),
fontSize = 10.sp
fontSize = (BASE_FONT_SIZE - 5).sp
)
}
}