mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-07 19:14:12 +08:00
refactor: change padding and thumb radius in Switch
This commit is contained in:
@@ -233,9 +233,9 @@ private fun defaultSwitchStyle() = SwitchStyle(
|
||||
@ReadOnlyComposable
|
||||
private fun defaultSwitchBorder() = BorderStroke(LocalSizes.current.borderSizeTertiary, LocalColors.current.textPrimary)
|
||||
|
||||
private val DefaultSwitchPadding = 3.dp
|
||||
private val DefaultSwitchPadding = 3.5.dp
|
||||
|
||||
private val DefaultThumbRadius = 7.5.dp
|
||||
private val DefaultThumbRadius = 6.5.dp
|
||||
private const val DefaultThumbGain = 1.1f
|
||||
private val DefaultThumbShadowSize = 0.5.dp
|
||||
|
||||
|
Reference in New Issue
Block a user