|
@@ -142,7 +142,7 @@ fun Home(navHost: NavHostController) {
|
|
|
modifier = Modifier
|
|
|
.fillMaxWidth()
|
|
|
.padding(vertical = 8.dp),
|
|
|
- colors = ButtonDefaults.buttonColors(Color.White)
|
|
|
+ colors = ButtonDefaults.buttonColors(Color(0xFFF1F1F3))
|
|
|
) {
|
|
|
Text(text = "+ добавить фильтр", color = Color(0xFF92A2B0))
|
|
|
}
|
|
@@ -180,13 +180,22 @@ fun Home(navHost: NavHostController) {
|
|
|
onClick = { /*TODO*/ },
|
|
|
modifier = Modifier
|
|
|
.fillMaxWidth()
|
|
|
+
|
|
|
.shadow(
|
|
|
0.dp,
|
|
|
shape = CircleShape,
|
|
|
clip = false
|
|
|
- ), // Убираем тень у кнопки
|
|
|
- colors = ButtonDefaults.buttonColors(Color.White),
|
|
|
- shape = RoundedCornerShape(16.dp) // Скругление кнопки
|
|
|
+ )// Убираем тень у кнопки
|
|
|
+ .background(
|
|
|
+ brush = Brush.horizontalGradient(
|
|
|
+ colors = listOf(
|
|
|
+ Color(0xFFF1F1F3),
|
|
|
+ Color(0xFFFFFFFF),
|
|
|
+ )
|
|
|
+ ), shape = ButtonDefaults.shape
|
|
|
+ ), // Убираем тень у кнопки
|
|
|
+ colors = ButtonDefaults.buttonColors(containerColor = Color.Transparent)
|
|
|
+
|
|
|
) {
|
|
|
Text(text = "вещи", color = Color(0xFF92A2B0))
|
|
|
}
|
|
@@ -204,11 +213,7 @@ fun Home(navHost: NavHostController) {
|
|
|
// Тень
|
|
|
Box(
|
|
|
modifier = Modifier
|
|
|
- .align(Alignment.BottomCenter)
|
|
|
- .fillMaxWidth()
|
|
|
- .height(4.dp) // Высота тени
|
|
|
- .background(Color.Black.copy(alpha = 0.2f)) // Цвет и прозрачность тени
|
|
|
- .offset(y = 2.dp) // Смещение тени вниз
|
|
|
+ .shadow(8.dp, RoundedCornerShape(30.dp))
|
|
|
)
|
|
|
|
|
|
// Кнопка
|
|
@@ -216,13 +221,17 @@ fun Home(navHost: NavHostController) {
|
|
|
onClick = { /*TODO*/ },
|
|
|
modifier = Modifier
|
|
|
.fillMaxWidth()
|
|
|
- .shadow(
|
|
|
- 0.dp,
|
|
|
- shape = CircleShape,
|
|
|
- clip = false
|
|
|
+
|
|
|
+ .background(
|
|
|
+ brush = Brush.horizontalGradient(
|
|
|
+ colors = listOf(
|
|
|
+ Color(0xFFF1F1F3),
|
|
|
+ Color(0xFFFFFFFF),
|
|
|
+ )
|
|
|
+ ), shape = ButtonDefaults.shape
|
|
|
), // Убираем тень у кнопки
|
|
|
- colors = ButtonDefaults.buttonColors(Color.White),
|
|
|
- shape = RoundedCornerShape(16.dp) // Скругление кнопки
|
|
|
+ colors = ButtonDefaults.buttonColors(containerColor = Color.Transparent),
|
|
|
+
|
|
|
) {
|
|
|
Text(text = "образы", color = Color(0xFF92A2B0))
|
|
|
}
|