20 lines
669 B
Kotlin
20 lines
669 B
Kotlin
package com.vanced.manager.ui.component.text
|
|
|
|
import androidx.compose.foundation.layout.padding
|
|
import androidx.compose.material3.MaterialTheme
|
|
import androidx.compose.runtime.Composable
|
|
import androidx.compose.ui.Modifier
|
|
import com.vanced.manager.ui.component.color.managerAnimatedColor
|
|
import com.vanced.manager.ui.util.DefaultContentPaddingHorizontal
|
|
|
|
@Composable
|
|
fun CategoryTitleText(
|
|
text: String
|
|
) {
|
|
ManagerText(
|
|
modifier = Modifier.padding(start = DefaultContentPaddingHorizontal),
|
|
text = text,
|
|
textStyle = MaterialTheme.typography.headlineSmall,
|
|
color = managerAnimatedColor(MaterialTheme.colorScheme.onSurface)
|
|
)
|
|
} |