FashionButtonStyles

A collection of predefined button styles for the Fashion SDK. These styles provide consistent visual appearance across the application.

Functions

Link copied to clipboard

Creates an adaptive contrast button style that automatically adjusts based on the theme's color scheme. Uses contrast style for light theme and inverted contrast style for dark theme.

Link copied to clipboard

Creates an inverted contrast button style using the provided theme. This style uses light background with dark content for high contrast.

Link copied to clipboard

Creates a contrast button style using the provided theme. This style uses dark background with light content for high contrast.

Link copied to clipboard
fun gradientColors(contentColor: Color, gradientBackground: Brush): FashionButtonStyle

Creates a gradient button style with custom colors and gradient background.

Link copied to clipboard

Creates a primary button style using the provided theme.

fun primaryStyle(backgroundColor: Color, contentColor: Color): FashionButtonStyle

Creates a primary button style with custom colors.

Link copied to clipboard

Creates a secondary button style using the provided theme.

fun secondaryStyle(backgroundColor: Color, contentColor: Color, borderColor: Color): FashionButtonStyle

Creates a secondary button style with custom colors.