mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-25 10:25:19 +00:00
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:
@@ -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
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user