val displayMetrics = LocalContext.current.resources.displayMetrics val fontScale = LocalDensity.current.fontScale val widthPixels = displayMetrics.widthPixels
val configuration = LocalConfiguration.current val isLandscape = configuration.orientation == Configuration.ORIENTATION_LANDSCAPE val widthDp = if (isLandscape) 960.0felse540.0f val widthDensity = widthPixels / widthDp
/** Alias for [W100] */ @Stableval Thin = W100 /** Alias for [W200] */ @Stableval ExtraLight = W200 /** Alias for [W300] */ @Stableval Light = W300 /** The default font weight - alias for [W400] */ @Stableval Normal = W400 /** Alias for [W500] */ @Stableval Medium = W500 /** Alias for [W600] */ @Stableval SemiBold = W600 /** A commonly used font weight that is heavier than normal - alias for [W700] */ @Stableval Bold = W700 /** Alias for [W800] */ @Stableval ExtraBold = W800 /** Alias for [W900] */ @Stableval Black = W900