Package-level declarations
Types
Link copied to clipboard
class BenefitsColors(val tint: Color = Color.DarkGray, val containerColor: Color = Color.White, val contentColor: Color = Color.DarkGray, val boxContentColor: Color = Color.DarkGray, val badgeContentColor: Color = Color.DarkGray, val boxContainerColor: Color = Color.LightGray, val badgeContainerColor: Color = Color.LightGray)
Link copied to clipboard
class BenefitsDefaults(val isNew: Boolean = false, val isClickEnabled: Boolean = true, val colors: BenefitsColors = BenefitsColors())
Link copied to clipboard
class CategoryColors(val tint: Color = Color(0xFF8B7E6D), val contentColor: Color = Color(0xFFD4D5C3), val containerColor: Color = Color(0xFFD4D5C3))
Link copied to clipboard
data class CategoryIconColors(val contentColor: Color = artichoke, val containerColor: Color = cosmicLatte)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
fun BenefitsCard(modifier: Modifier = Modifier, title: String, description: String? = null, @DrawableRes leftIcon: Int? = null, @DrawableRes rightIcon: Int? = null, shape: Shape = RoundedCornerShape(10.dp), benefitsDefaults: BenefitsDefaults = BenefitsDefaults(), onClick: () -> Unit = {})
Link copied to clipboard
fun BenefitsCardPreview(name: String = "Benefit name", description: String = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pharetra cursus sapien. Sed aliquam tellus nulla, eget congue lectus iaculis.")
Link copied to clipboard
fun CategoryCard(modifier: Modifier = Modifier, icon: Int, title: String, enabled: Boolean = true, colors: CategoryColors = CategoryColors(), style: TextStyle = MaterialTheme.typography.bodySmall, onClick: () -> Unit = {})
Link copied to clipboard
Link copied to clipboard
fun CategoryIcon(modifier: Modifier = Modifier, @DrawableRes icon: Int, categoryIconColors: CategoryIconColors = CategoryIconColors(), contentDescription: String? = null, onClick: () -> Unit = {})
Link copied to clipboard
Link copied to clipboard
fun DebutCard(modifier: Modifier = Modifier, title: String = String.empty(), image: String, titleColor: Color = Color.Black, debutColor: Color = Color.Black, gradientEdgeColor: Color = Color.Transparent, style: TextStyle = LocalTextStyle.current, iconDebut: String, nameOfDebut: String = String.empty(), isDebut: Boolean = false, bgDebut: Color = Color.Black, debubtAlignment: Alignment = Alignment.TopStart, debutShape: RoundedCornerShape = RoundedCornerShape(bottomEnd = 20.dp), navigateToScreen: () -> Unit = {})
Author: @Jeluchu
Link copied to clipboard
Link copied to clipboard
fun ExpandableCard(modifier: Modifier = Modifier, title: String, tint: Color = Color.White, contentColor: Color = Color.White, containerColor: Color = Color.DarkGray, style: TextStyle = LocalTextStyle.current, showArrow: Boolean = true, content: @Composable () -> Unit, onCardArrowClick: () -> Unit, expanded: Boolean)
Link copied to clipboard
Link copied to clipboard
fun InfoCard(modifier: Modifier = Modifier, text: String, image: String, contentColor: Color = Color.Gray, style: TextStyle = MaterialTheme.typography.bodySmall)
fun InfoCard(modifier: Modifier = Modifier, text: String, @DrawableRes icon: Int, color: Color = Color.Gray, tint: Color = Color.White, style: TextStyle = MaterialTheme.typography.bodySmall)
Author: @Jeluchu
Link copied to clipboard
Link copied to clipboard