From 3f99a198e87d5d569f9c6f70eb5d5513cb1e9f9e Mon Sep 17 00:00:00 2001 From: Nikita Kulikov Date: Thu, 6 Jun 2024 12:39:50 +0100 Subject: [PATCH] Add new FlipperPallet (#872) **Background** We are now moving to a new design system. The first step is to migrate the design system **Changes** - Made a palette generator from a JSON file with Figma (https://github.com/LionZXY/FlipperPalletGenerator) - Add LocalPalletV2 provider **Test plan** Try assemble and launch app --- CHANGELOG.md | 1 + .../core/ui/theme/FlipperTheme.kt | 16 +- .../theme/composable/FlipperPalletProvider.kt | 23 +- .../pallet/FlipperPalletV2Provider.kt | 24 + .../pallet/generated/AnimatedPallet.kt | 991 ++++++++++++++ .../composable/pallet/generated/DarkPallet.kt | 974 ++++++++++++++ .../pallet/generated/FlipperPalletV2.kt | 1180 +++++++++++++++++ .../pallet/generated/LightPallet.kt | 974 ++++++++++++++ config/detekt/detekt.yml | 2 +- 9 files changed, 4162 insertions(+), 23 deletions(-) create mode 100644 components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/FlipperPalletV2Provider.kt create mode 100644 components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/AnimatedPallet.kt create mode 100644 components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/DarkPallet.kt create mode 100644 components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/FlipperPalletV2.kt create mode 100644 components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/LightPallet.kt diff --git a/CHANGELOG.md b/CHANGELOG.md index e7a2cf0df6..e236fb5141 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ # 1.6.10 - In Progress - [KMP] Migration core:activityholder, core:di, core:progpress, core:ui:decompose +- [Feature] Add new FlipperPallet # 1.6.9 diff --git a/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/FlipperTheme.kt b/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/FlipperTheme.kt index 7731ac2f8f..efb176217b 100644 --- a/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/FlipperTheme.kt +++ b/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/FlipperTheme.kt @@ -23,11 +23,14 @@ import com.flipperdevices.core.ui.theme.composable.FlipperTypography import com.flipperdevices.core.ui.theme.composable.getThemedFlipperPallet import com.flipperdevices.core.ui.theme.composable.getTypography import com.flipperdevices.core.ui.theme.composable.isLight +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2 +import com.flipperdevices.core.ui.theme.composable.pallet.getThemedFlipperPalletV2 import com.flipperdevices.core.ui.theme.composable.toMaterialColors import com.flipperdevices.core.ui.theme.composable.toTextSelectionColors import com.flipperdevices.core.ui.theme.viewmodel.ThemeViewModel val LocalPallet = compositionLocalOf { error("No local pallet") } +val LocalPalletV2 = compositionLocalOf { error("No local pallet") } val LocalTypography = compositionLocalOf { error("No local typography") } @Composable @@ -38,12 +41,13 @@ fun FlipperTheme( val theme by themeViewModel.getAppTheme().collectAsState() val isLight = isLight( systemIsDark = isSystemInDarkTheme(), - themeViewModel = themeViewModel + theme = theme ) - val pallet = getThemedFlipperPallet(theme, isLight) + val pallet = getThemedFlipperPallet(isLight) FlipperTheme( content = content, pallet = pallet, + palletV2 = getThemedFlipperPalletV2(isLight), isLight = isLight ) } @@ -51,7 +55,8 @@ fun FlipperTheme( @Composable private fun FlipperTheme( pallet: FlipperPallet, - isLight: Boolean = !isSystemInDarkTheme(), + palletV2: FlipperPalletV2, + isLight: Boolean, content: @Composable () -> Unit ) { val colors = pallet.toMaterialColors(isLight) @@ -63,6 +68,7 @@ private fun FlipperTheme( ) { CompositionLocalProvider( LocalPallet provides pallet, + LocalPalletV2 provides palletV2, LocalTypography provides getTypography(), LocalContentColor provides colors.contentColorFor(backgroundColor = pallet.background), LocalTextSelectionColors provides pallet.toTextSelectionColors(), @@ -79,7 +85,9 @@ fun FlipperThemeInternal( ) { FlipperTheme( pallet = getThemedFlipperPallet(!isSystemInDarkTheme()), - content = content + palletV2 = getThemedFlipperPalletV2(!isSystemInDarkTheme()), + content = content, + isLight = !isSystemInDarkTheme() ) } diff --git a/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/FlipperPalletProvider.kt b/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/FlipperPalletProvider.kt index 01931843e9..08c19936ac 100644 --- a/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/FlipperPalletProvider.kt +++ b/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/FlipperPalletProvider.kt @@ -2,11 +2,9 @@ package com.flipperdevices.core.ui.theme.composable import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.runtime.Composable -import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue import androidx.compose.ui.graphics.Color import com.flipperdevices.core.preference.pb.SelectedTheme -import com.flipperdevices.core.ui.theme.viewmodel.ThemeViewModel /** * Please, use LocalPallet instead @@ -15,29 +13,18 @@ import com.flipperdevices.core.ui.theme.viewmodel.ThemeViewModel */ @Composable fun getThemedFlipperPallet(isLight: Boolean): FlipperPallet { - return if (isLight) lightPallet else darkPallet -} - -@Composable -fun getThemedFlipperPallet( - theme: SelectedTheme, - isLight: Boolean = !isSystemInDarkTheme() -): FlipperPallet { - return when (theme) { - SelectedTheme.LIGHT -> lightPallet - SelectedTheme.DARK -> darkPallet - SelectedTheme.UNRECOGNIZED, - SelectedTheme.SYSTEM -> getThemedFlipperPallet(isLight) + return if (isLight) { + lightPallet + } else { + darkPallet }.toAnimatePallet() } @Composable internal fun isLight( - themeViewModel: ThemeViewModel, + theme: SelectedTheme, systemIsDark: Boolean = isSystemInDarkTheme() ): Boolean { - val theme by themeViewModel.getAppTheme().collectAsState() - return when (theme) { SelectedTheme.LIGHT -> true SelectedTheme.DARK -> false diff --git a/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/FlipperPalletV2Provider.kt b/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/FlipperPalletV2Provider.kt new file mode 100644 index 0000000000..21090b24c7 --- /dev/null +++ b/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/FlipperPalletV2Provider.kt @@ -0,0 +1,24 @@ +package com.flipperdevices.core.ui.theme.composable.pallet + +import androidx.compose.runtime.Composable +import androidx.compose.runtime.remember +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2 +import com.flipperdevices.core.ui.theme.composable.pallet.generated.getDarkPallet +import com.flipperdevices.core.ui.theme.composable.pallet.generated.getLightPallet +import com.flipperdevices.core.ui.theme.composable.pallet.generated.toAnimatePallet + +/** + * Please, use instead LocalPalletV2 + * + * @return the necessary Pallet depending on the theme + */ +@Composable +fun getThemedFlipperPalletV2(isLight: Boolean): FlipperPalletV2 { + return remember(isLight) { + if (isLight) { + getLightPallet() + } else { + getDarkPallet() + } + }.toAnimatePallet() +} diff --git a/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/AnimatedPallet.kt b/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/AnimatedPallet.kt new file mode 100644 index 0000000000..55c9fc9712 --- /dev/null +++ b/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/AnimatedPallet.kt @@ -0,0 +1,991 @@ +package com.flipperdevices.core.ui.theme.composable.pallet.generated + +import androidx.compose.animation.animateColorAsState +import androidx.compose.animation.core.AnimationSpec +import androidx.compose.animation.core.tween +import androidx.compose.runtime.Composable +import androidx.compose.ui.graphics.Color +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchCustom +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchDev +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchRc +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchRelease +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Quaternary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Quinary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.OnColor +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Transparent +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.BackgroundMain +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Border.AccentBrand +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Border.Default +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.BottomBar +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.ContentCard +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.ContentCard.TextField +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Dialog +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Dialog.IllustrationField +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Fade +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Menu +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.NavBar +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.PopUp +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.SearchBar +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.SearchBar.SearchField +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Sheet +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Caption +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Label +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Link +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Semantic +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Title +import kotlin.Int +import kotlin.Suppress +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BlackAndWhite as ActionBlackAndWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BlackAndWhite.Border as BlackAndWhiteBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BlackAndWhite.Icon as BlackAndWhiteIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BlackAndWhite.Text as BlackAndWhiteText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue as ActionBlue +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Background as BlueBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Background.Primary as BlueBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Background.Secondary as BlueBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Background.Tertiary as BlueBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Border as BlueBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Border.Primary as BlueBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Border.Secondary as BlueBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Border.Tertiary as BlueBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Icon as BlueIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Text as BlueText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand as ActionBrand +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Background as BrandBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Background.Primary as BrandBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Background.Secondary as BrandBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Background.Tertiary as BrandBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Border as BrandBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Border.Primary as BrandBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Border.Secondary as BrandBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Border.Tertiary as BrandBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Icon as BrandIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Text as BrandText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchCustom.Text as BrunchCustomText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchDev.Text as BrunchDevText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchRc.Text as BrunchRcText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchRelease.Text as BrunchReleaseText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger as ActionDanger +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Background as DangerBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Background.Primary as DangerBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Background.Secondary as DangerBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Background.Tertiary as DangerBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Border as DangerBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Border.Primary as DangerBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Border.Secondary as DangerBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Border.Tertiary as DangerBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Icon as DangerIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Text as DangerText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Background as FwInstallBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Background.Primary as FwInstallBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Background.Secondary as FwInstallBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Background.Tertiary as FwInstallBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Border as FwInstallBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Border.Primary as FwInstallBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Border.Secondary as FwInstallBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Border.Tertiary as FwInstallBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Icon as FwInstallIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Text as FwInstallText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Background as FwUpdateBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Background.Primary as FwUpdateBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Background.Secondary as FwUpdateBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Background.Tertiary as FwUpdateBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Border as FwUpdateBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Border.Primary as FwUpdateBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Border.Secondary as FwUpdateBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Border.Tertiary as FwUpdateBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Icon as FwUpdateIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Text as FwUpdateText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral as ActionNeutral +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Background as NeutralBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Background.Primary as NeutralBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Background.Secondary as NeutralBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Background.Tertiary as NeutralBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Border as NeutralBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Border.Primary as NeutralBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Border.Secondary as NeutralBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Border.Tertiary as NeutralBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Icon as NeutralIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Icon.Primary as NeutralIconPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Icon.Secondary as NeutralIconSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Icon.Tertiary as NeutralIconTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Text as NeutralText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Text.Primary as NeutralTextPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Text.Secondary as NeutralTextSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Text.Tertiary as NeutralTextTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success as ActionSuccess +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Background as SuccessBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Background.Primary as SuccessBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Background.Secondary as SuccessBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Background.Tertiary as SuccessBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Border as SuccessBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Border.Primary as SuccessBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Border.Secondary as SuccessBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Border.Tertiary as SuccessBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Icon as SuccessIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Text as SuccessText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning as ActionWarning +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Background as WarningBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Background.Primary as WarningBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Background.Secondary as WarningBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Background.Tertiary as WarningBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Border as WarningBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Border.Primary as WarningBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Border.Secondary as WarningBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Border.Tertiary as WarningBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Icon as WarningIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Text as WarningText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background as CategoryBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.BadUsb as BackgroundBadUsb +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Bluetooth as BackgroundBluetooth +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Games as BackgroundGames +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Gpio as BackgroundGpio +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Ibutton as BackgroundIbutton +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Infrared as BackgroundInfrared +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Media as BackgroundMedia +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Nfc as BackgroundNfc +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Rfid as BackgroundRfid +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.SubGhz as BackgroundSubGhz +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Tools as BackgroundTools +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon as CategoryIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.BadUsb as IconBadUsb +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Bluetooth as IconBluetooth +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Games as IconGames +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Gpio as IconGpio +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Ibutton as IconIbutton +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Infrared as IconInfrared +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Media as IconMedia +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Nfc as IconNfc +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Rfid as IconRfid +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.SubGhz as IconSubGhz +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Tools as IconTools +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text as CategoryText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.BadUsb as TextBadUsb +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Bluetooth as TextBluetooth +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Games as TextGames +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Gpio as TextGpio +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Ibutton as TextIbutton +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Infrared as TextInfrared +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Media as TextMedia +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Nfc as TextNfc +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Rfid as TextRfid +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.SubGhz as TextSubGhz +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Tools as TextTools +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon as FlipperPalletV2Icon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.BlackAndWhite as IconBlackAndWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Blue as IconBlue +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Brand as IconBrand +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Danger as IconDanger +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral as IconNeutral +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Primary as IconNeutralPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Secondary as IconNeutralSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Tertiary as IconNeutralTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.OnColor.Black as OnColorBlack +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.OnColor.White as OnColorWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Success as IconSuccess +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Warning as IconWarning +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.BlackAndWhite as IllustrationBlackAndWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Blue as IllustrationBlue +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Brand as IllustrationBrand +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Danger as IllustrationDanger +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Neutral as IllustrationNeutral +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Success as IllustrationSuccess +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Transparent.Black as TransparentBlack +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Transparent.White as TransparentWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Warning as IllustrationWarning +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Border as SurfaceBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.ContentCard.Body as ContentCardBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.ContentCard.Separator as ContentCardSeparator +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Dialog.Body as DialogBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Dialog.Separator as DialogSeparator +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Fade.TransparentBlack as FadeTransparentBlack +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Fade.TransparentWhite as FadeTransparentWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Menu.Body as MenuBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Menu.Separator as MenuSeparator +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.NavBar.Body as NavBarBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.PopUp.Body as PopUpBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.SearchBar.Body as SearchBarBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Sheet.Body as SheetBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Sheet.Separator as SheetSeparator +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text as FlipperPalletV2Text +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Body as TextBody + +private const val ANIMATION_DURATION_MS: Int = 750 + +private val animationSpec: AnimationSpec = tween(ANIMATION_DURATION_MS) + +@Composable +private fun animatedColor(targetValue: Color): Color = animateColorAsState( + targetValue = + targetValue, + animationSpec = animationSpec +).value + +/** + * Autogenerated code from https://github.com/LionZXY/FlipperPalletGenerator/ + */ +@Suppress("LongMethod") +@Composable +internal fun FlipperPalletV2.toAnimatePallet(): FlipperPalletV2 = FlipperPalletV2( + text = FlipperPalletV2Text( + title = Title( + primary = animatedColor(text.title.primary), + secondary = animatedColor(text.title.secondary), + tertiary = animatedColor(text.title.tertiary), + whiteOnColor = animatedColor(text.title.whiteOnColor), + blackOnColor = animatedColor(text.title.blackOnColor) + ), + body = TextBody( + primary = animatedColor(text.body.primary), + secondary = animatedColor(text.body.secondary), + tertiary = animatedColor(text.body.tertiary), + whiteOnColor = animatedColor(text.body.whiteOnColor), + blackOnColor = animatedColor(text.body.blackOnColor) + ), + label = Label( + primary = animatedColor(text.label.primary), + secondary = animatedColor(text.label.secondary), + tertiary = animatedColor(text.label.tertiary), + whiteOnColor = animatedColor(text.label.whiteOnColor), + blackOnColor = animatedColor(text.label.blackOnColor) + ), + caption = Caption( + primary = animatedColor(text.caption.primary), + secondary = animatedColor(text.caption.secondary), + tertiary = animatedColor(text.caption.tertiary), + whiteOnColor = animatedColor(text.caption.whiteOnColor), + blackOnColor = animatedColor(text.caption.blackOnColor) + ), + semantic = Semantic( + success = animatedColor(text.semantic.success), + warning = animatedColor(text.semantic.warning), + danger = animatedColor(text.semantic.danger) + ), + link = Link( + default = animatedColor(text.link.default), + disabled = animatedColor(text.link.disabled) + ) + ), + surface = Surface( + fade = Fade( + transparentBlack = FadeTransparentBlack( + primary = animatedColor(surface.fade.transparentBlack.primary), + secondary = animatedColor(surface.fade.transparentBlack.secondary), + tertiary = animatedColor(surface.fade.transparentBlack.tertiary) + ), + transparentWhite = FadeTransparentWhite( + primary = animatedColor(surface.fade.transparentWhite.primary), + secondary = animatedColor(surface.fade.transparentWhite.secondary), + tertiary = animatedColor(surface.fade.transparentWhite.tertiary) + ) + ), + backgroundMain = BackgroundMain( + body = animatedColor(surface.backgroundMain.body), + separator = animatedColor(surface.backgroundMain.separator) + ), + navBar = NavBar( + body = NavBarBody( + main = animatedColor(surface.navBar.body.main), + accentBrand = animatedColor(surface.navBar.body.accentBrand) + ) + ), + menu = Menu( + body = MenuBody( + dufault = animatedColor(surface.menu.body.dufault) + ), + separator = MenuSeparator( + default = animatedColor(surface.menu.separator.default) + ) + ), + contentCard = ContentCard( + body = ContentCardBody( + default = animatedColor(surface.contentCard.body.default) + ), + textField = TextField( + default = animatedColor(surface.contentCard.textField.default), + danger = animatedColor(surface.contentCard.textField.danger), + onColor = animatedColor(surface.contentCard.textField.onColor), + selected = animatedColor(surface.contentCard.textField.selected) + ), + separator = ContentCardSeparator( + default = animatedColor(surface.contentCard.separator.default) + ) + ), + bottomBar = BottomBar( + body = animatedColor(surface.bottomBar.body), + tabSelected = animatedColor(surface.bottomBar.tabSelected), + separator = animatedColor(surface.bottomBar.separator) + ), + sheet = Sheet( + body = SheetBody( + default = animatedColor(surface.sheet.body.default) + ), + separator = SheetSeparator( + default = animatedColor(surface.sheet.separator.default) + ) + ), + dialog = Dialog( + body = DialogBody( + default = animatedColor(surface.dialog.body.default) + ), + illustrationField = IllustrationField( + default = animatedColor(surface.dialog.illustrationField.default) + ), + separator = DialogSeparator( + default = animatedColor(surface.dialog.separator.default) + ) + ), + popUp = PopUp( + body = PopUpBody( + default = animatedColor(surface.popUp.body.default) + ) + ), + searchBar = SearchBar( + body = SearchBarBody( + default = animatedColor(surface.searchBar.body.default) + ), + searchField = SearchField( + default = animatedColor(surface.searchBar.searchField.default) + ) + ), + border = SurfaceBorder( + default = Default( + primary = animatedColor(surface.border.default.primary), + secondary = animatedColor(surface.border.default.secondary), + tertiary = animatedColor(surface.border.default.tertiary) + ), + accentBrand = AccentBrand( + primary = animatedColor(surface.border.accentBrand.primary), + secondary = animatedColor(surface.border.accentBrand.secondary), + tertiary = animatedColor(surface.border.accentBrand.tertiary) + ) + ) + ), + action = Action( + brunchRelease = BrunchRelease( + text = BrunchReleaseText( + default = animatedColor(action.brunchRelease.text.default), + disabled = animatedColor(action.brunchRelease.text.disabled) + ) + ), + fwInstall = FwInstall( + background = FwInstallBackground( + primary = FwInstallBackgroundPrimary( + default = animatedColor(action.fwInstall.background.primary.default), + disabled = animatedColor(action.fwInstall.background.primary.disabled) + ), + secondary = FwInstallBackgroundSecondary( + default = animatedColor(action.fwInstall.background.secondary.default), + disabled = animatedColor(action.fwInstall.background.secondary.disabled) + ), + tertiary = FwInstallBackgroundTertiary( + default = animatedColor(action.fwInstall.background.tertiary.default), + disabled = animatedColor(action.fwInstall.background.tertiary.disabled) + ) + ), + text = FwInstallText( + default = animatedColor(action.fwInstall.text.default), + onColor = animatedColor(action.fwInstall.text.onColor), + disabled = animatedColor(action.fwInstall.text.disabled) + ), + icon = FwInstallIcon( + default = animatedColor(action.fwInstall.icon.default), + onColor = animatedColor(action.fwInstall.icon.onColor), + disabled = animatedColor(action.fwInstall.icon.disabled) + ), + border = FwInstallBorder( + primary = FwInstallBorderPrimary( + default = animatedColor(action.fwInstall.border.primary.default), + disabled = animatedColor(action.fwInstall.border.primary.disabled) + ), + color = animatedColor(action.fwInstall.border.color), + secondary = FwInstallBorderSecondary( + default = animatedColor(action.fwInstall.border.secondary.default), + disabled = animatedColor(action.fwInstall.border.secondary.disabled) + ), + tertiary = FwInstallBorderTertiary( + default = animatedColor(action.fwInstall.border.tertiary.default), + disabled = animatedColor(action.fwInstall.border.tertiary.disabled) + ) + ) + ), + blue = ActionBlue( + background = BlueBackground( + primary = BlueBackgroundPrimary( + default = animatedColor(action.blue.background.primary.default), + disabled = animatedColor(action.blue.background.primary.disabled) + ), + tertiary = BlueBackgroundTertiary( + default = animatedColor(action.blue.background.tertiary.default), + disabled = animatedColor(action.blue.background.tertiary.disabled) + ), + secondary = BlueBackgroundSecondary( + default = animatedColor(action.blue.background.secondary.default), + disabled = animatedColor(action.blue.background.secondary.disabled) + ) + ), + text = BlueText( + onColor = animatedColor(action.blue.text.onColor), + default = animatedColor(action.blue.text.default), + disabled = animatedColor(action.blue.text.disabled) + ), + icon = BlueIcon( + default = animatedColor(action.blue.icon.default), + onColor = animatedColor(action.blue.icon.onColor), + disabled = animatedColor(action.blue.icon.disabled) + ), + border = BlueBorder( + tertiary = BlueBorderTertiary( + disabled = animatedColor(action.blue.border.tertiary.disabled), + default = animatedColor(action.blue.border.tertiary.default) + ), + primary = BlueBorderPrimary( + default = animatedColor(action.blue.border.primary.default), + disabled = animatedColor(action.blue.border.primary.disabled) + ), + secondary = BlueBorderSecondary( + default = animatedColor(action.blue.border.secondary.default), + disabled = animatedColor(action.blue.border.secondary.disabled) + ) + ) + ), + neutral = ActionNeutral( + text = NeutralText( + primary = NeutralTextPrimary( + default = animatedColor(action.neutral.text.primary.default), + onColor = animatedColor(action.neutral.text.primary.onColor), + disabled = animatedColor(action.neutral.text.primary.disabled) + ), + secondary = NeutralTextSecondary( + onColor = animatedColor(action.neutral.text.secondary.onColor), + disabled = animatedColor(action.neutral.text.secondary.disabled), + default = animatedColor(action.neutral.text.secondary.default) + ), + tertiary = NeutralTextTertiary( + default = animatedColor(action.neutral.text.tertiary.default), + disabled = animatedColor(action.neutral.text.tertiary.disabled), + onColor = animatedColor(action.neutral.text.tertiary.onColor) + ) + ), + icon = NeutralIcon( + primary = NeutralIconPrimary( + default = animatedColor(action.neutral.icon.primary.default), + onColor = animatedColor(action.neutral.icon.primary.onColor), + disabled = animatedColor(action.neutral.icon.primary.disabled) + ), + secondary = NeutralIconSecondary( + onColor = animatedColor(action.neutral.icon.secondary.onColor), + disabled = animatedColor(action.neutral.icon.secondary.disabled), + default = animatedColor(action.neutral.icon.secondary.default) + ), + tertiary = NeutralIconTertiary( + default = animatedColor(action.neutral.icon.tertiary.default), + onColor = animatedColor(action.neutral.icon.tertiary.onColor), + disabled = animatedColor(action.neutral.icon.tertiary.disabled) + ) + ), + background = NeutralBackground( + primary = NeutralBackgroundPrimary( + default = animatedColor(action.neutral.background.primary.default), + disabled = animatedColor(action.neutral.background.primary.disabled) + ), + secondary = NeutralBackgroundSecondary( + default = animatedColor(action.neutral.background.secondary.default), + disabled = animatedColor(action.neutral.background.secondary.disabled) + ), + tertiary = NeutralBackgroundTertiary( + default = animatedColor(action.neutral.background.tertiary.default), + disabled = animatedColor(action.neutral.background.tertiary.disabled) + ) + ), + border = NeutralBorder( + primary = NeutralBorderPrimary( + default = animatedColor(action.neutral.border.primary.default), + disabled = animatedColor(action.neutral.border.primary.disabled) + ), + tertiary = NeutralBorderTertiary( + default = animatedColor(action.neutral.border.tertiary.default), + tertiary = animatedColor(action.neutral.border.tertiary.tertiary) + ), + secondary = NeutralBorderSecondary( + default = animatedColor(action.neutral.border.secondary.default), + disabled = animatedColor(action.neutral.border.secondary.disabled) + ) + ) + ), + brand = ActionBrand( + background = BrandBackground( + primary = BrandBackgroundPrimary( + default = animatedColor(action.brand.background.primary.default), + disabled = animatedColor(action.brand.background.primary.disabled) + ), + secondary = BrandBackgroundSecondary( + default = animatedColor(action.brand.background.secondary.default), + disabled = animatedColor(action.brand.background.secondary.disabled) + ), + tertiary = BrandBackgroundTertiary( + default = animatedColor(action.brand.background.tertiary.default), + disabled = animatedColor(action.brand.background.tertiary.disabled) + ) + ), + text = BrandText( + default = animatedColor(action.brand.text.default), + onColor = animatedColor(action.brand.text.onColor), + disabled = animatedColor(action.brand.text.disabled) + ), + border = BrandBorder( + primary = BrandBorderPrimary( + default = animatedColor(action.brand.border.primary.default), + disabled = animatedColor(action.brand.border.primary.disabled) + ), + secondary = BrandBorderSecondary( + default = animatedColor(action.brand.border.secondary.default), + disabled = animatedColor(action.brand.border.secondary.disabled) + ), + tertiary = BrandBorderTertiary( + default = animatedColor(action.brand.border.tertiary.default), + tertiary = animatedColor(action.brand.border.tertiary.tertiary) + ) + ), + icon = BrandIcon( + default = animatedColor(action.brand.icon.default), + onColor = animatedColor(action.brand.icon.onColor), + disabled = animatedColor(action.brand.icon.disabled) + ) + ), + fwUpdate = FwUpdate( + background = FwUpdateBackground( + primary = FwUpdateBackgroundPrimary( + default = animatedColor(action.fwUpdate.background.primary.default), + disabled = animatedColor(action.fwUpdate.background.primary.disabled) + ), + secondary = FwUpdateBackgroundSecondary( + default = animatedColor(action.fwUpdate.background.secondary.default), + disabled = animatedColor(action.fwUpdate.background.secondary.disabled) + ), + tertiary = FwUpdateBackgroundTertiary( + default = animatedColor(action.fwUpdate.background.tertiary.default), + disabled = animatedColor(action.fwUpdate.background.tertiary.disabled) + ), + onColor = animatedColor(action.fwUpdate.background.onColor) + ), + text = FwUpdateText( + default = animatedColor(action.fwUpdate.text.default), + onColor = animatedColor(action.fwUpdate.text.onColor), + disabled = animatedColor(action.fwUpdate.text.disabled) + ), + icon = FwUpdateIcon( + default = animatedColor(action.fwUpdate.icon.default), + onColor = animatedColor(action.fwUpdate.icon.onColor), + disabled = animatedColor(action.fwUpdate.icon.disabled) + ), + border = FwUpdateBorder( + primary = FwUpdateBorderPrimary( + default = animatedColor(action.fwUpdate.border.primary.default), + disabled = animatedColor(action.fwUpdate.border.primary.disabled) + ), + secondary = FwUpdateBorderSecondary( + default = animatedColor(action.fwUpdate.border.secondary.default), + disabled = animatedColor(action.fwUpdate.border.secondary.disabled) + ), + tertiary = FwUpdateBorderTertiary( + default = animatedColor(action.fwUpdate.border.tertiary.default), + disabled = animatedColor(action.fwUpdate.border.tertiary.disabled) + ) + ) + ), + brunchRc = BrunchRc( + text = BrunchRcText( + default = animatedColor(action.brunchRc.text.default), + disabled = animatedColor(action.brunchRc.text.disabled) + ) + ), + brunchDev = BrunchDev( + text = BrunchDevText( + default = animatedColor(action.brunchDev.text.default), + disabled = animatedColor(action.brunchDev.text.disabled) + ) + ), + brunchCustom = BrunchCustom( + text = BrunchCustomText( + default = animatedColor(action.brunchCustom.text.default), + disabled = animatedColor(action.brunchCustom.text.disabled) + ) + ), + danger = ActionDanger( + text = DangerText( + default = animatedColor(action.danger.text.default), + onColor = animatedColor(action.danger.text.onColor), + disabled = animatedColor(action.danger.text.disabled) + ), + icon = DangerIcon( + default = animatedColor(action.danger.icon.default), + onColor = animatedColor(action.danger.icon.onColor), + disabled = animatedColor(action.danger.icon.disabled) + ), + border = DangerBorder( + primary = DangerBorderPrimary( + default = animatedColor(action.danger.border.primary.default), + disabled = animatedColor(action.danger.border.primary.disabled) + ), + secondary = DangerBorderSecondary( + default = animatedColor(action.danger.border.secondary.default), + disabled = animatedColor(action.danger.border.secondary.disabled) + ), + tertiary = DangerBorderTertiary( + default = animatedColor(action.danger.border.tertiary.default), + disabled = animatedColor(action.danger.border.tertiary.disabled) + ) + ), + background = DangerBackground( + tertiary = DangerBackgroundTertiary( + default = animatedColor(action.danger.background.tertiary.default), + disabled = animatedColor(action.danger.background.tertiary.disabled) + ), + primary = DangerBackgroundPrimary( + default = animatedColor(action.danger.background.primary.default), + disabled = animatedColor(action.danger.background.primary.disabled) + ), + secondary = DangerBackgroundSecondary( + default = animatedColor(action.danger.background.secondary.default), + disabled = animatedColor(action.danger.background.secondary.disabled) + ) + ) + ), + success = ActionSuccess( + background = SuccessBackground( + primary = SuccessBackgroundPrimary( + default = animatedColor(action.success.background.primary.default), + disabled = animatedColor(action.success.background.primary.disabled) + ), + secondary = SuccessBackgroundSecondary( + default = animatedColor(action.success.background.secondary.default), + disabled = animatedColor(action.success.background.secondary.disabled) + ), + tertiary = SuccessBackgroundTertiary( + default = animatedColor(action.success.background.tertiary.default), + disabled = animatedColor(action.success.background.tertiary.disabled) + ) + ), + text = SuccessText( + default = animatedColor(action.success.text.default), + onColor = animatedColor(action.success.text.onColor), + disabled = animatedColor(action.success.text.disabled) + ), + icon = SuccessIcon( + default = animatedColor(action.success.icon.default), + onColor = animatedColor(action.success.icon.onColor), + disabled = animatedColor(action.success.icon.disabled) + ), + border = SuccessBorder( + primary = SuccessBorderPrimary( + default = animatedColor(action.success.border.primary.default), + disabled = animatedColor(action.success.border.primary.disabled) + ), + secondary = SuccessBorderSecondary( + default = animatedColor(action.success.border.secondary.default), + disabled = animatedColor(action.success.border.secondary.disabled) + ), + tertiary = SuccessBorderTertiary( + default = animatedColor(action.success.border.tertiary.default), + disabled = animatedColor(action.success.border.tertiary.disabled) + ) + ) + ), + warning = ActionWarning( + background = WarningBackground( + primary = WarningBackgroundPrimary( + default = animatedColor(action.warning.background.primary.default), + disabled = animatedColor(action.warning.background.primary.disabled) + ), + secondary = WarningBackgroundSecondary( + default = animatedColor(action.warning.background.secondary.default), + disabled = animatedColor(action.warning.background.secondary.disabled) + ), + tertiary = WarningBackgroundTertiary( + default = animatedColor(action.warning.background.tertiary.default), + disabled = animatedColor(action.warning.background.tertiary.disabled) + ) + ), + text = WarningText( + default = animatedColor(action.warning.text.default), + onColor = animatedColor(action.warning.text.onColor), + disabled = animatedColor(action.warning.text.disabled) + ), + icon = WarningIcon( + default = animatedColor(action.warning.icon.default), + onColor = animatedColor(action.warning.icon.onColor), + disabled = animatedColor(action.warning.icon.disabled) + ), + border = WarningBorder( + primary = WarningBorderPrimary( + default = animatedColor(action.warning.border.primary.default), + disabled = animatedColor(action.warning.border.primary.disabled) + ), + secondary = WarningBorderSecondary( + default = animatedColor(action.warning.border.secondary.default), + disabled = animatedColor(action.warning.border.secondary.disabled) + ), + tertiary = WarningBorderTertiary( + default = animatedColor(action.warning.border.tertiary.default), + disabled = animatedColor(action.warning.border.tertiary.disabled) + ) + ) + ), + blackAndWhite = ActionBlackAndWhite( + text = BlackAndWhiteText( + default = animatedColor(action.blackAndWhite.text.default), + disabled = animatedColor(action.blackAndWhite.text.disabled) + ), + icon = BlackAndWhiteIcon( + default = animatedColor(action.blackAndWhite.icon.default), + disabled = animatedColor(action.blackAndWhite.icon.disabled) + ), + border = BlackAndWhiteBorder( + default = animatedColor(action.blackAndWhite.border.default), + disabled = animatedColor(action.blackAndWhite.border.disabled), + blackOnColor = animatedColor(action.blackAndWhite.border.blackOnColor), + whiteOnColor = animatedColor(action.blackAndWhite.border.whiteOnColor) + ) + ) + ), + illustration = Illustration( + danger = IllustrationDanger( + primary = animatedColor(illustration.danger.primary), + secondary = animatedColor(illustration.danger.secondary), + tertiary = animatedColor(illustration.danger.tertiary) + ), + success = IllustrationSuccess( + primary = animatedColor(illustration.success.primary), + secondary = animatedColor(illustration.success.secondary), + tertiary = animatedColor(illustration.success.tertiary) + ), + warning = IllustrationWarning( + primary = animatedColor(illustration.warning.primary), + secondary = animatedColor(illustration.warning.secondary), + tertiary = animatedColor(illustration.warning.tertiary) + ), + neutral = IllustrationNeutral( + primary = animatedColor(illustration.neutral.primary), + quaternary = animatedColor(illustration.neutral.quaternary), + quinary = animatedColor(illustration.neutral.quinary), + tertiary = animatedColor(illustration.neutral.tertiary), + secondary = animatedColor(illustration.neutral.secondary) + ), + brand = IllustrationBrand( + primary = animatedColor(illustration.brand.primary), + secondary = animatedColor(illustration.brand.secondary), + tertiary = animatedColor(illustration.brand.tertiary) + ), + blue = IllustrationBlue( + primary = animatedColor(illustration.blue.primary), + secondary = animatedColor(illustration.blue.secondary), + tertiary = animatedColor(illustration.blue.tertiary) + ), + blackAndWhite = IllustrationBlackAndWhite( + white = animatedColor(illustration.blackAndWhite.white), + black = animatedColor(illustration.blackAndWhite.black), + whiteOnColor = animatedColor(illustration.blackAndWhite.whiteOnColor), + blackOnColor = animatedColor(illustration.blackAndWhite.blackOnColor) + ), + transparent = Transparent( + black = TransparentBlack( + primary = animatedColor(illustration.transparent.black.primary), + secondary = animatedColor(illustration.transparent.black.secondary), + tertiary = animatedColor(illustration.transparent.black.tertiary) + ), + white = TransparentWhite( + primary = animatedColor(illustration.transparent.white.primary), + secondary = animatedColor(illustration.transparent.white.secondary), + tertiary = animatedColor(illustration.transparent.white.tertiary) + ) + ) + ), + category = Category( + background = CategoryBackground( + subGhz = BackgroundSubGhz( + default = animatedColor(category.background.subGhz.default), + disabled = animatedColor(category.background.subGhz.disabled) + ), + rfid = BackgroundRfid( + default = animatedColor(category.background.rfid.default), + disabled = animatedColor(category.background.rfid.disabled) + ), + nfc = BackgroundNfc( + default = animatedColor(category.background.nfc.default), + disabled = animatedColor(category.background.nfc.disabled) + ), + infrared = BackgroundInfrared( + default = animatedColor(category.background.infrared.default), + disabled = animatedColor(category.background.infrared.disabled) + ), + ibutton = BackgroundIbutton( + default = animatedColor(category.background.ibutton.default), + disabled = animatedColor(category.background.ibutton.disabled) + ), + badUsb = BackgroundBadUsb( + default = animatedColor(category.background.badUsb.default), + disabled = animatedColor(category.background.badUsb.disabled) + ), + gpio = BackgroundGpio( + default = animatedColor(category.background.gpio.default), + disabled = animatedColor(category.background.gpio.disabled) + ), + games = BackgroundGames( + default = animatedColor(category.background.games.default), + disabled = animatedColor(category.background.games.disabled) + ), + media = BackgroundMedia( + default = animatedColor(category.background.media.default), + disabled = animatedColor(category.background.media.disabled) + ), + tools = BackgroundTools( + default = animatedColor(category.background.tools.default), + disabled = animatedColor(category.background.tools.disabled) + ), + bluetooth = BackgroundBluetooth( + default = animatedColor(category.background.bluetooth.default), + disabled = animatedColor(category.background.bluetooth.disabled) + ) + ), + icon = CategoryIcon( + subGhz = IconSubGhz( + default = animatedColor(category.icon.subGhz.default) + ), + rfid = IconRfid( + default = animatedColor(category.icon.rfid.default) + ), + nfc = IconNfc( + default = animatedColor(category.icon.nfc.default) + ), + infrared = IconInfrared( + default = animatedColor(category.icon.infrared.default) + ), + ibutton = IconIbutton( + default = animatedColor(category.icon.ibutton.default) + ), + badUsb = IconBadUsb( + default = animatedColor(category.icon.badUsb.default) + ), + gpio = IconGpio( + default = animatedColor(category.icon.gpio.default) + ), + games = IconGames( + default = animatedColor(category.icon.games.default) + ), + media = IconMedia( + default = animatedColor(category.icon.media.default) + ), + tools = IconTools( + default = animatedColor(category.icon.tools.default) + ), + bluetooth = IconBluetooth( + default = animatedColor(category.icon.bluetooth.default) + ) + ), + text = CategoryText( + subGhz = TextSubGhz( + default = animatedColor(category.text.subGhz.default) + ), + rfid = TextRfid( + default = animatedColor(category.text.rfid.default) + ), + nfc = TextNfc( + default = animatedColor(category.text.nfc.default) + ), + infrared = TextInfrared( + default = animatedColor(category.text.infrared.default) + ), + ibutton = TextIbutton( + default = animatedColor(category.text.ibutton.default) + ), + badUsb = TextBadUsb( + default = animatedColor(category.text.badUsb.default) + ), + gpio = TextGpio( + default = animatedColor(category.text.gpio.default) + ), + games = TextGames( + default = animatedColor(category.text.games.default) + ), + media = TextMedia( + default = animatedColor(category.text.media.default) + ), + tools = TextTools( + default = animatedColor(category.text.tools.default) + ), + bluetooth = TextBluetooth( + default = animatedColor(category.text.bluetooth.default) + ) + ) + ), + icon = FlipperPalletV2Icon( + neutral = IconNeutral( + primary = IconNeutralPrimary( + default = animatedColor(icon.neutral.primary.default), + transparent = animatedColor(icon.neutral.primary.transparent) + ), + secondary = IconNeutralSecondary( + default = animatedColor(icon.neutral.secondary.default), + transparent = animatedColor(icon.neutral.secondary.transparent) + ), + tertiary = IconNeutralTertiary( + default = animatedColor(icon.neutral.tertiary.default), + transparent = animatedColor(icon.neutral.tertiary.transparent) + ), + quaternary = Quaternary( + default = animatedColor(icon.neutral.quaternary.default) + ), + quinary = Quinary( + default = animatedColor(icon.neutral.quinary.default) + ) + ), + onColor = OnColor( + white = OnColorWhite( + default = animatedColor(icon.onColor.white.default), + transparent = animatedColor(icon.onColor.white.transparent) + ), + black = OnColorBlack( + default = animatedColor(icon.onColor.black.default), + transparent = animatedColor(icon.onColor.black.transparent) + ) + ), + success = IconSuccess( + primary = animatedColor(icon.success.primary), + secondary = animatedColor(icon.success.secondary), + tertiary = animatedColor(icon.success.tertiary) + ), + warning = IconWarning( + primary = animatedColor(icon.warning.primary), + secondary = animatedColor(icon.warning.secondary), + tertiary = animatedColor(icon.warning.tertiary) + ), + danger = IconDanger( + primary = animatedColor(icon.danger.primary), + secondary = animatedColor(icon.danger.secondary), + tertiary = animatedColor(icon.danger.tertiary) + ), + blackAndWhite = IconBlackAndWhite( + default = animatedColor(icon.blackAndWhite.default), + transparent = animatedColor(icon.blackAndWhite.transparent), + blackOnColor = animatedColor(icon.blackAndWhite.blackOnColor), + whiteOnColor = animatedColor(icon.blackAndWhite.whiteOnColor) + ), + brand = IconBrand( + primary = animatedColor(icon.brand.primary), + secondary = animatedColor(icon.brand.secondary), + tertiary = animatedColor(icon.brand.tertiary) + ), + blue = IconBlue( + primary = animatedColor(icon.blue.primary), + secondary = animatedColor(icon.blue.secondary), + tertiary = animatedColor(icon.blue.tertiary) + ) + ) +) diff --git a/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/DarkPallet.kt b/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/DarkPallet.kt new file mode 100644 index 0000000000..8d05e18f4c --- /dev/null +++ b/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/DarkPallet.kt @@ -0,0 +1,974 @@ +package com.flipperdevices.core.ui.theme.composable.pallet.generated + +import androidx.compose.ui.graphics.Color +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchCustom +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchDev +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchRc +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchRelease +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Quaternary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Quinary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.OnColor +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Transparent +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.BackgroundMain +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Border.AccentBrand +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Border.Default +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.BottomBar +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.ContentCard +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.ContentCard.TextField +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Dialog +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Dialog.IllustrationField +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Fade +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Menu +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.NavBar +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.PopUp +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.SearchBar +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.SearchBar.SearchField +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Sheet +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Caption +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Label +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Link +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Semantic +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Title +import kotlin.Suppress +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BlackAndWhite as ActionBlackAndWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BlackAndWhite.Border as BlackAndWhiteBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BlackAndWhite.Icon as BlackAndWhiteIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BlackAndWhite.Text as BlackAndWhiteText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue as ActionBlue +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Background as BlueBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Background.Primary as BlueBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Background.Secondary as BlueBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Background.Tertiary as BlueBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Border as BlueBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Border.Primary as BlueBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Border.Secondary as BlueBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Border.Tertiary as BlueBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Icon as BlueIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Text as BlueText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand as ActionBrand +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Background as BrandBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Background.Primary as BrandBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Background.Secondary as BrandBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Background.Tertiary as BrandBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Border as BrandBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Border.Primary as BrandBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Border.Secondary as BrandBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Border.Tertiary as BrandBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Icon as BrandIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Text as BrandText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchCustom.Text as BrunchCustomText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchDev.Text as BrunchDevText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchRc.Text as BrunchRcText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchRelease.Text as BrunchReleaseText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger as ActionDanger +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Background as DangerBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Background.Primary as DangerBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Background.Secondary as DangerBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Background.Tertiary as DangerBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Border as DangerBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Border.Primary as DangerBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Border.Secondary as DangerBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Border.Tertiary as DangerBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Icon as DangerIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Text as DangerText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Background as FwInstallBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Background.Primary as FwInstallBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Background.Secondary as FwInstallBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Background.Tertiary as FwInstallBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Border as FwInstallBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Border.Primary as FwInstallBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Border.Secondary as FwInstallBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Border.Tertiary as FwInstallBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Icon as FwInstallIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Text as FwInstallText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Background as FwUpdateBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Background.Primary as FwUpdateBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Background.Secondary as FwUpdateBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Background.Tertiary as FwUpdateBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Border as FwUpdateBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Border.Primary as FwUpdateBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Border.Secondary as FwUpdateBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Border.Tertiary as FwUpdateBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Icon as FwUpdateIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Text as FwUpdateText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral as ActionNeutral +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Background as NeutralBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Background.Primary as NeutralBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Background.Secondary as NeutralBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Background.Tertiary as NeutralBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Border as NeutralBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Border.Primary as NeutralBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Border.Secondary as NeutralBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Border.Tertiary as NeutralBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Icon as NeutralIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Icon.Primary as NeutralIconPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Icon.Secondary as NeutralIconSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Icon.Tertiary as NeutralIconTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Text as NeutralText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Text.Primary as NeutralTextPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Text.Secondary as NeutralTextSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Text.Tertiary as NeutralTextTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success as ActionSuccess +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Background as SuccessBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Background.Primary as SuccessBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Background.Secondary as SuccessBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Background.Tertiary as SuccessBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Border as SuccessBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Border.Primary as SuccessBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Border.Secondary as SuccessBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Border.Tertiary as SuccessBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Icon as SuccessIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Text as SuccessText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning as ActionWarning +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Background as WarningBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Background.Primary as WarningBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Background.Secondary as WarningBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Background.Tertiary as WarningBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Border as WarningBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Border.Primary as WarningBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Border.Secondary as WarningBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Border.Tertiary as WarningBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Icon as WarningIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Text as WarningText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background as CategoryBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.BadUsb as BackgroundBadUsb +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Bluetooth as BackgroundBluetooth +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Games as BackgroundGames +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Gpio as BackgroundGpio +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Ibutton as BackgroundIbutton +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Infrared as BackgroundInfrared +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Media as BackgroundMedia +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Nfc as BackgroundNfc +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Rfid as BackgroundRfid +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.SubGhz as BackgroundSubGhz +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Tools as BackgroundTools +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon as CategoryIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.BadUsb as IconBadUsb +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Bluetooth as IconBluetooth +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Games as IconGames +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Gpio as IconGpio +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Ibutton as IconIbutton +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Infrared as IconInfrared +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Media as IconMedia +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Nfc as IconNfc +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Rfid as IconRfid +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.SubGhz as IconSubGhz +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Tools as IconTools +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text as CategoryText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.BadUsb as TextBadUsb +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Bluetooth as TextBluetooth +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Games as TextGames +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Gpio as TextGpio +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Ibutton as TextIbutton +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Infrared as TextInfrared +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Media as TextMedia +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Nfc as TextNfc +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Rfid as TextRfid +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.SubGhz as TextSubGhz +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Tools as TextTools +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon as FlipperPalletV2Icon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.BlackAndWhite as IconBlackAndWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Blue as IconBlue +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Brand as IconBrand +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Danger as IconDanger +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral as IconNeutral +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Primary as IconNeutralPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Secondary as IconNeutralSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Tertiary as IconNeutralTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.OnColor.Black as OnColorBlack +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.OnColor.White as OnColorWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Success as IconSuccess +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Warning as IconWarning +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.BlackAndWhite as IllustrationBlackAndWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Blue as IllustrationBlue +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Brand as IllustrationBrand +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Danger as IllustrationDanger +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Neutral as IllustrationNeutral +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Success as IllustrationSuccess +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Transparent.Black as TransparentBlack +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Transparent.White as TransparentWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Warning as IllustrationWarning +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Border as SurfaceBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.ContentCard.Body as ContentCardBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.ContentCard.Separator as ContentCardSeparator +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Dialog.Body as DialogBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Dialog.Separator as DialogSeparator +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Fade.TransparentBlack as FadeTransparentBlack +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Fade.TransparentWhite as FadeTransparentWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Menu.Body as MenuBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Menu.Separator as MenuSeparator +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.NavBar.Body as NavBarBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.PopUp.Body as PopUpBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.SearchBar.Body as SearchBarBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Sheet.Body as SheetBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Sheet.Separator as SheetSeparator +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text as FlipperPalletV2Text +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Body as TextBody + +/** + * Autogenerated code from https://github.com/LionZXY/FlipperPalletGenerator/ + */ +@Suppress("MagicNumber", "LongMethod") +internal fun getDarkPallet(): FlipperPalletV2 = FlipperPalletV2( + text = FlipperPalletV2Text( + title = Title( + primary = Color(0xFFFFFFFF), + secondary = Color(0xFFCCCCCC), + tertiary = Color(0xFF999999), + whiteOnColor = Color(0xFFFFFFFF), + blackOnColor = Color(0xFF000000) + ), + body = TextBody( + primary = Color(0xFFFFFFFF), + secondary = Color(0xFF999999), + tertiary = Color(0xFF666666), + whiteOnColor = Color(0xFFFFFFFF), + blackOnColor = Color(0xFF000000) + ), + label = Label( + primary = Color(0xFFFFFFFF), + secondary = Color(0xFF999999), + tertiary = Color(0xFF666666), + whiteOnColor = Color(0xFFFFFFFF), + blackOnColor = Color(0xFF000000) + ), + caption = Caption( + primary = Color(0xFFFFFFFF), + secondary = Color(0xFF999999), + tertiary = Color(0xFF666666), + whiteOnColor = Color(0xFFFFFFFF), + blackOnColor = Color(0xFF000000) + ), + semantic = Semantic( + success = Color(0xFF34C7A4), + warning = Color(0xFFFECF5D), + danger = Color(0xFFF63F3F) + ), + link = Link( + default = Color(0xFF589DFF), + disabled = Color(0xFF666666) + ) + ), + surface = Surface( + fade = Fade( + transparentBlack = FadeTransparentBlack( + primary = Color(0x80000000), + secondary = Color(0x4D000000), + tertiary = Color(0x1A000000) + ), + transparentWhite = FadeTransparentWhite( + primary = Color(0x80FFFFFF), + secondary = Color(0x4DFFFFFF), + tertiary = Color(0x1AFFFFFF) + ) + ), + backgroundMain = BackgroundMain( + body = Color(0xFF000000), + separator = Color(0xFF333333) + ), + navBar = NavBar( + body = NavBarBody( + main = Color(0xFF000000), + accentBrand = Color(0xFFFF8200) + ) + ), + menu = Menu( + body = MenuBody( + dufault = Color(0xFF333333) + ), + separator = MenuSeparator( + default = Color(0xFF666666) + ) + ), + contentCard = ContentCard( + body = ContentCardBody( + default = Color(0xFF1A1A1A) + ), + textField = TextField( + default = Color(0xFF666666), + danger = Color(0xFFF63F3F), + onColor = Color(0xFFFFFFFF), + selected = Color(0xFF589DFF) + ), + separator = ContentCardSeparator( + default = Color(0xFF333333) + ) + ), + bottomBar = BottomBar( + body = Color(0xFF1A1A1A), + tabSelected = Color(0xFF333333), + separator = Color(0xFF666666) + ), + sheet = Sheet( + body = SheetBody( + default = Color(0xFF333333) + ), + separator = SheetSeparator( + default = Color(0xFF333333) + ) + ), + dialog = Dialog( + body = DialogBody( + default = Color(0xFF333333) + ), + illustrationField = IllustrationField( + default = Color(0xFF666666) + ), + separator = DialogSeparator( + default = Color(0xFF666666) + ) + ), + popUp = PopUp( + body = PopUpBody( + default = Color(0xFF333333) + ) + ), + searchBar = SearchBar( + body = SearchBarBody( + default = Color(0xFF000000) + ), + searchField = SearchField( + default = Color(0xFF666666) + ) + ), + border = SurfaceBorder( + default = Default( + primary = Color(0xFFFFFFFF), + secondary = Color(0xFF666666), + tertiary = Color(0xFF333333) + ), + accentBrand = AccentBrand( + primary = Color(0xFFFF8200), + secondary = Color(0xFF804100), + tertiary = Color(0xFF492502) + ) + ) + ), + action = Action( + brunchRelease = BrunchRelease( + text = BrunchReleaseText( + default = Color(0xFF2ED832), + disabled = Color(0xFF666666) + ) + ), + fwInstall = FwInstall( + background = FwInstallBackground( + primary = FwInstallBackgroundPrimary( + default = Color(0xFFFF8200), + disabled = Color(0xFF666666) + ), + secondary = FwInstallBackgroundSecondary( + default = Color(0xFF804100), + disabled = Color(0xFF333333) + ), + tertiary = FwInstallBackgroundTertiary( + default = Color(0xFF190D00), + disabled = Color(0xFF333333) + ) + ), + text = FwInstallText( + default = Color(0xFFFF8200), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + icon = FwInstallIcon( + default = Color(0xFFFF8200), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + border = FwInstallBorder( + primary = FwInstallBorderPrimary( + default = Color(0xFFFF8200), + disabled = Color(0xFF666666) + ), + color = Color(0xFFFFFFFF), + secondary = FwInstallBorderSecondary( + default = Color(0xFF804100), + disabled = Color(0xFF333333) + ), + tertiary = FwInstallBorderTertiary( + default = Color(0xFF190D00), + disabled = Color(0xFF333333) + ) + ) + ), + blue = ActionBlue( + background = BlueBackground( + primary = BlueBackgroundPrimary( + default = Color(0xFF589DFF), + disabled = Color(0xFF666666) + ), + tertiary = BlueBackgroundTertiary( + default = Color(0xFF1B2A41), + disabled = Color(0xFF333333) + ), + secondary = BlueBackgroundSecondary( + default = Color(0xFF465680), + disabled = Color(0xFF333333) + ) + ), + text = BlueText( + onColor = Color(0xFFFFFFFF), + default = Color(0xFF589DFF), + disabled = Color(0xFF666666) + ), + icon = BlueIcon( + default = Color(0xFF589DFF), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + border = BlueBorder( + tertiary = BlueBorderTertiary( + disabled = Color(0xFF333333), + default = Color(0xFF1B2A41) + ), + primary = BlueBorderPrimary( + default = Color(0xFF589DFF), + disabled = Color(0xFF666666) + ), + secondary = BlueBorderSecondary( + default = Color(0xFF465680), + disabled = Color(0xFF666666) + ) + ) + ), + neutral = ActionNeutral( + text = NeutralText( + primary = NeutralTextPrimary( + default = Color(0xFFFFFFFF), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + secondary = NeutralTextSecondary( + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666), + default = Color(0xFF999999) + ), + tertiary = NeutralTextTertiary( + default = Color(0xFF666666), + disabled = Color(0xFF333333), + onColor = Color(0xFFFFFFFF) + ) + ), + icon = NeutralIcon( + primary = NeutralIconPrimary( + default = Color(0xFFFFFFFF), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + secondary = NeutralIconSecondary( + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666), + default = Color(0xFF999999) + ), + tertiary = NeutralIconTertiary( + default = Color(0xFF666666), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF333333) + ) + ), + background = NeutralBackground( + primary = NeutralBackgroundPrimary( + default = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + secondary = NeutralBackgroundSecondary( + default = Color(0xFF666666), + disabled = Color(0xFF333333) + ), + tertiary = NeutralBackgroundTertiary( + default = Color(0xFF1A1A1A), + disabled = Color(0xFF333333) + ) + ), + border = NeutralBorder( + primary = NeutralBorderPrimary( + default = Color(0xFFE5E5E5), + disabled = Color(0xFF666666) + ), + tertiary = NeutralBorderTertiary( + default = Color(0xFF333333), + tertiary = Color(0xFF333333) + ), + secondary = NeutralBorderSecondary( + default = Color(0xFF999999), + disabled = Color(0xFF666666) + ) + ) + ), + brand = ActionBrand( + background = BrandBackground( + primary = BrandBackgroundPrimary( + default = Color(0xFFFF8200), + disabled = Color(0xFF666666) + ), + secondary = BrandBackgroundSecondary( + default = Color(0xFF804100), + disabled = Color(0xFF333333) + ), + tertiary = BrandBackgroundTertiary( + default = Color(0xFF492502), + disabled = Color(0xFF333333) + ) + ), + text = BrandText( + default = Color(0xFFFF8200), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + border = BrandBorder( + primary = BrandBorderPrimary( + default = Color(0xFFFF8200), + disabled = Color(0xFF666666) + ), + secondary = BrandBorderSecondary( + default = Color(0xFF804100), + disabled = Color(0xFF666666) + ), + tertiary = BrandBorderTertiary( + default = Color(0xFF492502), + tertiary = Color(0xFF333333) + ) + ), + icon = BrandIcon( + default = Color(0xFFFF8200), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ) + ), + fwUpdate = FwUpdate( + background = FwUpdateBackground( + primary = FwUpdateBackgroundPrimary( + default = Color(0xFF2ED832), + disabled = Color(0xFF666666) + ), + secondary = FwUpdateBackgroundSecondary( + default = Color(0xFF176C19), + disabled = Color(0xFF333333) + ), + tertiary = FwUpdateBackgroundTertiary( + default = Color(0xFF092B0A), + disabled = Color(0xFF333333) + ), + onColor = Color(0xFFFFFFFF) + ), + text = FwUpdateText( + default = Color(0xFF2ED832), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + icon = FwUpdateIcon( + default = Color(0xFF2ED832), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + border = FwUpdateBorder( + primary = FwUpdateBorderPrimary( + default = Color(0xFF2ED832), + disabled = Color(0xFF666666) + ), + secondary = FwUpdateBorderSecondary( + default = Color(0xFF176C19), + disabled = Color(0xFF333333) + ), + tertiary = FwUpdateBorderTertiary( + default = Color(0xFF092B0A), + disabled = Color(0xFF333333) + ) + ) + ), + brunchRc = BrunchRc( + text = BrunchRcText( + default = Color(0xFF8A2BE2), + disabled = Color(0xFF666666) + ) + ), + brunchDev = BrunchDev( + text = BrunchDevText( + default = Color(0xFFFF3C00), + disabled = Color(0xFF666666) + ) + ), + brunchCustom = BrunchCustom( + text = BrunchCustomText( + default = Color(0xFF999999), + disabled = Color(0xFF666666) + ) + ), + danger = ActionDanger( + text = DangerText( + default = Color(0xFFF63F3F), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + icon = DangerIcon( + default = Color(0xFFF63F3F), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + border = DangerBorder( + primary = DangerBorderPrimary( + default = Color(0xFFF63F3F), + disabled = Color(0xFF666666) + ), + secondary = DangerBorderSecondary( + default = Color(0xFF7B1F1F), + disabled = Color(0xFF333333) + ), + tertiary = DangerBorderTertiary( + default = Color(0xFF310D0D), + disabled = Color(0xFF333333) + ) + ), + background = DangerBackground( + tertiary = DangerBackgroundTertiary( + default = Color(0xFF310D0D), + disabled = Color(0xFF333333) + ), + primary = DangerBackgroundPrimary( + default = Color(0xFFF63F3F), + disabled = Color(0xFF666666) + ), + secondary = DangerBackgroundSecondary( + default = Color(0xFF7B1F1F), + disabled = Color(0xFF333333) + ) + ) + ), + success = ActionSuccess( + background = SuccessBackground( + primary = SuccessBackgroundPrimary( + default = Color(0xFF34C7A4), + disabled = Color(0xFF666666) + ), + secondary = SuccessBackgroundSecondary( + default = Color(0xFF1A6352), + disabled = Color(0xFF333333) + ), + tertiary = SuccessBackgroundTertiary( + default = Color(0xFF0A2821), + disabled = Color(0xFF333333) + ) + ), + text = SuccessText( + default = Color(0xFF34C7A4), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + icon = SuccessIcon( + default = Color(0xFF34C7A4), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + border = SuccessBorder( + primary = SuccessBorderPrimary( + default = Color(0xFF34C7A4), + disabled = Color(0xFF666666) + ), + secondary = SuccessBorderSecondary( + default = Color(0xFF1A6352), + disabled = Color(0xFF333333) + ), + tertiary = SuccessBorderTertiary( + default = Color(0xFF0A2821), + disabled = Color(0xFF333333) + ) + ) + ), + warning = ActionWarning( + background = WarningBackground( + primary = WarningBackgroundPrimary( + default = Color(0xFFFECF5D), + disabled = Color(0xFF666666) + ), + secondary = WarningBackgroundSecondary( + default = Color(0xFF7F672E), + disabled = Color(0xFF333333) + ), + tertiary = WarningBackgroundTertiary( + default = Color(0xFF332913), + disabled = Color(0xFF333333) + ) + ), + text = WarningText( + default = Color(0xFFFECF5D), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + icon = WarningIcon( + default = Color(0xFFFECF5D), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + border = WarningBorder( + primary = WarningBorderPrimary( + default = Color(0xFF34C7A4), + disabled = Color(0xFF666666) + ), + secondary = WarningBorderSecondary( + default = Color(0xFF1A6352), + disabled = Color(0xFF333333) + ), + tertiary = WarningBorderTertiary( + default = Color(0xFF0A2821), + disabled = Color(0xFF333333) + ) + ) + ), + blackAndWhite = ActionBlackAndWhite( + text = BlackAndWhiteText( + default = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + icon = BlackAndWhiteIcon( + default = Color(0xFFFFFFFF), + disabled = Color(0xFF666666) + ), + border = BlackAndWhiteBorder( + default = Color(0xFFFFFFFF), + disabled = Color(0xFF666666), + blackOnColor = Color(0xFF000000), + whiteOnColor = Color(0xFFFFFFFF) + ) + ) + ), + illustration = Illustration( + danger = IllustrationDanger( + primary = Color(0xFFF63F3F), + secondary = Color(0xFF7B1F1F), + tertiary = Color(0xFF310D0D) + ), + success = IllustrationSuccess( + primary = Color(0xFF34C7A4), + secondary = Color(0xFF1A6352), + tertiary = Color(0xFF0A2821) + ), + warning = IllustrationWarning( + primary = Color(0xFFFECF5D), + secondary = Color(0xFF7F672E), + tertiary = Color(0xFF332913) + ), + neutral = IllustrationNeutral( + primary = Color(0xFFCCCCCC), + quaternary = Color(0xFF333333), + quinary = Color(0xFF1A1A1A), + tertiary = Color(0xFF666666), + secondary = Color(0xFF999999) + ), + brand = IllustrationBrand( + primary = Color(0xFFFF8200), + secondary = Color(0xFF804100), + tertiary = Color(0xFF190D00) + ), + blue = IllustrationBlue( + primary = Color(0xFF8BACFF), + secondary = Color(0xFFABCEFF), + tertiary = Color(0xFF1B2A41) + ), + blackAndWhite = IllustrationBlackAndWhite( + white = Color(0xFF000000), + black = Color(0xFFE5E5E5), + whiteOnColor = Color(0xFFFFFFFF), + blackOnColor = Color(0xFF000000) + ), + transparent = Transparent( + black = TransparentBlack( + primary = Color(0x80000000), + secondary = Color(0x4D000000), + tertiary = Color(0x1A000000) + ), + white = TransparentWhite( + primary = Color(0x80FFFFFF), + secondary = Color(0x4DFFFFFF), + tertiary = Color(0x1AFFFFFF) + ) + ) + ), + category = Category( + background = CategoryBackground( + subGhz = BackgroundSubGhz( + default = Color(0xFFA5F4BF), + disabled = Color(0xFF999999) + ), + rfid = BackgroundRfid( + default = Color(0xFFFFF493), + disabled = Color(0xFF999999) + ), + nfc = BackgroundNfc( + default = Color(0xFF98CEFF), + disabled = Color(0xFF999999) + ), + infrared = BackgroundInfrared( + default = Color(0xFFFF928B), + disabled = Color(0xFF999999) + ), + ibutton = BackgroundIbutton( + default = Color(0xFFE1BBA6), + disabled = Color(0xFF999999) + ), + badUsb = BackgroundBadUsb( + default = Color(0xFFFFBEE9), + disabled = Color(0xFF999999) + ), + gpio = BackgroundGpio( + default = Color(0xFFA7F2EA), + disabled = Color(0xFF999999) + ), + games = BackgroundGames( + default = Color(0xFFFFBF7C), + disabled = Color(0xFF999999) + ), + media = BackgroundMedia( + default = Color(0xFFDFB5FF), + disabled = Color(0xFF999999) + ), + tools = BackgroundTools( + default = Color(0xFFDFF159), + disabled = Color(0xFF999999) + ), + bluetooth = BackgroundBluetooth( + default = Color(0xFF8BACFF), + disabled = Color(0xFF999999) + ) + ), + icon = CategoryIcon( + subGhz = IconSubGhz( + default = Color(0xFF000000) + ), + rfid = IconRfid( + default = Color(0xFF000000) + ), + nfc = IconNfc( + default = Color(0xFF000000) + ), + infrared = IconInfrared( + default = Color(0xFF000000) + ), + ibutton = IconIbutton( + default = Color(0xFF000000) + ), + badUsb = IconBadUsb( + default = Color(0xFF000000) + ), + gpio = IconGpio( + default = Color(0xFF000000) + ), + games = IconGames( + default = Color(0xFF000000) + ), + media = IconMedia( + default = Color(0xFF000000) + ), + tools = IconTools( + default = Color(0xFF000000) + ), + bluetooth = IconBluetooth( + default = Color(0xFF000000) + ) + ), + text = CategoryText( + subGhz = TextSubGhz( + default = Color(0xFF000000) + ), + rfid = TextRfid( + default = Color(0xFF000000) + ), + nfc = TextNfc( + default = Color(0xFF000000) + ), + infrared = TextInfrared( + default = Color(0xFF000000) + ), + ibutton = TextIbutton( + default = Color(0xFF000000) + ), + badUsb = TextBadUsb( + default = Color(0xFF000000) + ), + gpio = TextGpio( + default = Color(0xFF000000) + ), + games = TextGames( + default = Color(0xFF000000) + ), + media = TextMedia( + default = Color(0xFF000000) + ), + tools = TextTools( + default = Color(0xFF000000) + ), + bluetooth = TextBluetooth( + default = Color(0xFF000000) + ) + ) + ), + icon = FlipperPalletV2Icon( + neutral = IconNeutral( + primary = IconNeutralPrimary( + default = Color(0xFFCCCCCC), + transparent = Color(0x80FFFFFF) + ), + secondary = IconNeutralSecondary( + default = Color(0xFF999999), + transparent = Color(0x4DFFFFFF) + ), + tertiary = IconNeutralTertiary( + default = Color(0xFF666666), + transparent = Color(0x1AFFFFFF) + ), + quaternary = Quaternary( + default = Color(0xFF333333) + ), + quinary = Quinary( + default = Color(0xFF1A1A1A) + ) + ), + onColor = OnColor( + white = OnColorWhite( + default = Color(0xFFFFFFFF), + transparent = Color(0x80FFFFFF) + ), + black = OnColorBlack( + default = Color(0xFF000000), + transparent = Color(0x80000000) + ) + ), + success = IconSuccess( + primary = Color(0xFF34C7A4), + secondary = Color(0xFF1A6352), + tertiary = Color(0xFF0A2821) + ), + warning = IconWarning( + primary = Color(0xFFFECF5D), + secondary = Color(0xFF7F672E), + tertiary = Color(0xFF332913) + ), + danger = IconDanger( + primary = Color(0xFFF63F3F), + secondary = Color(0xFF7B1F1F), + tertiary = Color(0xFF310D0D) + ), + blackAndWhite = IconBlackAndWhite( + default = Color(0xFFE5E5E5), + transparent = Color(0x80FFFFFF), + blackOnColor = Color(0xFF000000), + whiteOnColor = Color(0xFFFFFFFF) + ), + brand = IconBrand( + primary = Color(0xFFFF8200), + secondary = Color(0xFF804100), + tertiary = Color(0xFF492502) + ), + blue = IconBlue( + primary = Color(0xFF589DFF), + secondary = Color(0xFF2C4E80), + tertiary = Color(0xFF1B2A41) + ) + ) +) diff --git a/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/FlipperPalletV2.kt b/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/FlipperPalletV2.kt new file mode 100644 index 0000000000..651ef295fc --- /dev/null +++ b/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/FlipperPalletV2.kt @@ -0,0 +1,1180 @@ +package com.flipperdevices.core.ui.theme.composable.pallet.generated + +import androidx.compose.ui.graphics.Color + +/** + * Autogenerated code from https://github.com/LionZXY/FlipperPalletGenerator/ + */ +data class FlipperPalletV2( + val text: Text, + val surface: Surface, + val action: Action, + val illustration: Illustration, + val category: Category, + val icon: Icon, +) { + data class Text( + val title: Title, + val body: Body, + val label: Label, + val caption: Caption, + val semantic: Semantic, + val link: Link, + ) { + data class Title( + val primary: Color, + val secondary: Color, + val tertiary: Color, + val whiteOnColor: Color, + val blackOnColor: Color, + ) + + data class Body( + val primary: Color, + val secondary: Color, + val tertiary: Color, + val whiteOnColor: Color, + val blackOnColor: Color, + ) + + data class Label( + val primary: Color, + val secondary: Color, + val tertiary: Color, + val whiteOnColor: Color, + val blackOnColor: Color, + ) + + data class Caption( + val primary: Color, + val secondary: Color, + val tertiary: Color, + val whiteOnColor: Color, + val blackOnColor: Color, + ) + + data class Semantic( + val success: Color, + val warning: Color, + val danger: Color, + ) + + data class Link( + val default: Color, + val disabled: Color, + ) + } + + data class Surface( + val fade: Fade, + val backgroundMain: BackgroundMain, + val navBar: NavBar, + val menu: Menu, + val contentCard: ContentCard, + val bottomBar: BottomBar, + val sheet: Sheet, + val dialog: Dialog, + val popUp: PopUp, + val searchBar: SearchBar, + val border: Border, + ) { + data class Fade( + val transparentBlack: TransparentBlack, + val transparentWhite: TransparentWhite, + ) { + data class TransparentBlack( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + + data class TransparentWhite( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + } + + data class BackgroundMain( + val body: Color, + val separator: Color, + ) + + data class NavBar( + val body: Body, + ) { + data class Body( + val main: Color, + val accentBrand: Color, + ) + } + + data class Menu( + val body: Body, + val separator: Separator, + ) { + data class Body( + val dufault: Color, + ) + + data class Separator( + val default: Color, + ) + } + + data class ContentCard( + val body: Body, + val textField: TextField, + val separator: Separator, + ) { + data class Body( + val default: Color, + ) + + data class TextField( + val default: Color, + val danger: Color, + val onColor: Color, + val selected: Color, + ) + + data class Separator( + val default: Color, + ) + } + + data class BottomBar( + val body: Color, + val tabSelected: Color, + val separator: Color, + ) + + data class Sheet( + val body: Body, + val separator: Separator, + ) { + data class Body( + val default: Color, + ) + + data class Separator( + val default: Color, + ) + } + + data class Dialog( + val body: Body, + val illustrationField: IllustrationField, + val separator: Separator, + ) { + data class Body( + val default: Color, + ) + + data class IllustrationField( + val default: Color, + ) + + data class Separator( + val default: Color, + ) + } + + data class PopUp( + val body: Body, + ) { + data class Body( + val default: Color, + ) + } + + data class SearchBar( + val body: Body, + val searchField: SearchField, + ) { + data class Body( + val default: Color, + ) + + data class SearchField( + val default: Color, + ) + } + + data class Border( + val default: Default, + val accentBrand: AccentBrand, + ) { + data class Default( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + + data class AccentBrand( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + } + } + + data class Action( + val brunchRelease: BrunchRelease, + val fwInstall: FwInstall, + val blue: Blue, + val neutral: Neutral, + val brand: Brand, + val fwUpdate: FwUpdate, + val brunchRc: BrunchRc, + val brunchDev: BrunchDev, + val brunchCustom: BrunchCustom, + val danger: Danger, + val success: Success, + val warning: Warning, + val blackAndWhite: BlackAndWhite, + ) { + data class BrunchRelease( + val text: Text, + ) { + data class Text( + val default: Color, + val disabled: Color, + ) + } + + data class FwInstall( + val background: Background, + val text: Text, + val icon: Icon, + val border: Border, + ) { + data class Background( + val primary: Primary, + val secondary: Secondary, + val tertiary: Tertiary, + ) { + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + + data class Tertiary( + val default: Color, + val disabled: Color, + ) + } + + data class Text( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + + data class Icon( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + + data class Border( + val primary: Primary, + val color: Color, + val secondary: Secondary, + val tertiary: Tertiary, + ) { + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + + data class Tertiary( + val default: Color, + val disabled: Color, + ) + } + } + + data class Blue( + val background: Background, + val text: Text, + val icon: Icon, + val border: Border, + ) { + data class Background( + val primary: Primary, + val tertiary: Tertiary, + val secondary: Secondary, + ) { + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Tertiary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + } + + data class Text( + val onColor: Color, + val default: Color, + val disabled: Color, + ) + + data class Icon( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + + data class Border( + val tertiary: Tertiary, + val primary: Primary, + val secondary: Secondary, + ) { + data class Tertiary( + val disabled: Color, + val default: Color, + ) + + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + } + } + + data class Neutral( + val text: Text, + val icon: Icon, + val background: Background, + val border: Border, + ) { + data class Text( + val primary: Primary, + val secondary: Secondary, + val tertiary: Tertiary, + ) { + data class Primary( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + + data class Secondary( + val onColor: Color, + val disabled: Color, + val default: Color, + ) + + data class Tertiary( + val default: Color, + val disabled: Color, + val onColor: Color, + ) + } + + data class Icon( + val primary: Primary, + val secondary: Secondary, + val tertiary: Tertiary, + ) { + data class Primary( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + + data class Secondary( + val onColor: Color, + val disabled: Color, + val default: Color, + ) + + data class Tertiary( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + } + + data class Background( + val primary: Primary, + val secondary: Secondary, + val tertiary: Tertiary, + ) { + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + + data class Tertiary( + val default: Color, + val disabled: Color, + ) + } + + data class Border( + val primary: Primary, + val tertiary: Tertiary, + val secondary: Secondary, + ) { + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Tertiary( + val default: Color, + val tertiary: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + } + } + + data class Brand( + val background: Background, + val text: Text, + val border: Border, + val icon: Icon, + ) { + data class Background( + val primary: Primary, + val secondary: Secondary, + val tertiary: Tertiary, + ) { + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + + data class Tertiary( + val default: Color, + val disabled: Color, + ) + } + + data class Text( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + + data class Border( + val primary: Primary, + val secondary: Secondary, + val tertiary: Tertiary, + ) { + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + + data class Tertiary( + val default: Color, + val tertiary: Color, + ) + } + + data class Icon( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + } + + data class FwUpdate( + val background: Background, + val text: Text, + val icon: Icon, + val border: Border, + ) { + data class Background( + val primary: Primary, + val secondary: Secondary, + val tertiary: Tertiary, + val onColor: Color, + ) { + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + + data class Tertiary( + val default: Color, + val disabled: Color, + ) + } + + data class Text( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + + data class Icon( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + + data class Border( + val primary: Primary, + val secondary: Secondary, + val tertiary: Tertiary, + ) { + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + + data class Tertiary( + val default: Color, + val disabled: Color, + ) + } + } + + data class BrunchRc( + val text: Text, + ) { + data class Text( + val default: Color, + val disabled: Color, + ) + } + + data class BrunchDev( + val text: Text, + ) { + data class Text( + val default: Color, + val disabled: Color, + ) + } + + data class BrunchCustom( + val text: Text, + ) { + data class Text( + val default: Color, + val disabled: Color, + ) + } + + data class Danger( + val text: Text, + val icon: Icon, + val border: Border, + val background: Background, + ) { + data class Text( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + + data class Icon( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + + data class Border( + val primary: Primary, + val secondary: Secondary, + val tertiary: Tertiary, + ) { + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + + data class Tertiary( + val default: Color, + val disabled: Color, + ) + } + + data class Background( + val tertiary: Tertiary, + val primary: Primary, + val secondary: Secondary, + ) { + data class Tertiary( + val default: Color, + val disabled: Color, + ) + + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + } + } + + data class Success( + val background: Background, + val text: Text, + val icon: Icon, + val border: Border, + ) { + data class Background( + val primary: Primary, + val secondary: Secondary, + val tertiary: Tertiary, + ) { + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + + data class Tertiary( + val default: Color, + val disabled: Color, + ) + } + + data class Text( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + + data class Icon( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + + data class Border( + val primary: Primary, + val secondary: Secondary, + val tertiary: Tertiary, + ) { + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + + data class Tertiary( + val default: Color, + val disabled: Color, + ) + } + } + + data class Warning( + val background: Background, + val text: Text, + val icon: Icon, + val border: Border, + ) { + data class Background( + val primary: Primary, + val secondary: Secondary, + val tertiary: Tertiary, + ) { + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + + data class Tertiary( + val default: Color, + val disabled: Color, + ) + } + + data class Text( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + + data class Icon( + val default: Color, + val onColor: Color, + val disabled: Color, + ) + + data class Border( + val primary: Primary, + val secondary: Secondary, + val tertiary: Tertiary, + ) { + data class Primary( + val default: Color, + val disabled: Color, + ) + + data class Secondary( + val default: Color, + val disabled: Color, + ) + + data class Tertiary( + val default: Color, + val disabled: Color, + ) + } + } + + data class BlackAndWhite( + val text: Text, + val icon: Icon, + val border: Border, + ) { + data class Text( + val default: Color, + val disabled: Color, + ) + + data class Icon( + val default: Color, + val disabled: Color, + ) + + data class Border( + val default: Color, + val disabled: Color, + val blackOnColor: Color, + val whiteOnColor: Color, + ) + } + } + + data class Illustration( + val danger: Danger, + val success: Success, + val warning: Warning, + val neutral: Neutral, + val brand: Brand, + val blue: Blue, + val blackAndWhite: BlackAndWhite, + val transparent: Transparent, + ) { + data class Danger( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + + data class Success( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + + data class Warning( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + + data class Neutral( + val primary: Color, + val quaternary: Color, + val quinary: Color, + val tertiary: Color, + val secondary: Color, + ) + + data class Brand( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + + data class Blue( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + + data class BlackAndWhite( + val white: Color, + val black: Color, + val whiteOnColor: Color, + val blackOnColor: Color, + ) + + data class Transparent( + val black: Black, + val white: White, + ) { + data class Black( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + + data class White( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + } + } + + data class Category( + val background: Background, + val icon: Icon, + val text: Text, + ) { + data class Background( + val subGhz: SubGhz, + val rfid: Rfid, + val nfc: Nfc, + val infrared: Infrared, + val ibutton: Ibutton, + val badUsb: BadUsb, + val gpio: Gpio, + val games: Games, + val media: Media, + val tools: Tools, + val bluetooth: Bluetooth, + ) { + data class SubGhz( + val default: Color, + val disabled: Color, + ) + + data class Rfid( + val default: Color, + val disabled: Color, + ) + + data class Nfc( + val default: Color, + val disabled: Color, + ) + + data class Infrared( + val default: Color, + val disabled: Color, + ) + + data class Ibutton( + val default: Color, + val disabled: Color, + ) + + data class BadUsb( + val default: Color, + val disabled: Color, + ) + + data class Gpio( + val default: Color, + val disabled: Color, + ) + + data class Games( + val default: Color, + val disabled: Color, + ) + + data class Media( + val default: Color, + val disabled: Color, + ) + + data class Tools( + val default: Color, + val disabled: Color, + ) + + data class Bluetooth( + val default: Color, + val disabled: Color, + ) + } + + data class Icon( + val subGhz: SubGhz, + val rfid: Rfid, + val nfc: Nfc, + val infrared: Infrared, + val ibutton: Ibutton, + val badUsb: BadUsb, + val gpio: Gpio, + val games: Games, + val media: Media, + val tools: Tools, + val bluetooth: Bluetooth, + ) { + data class SubGhz( + val default: Color, + ) + + data class Rfid( + val default: Color, + ) + + data class Nfc( + val default: Color, + ) + + data class Infrared( + val default: Color, + ) + + data class Ibutton( + val default: Color, + ) + + data class BadUsb( + val default: Color, + ) + + data class Gpio( + val default: Color, + ) + + data class Games( + val default: Color, + ) + + data class Media( + val default: Color, + ) + + data class Tools( + val default: Color, + ) + + data class Bluetooth( + val default: Color, + ) + } + + data class Text( + val subGhz: SubGhz, + val rfid: Rfid, + val nfc: Nfc, + val infrared: Infrared, + val ibutton: Ibutton, + val badUsb: BadUsb, + val gpio: Gpio, + val games: Games, + val media: Media, + val tools: Tools, + val bluetooth: Bluetooth, + ) { + data class SubGhz( + val default: Color, + ) + + data class Rfid( + val default: Color, + ) + + data class Nfc( + val default: Color, + ) + + data class Infrared( + val default: Color, + ) + + data class Ibutton( + val default: Color, + ) + + data class BadUsb( + val default: Color, + ) + + data class Gpio( + val default: Color, + ) + + data class Games( + val default: Color, + ) + + data class Media( + val default: Color, + ) + + data class Tools( + val default: Color, + ) + + data class Bluetooth( + val default: Color, + ) + } + } + + data class Icon( + val neutral: Neutral, + val onColor: OnColor, + val success: Success, + val warning: Warning, + val danger: Danger, + val blackAndWhite: BlackAndWhite, + val brand: Brand, + val blue: Blue, + ) { + data class Neutral( + val primary: Primary, + val secondary: Secondary, + val tertiary: Tertiary, + val quaternary: Quaternary, + val quinary: Quinary, + ) { + data class Primary( + val default: Color, + val transparent: Color, + ) + + data class Secondary( + val default: Color, + val transparent: Color, + ) + + data class Tertiary( + val default: Color, + val transparent: Color, + ) + + data class Quaternary( + val default: Color, + ) + + data class Quinary( + val default: Color, + ) + } + + data class OnColor( + val white: White, + val black: Black, + ) { + data class White( + val default: Color, + val transparent: Color, + ) + + data class Black( + val default: Color, + val transparent: Color, + ) + } + + data class Success( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + + data class Warning( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + + data class Danger( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + + data class BlackAndWhite( + val default: Color, + val transparent: Color, + val blackOnColor: Color, + val whiteOnColor: Color, + ) + + data class Brand( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + + data class Blue( + val primary: Color, + val secondary: Color, + val tertiary: Color, + ) + } +} diff --git a/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/LightPallet.kt b/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/LightPallet.kt new file mode 100644 index 0000000000..75e519001d --- /dev/null +++ b/components/core/ui/theme/src/main/kotlin/com/flipperdevices/core/ui/theme/composable/pallet/generated/LightPallet.kt @@ -0,0 +1,974 @@ +package com.flipperdevices.core.ui.theme.composable.pallet.generated + +import androidx.compose.ui.graphics.Color +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchCustom +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchDev +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchRc +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchRelease +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Quaternary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Quinary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.OnColor +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Transparent +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.BackgroundMain +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Border.AccentBrand +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Border.Default +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.BottomBar +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.ContentCard +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.ContentCard.TextField +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Dialog +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Dialog.IllustrationField +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Fade +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Menu +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.NavBar +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.PopUp +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.SearchBar +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.SearchBar.SearchField +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Sheet +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Caption +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Label +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Link +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Semantic +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Title +import kotlin.Suppress +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BlackAndWhite as ActionBlackAndWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BlackAndWhite.Border as BlackAndWhiteBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BlackAndWhite.Icon as BlackAndWhiteIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BlackAndWhite.Text as BlackAndWhiteText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue as ActionBlue +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Background as BlueBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Background.Primary as BlueBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Background.Secondary as BlueBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Background.Tertiary as BlueBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Border as BlueBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Border.Primary as BlueBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Border.Secondary as BlueBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Border.Tertiary as BlueBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Icon as BlueIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Blue.Text as BlueText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand as ActionBrand +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Background as BrandBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Background.Primary as BrandBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Background.Secondary as BrandBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Background.Tertiary as BrandBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Border as BrandBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Border.Primary as BrandBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Border.Secondary as BrandBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Border.Tertiary as BrandBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Icon as BrandIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Brand.Text as BrandText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchCustom.Text as BrunchCustomText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchDev.Text as BrunchDevText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchRc.Text as BrunchRcText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.BrunchRelease.Text as BrunchReleaseText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger as ActionDanger +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Background as DangerBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Background.Primary as DangerBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Background.Secondary as DangerBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Background.Tertiary as DangerBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Border as DangerBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Border.Primary as DangerBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Border.Secondary as DangerBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Border.Tertiary as DangerBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Icon as DangerIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Danger.Text as DangerText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Background as FwInstallBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Background.Primary as FwInstallBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Background.Secondary as FwInstallBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Background.Tertiary as FwInstallBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Border as FwInstallBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Border.Primary as FwInstallBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Border.Secondary as FwInstallBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Border.Tertiary as FwInstallBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Icon as FwInstallIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwInstall.Text as FwInstallText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Background as FwUpdateBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Background.Primary as FwUpdateBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Background.Secondary as FwUpdateBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Background.Tertiary as FwUpdateBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Border as FwUpdateBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Border.Primary as FwUpdateBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Border.Secondary as FwUpdateBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Border.Tertiary as FwUpdateBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Icon as FwUpdateIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.FwUpdate.Text as FwUpdateText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral as ActionNeutral +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Background as NeutralBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Background.Primary as NeutralBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Background.Secondary as NeutralBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Background.Tertiary as NeutralBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Border as NeutralBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Border.Primary as NeutralBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Border.Secondary as NeutralBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Border.Tertiary as NeutralBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Icon as NeutralIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Icon.Primary as NeutralIconPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Icon.Secondary as NeutralIconSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Icon.Tertiary as NeutralIconTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Text as NeutralText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Text.Primary as NeutralTextPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Text.Secondary as NeutralTextSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Neutral.Text.Tertiary as NeutralTextTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success as ActionSuccess +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Background as SuccessBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Background.Primary as SuccessBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Background.Secondary as SuccessBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Background.Tertiary as SuccessBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Border as SuccessBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Border.Primary as SuccessBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Border.Secondary as SuccessBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Border.Tertiary as SuccessBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Icon as SuccessIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Success.Text as SuccessText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning as ActionWarning +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Background as WarningBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Background.Primary as WarningBackgroundPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Background.Secondary as WarningBackgroundSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Background.Tertiary as WarningBackgroundTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Border as WarningBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Border.Primary as WarningBorderPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Border.Secondary as WarningBorderSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Border.Tertiary as WarningBorderTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Icon as WarningIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Action.Warning.Text as WarningText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background as CategoryBackground +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.BadUsb as BackgroundBadUsb +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Bluetooth as BackgroundBluetooth +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Games as BackgroundGames +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Gpio as BackgroundGpio +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Ibutton as BackgroundIbutton +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Infrared as BackgroundInfrared +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Media as BackgroundMedia +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Nfc as BackgroundNfc +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Rfid as BackgroundRfid +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.SubGhz as BackgroundSubGhz +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Background.Tools as BackgroundTools +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon as CategoryIcon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.BadUsb as IconBadUsb +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Bluetooth as IconBluetooth +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Games as IconGames +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Gpio as IconGpio +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Ibutton as IconIbutton +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Infrared as IconInfrared +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Media as IconMedia +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Nfc as IconNfc +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Rfid as IconRfid +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.SubGhz as IconSubGhz +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Icon.Tools as IconTools +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text as CategoryText +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.BadUsb as TextBadUsb +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Bluetooth as TextBluetooth +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Games as TextGames +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Gpio as TextGpio +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Ibutton as TextIbutton +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Infrared as TextInfrared +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Media as TextMedia +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Nfc as TextNfc +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Rfid as TextRfid +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.SubGhz as TextSubGhz +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Category.Text.Tools as TextTools +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon as FlipperPalletV2Icon +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.BlackAndWhite as IconBlackAndWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Blue as IconBlue +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Brand as IconBrand +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Danger as IconDanger +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral as IconNeutral +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Primary as IconNeutralPrimary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Secondary as IconNeutralSecondary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Neutral.Tertiary as IconNeutralTertiary +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.OnColor.Black as OnColorBlack +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.OnColor.White as OnColorWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Success as IconSuccess +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Icon.Warning as IconWarning +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.BlackAndWhite as IllustrationBlackAndWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Blue as IllustrationBlue +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Brand as IllustrationBrand +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Danger as IllustrationDanger +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Neutral as IllustrationNeutral +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Success as IllustrationSuccess +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Transparent.Black as TransparentBlack +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Transparent.White as TransparentWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Illustration.Warning as IllustrationWarning +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Border as SurfaceBorder +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.ContentCard.Body as ContentCardBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.ContentCard.Separator as ContentCardSeparator +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Dialog.Body as DialogBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Dialog.Separator as DialogSeparator +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Fade.TransparentBlack as FadeTransparentBlack +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Fade.TransparentWhite as FadeTransparentWhite +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Menu.Body as MenuBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Menu.Separator as MenuSeparator +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.NavBar.Body as NavBarBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.PopUp.Body as PopUpBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.SearchBar.Body as SearchBarBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Sheet.Body as SheetBody +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Surface.Sheet.Separator as SheetSeparator +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text as FlipperPalletV2Text +import com.flipperdevices.core.ui.theme.composable.pallet.generated.FlipperPalletV2.Text.Body as TextBody + +/** + * Autogenerated code from https://github.com/LionZXY/FlipperPalletGenerator/ + */ +@Suppress("MagicNumber", "LongMethod") +internal fun getLightPallet(): FlipperPalletV2 = FlipperPalletV2( + text = FlipperPalletV2Text( + title = Title( + primary = Color(0xFF000000), + secondary = Color(0xFF999999), + tertiary = Color(0xFFCCCCCC), + whiteOnColor = Color(0xFFFFFFFF), + blackOnColor = Color(0xFF000000) + ), + body = TextBody( + primary = Color(0xFF000000), + secondary = Color(0xFF999999), + tertiary = Color(0xFFCCCCCC), + whiteOnColor = Color(0xFFFFFFFF), + blackOnColor = Color(0xFF000000) + ), + label = Label( + primary = Color(0xFF000000), + secondary = Color(0xFF999999), + tertiary = Color(0xFFCCCCCC), + whiteOnColor = Color(0xFFFFFFFF), + blackOnColor = Color(0xFF000000) + ), + caption = Caption( + primary = Color(0xFF000000), + secondary = Color(0xFF999999), + tertiary = Color(0xFFCCCCCC), + whiteOnColor = Color(0xFFFFFFFF), + blackOnColor = Color(0xFF000000) + ), + semantic = Semantic( + success = Color(0xFF34C7A4), + warning = Color(0xFFFECF5D), + danger = Color(0xFFF63F3F) + ), + link = Link( + default = Color(0xFF589DFF), + disabled = Color(0xFFCCCCCC) + ) + ), + surface = Surface( + fade = Fade( + transparentBlack = FadeTransparentBlack( + primary = Color(0x80000000), + secondary = Color(0x4D000000), + tertiary = Color(0x1A000000) + ), + transparentWhite = FadeTransparentWhite( + primary = Color(0x80FFFFFF), + secondary = Color(0x4DFFFFFF), + tertiary = Color(0x1AFFFFFF) + ) + ), + backgroundMain = BackgroundMain( + body = Color(0xFFFBFBFB), + separator = Color(0xFFE5E5E5) + ), + navBar = NavBar( + body = NavBarBody( + main = Color(0xFFFBFBFB), + accentBrand = Color(0xFFFF8200) + ) + ), + menu = Menu( + body = MenuBody( + dufault = Color(0xFFFFFFFF) + ), + separator = MenuSeparator( + default = Color(0xFFE5E5E5) + ) + ), + contentCard = ContentCard( + body = ContentCardBody( + default = Color(0xFFFFFFFF) + ), + textField = TextField( + default = Color(0xFFCCCCCC), + danger = Color(0xFFF63F3F), + onColor = Color(0xFFFFFFFF), + selected = Color(0xFF589DFF) + ), + separator = ContentCardSeparator( + default = Color(0xFFE5E5E5) + ) + ), + bottomBar = BottomBar( + body = Color(0xFFFFFFFF), + tabSelected = Color(0xFFE5E5E5), + separator = Color(0xFFE5E5E5) + ), + sheet = Sheet( + body = SheetBody( + default = Color(0xFFFFFFFF) + ), + separator = SheetSeparator( + default = Color(0xFFE5E5E5) + ) + ), + dialog = Dialog( + body = DialogBody( + default = Color(0xFFFFFFFF) + ), + illustrationField = IllustrationField( + default = Color(0xFFF2F2F2) + ), + separator = DialogSeparator( + default = Color(0xFFE5E5E5) + ) + ), + popUp = PopUp( + body = PopUpBody( + default = Color(0xFFF2F2F2) + ) + ), + searchBar = SearchBar( + body = SearchBarBody( + default = Color(0xFFFBFBFB) + ), + searchField = SearchField( + default = Color(0xFFCCCCCC) + ) + ), + border = SurfaceBorder( + default = Default( + primary = Color(0xFF000000), + secondary = Color(0xFFCCCCCC), + tertiary = Color(0xFFF2F2F2) + ), + accentBrand = AccentBrand( + primary = Color(0xFFFF8200), + secondary = Color(0xFFFFC080), + tertiary = Color(0xFFFFE6CC) + ) + ) + ), + action = Action( + brunchRelease = BrunchRelease( + text = BrunchReleaseText( + default = Color(0xFF2ED832), + disabled = Color(0xFFCCCCCC) + ) + ), + fwInstall = FwInstall( + background = FwInstallBackground( + primary = FwInstallBackgroundPrimary( + default = Color(0xFFFF8200), + disabled = Color(0xFFCCCCCC) + ), + secondary = FwInstallBackgroundSecondary( + default = Color(0xFFFFC080), + disabled = Color(0xFFE5E5E5) + ), + tertiary = FwInstallBackgroundTertiary( + default = Color(0xFFFFF3E5), + disabled = Color(0xFFE5E5E5) + ) + ), + text = FwInstallText( + default = Color(0xFFFF8200), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ), + icon = FwInstallIcon( + default = Color(0xFFFF8200), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ), + border = FwInstallBorder( + primary = FwInstallBorderPrimary( + default = Color(0xFFFF8200), + disabled = Color(0xFFCCCCCC) + ), + color = Color(0xFFFFFFFF), + secondary = FwInstallBorderSecondary( + default = Color(0xFFFFC080), + disabled = Color(0xFFE5E5E5) + ), + tertiary = FwInstallBorderTertiary( + default = Color(0xFFFFF3E5), + disabled = Color(0xFFE5E5E5) + ) + ) + ), + blue = ActionBlue( + background = BlueBackground( + primary = BlueBackgroundPrimary( + default = Color(0xFF589DFF), + disabled = Color(0xFFCCCCCC) + ), + tertiary = BlueBackgroundTertiary( + default = Color(0xFFDEEBFF), + disabled = Color(0xFFE5E5E5) + ), + secondary = BlueBackgroundSecondary( + default = Color(0xFFABCEFF), + disabled = Color(0xFFE5E5E5) + ) + ), + text = BlueText( + onColor = Color(0xFFFFFFFF), + default = Color(0xFF589DFF), + disabled = Color(0xFFCCCCCC) + ), + icon = BlueIcon( + default = Color(0xFF589DFF), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ), + border = BlueBorder( + tertiary = BlueBorderTertiary( + disabled = Color(0xFFE5E5E5), + default = Color(0xFFDEEBFF) + ), + primary = BlueBorderPrimary( + default = Color(0xFF589DFF), + disabled = Color(0xFFCCCCCC) + ), + secondary = BlueBorderSecondary( + default = Color(0xFFABCEFF), + disabled = Color(0xFFCCCCCC) + ) + ) + ), + neutral = ActionNeutral( + text = NeutralText( + primary = NeutralTextPrimary( + default = Color(0xFF000000), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ), + secondary = NeutralTextSecondary( + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC), + default = Color(0xFF999999) + ), + tertiary = NeutralTextTertiary( + default = Color(0xFFCCCCCC), + disabled = Color(0xFFE5E5E5), + onColor = Color(0xFFFFFFFF) + ) + ), + icon = NeutralIcon( + primary = NeutralIconPrimary( + default = Color(0xFF000000), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ), + secondary = NeutralIconSecondary( + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC), + default = Color(0xFF999999) + ), + tertiary = NeutralIconTertiary( + default = Color(0xFFCCCCCC), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFE5E5E5) + ) + ), + background = NeutralBackground( + primary = NeutralBackgroundPrimary( + default = Color(0xFF000000), + disabled = Color(0xFFCCCCCC) + ), + secondary = NeutralBackgroundSecondary( + default = Color(0xFF999999), + disabled = Color(0xFFE5E5E5) + ), + tertiary = NeutralBackgroundTertiary( + default = Color(0xFFF2F2F2), + disabled = Color(0xFFE5E5E5) + ) + ), + border = NeutralBorder( + primary = NeutralBorderPrimary( + default = Color(0xFF333333), + disabled = Color(0xFFCCCCCC) + ), + tertiary = NeutralBorderTertiary( + default = Color(0xFFE5E5E5), + tertiary = Color(0xFFE5E5E5) + ), + secondary = NeutralBorderSecondary( + default = Color(0xFF999999), + disabled = Color(0xFFE5E5E5) + ) + ) + ), + brand = ActionBrand( + background = BrandBackground( + primary = BrandBackgroundPrimary( + default = Color(0xFFFF8200), + disabled = Color(0xFFCCCCCC) + ), + secondary = BrandBackgroundSecondary( + default = Color(0xFFFFC080), + disabled = Color(0xFFE5E5E5) + ), + tertiary = BrandBackgroundTertiary( + default = Color(0xFFFFE6CC), + disabled = Color(0xFFE5E5E5) + ) + ), + text = BrandText( + default = Color(0xFFFF8200), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ), + border = BrandBorder( + primary = BrandBorderPrimary( + default = Color(0xFFFF8200), + disabled = Color(0xFFCCCCCC) + ), + secondary = BrandBorderSecondary( + default = Color(0xFFFFC080), + disabled = Color(0xFFE5E5E5) + ), + tertiary = BrandBorderTertiary( + default = Color(0xFFFFE6CC), + tertiary = Color(0xFFE5E5E5) + ) + ), + icon = BrandIcon( + default = Color(0xFFFF8200), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ) + ), + fwUpdate = FwUpdate( + background = FwUpdateBackground( + primary = FwUpdateBackgroundPrimary( + default = Color(0xFF2ED832), + disabled = Color(0xFFCCCCCC) + ), + secondary = FwUpdateBackgroundSecondary( + default = Color(0xFF97EB98), + disabled = Color(0xFFE5E5E5) + ), + tertiary = FwUpdateBackgroundTertiary( + default = Color(0xFFEAFBEB), + disabled = Color(0xFFE5E5E5) + ), + onColor = Color(0xFFFFFFFF) + ), + text = FwUpdateText( + default = Color(0xFF2ED832), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ), + icon = FwUpdateIcon( + default = Color(0xFF2ED832), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ), + border = FwUpdateBorder( + primary = FwUpdateBorderPrimary( + default = Color(0xFF2ED832), + disabled = Color(0xFFCCCCCC) + ), + secondary = FwUpdateBorderSecondary( + default = Color(0xFF97EB98), + disabled = Color(0xFFE5E5E5) + ), + tertiary = FwUpdateBorderTertiary( + default = Color(0xFFEAFBEB), + disabled = Color(0xFFE5E5E5) + ) + ) + ), + brunchRc = BrunchRc( + text = BrunchRcText( + default = Color(0xFF8A2BE2), + disabled = Color(0xFFCCCCCC) + ) + ), + brunchDev = BrunchDev( + text = BrunchDevText( + default = Color(0xFFFF3C00), + disabled = Color(0xFFCCCCCC) + ) + ), + brunchCustom = BrunchCustom( + text = BrunchCustomText( + default = Color(0xFF999999), + disabled = Color(0xFFCCCCCC) + ) + ), + danger = ActionDanger( + text = DangerText( + default = Color(0xFFF63F3F), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ), + icon = DangerIcon( + default = Color(0xFFF63F3F), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ), + border = DangerBorder( + primary = DangerBorderPrimary( + default = Color(0xFFF63F3F), + disabled = Color(0xFFCCCCCC) + ), + secondary = DangerBorderSecondary( + default = Color(0xFFFB9F9F), + disabled = Color(0xFFE5E5E5) + ), + tertiary = DangerBorderTertiary( + default = Color(0xFFFEECEC), + disabled = Color(0xFFE5E5E5) + ) + ), + background = DangerBackground( + tertiary = DangerBackgroundTertiary( + default = Color(0xFFFEECEC), + disabled = Color(0xFFE5E5E5) + ), + primary = DangerBackgroundPrimary( + default = Color(0xFFF63F3F), + disabled = Color(0xFFCCCCCC) + ), + secondary = DangerBackgroundSecondary( + default = Color(0xFFFB9F9F), + disabled = Color(0xFFE5E5E5) + ) + ) + ), + success = ActionSuccess( + background = SuccessBackground( + primary = SuccessBackgroundPrimary( + default = Color(0xFF34C7A4), + disabled = Color(0xFFCCCCCC) + ), + secondary = SuccessBackgroundSecondary( + default = Color(0xFF99E3D1), + disabled = Color(0xFFE5E5E5) + ), + tertiary = SuccessBackgroundTertiary( + default = Color(0xFFEBF9F6), + disabled = Color(0xFFE5E5E5) + ) + ), + text = SuccessText( + default = Color(0xFF34C7A4), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ), + icon = SuccessIcon( + default = Color(0xFF34C7A4), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ), + border = SuccessBorder( + primary = SuccessBorderPrimary( + default = Color(0xFF34C7A4), + disabled = Color(0xFFCCCCCC) + ), + secondary = SuccessBorderSecondary( + default = Color(0xFF99E3D1), + disabled = Color(0xFFE5E5E5) + ), + tertiary = SuccessBorderTertiary( + default = Color(0xFFEBF9F6), + disabled = Color(0xFFE5E5E5) + ) + ) + ), + warning = ActionWarning( + background = WarningBackground( + primary = WarningBackgroundPrimary( + default = Color(0xFFFECF5D), + disabled = Color(0xFFCCCCCC) + ), + secondary = WarningBackgroundSecondary( + default = Color(0xFFFFE7AE), + disabled = Color(0xFFE5E5E5) + ), + tertiary = WarningBackgroundTertiary( + default = Color(0xFFFFFAEF), + disabled = Color(0xFFE5E5E5) + ) + ), + text = WarningText( + default = Color(0xFFFECF5D), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ), + icon = WarningIcon( + default = Color(0xFFFECF5D), + onColor = Color(0xFFFFFFFF), + disabled = Color(0xFFCCCCCC) + ), + border = WarningBorder( + primary = WarningBorderPrimary( + default = Color(0xFF34C7A4), + disabled = Color(0xFFCCCCCC) + ), + secondary = WarningBorderSecondary( + default = Color(0xFF99E3D1), + disabled = Color(0xFFE5E5E5) + ), + tertiary = WarningBorderTertiary( + default = Color(0xFFEBF9F6), + disabled = Color(0xFFE5E5E5) + ) + ) + ), + blackAndWhite = ActionBlackAndWhite( + text = BlackAndWhiteText( + default = Color(0xFF000000), + disabled = Color(0xFFCCCCCC) + ), + icon = BlackAndWhiteIcon( + default = Color(0xFF000000), + disabled = Color(0xFFCCCCCC) + ), + border = BlackAndWhiteBorder( + default = Color(0xFF000000), + disabled = Color(0xFFCCCCCC), + blackOnColor = Color(0xFF000000), + whiteOnColor = Color(0xFFFFFFFF) + ) + ) + ), + illustration = Illustration( + danger = IllustrationDanger( + primary = Color(0xFFF63F3F), + secondary = Color(0xFFFB9F9F), + tertiary = Color(0xFFFEECEC) + ), + success = IllustrationSuccess( + primary = Color(0xFF34C7A4), + secondary = Color(0xFF99E3D1), + tertiary = Color(0xFFEBF9F6) + ), + warning = IllustrationWarning( + primary = Color(0xFFFECF5D), + secondary = Color(0xFFFFE7AE), + tertiary = Color(0xFFFFFAEF) + ), + neutral = IllustrationNeutral( + primary = Color(0xFF333333), + quaternary = Color(0xFFCCCCCC), + quinary = Color(0xFFE5E5E5), + tertiary = Color(0xFF999999), + secondary = Color(0xFF666666) + ), + brand = IllustrationBrand( + primary = Color(0xFFFF8200), + secondary = Color(0xFFFFC080), + tertiary = Color(0xFFFFF3E5) + ), + blue = IllustrationBlue( + primary = Color(0xFF589DFF), + secondary = Color(0xFFABCEFF), + tertiary = Color(0xFFEEF5FF) + ), + blackAndWhite = IllustrationBlackAndWhite( + white = Color(0xFFFFFFFF), + black = Color(0xFF000000), + whiteOnColor = Color(0xFFFFFFFF), + blackOnColor = Color(0xFF000000) + ), + transparent = Transparent( + black = TransparentBlack( + primary = Color(0x80000000), + secondary = Color(0x4D000000), + tertiary = Color(0x1A000000) + ), + white = TransparentWhite( + primary = Color(0x80FFFFFF), + secondary = Color(0x4DFFFFFF), + tertiary = Color(0x1AFFFFFF) + ) + ) + ), + category = Category( + background = CategoryBackground( + subGhz = BackgroundSubGhz( + default = Color(0xFFA5F4BF), + disabled = Color(0xFFCCCCCC) + ), + rfid = BackgroundRfid( + default = Color(0xFFFFF493), + disabled = Color(0xFFCCCCCC) + ), + nfc = BackgroundNfc( + default = Color(0xFF98CEFF), + disabled = Color(0xFFCCCCCC) + ), + infrared = BackgroundInfrared( + default = Color(0xFFFF928B), + disabled = Color(0xFFCCCCCC) + ), + ibutton = BackgroundIbutton( + default = Color(0xFFE1BBA6), + disabled = Color(0xFFCCCCCC) + ), + badUsb = BackgroundBadUsb( + default = Color(0xFFFFBEE9), + disabled = Color(0xFFCCCCCC) + ), + gpio = BackgroundGpio( + default = Color(0xFFA7F2EA), + disabled = Color(0xFFCCCCCC) + ), + games = BackgroundGames( + default = Color(0xFFFFBF7C), + disabled = Color(0xFFCCCCCC) + ), + media = BackgroundMedia( + default = Color(0xFFDFB5FF), + disabled = Color(0xFFCCCCCC) + ), + tools = BackgroundTools( + default = Color(0xFFDFF159), + disabled = Color(0xFFCCCCCC) + ), + bluetooth = BackgroundBluetooth( + default = Color(0xFF8BACFF), + disabled = Color(0xFFCCCCCC) + ) + ), + icon = CategoryIcon( + subGhz = IconSubGhz( + default = Color(0xFF000000) + ), + rfid = IconRfid( + default = Color(0xFF000000) + ), + nfc = IconNfc( + default = Color(0xFF000000) + ), + infrared = IconInfrared( + default = Color(0xFF000000) + ), + ibutton = IconIbutton( + default = Color(0xFF000000) + ), + badUsb = IconBadUsb( + default = Color(0xFF000000) + ), + gpio = IconGpio( + default = Color(0xFF000000) + ), + games = IconGames( + default = Color(0xFF000000) + ), + media = IconMedia( + default = Color(0xFF000000) + ), + tools = IconTools( + default = Color(0xFF000000) + ), + bluetooth = IconBluetooth( + default = Color(0xFF000000) + ) + ), + text = CategoryText( + subGhz = TextSubGhz( + default = Color(0xFF000000) + ), + rfid = TextRfid( + default = Color(0xFF000000) + ), + nfc = TextNfc( + default = Color(0xFF000000) + ), + infrared = TextInfrared( + default = Color(0xFF000000) + ), + ibutton = TextIbutton( + default = Color(0xFF000000) + ), + badUsb = TextBadUsb( + default = Color(0xFF000000) + ), + gpio = TextGpio( + default = Color(0xFF000000) + ), + games = TextGames( + default = Color(0xFF000000) + ), + media = TextMedia( + default = Color(0xFF000000) + ), + tools = TextTools( + default = Color(0xFF000000) + ), + bluetooth = TextBluetooth( + default = Color(0xFF000000) + ) + ) + ), + icon = FlipperPalletV2Icon( + neutral = IconNeutral( + primary = IconNeutralPrimary( + default = Color(0xFF333333), + transparent = Color(0x80000000) + ), + secondary = IconNeutralSecondary( + default = Color(0xFF666666), + transparent = Color(0x4D000000) + ), + tertiary = IconNeutralTertiary( + default = Color(0xFF999999), + transparent = Color(0x1A000000) + ), + quaternary = Quaternary( + default = Color(0xFFCCCCCC) + ), + quinary = Quinary( + default = Color(0xFFF2F2F2) + ) + ), + onColor = OnColor( + white = OnColorWhite( + default = Color(0xFFFFFFFF), + transparent = Color(0x80FFFFFF) + ), + black = OnColorBlack( + default = Color(0xFF000000), + transparent = Color(0x80000000) + ) + ), + success = IconSuccess( + primary = Color(0xFF34C7A4), + secondary = Color(0xFF99E3D1), + tertiary = Color(0xFFEBF9F6) + ), + warning = IconWarning( + primary = Color(0xFFFECF5D), + secondary = Color(0xFFFFE7AE), + tertiary = Color(0xFFFFFAEF) + ), + danger = IconDanger( + primary = Color(0xFFF63F3F), + secondary = Color(0xFFFB9F9F), + tertiary = Color(0xFFFEECEC) + ), + blackAndWhite = IconBlackAndWhite( + default = Color(0xFF000000), + transparent = Color(0x80000000), + blackOnColor = Color(0xFF000000), + whiteOnColor = Color(0xFFFFFFFF) + ), + brand = IconBrand( + primary = Color(0xFFFF8200), + secondary = Color(0xFFFFC080), + tertiary = Color(0xFFFFE6CC) + ), + blue = IconBlue( + primary = Color(0xFF589DFF), + secondary = Color(0xFFABCEFF), + tertiary = Color(0xFFDEEBFF) + ) + ) +) diff --git a/config/detekt/detekt.yml b/config/detekt/detekt.yml index 96b8396997..8e4212d866 100755 --- a/config/detekt/detekt.yml +++ b/config/detekt/detekt.yml @@ -735,7 +735,7 @@ Compose: active: true # You can optionally define a list of CompositionLocals that are allowed here # allowedCompositionLocals: LocalSomething,LocalSomethingElse - allowedCompositionLocals: LocalRootNavigation,LocalPlaceholderEnable,LocalPallet,LocalTypography,LocalDeeplinkHandler + allowedCompositionLocals: LocalRootNavigation,LocalPlaceholderEnable,LocalPallet,LocalPalletV2,LocalTypography,LocalDeeplinkHandler ContentEmitterReturningValues: active: true # You can optionally add your own composables here