Use Compose for Library screen (#7557)
- Move Pager to Compose - Move AppBar to Compose - Use Stable interface for state - Use pills for no. of manga in category instead of (x)
This commit is contained in:
12
app/src/main/java/eu/kanade/presentation/theme/Color.kt
Normal file
12
app/src/main/java/eu/kanade/presentation/theme/Color.kt
Normal file
@@ -0,0 +1,12 @@
|
||||
package eu.kanade.presentation.theme
|
||||
|
||||
import androidx.compose.foundation.isSystemInDarkTheme
|
||||
import androidx.compose.material3.ColorScheme
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.graphics.Color
|
||||
|
||||
val ColorScheme.active: Color
|
||||
@Composable
|
||||
get() {
|
||||
return if (isSystemInDarkTheme()) Color(255, 235, 59) else Color(255, 193, 7)
|
||||
}
|
||||
Reference in New Issue
Block a user