val wallpaperCardColor: Color @Composable get() = when { currentWallpaper.cardColorLight != null && currentWallpaper.cardColorDark != null -> { if (isSystemInDarkTheme()) { Color(currentWallpaper.cardColorDark) } else { Color(currentWallpaper.cardColorLight) } } else -> FirefoxTheme.colors.layer2 }
Helper property used to obtain the [Color] to fill-in cards in front of a wallpaper.