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)
Link copied to clipboard
data class TeColors(    val containerPrimaryButtonColor: Color = Color.DarkGray,     val contentPrimaryButtonColor: Color = Color.White,     val containerSecondaryButtonColor: Color = Color.LightGray,     val contentSecondaryButtonColor: Color = Color.DarkGray)

Properties

Link copied to clipboard
const val CollapseAnimation: Int = 300
Link copied to clipboard
const val ExpandAnimation: Int = 300
Link copied to clipboard
const val FadeInAnimation: Int = 300
Link copied to clipboard
const val FadeOutAnimation: Int = 300

Functions

Link copied to clipboard
fun AssistantCard(image: Int, color: Color, name: String, description: String, onClick: () -> Unit)
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
fun CategoryIcon(    modifier: Modifier = Modifier,     @DrawableRes icon: Int,     categoryIconColors: CategoryIconColors = CategoryIconColors(),     contentDescription: String? = null,     onClick: () -> Unit = {})
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
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
@Preview(backgroundColor = 4294967295, showBackground = true)
fun InfoCardPreviewLight()
Link copied to clipboard
fun PostCardTop(modifier: Modifier = Modifier, image: String, title: String, description: String, style: TextStyle = LocalTextStyle.current)

Author: @Jeluchu

Link copied to clipboard
fun StoryCard(    modifier: Modifier = Modifier,     title: String,     textColor: Color = Color.Black,     circleImage: Int,     iconMainUrl: String = String.empty(),     iconMainResource: Int = 0,     navigateToScreen: () -> Unit)

Author: @Jeluchu

Link copied to clipboard
fun Te(image: String, width: Dp = 270.dp, height: Dp = 340.dp, tag: String? = null, onClick: () -> Unit = {}, colors: TeColors = TeColors(), onPrimaryButtonClick: () -> Unit = {}, onSecondaryButtonClick: () -> Unit = {})
Link copied to clipboard