data class PocketStoriesCategoryColors( val selectedBackgroundColor: Color, val unselectedBackgroundColor: Color, val selectedTextColor: Color, val unselectedTextColor: Color, ) { companion object { @Composable fun buildColors( selectedBackgroundColor: Color = FirefoxTheme.colors.actionPrimary, unselectedBackgroundColor: Color = FirefoxTheme.colors.actionTertiary, selectedTextColor: Color = FirefoxTheme.colors.textActionPrimary, unselectedTextColor: Color = FirefoxTheme.colors.textActionTertiary, ) = PocketStoriesCategoryColors( selectedBackgroundColor = selectedBackgroundColor, unselectedBackgroundColor = unselectedBackgroundColor, selectedTextColor = selectedTextColor, unselectedTextColor = unselectedTextColor, ) } }
Wrapper for the color parameters of [PocketStoriesCategories].