ThemeProvider

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard
interface HeadlessColors
Link copied to clipboard
data class HeadlessColorsDark(val primary: Int = Color(0xff21AB46).toArgb(), val primaryForeground: Int = Color(0xffF0FDF4).toArgb(), val secondary: Int = Color(0xff0A307A).toArgb(), val secondaryForeground: Int = Color(0xffEDF2FD).toArgb(), val background: Int = Color(0xff0F172A).toArgb(), val foreground: Int = Color(0xffFFFFFF).toArgb(), val muted: Int = Color(0xff1E293B).toArgb(), val mutedForeground: Int = Color(0xff64748B).toArgb(), val accent: Int = Color(0xff334155).toArgb(), val accentForeground: Int = Color(0xffCBD5E1).toArgb(), val approval: Int = Color(0xff21AB46).toArgb(), val approvalForeground: Int = Color(0xffF0FDF4).toArgb(), val error: Int = Color(0xffEF4444).toArgb(), val errorForeground: Int = Color(0xffFEF2F2).toArgb(), val ring: Int = Color(0xff475569).toArgb()) : ThemeProvider.HeadlessColors
Link copied to clipboard
data class HeadlessColorsLight(val primary: Int = Color(0xff29D657).toArgb(), val primaryForeground: Int = Color(0xffF0FDF4).toArgb(), val secondary: Int = Color(0xff0A307A).toArgb(), val secondaryForeground: Int = Color(0xffEDF2FD).toArgb(), val background: Int = Color(0xffFFFFFF).toArgb(), val foreground: Int = Color(0xff0F172A).toArgb(), val muted: Int = Color(0xffF1F5F9).toArgb(), val mutedForeground: Int = Color(0xff64748B).toArgb(), val accent: Int = Color(0xffE2E8F0).toArgb(), val accentForeground: Int = Color(0xff334155).toArgb(), val approval: Int = Color(0xff29D657).toArgb(), val approvalForeground: Int = Color(0xffF0FDF4).toArgb(), val error: Int = Color(0xffEF4444).toArgb(), val errorForeground: Int = Color(0xffFEF2F2).toArgb(), val ring: Int = Color(0xffCBD5E1).toArgb()) : ThemeProvider.HeadlessColors
Link copied to clipboard
data class IconSize(val sm: Dp = 16.dp, val md: Dp = 24.dp, val lg: Dp = 36.dp, val animationWrap: Dp = 240.dp)
Link copied to clipboard
data class SchemeColors(val colorVisa: Color = Color(0xff1434CB), val colorMastercard: Color = Color(0xffF79E1B), val colorJcb: Color = Color(0xff40A737), val colorUnionpay: Color = Color(0xffE0002B), val colorAmex: Color = Color(0xff006FCF), val colorAlipay: Color = Color(0xff1677FF), val colorWechat: Color = Color(0xff09BB07), val colorFps: Color = Color(0xff56BBE9), val colorPayme: Color = Color(0xffDB0011), val colorOctopus: Color = Color(0xffF5911E), val colorCash: Color = Color(0xff00A590))
Link copied to clipboard
data class Spacing(val xs3: Dp = 2.dp, val xs2: Dp = 4.dp, val xs: Dp = 8.dp, val sm: Dp = 12.dp, val md: Dp = 16.dp, val lg: Dp = 24.dp, val xl: Dp = 32.dp, val xl2: Dp = 48.dp, val xl3: Dp = 64.dp, val xl4: Dp = 80.dp, val xl5: Dp = 96.dp)
Link copied to clipboard
data class VerticalBias(val middle: Float = 0.5f)

Functions