so I learned foundation is independant from MetrialTheme stuff.
Foundation has a
fun defaultScrollbarStyle() = ScrollbarStyle(
minimalHeight = 16.dp,
thickness = 8.dp,
shape = RectangleShape,
hoverDurationMillis = 0,
unhoverColor = Color.Black.copy(alpha = 0.12f),
hoverColor = Color.Black.copy(alpha = 0.12f)
)
that it passes down via a
val LocalScrollbarStyle = staticCompositionLocalOf { defaultScrollbarStyle() }
now on dynamically changing dark/light themes whilst Runtime,
what is "the" supposed way that hover related Colors are dependant on
MaterialTheme.colors
and the recomposition honours them even when
changing the theme whilst runtime ?