mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-07 19:14:12 +08:00
refactor: change style of Switch
This commit is contained in:
@@ -236,10 +236,10 @@ private fun defaultSwitchBorder() = BorderStroke(LocalSizes.current.borderSizeTe
|
||||
@ReadOnlyComposable
|
||||
private fun defaultSwitchContentSpacing() = LocalSizes.current.spacingSecondary
|
||||
|
||||
private val DefaultSwitchPadding = 4.dp
|
||||
private val DefaultSwitchPadding = 3.dp
|
||||
|
||||
private val DefaultThumbDiameter = 12.dp
|
||||
private const val DefaultThumbGain = 1.2f
|
||||
private val DefaultThumbDiameter = 15.dp
|
||||
private const val DefaultThumbGain = 1.1f
|
||||
private val DefaultThumbShadowSize = 0.5.dp
|
||||
|
||||
private val DefaultTrackWidth = 40.dp
|
||||
|
Reference in New Issue
Block a user