diff --git a/app/src/main/java/me/ash/reader/ui/page/home/feeds/FeedItem.kt b/app/src/main/java/me/ash/reader/ui/page/home/feeds/FeedItem.kt
index a6020e2..bbd3deb 100644
--- a/app/src/main/java/me/ash/reader/ui/page/home/feeds/FeedItem.kt
+++ b/app/src/main/java/me/ash/reader/ui/page/home/feeds/FeedItem.kt
@@ -15,6 +15,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
+import androidx.compose.ui.draw.clip
import androidx.compose.ui.graphics.RectangleShape
import androidx.compose.ui.platform.LocalView
import androidx.compose.ui.text.style.TextOverflow
@@ -46,10 +47,8 @@ fun FeedItem(
modifier = Modifier
.fillMaxWidth()
.padding(horizontal = 16.dp)
- .background(
- color = MaterialTheme.colorScheme.secondary.copy(alpha = alpha),
- shape = if (isEnded()) ShapeBottom32 else RectangleShape,
- )
+ .clip(if (isEnded()) ShapeBottom32 else RectangleShape)
+ .background(MaterialTheme.colorScheme.secondary.copy(alpha = alpha))
.combinedClickable(
onClick = {
onClick()
diff --git a/app/src/main/java/me/ash/reader/ui/page/home/feeds/GroupItem.kt b/app/src/main/java/me/ash/reader/ui/page/home/feeds/GroupItem.kt
index 13f20b6..9adcb0c 100644
--- a/app/src/main/java/me/ash/reader/ui/page/home/feeds/GroupItem.kt
+++ b/app/src/main/java/me/ash/reader/ui/page/home/feeds/GroupItem.kt
@@ -50,9 +50,7 @@ fun GroupItem(
.fillMaxWidth()
.padding(horizontal = 16.dp)
.clip(if (isExpanded() && !isEnded()) ShapeTop32 else Shape32)
- .background(
- MaterialTheme.colorScheme.secondary.copy(alpha = alpha)
- )
+ .background(MaterialTheme.colorScheme.secondary.copy(alpha = alpha))
.combinedClickable(
onClick = {
groupOnClick()
@@ -84,12 +82,8 @@ fun GroupItem(
.padding(end = 20.dp)
.size(24.dp)
.clip(CircleShape)
- .background(
- MaterialTheme.colorScheme.surfaceTint.copy(alpha = indicatorAlpha)
- )
- .clickable {
- onExpanded()
- },
+ .background(MaterialTheme.colorScheme.surfaceTint.copy(alpha = indicatorAlpha))
+ .clickable { onExpanded() },
horizontalArrangement = Arrangement.Center,
verticalAlignment = Alignment.CenterVertically,
) {
diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml
new file mode 100644
index 0000000..336276c
--- /dev/null
+++ b/app/src/main/res/values-night/colors.xml
@@ -0,0 +1,4 @@
+
+
+ #FF000000
+
\ No newline at end of file
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index f8c6127..914afe3 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -1,10 +1,4 @@
- #FFBB86FC
- #FF6200EE
- #FF3700B3
- #FF03DAC5
- #FF018786
- #FF000000
- #FFFFFFFF
+ #FFFFFFFF
\ No newline at end of file
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index 7e21f04..175ed45 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -1,7 +1,12 @@
-
\ No newline at end of file