From f463348fabe39b0851aac36816dbc8eba0e4c939 Mon Sep 17 00:00:00 2001 From: yceballost <6722153+yceballost@users.noreply.github.com> Date: Fri, 18 Oct 2024 13:00:06 +0000 Subject: [PATCH 1/2] feat(skin): update design tokens --- .../Colors/BlauColorPalette.swift | 278 ++++++++--------- .../Colors/ColorToolkit+Color.swift | 144 +-------- .../Colors/ColorToolkit+UIColor.swift | 144 +-------- .../MisticaCommon/Colors/MisticaColor.swift | 12 +- .../MisticaCommon/Colors/MisticaColors.swift | 12 +- .../Colors/MovistarColorPalette.swift | 278 ++++++++--------- .../MisticaCommon/Colors/O2ColorPalette.swift | 278 ++++++++--------- .../Colors/O2NewColorPalette.swift | 282 +++++++++--------- .../Colors/TelefonicaColorPalette.swift | 278 ++++++++--------- .../MisticaCommon/Colors/TuColorPalette.swift | 278 ++++++++--------- .../Colors/VivoColorPalette.swift | 278 ++++++++--------- .../Colors/VivoNewColorPalette.swift | 278 ++++++++--------- .../Fonts/Brands/BlauFontSizes.swift | 10 +- .../Fonts/Brands/BlauFontWeights.swift | 10 +- .../Fonts/Brands/MovistarFontSizes.swift | 10 +- .../Fonts/Brands/MovistarFontWeights.swift | 10 +- .../Fonts/Brands/O2FontSizes.swift | 10 +- .../Fonts/Brands/O2FontWeights.swift | 10 +- .../Fonts/Brands/O2NewFontSizes.swift | 10 +- .../Fonts/Brands/O2NewFontWeights.swift | 10 +- .../Fonts/Brands/TelefonicaFontSizes.swift | 10 +- .../Fonts/Brands/TelefonicaFontWeights.swift | 10 +- .../Fonts/Brands/TuFontSizes.swift | 10 +- .../Fonts/Brands/TuFontWeights.swift | 10 +- .../Fonts/Brands/VivoFontSizes.swift | 10 +- .../Fonts/Brands/VivoFontWeights.swift | 10 +- .../Fonts/Brands/VivoNewFontSizes.swift | 10 +- .../Fonts/Brands/VivoNewFontWeights.swift | 10 +- .../Fonts/MisticaFontSizes.swift | 10 +- .../Fonts/MisticaFontWeights.swift | 10 +- .../Radius/Brands/BlauCornerRadius.swift | 10 +- .../Radius/Brands/MovistarCornerRadius.swift | 10 +- .../Radius/Brands/O2CornerRadius.swift | 10 +- .../Radius/Brands/O2NewCornerRadius.swift | 10 +- .../Brands/TelefonicaCornerRadius.swift | 10 +- .../Radius/Brands/TuCornerRadius.swift | 10 +- .../Radius/Brands/VivoCornerRadius.swift | 10 +- .../Radius/Brands/VivoNewCornerRadius.swift | 10 +- .../Radius/MisticaCornerRadius.swift | 10 +- 39 files changed, 1223 insertions(+), 1587 deletions(-) diff --git a/Sources/MisticaCommon/Colors/BlauColorPalette.swift b/Sources/MisticaCommon/Colors/BlauColorPalette.swift index 8805a7dc0..aceedfa66 100644 --- a/Sources/MisticaCommon/Colors/BlauColorPalette.swift +++ b/Sources/MisticaCommon/Colors/BlauColorPalette.swift @@ -1,282 +1,282 @@ -// -// BlauColorPalette.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import UIKit struct BlauColors: MisticaColors { static let palette = BlauColorPalette() - let backgroundBrand = MisticaColor.solid(BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack) + let backgroundBrand = MisticaColor.solid(BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack) + + let backgroundBrandSecondary = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack - let backgroundBrandSecondary = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack + let appBarBackground = BlauColors.palette.white | BlauColors.palette.darkModeGrey - let appBarBackground = BlauColors.palette.white | BlauColors.palette.darkModeGrey + let background = BlauColors.palette.white | BlauColors.palette.darkModeBlack - let background = BlauColors.palette.white | BlauColors.palette.darkModeBlack + let backgroundContainer = BlauColors.palette.white | BlauColors.palette.darkModeGrey - let backgroundContainer = BlauColors.palette.white | BlauColors.palette.darkModeGrey + let backgroundContainerError = BlauColors.palette.blauRed10 | BlauColors.palette.darkModeGrey - let backgroundContainerError = BlauColors.palette.blauRed10 | BlauColors.palette.darkModeGrey + let backgroundContainerHover = BlauColors.palette.blauBluePrimary.withAlphaComponent(0.03) | BlauColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerHover = BlauColors.palette.blauBluePrimary.withAlphaComponent(0.03) | BlauColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerPressed = BlauColors.palette.blauBluePrimary.withAlphaComponent(0.05) | BlauColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerPressed = BlauColors.palette.blauBluePrimary.withAlphaComponent(0.05) | BlauColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrand = MisticaColor.solid(BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeGrey) - let backgroundContainerBrand = MisticaColor.solid(BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeGrey) + let backgroundContainerBrandHover = BlauColors.palette.darkModeBlack.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandHover = BlauColors.palette.darkModeBlack.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandPressed = BlauColors.palette.darkModeBlack.withAlphaComponent(0.4) | BlauColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandPressed = BlauColors.palette.darkModeBlack.withAlphaComponent(0.4) | BlauColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandOverInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.darkModeGrey - let backgroundContainerBrandOverInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.darkModeGrey + let backgroundContainerAlternative = BlauColors.palette.blauBluePrimary20 | BlauColors.palette.darkModeGrey - let backgroundContainerAlternative = BlauColors.palette.blauBluePrimary20 | BlauColors.palette.darkModeGrey + let backgroundOverlay = BlauColors.palette.blauBlueSecondary.withAlphaComponent(0.75) | BlauColors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundOverlay = BlauColors.palette.blauBlueSecondary.withAlphaComponent(0.75) | BlauColors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundSkeleton = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey - let backgroundSkeleton = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey + let backgroundSkeletonInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.darkModeGrey - let backgroundSkeletonInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.darkModeGrey + let navigationBarBackground = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack - let navigationBarBackground = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack + let backgroundAlternative = BlauColors.palette.blauBluePrimary20 | BlauColors.palette.darkModeBlack - let backgroundAlternative = BlauColors.palette.blauBluePrimary20 | BlauColors.palette.darkModeBlack + let backgroundBrandTop = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack - let backgroundBrandTop = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack + let backgroundBrandBottom = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack - let backgroundBrandBottom = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack + let skeletonWave = BlauColors.palette.grey2 | BlauColors.palette.grey5 - let skeletonWave = BlauColors.palette.grey2 | BlauColors.palette.grey5 + let borderLow = BlauColors.palette.grey1 | BlauColors.palette.darkModeBlack - let borderLow = BlauColors.palette.grey1 | BlauColors.palette.darkModeBlack + let border = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey - let border = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey + let borderHigh = BlauColors.palette.grey5 - let borderHigh = BlauColors.palette.grey5 + let borderSelected = BlauColors.palette.blauBlueSecondary60 - let borderSelected = BlauColors.palette.blauBlueSecondary60 + let coverBackgroundHover = BlauColors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundHover = BlauColors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundPressed = BlauColors.palette.darkModeBlack.withAlphaComponent(0.35) - let coverBackgroundPressed = BlauColors.palette.darkModeBlack.withAlphaComponent(0.35) + let buttonDangerBackground = BlauColors.palette.blauRed - let buttonDangerBackground = BlauColors.palette.blauRed + let buttonDangerBackgroundPressed = BlauColors.palette.blauRed70 - let buttonDangerBackgroundPressed = BlauColors.palette.blauRed70 + let buttonDangerBackgroundHover = BlauColors.palette.blauRed70 - let buttonDangerBackgroundHover = BlauColors.palette.blauRed70 + let buttonLinkDangerBackgroundPressed = BlauColors.palette.blauRed10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3) - let buttonLinkDangerBackgroundPressed = BlauColors.palette.blauRed10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3) + let buttonLinkDangerBackgroundInverse = BlauColors.palette.white | BlauColors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInverse = BlauColors.palette.white | BlauColors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInversePressed = BlauColors.palette.blauRed10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3) - let buttonLinkDangerBackgroundInversePressed = BlauColors.palette.blauRed10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3) + let buttonLinkBackgroundPressed = BlauColors.palette.blauPurple10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3) - let buttonLinkBackgroundPressed = BlauColors.palette.blauPurple10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3) + let buttonLinkBackgroundInversePressed = BlauColors.palette.white.withAlphaComponent(0.15) | BlauColors.palette.blauPurple.withAlphaComponent(0.3) - let buttonLinkBackgroundInversePressed = BlauColors.palette.white.withAlphaComponent(0.15) | BlauColors.palette.blauPurple.withAlphaComponent(0.3) + let buttonPrimaryBackground = BlauColors.palette.blauBlueSecondary - let buttonPrimaryBackground = BlauColors.palette.blauBlueSecondary + let buttonPrimaryBackgroundInverse = BlauColors.palette.white | BlauColors.palette.blauBluePrimary - let buttonPrimaryBackgroundInverse = BlauColors.palette.white | BlauColors.palette.blauBluePrimary + let buttonPrimaryBackgroundPressed = BlauColors.palette.blauBlueSecondary60 - let buttonPrimaryBackgroundPressed = BlauColors.palette.blauBlueSecondary60 + let buttonPrimaryBackgroundHover = BlauColors.palette.blauBlueSecondary60 - let buttonPrimaryBackgroundHover = BlauColors.palette.blauBlueSecondary60 + let buttonPrimaryBackgroundInversePressed = BlauColors.palette.blauBluePrimary30 | BlauColors.palette.blauBlueSecondary60 - let buttonPrimaryBackgroundInversePressed = BlauColors.palette.blauBluePrimary30 | BlauColors.palette.blauBlueSecondary60 + let buttonSecondaryBorder = BlauColors.palette.blauBlueSecondary | BlauColors.palette.white - let buttonSecondaryBorder = BlauColors.palette.blauBlueSecondary | BlauColors.palette.white + let buttonSecondaryBorderPressed = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.white - let buttonSecondaryBorderPressed = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.white + let buttonSecondaryBorderInverse = BlauColors.palette.white - let buttonSecondaryBorderInverse = BlauColors.palette.white + let buttonSecondaryBackgroundHover = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundHover = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBorderInversePressed = BlauColors.palette.white - let buttonSecondaryBorderInversePressed = BlauColors.palette.white + let buttonSecondaryBackgroundInverseHover = BlauColors.palette.white.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInverseHover = BlauColors.palette.white.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = BlauColors.palette.white.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = BlauColors.palette.white.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.15) + let textButtonPrimary = BlauColors.palette.white | BlauColors.palette.grey2 - let textButtonPrimary = BlauColors.palette.white | BlauColors.palette.grey2 + let textButtonPrimaryInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.grey2 - let textButtonPrimaryInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.grey2 + let textButtonPrimaryInversePressed = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.grey2 - let textButtonPrimaryInversePressed = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.grey2 + let textButtonSecondary = BlauColors.palette.blauBlueSecondary | BlauColors.palette.grey2 - let textButtonSecondary = BlauColors.palette.blauBlueSecondary | BlauColors.palette.grey2 + let textButtonSecondaryPressed = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.grey2 - let textButtonSecondaryPressed = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.grey2 + let textButtonSecondaryInverse = BlauColors.palette.white | BlauColors.palette.grey2 - let textButtonSecondaryInverse = BlauColors.palette.white | BlauColors.palette.grey2 + let textButtonSecondaryInversePressed = BlauColors.palette.white | BlauColors.palette.grey2 - let textButtonSecondaryInversePressed = BlauColors.palette.white | BlauColors.palette.grey2 + let textLink = BlauColors.palette.blauPurple | BlauColors.palette.blauPurple30 - let textLink = BlauColors.palette.blauPurple | BlauColors.palette.blauPurple30 + let textLinkInverse = BlauColors.palette.white | BlauColors.palette.blauPurple30 - let textLinkInverse = BlauColors.palette.white | BlauColors.palette.blauPurple30 + let textLinkDanger = BlauColors.palette.blauRed - let textLinkDanger = BlauColors.palette.blauRed + let textLinkSnackbar = BlauColors.palette.blauPurple30 - let textLinkSnackbar = BlauColors.palette.blauPurple30 + let textActivated = BlauColors.palette.blauBlueSecondary - let textActivated = BlauColors.palette.blauBlueSecondary + let textBrand = BlauColors.palette.blauBluePrimary - let textBrand = BlauColors.palette.blauBluePrimary + let control = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6 - let control = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6 + let controlActivated = BlauColors.palette.blauBlueSecondary - let controlActivated = BlauColors.palette.blauBlueSecondary + let controlInverse = BlauColors.palette.blauBluePrimary30 | BlauColors.palette.darkModeGrey6 - let controlInverse = BlauColors.palette.blauBluePrimary30 | BlauColors.palette.darkModeGrey6 + let controlActivatedInverse = BlauColors.palette.white | BlauColors.palette.blauBlueSecondary - let controlActivatedInverse = BlauColors.palette.white | BlauColors.palette.blauBlueSecondary + let controlError = BlauColors.palette.blauRed - let controlError = BlauColors.palette.blauRed + let barTrack = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6 - let barTrack = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6 + let barTrackInverse = BlauColors.palette.grey6.withAlphaComponent(0.2) | BlauColors.palette.darkModeGrey6 - let loadingBar = BlauColors.palette.blauBlueSecondary | BlauColors.palette.blauBluePrimary + let loadingBar = BlauColors.palette.blauBlueSecondary | BlauColors.palette.blauBluePrimary - let loadingBarBackground = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.darkModeGrey + let loadingBarBackground = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.darkModeGrey - let toggleAndroidInactive = BlauColors.palette.grey2 | BlauColors.palette.grey5 + let toggleAndroidInactive = BlauColors.palette.grey2 | BlauColors.palette.grey5 - let toggleAndroidBackgroundActive = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.blauBlueSecondary30 + let toggleAndroidBackgroundActive = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.blauBlueSecondary30 - let iosControlKnob = BlauColors.palette.white | BlauColors.palette.grey2 + let iosControlKnob = BlauColors.palette.white | BlauColors.palette.grey2 - let divider = BlauColors.palette.grey2 | BlauColors.palette.white.withAlphaComponent(0.05) + let controlKnobInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.grey2 - let dividerInverse = BlauColors.palette.white.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.05) + let divider = BlauColors.palette.grey2 | BlauColors.palette.white.withAlphaComponent(0.05) - let navigationBarDivider = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack + let dividerInverse = BlauColors.palette.white.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.05) - let badge = BlauColors.palette.blauRed + let navigationBarDivider = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack - let feedbackErrorBackground = BlauColors.palette.blauRed + let badge = BlauColors.palette.blauRed - let feedbackInfoBackground = BlauColors.palette.grey6 | BlauColors.palette.darkModeGrey + let feedbackErrorBackground = BlauColors.palette.blauRed - let brand = BlauColors.palette.blauBluePrimary + let feedbackInfoBackground = BlauColors.palette.grey6 | BlauColors.palette.darkModeGrey - let brandHigh = BlauColors.palette.blauBlueSecondary | BlauColors.palette.white.withAlphaComponent(0.05) + let brand = BlauColors.palette.blauBluePrimary - let inverse = BlauColors.palette.white | BlauColors.palette.grey2 + let brandHigh = BlauColors.palette.blauBlueSecondary | BlauColors.palette.white.withAlphaComponent(0.05) - let neutralHigh = BlauColors.palette.grey6 | BlauColors.palette.grey2 + let inverse = BlauColors.palette.white | BlauColors.palette.grey2 - let neutralMedium = BlauColors.palette.grey5 + let neutralHigh = BlauColors.palette.grey6 | BlauColors.palette.grey2 - let neutralMediumInverse = BlauColors.palette.grey5 + let neutralMedium = BlauColors.palette.grey5 - let neutralLow = BlauColors.palette.grey1 | BlauColors.palette.darkModeGrey6 + let neutralMediumInverse = BlauColors.palette.grey5 - let neutralLowAlternative = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6 + let neutralLow = BlauColors.palette.grey1 | BlauColors.palette.darkModeGrey6 - let textPrimary = BlauColors.palette.grey6 | BlauColors.palette.grey2 + let neutralLowAlternative = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6 - let textPrimaryInverse = BlauColors.palette.white | BlauColors.palette.grey2 + let textPrimary = BlauColors.palette.grey6 | BlauColors.palette.grey2 - let textSecondary = BlauColors.palette.grey5 | BlauColors.palette.grey4 + let textPrimaryInverse = BlauColors.palette.white | BlauColors.palette.grey2 - let textSecondaryInverse = BlauColors.palette.blauBluePrimary20 | BlauColors.palette.grey4 + let textSecondary = BlauColors.palette.grey5 | BlauColors.palette.grey4 - let error = BlauColors.palette.blauRed + let textSecondaryInverse = BlauColors.palette.blauBluePrimary20 | BlauColors.palette.grey4 - let textError = BlauColors.palette.blauRed + let error = BlauColors.palette.blauRed - let textErrorInverse = BlauColors.palette.white | BlauColors.palette.blauRed + let textError = BlauColors.palette.blauRed - let success = BlauColors.palette.blauGreen + let textErrorInverse = BlauColors.palette.white | BlauColors.palette.blauRed - let warning = BlauColors.palette.blauYellow + let success = BlauColors.palette.blauGreen - let promo = BlauColors.palette.blauPurple + let warning = BlauColors.palette.blauYellow - let highlight = BlauColors.palette.blauBluePrimary + let promo = BlauColors.palette.blauPurple - let successLow = BlauColors.palette.blauGreen10 | BlauColors.palette.darkModeGrey6 + let highlight = BlauColors.palette.blauBluePrimary - let warningLow = BlauColors.palette.blauYellow10 | BlauColors.palette.darkModeGrey6 + let successLow = BlauColors.palette.blauGreen10 | BlauColors.palette.darkModeGrey6 - let errorLow = BlauColors.palette.blauRed10 | BlauColors.palette.darkModeGrey6 + let warningLow = BlauColors.palette.blauYellow10 | BlauColors.palette.darkModeGrey6 - let promoLow = BlauColors.palette.blauPurple10 | BlauColors.palette.darkModeGrey6 + let errorLow = BlauColors.palette.blauRed10 | BlauColors.palette.darkModeGrey6 - let brandLow = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.darkModeGrey6 + let promoLow = BlauColors.palette.blauPurple10 | BlauColors.palette.darkModeGrey6 - let successHigh = BlauColors.palette.blauGreen70 | BlauColors.palette.blauGreen30 + let brandLow = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.darkModeGrey6 - let warningHigh = BlauColors.palette.blauYellow70 | BlauColors.palette.blauYellow40 + let successHigh = BlauColors.palette.blauGreen70 | BlauColors.palette.blauGreen30 - let errorHigh = BlauColors.palette.blauRed70 | BlauColors.palette.blauRed40 + let warningHigh = BlauColors.palette.blauYellow70 | BlauColors.palette.blauYellow40 - let promoHigh = BlauColors.palette.blauPurple | BlauColors.palette.blauPurple30 + let errorHigh = BlauColors.palette.blauRed70 | BlauColors.palette.blauRed40 - let successHighInverse = BlauColors.palette.blauGreen70 + let promoHigh = BlauColors.palette.blauPurple | BlauColors.palette.blauPurple30 - let warningHighInverse = BlauColors.palette.blauYellow70 + let successHighInverse = BlauColors.palette.blauGreen70 - let errorHighInverse = BlauColors.palette.blauRed70 + let warningHighInverse = BlauColors.palette.blauYellow70 - let promoHighInverse = BlauColors.palette.blauPurple + let errorHighInverse = BlauColors.palette.blauRed70 - let textNavigationBarPrimary = BlauColors.palette.white | BlauColors.palette.grey2 + let promoHighInverse = BlauColors.palette.blauPurple - let textNavigationBarSecondary = BlauColors.palette.blauBlueSecondary20 | BlauColors.palette.grey4 + let textNavigationBarPrimary = BlauColors.palette.white | BlauColors.palette.grey2 - let textNavigationSearchBarHint = BlauColors.palette.blauBlueSecondary20 | BlauColors.palette.grey4 + let textNavigationBarSecondary = BlauColors.palette.blauBlueSecondary20 | BlauColors.palette.grey4 - let textNavigationSearchBarText = BlauColors.palette.white | BlauColors.palette.grey2 + let textNavigationSearchBarHint = BlauColors.palette.blauBlueSecondary20 | BlauColors.palette.grey4 - let textAppBar = BlauColors.palette.grey5 + let textNavigationSearchBarText = BlauColors.palette.white | BlauColors.palette.grey2 - let textAppBarSelected = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.grey2 + let textAppBar = BlauColors.palette.grey5 - let customTabsBackground = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack + let textAppBarSelected = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.grey2 - let tagTextPromo = BlauColors.palette.blauPurple | BlauColors.palette.blauPurple30 + let customTabsBackground = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack - let tagTextActive = BlauColors.palette.blauBluePrimary + let tagTextPromo = BlauColors.palette.blauPurple | BlauColors.palette.blauPurple30 - let tagTextInactive = BlauColors.palette.grey5 + let tagTextActive = BlauColors.palette.blauBluePrimary - let tagTextSuccess = BlauColors.palette.blauGreen70 | BlauColors.palette.blauGreen30 + let tagTextInactive = BlauColors.palette.grey5 - let tagTextWarning = BlauColors.palette.blauYellow70 | BlauColors.palette.blauYellow40 + let tagTextSuccess = BlauColors.palette.blauGreen70 | BlauColors.palette.blauGreen30 - let tagTextError = BlauColors.palette.blauRed70 | BlauColors.palette.blauRed40 + let tagTextWarning = BlauColors.palette.blauYellow70 | BlauColors.palette.blauYellow40 - let tagBackgroundPromo = BlauColors.palette.blauPurple10 | BlauColors.palette.darkModeGrey6 + let tagTextError = BlauColors.palette.blauRed70 | BlauColors.palette.blauRed40 - let tagBackgroundActive = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.darkModeGrey6 + let tagBackgroundPromo = BlauColors.palette.blauPurple10 | BlauColors.palette.darkModeGrey6 - let tagBackgroundInactive = BlauColors.palette.grey1 | BlauColors.palette.darkModeGrey6 + let tagBackgroundActive = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.darkModeGrey6 - let tagBackgroundSuccess = BlauColors.palette.blauGreen10 | BlauColors.palette.darkModeGrey6 + let tagBackgroundInactive = BlauColors.palette.grey1 | BlauColors.palette.darkModeGrey6 - let tagBackgroundWarning = BlauColors.palette.blauYellow10 | BlauColors.palette.darkModeGrey6 + let tagBackgroundSuccess = BlauColors.palette.blauGreen10 | BlauColors.palette.darkModeGrey6 - let tagBackgroundError = BlauColors.palette.blauRed10 | BlauColors.palette.darkModeGrey6 + let tagBackgroundWarning = BlauColors.palette.blauYellow10 | BlauColors.palette.darkModeGrey6 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let tagBackgroundError = BlauColors.palette.blauRed10 | BlauColors.palette.darkModeGrey6 + + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ BlauColors.palette.grey6.withAlphaComponent(0), BlauColors.palette.grey6.withAlphaComponent(0.4), BlauColors.palette.grey6.withAlphaComponent(0.7) ], - stops: [0, 0.3, 1], + stops: [0,0.3,1], angle: 180 )) } @@ -320,4 +320,4 @@ public struct BlauColorPalette { public let darkModeBlack = UIColor(hex: "#191919")! public let darkModeGrey = UIColor(hex: "#242424")! public let darkModeGrey6 = UIColor(hex: "#313235")! -} +} \ No newline at end of file diff --git a/Sources/MisticaCommon/Colors/ColorToolkit+Color.swift b/Sources/MisticaCommon/Colors/ColorToolkit+Color.swift index 3ed6e0694..ea9328159 100644 --- a/Sources/MisticaCommon/Colors/ColorToolkit+Color.swift +++ b/Sources/MisticaCommon/Colors/ColorToolkit+Color.swift @@ -1,10 +1,6 @@ -// -// ColorToolkit+Color.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import SwiftUI @@ -12,507 +8,387 @@ public extension Color { static var backgroundBrandSecondary: Color { MisticaConfig.currentColors.backgroundBrandSecondary.color } - static var appBarBackground: Color { MisticaConfig.currentColors.appBarBackground.color } - static var background: Color { MisticaConfig.currentColors.background.color } - static var backgroundContainer: Color { MisticaConfig.currentColors.backgroundContainer.color } - static var backgroundContainerError: Color { MisticaConfig.currentColors.backgroundContainerError.color } - static var backgroundContainerHover: Color { MisticaConfig.currentColors.backgroundContainerHover.color } - static var backgroundContainerPressed: Color { MisticaConfig.currentColors.backgroundContainerPressed.color } - static var backgroundContainerBrandHover: Color { MisticaConfig.currentColors.backgroundContainerBrandHover.color } - static var backgroundContainerBrandPressed: Color { MisticaConfig.currentColors.backgroundContainerBrandPressed.color } - static var backgroundContainerBrandOverInverse: Color { MisticaConfig.currentColors.backgroundContainerBrandOverInverse.color } - static var backgroundContainerAlternative: Color { MisticaConfig.currentColors.backgroundContainerAlternative.color } - static var backgroundOverlay: Color { MisticaConfig.currentColors.backgroundOverlay.color } - static var backgroundSkeleton: Color { MisticaConfig.currentColors.backgroundSkeleton.color } - static var backgroundSkeletonInverse: Color { MisticaConfig.currentColors.backgroundSkeletonInverse.color } - static var navigationBarBackground: Color { MisticaConfig.currentColors.navigationBarBackground.color } - static var backgroundAlternative: Color { MisticaConfig.currentColors.backgroundAlternative.color } - static var backgroundBrandTop: Color { MisticaConfig.currentColors.backgroundBrandTop.color } - static var backgroundBrandBottom: Color { MisticaConfig.currentColors.backgroundBrandBottom.color } - static var skeletonWave: Color { MisticaConfig.currentColors.skeletonWave.color } - static var borderLow: Color { MisticaConfig.currentColors.borderLow.color } - static var border: Color { MisticaConfig.currentColors.border.color } - static var borderHigh: Color { MisticaConfig.currentColors.borderHigh.color } - static var borderSelected: Color { MisticaConfig.currentColors.borderSelected.color } - static var coverBackgroundHover: Color { MisticaConfig.currentColors.coverBackgroundHover.color } - static var coverBackgroundPressed: Color { MisticaConfig.currentColors.coverBackgroundPressed.color } - static var buttonDangerBackground: Color { MisticaConfig.currentColors.buttonDangerBackground.color } - static var buttonDangerBackgroundPressed: Color { MisticaConfig.currentColors.buttonDangerBackgroundPressed.color } - static var buttonDangerBackgroundHover: Color { MisticaConfig.currentColors.buttonDangerBackgroundHover.color } - static var buttonLinkDangerBackgroundPressed: Color { MisticaConfig.currentColors.buttonLinkDangerBackgroundPressed.color } - static var buttonLinkDangerBackgroundInverse: Color { MisticaConfig.currentColors.buttonLinkDangerBackgroundInverse.color } - static var buttonLinkDangerBackgroundInversePressed: Color { MisticaConfig.currentColors.buttonLinkDangerBackgroundInversePressed.color } - static var buttonLinkBackgroundPressed: Color { MisticaConfig.currentColors.buttonLinkBackgroundPressed.color } - static var buttonLinkBackgroundInversePressed: Color { MisticaConfig.currentColors.buttonLinkBackgroundInversePressed.color } - static var buttonPrimaryBackground: Color { MisticaConfig.currentColors.buttonPrimaryBackground.color } - static var buttonPrimaryBackgroundInverse: Color { MisticaConfig.currentColors.buttonPrimaryBackgroundInverse.color } - static var buttonPrimaryBackgroundPressed: Color { MisticaConfig.currentColors.buttonPrimaryBackgroundPressed.color } - static var buttonPrimaryBackgroundHover: Color { MisticaConfig.currentColors.buttonPrimaryBackgroundHover.color } - static var buttonPrimaryBackgroundInversePressed: Color { MisticaConfig.currentColors.buttonPrimaryBackgroundInversePressed.color } - static var buttonSecondaryBorder: Color { MisticaConfig.currentColors.buttonSecondaryBorder.color } - static var buttonSecondaryBorderPressed: Color { MisticaConfig.currentColors.buttonSecondaryBorderPressed.color } - static var buttonSecondaryBorderInverse: Color { MisticaConfig.currentColors.buttonSecondaryBorderInverse.color } - static var buttonSecondaryBackgroundHover: Color { MisticaConfig.currentColors.buttonSecondaryBackgroundHover.color } - static var buttonSecondaryBackgroundPressed: Color { MisticaConfig.currentColors.buttonSecondaryBackgroundPressed.color } - static var buttonSecondaryBorderInversePressed: Color { MisticaConfig.currentColors.buttonSecondaryBorderInversePressed.color } - static var buttonSecondaryBackgroundInverseHover: Color { MisticaConfig.currentColors.buttonSecondaryBackgroundInverseHover.color } - static var buttonSecondaryBackgroundInversePressed: Color { MisticaConfig.currentColors.buttonSecondaryBackgroundInversePressed.color } - static var textButtonPrimary: Color { MisticaConfig.currentColors.textButtonPrimary.color } - static var textButtonPrimaryInverse: Color { MisticaConfig.currentColors.textButtonPrimaryInverse.color } - static var textButtonPrimaryInversePressed: Color { MisticaConfig.currentColors.textButtonPrimaryInversePressed.color } - static var textButtonSecondary: Color { MisticaConfig.currentColors.textButtonSecondary.color } - static var textButtonSecondaryPressed: Color { MisticaConfig.currentColors.textButtonSecondaryPressed.color } - static var textButtonSecondaryInverse: Color { MisticaConfig.currentColors.textButtonSecondaryInverse.color } - static var textButtonSecondaryInversePressed: Color { MisticaConfig.currentColors.textButtonSecondaryInversePressed.color } - static var textLink: Color { MisticaConfig.currentColors.textLink.color } - static var textLinkInverse: Color { MisticaConfig.currentColors.textLinkInverse.color } - static var textLinkDanger: Color { MisticaConfig.currentColors.textLinkDanger.color } - static var textLinkSnackbar: Color { MisticaConfig.currentColors.textLinkSnackbar.color } - static var textActivated: Color { MisticaConfig.currentColors.textActivated.color } - static var textBrand: Color { MisticaConfig.currentColors.textBrand.color } - static var control: Color { MisticaConfig.currentColors.control.color } - static var controlActivated: Color { MisticaConfig.currentColors.controlActivated.color } - static var controlInverse: Color { MisticaConfig.currentColors.controlInverse.color } - static var controlActivatedInverse: Color { MisticaConfig.currentColors.controlActivatedInverse.color } - static var controlError: Color { MisticaConfig.currentColors.controlError.color } - static var barTrack: Color { MisticaConfig.currentColors.barTrack.color } - + static var barTrackInverse: Color { + MisticaConfig.currentColors.barTrackInverse.color + } static var loadingBar: Color { MisticaConfig.currentColors.loadingBar.color } - static var loadingBarBackground: Color { MisticaConfig.currentColors.loadingBarBackground.color } - static var toggleAndroidInactive: Color { MisticaConfig.currentColors.toggleAndroidInactive.color } - static var toggleAndroidBackgroundActive: Color { MisticaConfig.currentColors.toggleAndroidBackgroundActive.color } - static var iosControlKnob: Color { MisticaConfig.currentColors.iosControlKnob.color } - + static var controlKnobInverse: Color { + MisticaConfig.currentColors.controlKnobInverse.color + } static var divider: Color { MisticaConfig.currentColors.divider.color } - static var dividerInverse: Color { MisticaConfig.currentColors.dividerInverse.color } - static var navigationBarDivider: Color { MisticaConfig.currentColors.navigationBarDivider.color } - static var badge: Color { MisticaConfig.currentColors.badge.color } - static var feedbackErrorBackground: Color { MisticaConfig.currentColors.feedbackErrorBackground.color } - static var feedbackInfoBackground: Color { MisticaConfig.currentColors.feedbackInfoBackground.color } - static var brand: Color { MisticaConfig.currentColors.brand.color } - static var brandHigh: Color { MisticaConfig.currentColors.brandHigh.color } - static var inverse: Color { MisticaConfig.currentColors.inverse.color } - static var neutralHigh: Color { MisticaConfig.currentColors.neutralHigh.color } - static var neutralMedium: Color { MisticaConfig.currentColors.neutralMedium.color } - static var neutralMediumInverse: Color { MisticaConfig.currentColors.neutralMediumInverse.color } - static var neutralLow: Color { MisticaConfig.currentColors.neutralLow.color } - static var neutralLowAlternative: Color { MisticaConfig.currentColors.neutralLowAlternative.color } - static var textPrimary: Color { MisticaConfig.currentColors.textPrimary.color } - static var textPrimaryInverse: Color { MisticaConfig.currentColors.textPrimaryInverse.color } - static var textSecondary: Color { MisticaConfig.currentColors.textSecondary.color } - static var textSecondaryInverse: Color { MisticaConfig.currentColors.textSecondaryInverse.color } - static var error: Color { MisticaConfig.currentColors.error.color } - static var textError: Color { MisticaConfig.currentColors.textError.color } - static var textErrorInverse: Color { MisticaConfig.currentColors.textErrorInverse.color } - static var success: Color { MisticaConfig.currentColors.success.color } - static var warning: Color { MisticaConfig.currentColors.warning.color } - static var promo: Color { MisticaConfig.currentColors.promo.color } - static var highlight: Color { MisticaConfig.currentColors.highlight.color } - static var successLow: Color { MisticaConfig.currentColors.successLow.color } - static var warningLow: Color { MisticaConfig.currentColors.warningLow.color } - static var errorLow: Color { MisticaConfig.currentColors.errorLow.color } - static var promoLow: Color { MisticaConfig.currentColors.promoLow.color } - static var brandLow: Color { MisticaConfig.currentColors.brandLow.color } - static var successHigh: Color { MisticaConfig.currentColors.successHigh.color } - static var warningHigh: Color { MisticaConfig.currentColors.warningHigh.color } - static var errorHigh: Color { MisticaConfig.currentColors.errorHigh.color } - static var promoHigh: Color { MisticaConfig.currentColors.promoHigh.color } - static var successHighInverse: Color { MisticaConfig.currentColors.successHighInverse.color } - static var warningHighInverse: Color { MisticaConfig.currentColors.warningHighInverse.color } - static var errorHighInverse: Color { MisticaConfig.currentColors.errorHighInverse.color } - static var promoHighInverse: Color { MisticaConfig.currentColors.promoHighInverse.color } - static var textNavigationBarPrimary: Color { MisticaConfig.currentColors.textNavigationBarPrimary.color } - static var textNavigationBarSecondary: Color { MisticaConfig.currentColors.textNavigationBarSecondary.color } - static var textNavigationSearchBarHint: Color { MisticaConfig.currentColors.textNavigationSearchBarHint.color } - static var textNavigationSearchBarText: Color { MisticaConfig.currentColors.textNavigationSearchBarText.color } - static var textAppBar: Color { MisticaConfig.currentColors.textAppBar.color } - static var textAppBarSelected: Color { MisticaConfig.currentColors.textAppBarSelected.color } - static var customTabsBackground: Color { MisticaConfig.currentColors.customTabsBackground.color } - static var tagTextPromo: Color { MisticaConfig.currentColors.tagTextPromo.color } - static var tagTextActive: Color { MisticaConfig.currentColors.tagTextActive.color } - static var tagTextInactive: Color { MisticaConfig.currentColors.tagTextInactive.color } - static var tagTextSuccess: Color { MisticaConfig.currentColors.tagTextSuccess.color } - static var tagTextWarning: Color { MisticaConfig.currentColors.tagTextWarning.color } - static var tagTextError: Color { MisticaConfig.currentColors.tagTextError.color } - static var tagBackgroundPromo: Color { MisticaConfig.currentColors.tagBackgroundPromo.color } - static var tagBackgroundActive: Color { MisticaConfig.currentColors.tagBackgroundActive.color } - static var tagBackgroundInactive: Color { MisticaConfig.currentColors.tagBackgroundInactive.color } - static var tagBackgroundSuccess: Color { MisticaConfig.currentColors.tagBackgroundSuccess.color } - static var tagBackgroundWarning: Color { MisticaConfig.currentColors.tagBackgroundWarning.color } - static var tagBackgroundError: Color { MisticaConfig.currentColors.tagBackgroundError.color } @@ -522,4 +398,4 @@ private extension UIColor { var color: Color { Color(self) } -} +} \ No newline at end of file diff --git a/Sources/MisticaCommon/Colors/ColorToolkit+UIColor.swift b/Sources/MisticaCommon/Colors/ColorToolkit+UIColor.swift index e435cdcf6..bdda2b606 100644 --- a/Sources/MisticaCommon/Colors/ColorToolkit+UIColor.swift +++ b/Sources/MisticaCommon/Colors/ColorToolkit+UIColor.swift @@ -1,10 +1,6 @@ -// -// ColorToolkit+UIColor.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import UIKit @@ -12,508 +8,388 @@ public extension UIColor { static var backgroundBrandSecondary: UIColor { MisticaConfig.currentColors.backgroundBrandSecondary } - static var appBarBackground: UIColor { MisticaConfig.currentColors.appBarBackground } - static var background: UIColor { MisticaConfig.currentColors.background } - static var backgroundContainer: UIColor { MisticaConfig.currentColors.backgroundContainer } - static var backgroundContainerError: UIColor { MisticaConfig.currentColors.backgroundContainerError } - static var backgroundContainerHover: UIColor { MisticaConfig.currentColors.backgroundContainerHover } - static var backgroundContainerPressed: UIColor { MisticaConfig.currentColors.backgroundContainerPressed } - static var backgroundContainerBrandHover: UIColor { MisticaConfig.currentColors.backgroundContainerBrandHover } - static var backgroundContainerBrandPressed: UIColor { MisticaConfig.currentColors.backgroundContainerBrandPressed } - static var backgroundContainerBrandOverInverse: UIColor { MisticaConfig.currentColors.backgroundContainerBrandOverInverse } - static var backgroundContainerAlternative: UIColor { MisticaConfig.currentColors.backgroundContainerAlternative } - static var backgroundOverlay: UIColor { MisticaConfig.currentColors.backgroundOverlay } - static var backgroundSkeleton: UIColor { MisticaConfig.currentColors.backgroundSkeleton } - static var backgroundSkeletonInverse: UIColor { MisticaConfig.currentColors.backgroundSkeletonInverse } - static var navigationBarBackground: UIColor { MisticaConfig.currentColors.navigationBarBackground } - static var backgroundAlternative: UIColor { MisticaConfig.currentColors.backgroundAlternative } - static var backgroundBrandTop: UIColor { MisticaConfig.currentColors.backgroundBrandTop } - static var backgroundBrandBottom: UIColor { MisticaConfig.currentColors.backgroundBrandBottom } - static var skeletonWave: UIColor { MisticaConfig.currentColors.skeletonWave } - static var borderLow: UIColor { MisticaConfig.currentColors.borderLow } - static var border: UIColor { MisticaConfig.currentColors.border } - static var borderHigh: UIColor { MisticaConfig.currentColors.borderHigh } - static var borderSelected: UIColor { MisticaConfig.currentColors.borderSelected } - static var coverBackgroundHover: UIColor { MisticaConfig.currentColors.coverBackgroundHover } - static var coverBackgroundPressed: UIColor { MisticaConfig.currentColors.coverBackgroundPressed } - static var buttonDangerBackground: UIColor { MisticaConfig.currentColors.buttonDangerBackground } - static var buttonDangerBackgroundPressed: UIColor { MisticaConfig.currentColors.buttonDangerBackgroundPressed } - static var buttonDangerBackgroundHover: UIColor { MisticaConfig.currentColors.buttonDangerBackgroundHover } - static var buttonLinkDangerBackgroundPressed: UIColor { MisticaConfig.currentColors.buttonLinkDangerBackgroundPressed } - static var buttonLinkDangerBackgroundInverse: UIColor { MisticaConfig.currentColors.buttonLinkDangerBackgroundInverse } - static var buttonLinkDangerBackgroundInversePressed: UIColor { MisticaConfig.currentColors.buttonLinkDangerBackgroundInversePressed } - static var buttonLinkBackgroundPressed: UIColor { MisticaConfig.currentColors.buttonLinkBackgroundPressed } - static var buttonLinkBackgroundInversePressed: UIColor { MisticaConfig.currentColors.buttonLinkBackgroundInversePressed } - static var buttonPrimaryBackground: UIColor { MisticaConfig.currentColors.buttonPrimaryBackground } - static var buttonPrimaryBackgroundInverse: UIColor { MisticaConfig.currentColors.buttonPrimaryBackgroundInverse } - static var buttonPrimaryBackgroundPressed: UIColor { MisticaConfig.currentColors.buttonPrimaryBackgroundPressed } - static var buttonPrimaryBackgroundHover: UIColor { MisticaConfig.currentColors.buttonPrimaryBackgroundHover } - static var buttonPrimaryBackgroundInversePressed: UIColor { MisticaConfig.currentColors.buttonPrimaryBackgroundInversePressed } - static var buttonSecondaryBorder: UIColor { MisticaConfig.currentColors.buttonSecondaryBorder } - static var buttonSecondaryBorderPressed: UIColor { MisticaConfig.currentColors.buttonSecondaryBorderPressed } - static var buttonSecondaryBorderInverse: UIColor { MisticaConfig.currentColors.buttonSecondaryBorderInverse } - static var buttonSecondaryBackgroundHover: UIColor { MisticaConfig.currentColors.buttonSecondaryBackgroundHover } - static var buttonSecondaryBackgroundPressed: UIColor { MisticaConfig.currentColors.buttonSecondaryBackgroundPressed } - static var buttonSecondaryBorderInversePressed: UIColor { MisticaConfig.currentColors.buttonSecondaryBorderInversePressed } - static var buttonSecondaryBackgroundInverseHover: UIColor { MisticaConfig.currentColors.buttonSecondaryBackgroundInverseHover } - static var buttonSecondaryBackgroundInversePressed: UIColor { MisticaConfig.currentColors.buttonSecondaryBackgroundInversePressed } - static var textButtonPrimary: UIColor { MisticaConfig.currentColors.textButtonPrimary } - static var textButtonPrimaryInverse: UIColor { MisticaConfig.currentColors.textButtonPrimaryInverse } - static var textButtonPrimaryInversePressed: UIColor { MisticaConfig.currentColors.textButtonPrimaryInversePressed } - static var textButtonSecondary: UIColor { MisticaConfig.currentColors.textButtonSecondary } - static var textButtonSecondaryPressed: UIColor { MisticaConfig.currentColors.textButtonSecondaryPressed } - static var textButtonSecondaryInverse: UIColor { MisticaConfig.currentColors.textButtonSecondaryInverse } - static var textButtonSecondaryInversePressed: UIColor { MisticaConfig.currentColors.textButtonSecondaryInversePressed } - static var textLink: UIColor { MisticaConfig.currentColors.textLink } - static var textLinkInverse: UIColor { MisticaConfig.currentColors.textLinkInverse } - static var textLinkDanger: UIColor { MisticaConfig.currentColors.textLinkDanger } - static var textLinkSnackbar: UIColor { MisticaConfig.currentColors.textLinkSnackbar } - static var textActivated: UIColor { MisticaConfig.currentColors.textActivated } - static var textBrand: UIColor { MisticaConfig.currentColors.textBrand } - static var control: UIColor { MisticaConfig.currentColors.control } - static var controlActivated: UIColor { MisticaConfig.currentColors.controlActivated } - static var controlInverse: UIColor { MisticaConfig.currentColors.controlInverse } - static var controlActivatedInverse: UIColor { MisticaConfig.currentColors.controlActivatedInverse } - static var controlError: UIColor { MisticaConfig.currentColors.controlError } - static var barTrack: UIColor { MisticaConfig.currentColors.barTrack } - + static var barTrackInverse: UIColor { + MisticaConfig.currentColors.barTrackInverse + } static var loadingBar: UIColor { MisticaConfig.currentColors.loadingBar } - static var loadingBarBackground: UIColor { MisticaConfig.currentColors.loadingBarBackground } - static var toggleAndroidInactive: UIColor { MisticaConfig.currentColors.toggleAndroidInactive } - static var toggleAndroidBackgroundActive: UIColor { MisticaConfig.currentColors.toggleAndroidBackgroundActive } - static var iosControlKnob: UIColor { MisticaConfig.currentColors.iosControlKnob } - + static var controlKnobInverse: UIColor { + MisticaConfig.currentColors.controlKnobInverse + } static var divider: UIColor { MisticaConfig.currentColors.divider } - static var dividerInverse: UIColor { MisticaConfig.currentColors.dividerInverse } - static var navigationBarDivider: UIColor { MisticaConfig.currentColors.navigationBarDivider } - static var badge: UIColor { MisticaConfig.currentColors.badge } - static var feedbackErrorBackground: UIColor { MisticaConfig.currentColors.feedbackErrorBackground } - static var feedbackInfoBackground: UIColor { MisticaConfig.currentColors.feedbackInfoBackground } - static var brand: UIColor { MisticaConfig.currentColors.brand } - static var brandHigh: UIColor { MisticaConfig.currentColors.brandHigh } - static var inverse: UIColor { MisticaConfig.currentColors.inverse } - static var neutralHigh: UIColor { MisticaConfig.currentColors.neutralHigh } - static var neutralMedium: UIColor { MisticaConfig.currentColors.neutralMedium } - static var neutralMediumInverse: UIColor { MisticaConfig.currentColors.neutralMediumInverse } - static var neutralLow: UIColor { MisticaConfig.currentColors.neutralLow } - static var neutralLowAlternative: UIColor { MisticaConfig.currentColors.neutralLowAlternative } - static var textPrimary: UIColor { MisticaConfig.currentColors.textPrimary } - static var textPrimaryInverse: UIColor { MisticaConfig.currentColors.textPrimaryInverse } - static var textSecondary: UIColor { MisticaConfig.currentColors.textSecondary } - static var textSecondaryInverse: UIColor { MisticaConfig.currentColors.textSecondaryInverse } - static var error: UIColor { MisticaConfig.currentColors.error } - static var textError: UIColor { MisticaConfig.currentColors.textError } - static var textErrorInverse: UIColor { MisticaConfig.currentColors.textErrorInverse } - static var success: UIColor { MisticaConfig.currentColors.success } - static var warning: UIColor { MisticaConfig.currentColors.warning } - static var promo: UIColor { MisticaConfig.currentColors.promo } - static var highlight: UIColor { MisticaConfig.currentColors.highlight } - static var successLow: UIColor { MisticaConfig.currentColors.successLow } - static var warningLow: UIColor { MisticaConfig.currentColors.warningLow } - static var errorLow: UIColor { MisticaConfig.currentColors.errorLow } - static var promoLow: UIColor { MisticaConfig.currentColors.promoLow } - static var brandLow: UIColor { MisticaConfig.currentColors.brandLow } - static var successHigh: UIColor { MisticaConfig.currentColors.successHigh } - static var warningHigh: UIColor { MisticaConfig.currentColors.warningHigh } - static var errorHigh: UIColor { MisticaConfig.currentColors.errorHigh } - static var promoHigh: UIColor { MisticaConfig.currentColors.promoHigh } - static var successHighInverse: UIColor { MisticaConfig.currentColors.successHighInverse } - static var warningHighInverse: UIColor { MisticaConfig.currentColors.warningHighInverse } - static var errorHighInverse: UIColor { MisticaConfig.currentColors.errorHighInverse } - static var promoHighInverse: UIColor { MisticaConfig.currentColors.promoHighInverse } - static var textNavigationBarPrimary: UIColor { MisticaConfig.currentColors.textNavigationBarPrimary } - static var textNavigationBarSecondary: UIColor { MisticaConfig.currentColors.textNavigationBarSecondary } - static var textNavigationSearchBarHint: UIColor { MisticaConfig.currentColors.textNavigationSearchBarHint } - static var textNavigationSearchBarText: UIColor { MisticaConfig.currentColors.textNavigationSearchBarText } - static var textAppBar: UIColor { MisticaConfig.currentColors.textAppBar } - static var textAppBarSelected: UIColor { MisticaConfig.currentColors.textAppBarSelected } - static var customTabsBackground: UIColor { MisticaConfig.currentColors.customTabsBackground } - static var tagTextPromo: UIColor { MisticaConfig.currentColors.tagTextPromo } - static var tagTextActive: UIColor { MisticaConfig.currentColors.tagTextActive } - static var tagTextInactive: UIColor { MisticaConfig.currentColors.tagTextInactive } - static var tagTextSuccess: UIColor { MisticaConfig.currentColors.tagTextSuccess } - static var tagTextWarning: UIColor { MisticaConfig.currentColors.tagTextWarning } - static var tagTextError: UIColor { MisticaConfig.currentColors.tagTextError } - static var tagBackgroundPromo: UIColor { MisticaConfig.currentColors.tagBackgroundPromo } - static var tagBackgroundActive: UIColor { MisticaConfig.currentColors.tagBackgroundActive } - static var tagBackgroundInactive: UIColor { MisticaConfig.currentColors.tagBackgroundInactive } - static var tagBackgroundSuccess: UIColor { MisticaConfig.currentColors.tagBackgroundSuccess } - static var tagBackgroundWarning: UIColor { MisticaConfig.currentColors.tagBackgroundWarning } - static var tagBackgroundError: UIColor { MisticaConfig.currentColors.tagBackgroundError } -} +} \ No newline at end of file diff --git a/Sources/MisticaCommon/Colors/MisticaColor.swift b/Sources/MisticaCommon/Colors/MisticaColor.swift index a528231c3..3546c7792 100644 --- a/Sources/MisticaCommon/Colors/MisticaColor.swift +++ b/Sources/MisticaCommon/Colors/MisticaColor.swift @@ -1,10 +1,6 @@ -// -// MisticaColor.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import UIKit @@ -17,11 +13,9 @@ public extension MisticaColor { static var backgroundBrand: MisticaColor { MisticaConfig.currentColors.backgroundBrand } - static var backgroundContainerBrand: MisticaColor { MisticaConfig.currentColors.backgroundContainerBrand } - static var cardContentOverlay: MisticaColor { MisticaConfig.currentColors.cardContentOverlay } diff --git a/Sources/MisticaCommon/Colors/MisticaColors.swift b/Sources/MisticaCommon/Colors/MisticaColors.swift index aa81cd6d3..c58d8a126 100644 --- a/Sources/MisticaCommon/Colors/MisticaColors.swift +++ b/Sources/MisticaCommon/Colors/MisticaColors.swift @@ -1,10 +1,6 @@ -// -// MisticaColors.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import UIKit @@ -76,11 +72,13 @@ public protocol MisticaColors { var controlActivatedInverse: UIColor { get } var controlError: UIColor { get } var barTrack: UIColor { get } + var barTrackInverse: UIColor { get } var loadingBar: UIColor { get } var loadingBarBackground: UIColor { get } var toggleAndroidInactive: UIColor { get } var toggleAndroidBackgroundActive: UIColor { get } var iosControlKnob: UIColor { get } + var controlKnobInverse: UIColor { get } var divider: UIColor { get } var dividerInverse: UIColor { get } var navigationBarDivider: UIColor { get } diff --git a/Sources/MisticaCommon/Colors/MovistarColorPalette.swift b/Sources/MisticaCommon/Colors/MovistarColorPalette.swift index 9c5a5559a..f3a623a22 100644 --- a/Sources/MisticaCommon/Colors/MovistarColorPalette.swift +++ b/Sources/MisticaCommon/Colors/MovistarColorPalette.swift @@ -1,282 +1,282 @@ -// -// MovistarColorPalette.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import UIKit struct MovistarColors: MisticaColors { static let palette = MovistarColorPalette() - let backgroundBrand = MisticaColor.solid(MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack) + let backgroundBrand = MisticaColor.solid(MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack) + + let backgroundBrandSecondary = MovistarColors.palette.movistarBlueDark | MovistarColors.palette.darkModeBlack - let backgroundBrandSecondary = MovistarColors.palette.movistarBlueDark | MovistarColors.palette.darkModeBlack + let appBarBackground = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey - let appBarBackground = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey + let background = MovistarColors.palette.white | MovistarColors.palette.darkModeBlack - let background = MovistarColors.palette.white | MovistarColors.palette.darkModeBlack + let backgroundContainer = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey - let backgroundContainer = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey + let backgroundContainerError = MovistarColors.palette.pepper10 | MovistarColors.palette.darkModeGrey - let backgroundContainerError = MovistarColors.palette.pepper10 | MovistarColors.palette.darkModeGrey + let backgroundContainerHover = MovistarColors.palette.black.withAlphaComponent(0.03) | MovistarColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerHover = MovistarColors.palette.black.withAlphaComponent(0.03) | MovistarColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerPressed = MovistarColors.palette.black.withAlphaComponent(0.05) | MovistarColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerPressed = MovistarColors.palette.black.withAlphaComponent(0.05) | MovistarColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrand = MisticaColor.solid(MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeGrey) - let backgroundContainerBrand = MisticaColor.solid(MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeGrey) + let backgroundContainerBrandHover = MovistarColors.palette.black.withAlphaComponent(0.1) | MovistarColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandHover = MovistarColors.palette.black.withAlphaComponent(0.1) | MovistarColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandPressed = MovistarColors.palette.black.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandPressed = MovistarColors.palette.black.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandOverInverse = MovistarColors.palette.movistarBlue55 | MovistarColors.palette.darkModeGrey - let backgroundContainerBrandOverInverse = MovistarColors.palette.movistarBlue55 | MovistarColors.palette.darkModeGrey + let backgroundContainerAlternative = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeGrey - let backgroundContainerAlternative = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeGrey + let backgroundOverlay = MovistarColors.palette.movistarBlueDark.withAlphaComponent(0.6) | MovistarColors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundOverlay = MovistarColors.palette.movistarBlueDark.withAlphaComponent(0.6) | MovistarColors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundSkeleton = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 - let backgroundSkeleton = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 + let backgroundSkeletonInverse = MovistarColors.palette.movistarBlue55 | MovistarColors.palette.darkModeGrey6 - let backgroundSkeletonInverse = MovistarColors.palette.movistarBlue55 | MovistarColors.palette.darkModeGrey6 + let navigationBarBackground = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack - let navigationBarBackground = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack + let backgroundAlternative = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeBlack - let backgroundAlternative = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeBlack + let backgroundBrandTop = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack - let backgroundBrandTop = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack + let backgroundBrandBottom = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack - let backgroundBrandBottom = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack + let skeletonWave = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 - let skeletonWave = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 + let borderLow = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeBlack - let borderLow = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeBlack + let border = MovistarColors.palette.grey3 | MovistarColors.palette.darkModeGrey - let border = MovistarColors.palette.grey3 | MovistarColors.palette.darkModeGrey + let borderHigh = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey5 - let borderHigh = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey5 + let borderSelected = MovistarColors.palette.movistarBlue - let borderSelected = MovistarColors.palette.movistarBlue + let coverBackgroundHover = MovistarColors.palette.black.withAlphaComponent(0.25) | MovistarColors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundHover = MovistarColors.palette.black.withAlphaComponent(0.25) | MovistarColors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundPressed = MovistarColors.palette.black.withAlphaComponent(0.35) | MovistarColors.palette.darkModeBlack.withAlphaComponent(0.35) - let coverBackgroundPressed = MovistarColors.palette.black.withAlphaComponent(0.35) | MovistarColors.palette.darkModeBlack.withAlphaComponent(0.35) + let buttonDangerBackground = MovistarColors.palette.pepper55 - let buttonDangerBackground = MovistarColors.palette.pepper55 + let buttonDangerBackgroundPressed = MovistarColors.palette.pepper70 - let buttonDangerBackgroundPressed = MovistarColors.palette.pepper70 + let buttonDangerBackgroundHover = MovistarColors.palette.pepper65 - let buttonDangerBackgroundHover = MovistarColors.palette.pepper65 + let buttonLinkDangerBackgroundPressed = MovistarColors.palette.pepper10 | MovistarColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundPressed = MovistarColors.palette.pepper10 | MovistarColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundInverse = MovistarColors.palette.white | MovistarColors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInverse = MovistarColors.palette.white | MovistarColors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInversePressed = MovistarColors.palette.pepper10 | MovistarColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundInversePressed = MovistarColors.palette.pepper10 | MovistarColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundPressed = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundPressed = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundInversePressed = MovistarColors.palette.white.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundInversePressed = MovistarColors.palette.white.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.08) + let buttonPrimaryBackground = MovistarColors.palette.movistarBlueHC - let buttonPrimaryBackground = MovistarColors.palette.movistarBlueHC + let buttonPrimaryBackgroundInverse = MovistarColors.palette.white | MovistarColors.palette.movistarBlueHC - let buttonPrimaryBackgroundInverse = MovistarColors.palette.white | MovistarColors.palette.movistarBlueHC + let buttonPrimaryBackgroundPressed = MovistarColors.palette.movistarBlueHC65 - let buttonPrimaryBackgroundPressed = MovistarColors.palette.movistarBlueHC65 + let buttonPrimaryBackgroundHover = MovistarColors.palette.movistarBlueHC55 - let buttonPrimaryBackgroundHover = MovistarColors.palette.movistarBlueHC55 + let buttonPrimaryBackgroundInversePressed = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.movistarBlueHC65 - let buttonPrimaryBackgroundInversePressed = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.movistarBlueHC65 + let buttonSecondaryBorder = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.white - let buttonSecondaryBorder = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.white + let buttonSecondaryBorderPressed = MovistarColors.palette.movistarBlueHC65 | MovistarColors.palette.white - let buttonSecondaryBorderPressed = MovistarColors.palette.movistarBlueHC65 | MovistarColors.palette.white + let buttonSecondaryBorderInverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let buttonSecondaryBorderInverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let buttonSecondaryBackgroundHover = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundHover = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = MovistarColors.palette.movistarBlue15 | MovistarColors.palette.white.withAlphaComponent(0.25) - let buttonSecondaryBackgroundPressed = MovistarColors.palette.movistarBlue15 | MovistarColors.palette.white.withAlphaComponent(0.25) + let buttonSecondaryBorderInversePressed = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let buttonSecondaryBorderInversePressed = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let buttonSecondaryBackgroundInverseHover = MovistarColors.palette.white.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInverseHover = MovistarColors.palette.white.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = MovistarColors.palette.white.withAlphaComponent(0.3) | MovistarColors.palette.white.withAlphaComponent(0.25) - let buttonSecondaryBackgroundInversePressed = MovistarColors.palette.white.withAlphaComponent(0.3) | MovistarColors.palette.white.withAlphaComponent(0.25) + let textButtonPrimary = MovistarColors.palette.white - let textButtonPrimary = MovistarColors.palette.white + let textButtonPrimaryInverse = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.white - let textButtonPrimaryInverse = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.white + let textButtonPrimaryInversePressed = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.white - let textButtonPrimaryInversePressed = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.white + let textButtonSecondary = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.darkModeGrey2 - let textButtonSecondary = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.darkModeGrey2 + let textButtonSecondaryPressed = MovistarColors.palette.movistarBlueHC55 | MovistarColors.palette.darkModeGrey2 - let textButtonSecondaryPressed = MovistarColors.palette.movistarBlueHC55 | MovistarColors.palette.darkModeGrey2 + let textButtonSecondaryInverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let textButtonSecondaryInverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let textButtonSecondaryInversePressed = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let textButtonSecondaryInversePressed = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let textLink = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue - let textLink = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue + let textLinkInverse = MovistarColors.palette.white | MovistarColors.palette.movistarBlue - let textLinkInverse = MovistarColors.palette.white | MovistarColors.palette.movistarBlue + let textLinkDanger = MovistarColors.palette.pepper60 | MovistarColors.palette.pepper45 - let textLinkDanger = MovistarColors.palette.pepper60 | MovistarColors.palette.pepper45 + let textLinkSnackbar = MovistarColors.palette.movistarBlue30 | MovistarColors.palette.movistarBlue - let textLinkSnackbar = MovistarColors.palette.movistarBlue30 | MovistarColors.palette.movistarBlue + let textActivated = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue - let textActivated = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue + let textBrand = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue - let textBrand = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue + let control = MovistarColors.palette.grey4 | MovistarColors.palette.darkModeGrey4 - let control = MovistarColors.palette.grey4 | MovistarColors.palette.darkModeGrey4 + let controlActivated = MovistarColors.palette.movistarBlue - let controlActivated = MovistarColors.palette.movistarBlue + let controlInverse = MovistarColors.palette.movistarBlue20 | MovistarColors.palette.darkModeGrey4 - let controlInverse = MovistarColors.palette.movistarBlue20 | MovistarColors.palette.darkModeGrey4 + let controlActivatedInverse = MovistarColors.palette.white | MovistarColors.palette.movistarBlue - let controlActivatedInverse = MovistarColors.palette.white | MovistarColors.palette.movistarBlue + let controlError = MovistarColors.palette.pepper55 | MovistarColors.palette.pepper45 - let controlError = MovistarColors.palette.pepper55 | MovistarColors.palette.pepper45 + let barTrack = MovistarColors.palette.grey3 | MovistarColors.palette.darkModeGrey6 - let barTrack = MovistarColors.palette.grey3 | MovistarColors.palette.darkModeGrey6 + let barTrackInverse = MovistarColors.palette.black.withAlphaComponent(0.14) | MovistarColors.palette.darkModeGrey6 - let loadingBar = MovistarColors.palette.movistarBlue + let loadingBar = MovistarColors.palette.movistarBlue - let loadingBarBackground = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 + let loadingBarBackground = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 - let toggleAndroidInactive = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey2 + let toggleAndroidInactive = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey2 - let toggleAndroidBackgroundActive = MovistarColors.palette.movistarBlue20 + let toggleAndroidBackgroundActive = MovistarColors.palette.movistarBlue20 - let iosControlKnob = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let iosControlKnob = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let divider = MovistarColors.palette.grey3 | MovistarColors.palette.white.withAlphaComponent(0.1) + let controlKnobInverse = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeGrey2 - let dividerInverse = MovistarColors.palette.white.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.1) + let divider = MovistarColors.palette.grey3 | MovistarColors.palette.white.withAlphaComponent(0.1) - let navigationBarDivider = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack + let dividerInverse = MovistarColors.palette.white.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.1) - let badge = MovistarColors.palette.pepper55 + let navigationBarDivider = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack - let feedbackErrorBackground = MovistarColors.palette.pepper55 + let badge = MovistarColors.palette.pepper55 - let feedbackInfoBackground = MovistarColors.palette.movistarBlueDark + let feedbackErrorBackground = MovistarColors.palette.pepper55 - let brand = MovistarColors.palette.movistarBlue + let feedbackInfoBackground = MovistarColors.palette.movistarBlueDark - let brandHigh = MovistarColors.palette.movistarBlue55 | MovistarColors.palette.movistarBlue40 + let brand = MovistarColors.palette.movistarBlue - let inverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let brandHigh = MovistarColors.palette.movistarBlue55 | MovistarColors.palette.movistarBlue40 - let neutralHigh = MovistarColors.palette.movistarBlueDark | MovistarColors.palette.darkModeGrey2 + let inverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let neutralMedium = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey5 + let neutralHigh = MovistarColors.palette.movistarBlueDark | MovistarColors.palette.darkModeGrey2 - let neutralMediumInverse = MovistarColors.palette.grey5 + let neutralMedium = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey5 - let neutralLow = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeGrey6 + let neutralMediumInverse = MovistarColors.palette.grey5 - let neutralLowAlternative = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 + let neutralLow = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeGrey6 - let textPrimary = MovistarColors.palette.movistarBlueDark | MovistarColors.palette.darkModeGrey2 + let neutralLowAlternative = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 - let textPrimaryInverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let textPrimary = MovistarColors.palette.movistarBlueDark | MovistarColors.palette.darkModeGrey2 - let textSecondary = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey4 + let textPrimaryInverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let textSecondaryInverse = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.darkModeGrey4 + let textSecondary = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey4 - let error = MovistarColors.palette.pepper55 | MovistarColors.palette.pepper45 + let textSecondaryInverse = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.darkModeGrey4 - let textError = MovistarColors.palette.pepper55 | MovistarColors.palette.pepper45 + let error = MovistarColors.palette.pepper55 | MovistarColors.palette.pepper45 - let textErrorInverse = MovistarColors.palette.white | MovistarColors.palette.pepper45 + let textError = MovistarColors.palette.pepper55 | MovistarColors.palette.pepper45 - let success = MovistarColors.palette.movistarGreen55 | MovistarColors.palette.movistarGreen + let textErrorInverse = MovistarColors.palette.white | MovistarColors.palette.pepper45 - let warning = MovistarColors.palette.egg55 | MovistarColors.palette.egg + let success = MovistarColors.palette.movistarGreen55 | MovistarColors.palette.movistarGreen - let promo = MovistarColors.palette.purple | MovistarColors.palette.purple40 + let warning = MovistarColors.palette.egg55 | MovistarColors.palette.egg - let highlight = MovistarColors.palette.pink55 | MovistarColors.palette.pink45 + let promo = MovistarColors.palette.purple | MovistarColors.palette.purple40 - let successLow = MovistarColors.palette.movistarGreen10 | MovistarColors.palette.darkModeGrey7 + let highlight = MovistarColors.palette.pink55 | MovistarColors.palette.pink45 - let warningLow = MovistarColors.palette.egg10 | MovistarColors.palette.darkModeGrey7 + let successLow = MovistarColors.palette.movistarGreen10 | MovistarColors.palette.darkModeGrey7 - let errorLow = MovistarColors.palette.pepper10 | MovistarColors.palette.darkModeGrey7 + let warningLow = MovistarColors.palette.egg10 | MovistarColors.palette.darkModeGrey7 - let promoLow = MovistarColors.palette.purple10 | MovistarColors.palette.darkModeGrey7 + let errorLow = MovistarColors.palette.pepper10 | MovistarColors.palette.darkModeGrey7 - let brandLow = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.darkModeGrey7 + let promoLow = MovistarColors.palette.purple10 | MovistarColors.palette.darkModeGrey7 - let successHigh = MovistarColors.palette.movistarGreen70 | MovistarColors.palette.movistarGreen40 + let brandLow = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.darkModeGrey7 - let warningHigh = MovistarColors.palette.egg80 | MovistarColors.palette.egg40 + let successHigh = MovistarColors.palette.movistarGreen70 | MovistarColors.palette.movistarGreen40 - let errorHigh = MovistarColors.palette.pepper70 | MovistarColors.palette.pepper45 + let warningHigh = MovistarColors.palette.egg80 | MovistarColors.palette.egg40 - let promoHigh = MovistarColors.palette.purple70 | MovistarColors.palette.purple35 + let errorHigh = MovistarColors.palette.pepper70 | MovistarColors.palette.pepper45 - let successHighInverse = MovistarColors.palette.movistarGreen70 + let promoHigh = MovistarColors.palette.purple70 | MovistarColors.palette.purple35 - let warningHighInverse = MovistarColors.palette.egg80 + let successHighInverse = MovistarColors.palette.movistarGreen70 - let errorHighInverse = MovistarColors.palette.pepper70 + let warningHighInverse = MovistarColors.palette.egg80 - let promoHighInverse = MovistarColors.palette.purple70 + let errorHighInverse = MovistarColors.palette.pepper70 - let textNavigationBarPrimary = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let promoHighInverse = MovistarColors.palette.purple70 - let textNavigationBarSecondary = MovistarColors.palette.movistarBlue20 | MovistarColors.palette.darkModeGrey4 + let textNavigationBarPrimary = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let textNavigationSearchBarHint = MovistarColors.palette.movistarBlue20 | MovistarColors.palette.darkModeGrey4 + let textNavigationBarSecondary = MovistarColors.palette.movistarBlue20 | MovistarColors.palette.darkModeGrey4 - let textNavigationSearchBarText = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let textNavigationSearchBarHint = MovistarColors.palette.movistarBlue20 | MovistarColors.palette.darkModeGrey4 - let textAppBar = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey4 + let textNavigationSearchBarText = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let textAppBarSelected = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue + let textAppBar = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey4 - let customTabsBackground = MovistarColors.palette.white | MovistarColors.palette.darkModeBlack + let textAppBarSelected = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue - let tagTextPromo = MovistarColors.palette.purple70 | MovistarColors.palette.purple35 + let customTabsBackground = MovistarColors.palette.white | MovistarColors.palette.darkModeBlack - let tagTextActive = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue + let tagTextPromo = MovistarColors.palette.purple70 | MovistarColors.palette.purple35 - let tagTextInactive = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey3 + let tagTextActive = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue - let tagTextSuccess = MovistarColors.palette.movistarGreen70 | MovistarColors.palette.movistarGreen40 + let tagTextInactive = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey3 - let tagTextWarning = MovistarColors.palette.egg80 | MovistarColors.palette.egg40 + let tagTextSuccess = MovistarColors.palette.movistarGreen70 | MovistarColors.palette.movistarGreen40 - let tagTextError = MovistarColors.palette.pepper70 | MovistarColors.palette.pepper45 + let tagTextWarning = MovistarColors.palette.egg80 | MovistarColors.palette.egg40 - let tagBackgroundPromo = MovistarColors.palette.purple10 | MovistarColors.palette.darkModeGrey7 + let tagTextError = MovistarColors.palette.pepper70 | MovistarColors.palette.pepper45 - let tagBackgroundActive = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.darkModeGrey7 + let tagBackgroundPromo = MovistarColors.palette.purple10 | MovistarColors.palette.darkModeGrey7 - let tagBackgroundInactive = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeGrey7 + let tagBackgroundActive = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.darkModeGrey7 - let tagBackgroundSuccess = MovistarColors.palette.movistarGreen10 | MovistarColors.palette.darkModeGrey7 + let tagBackgroundInactive = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeGrey7 - let tagBackgroundWarning = MovistarColors.palette.egg10 | MovistarColors.palette.darkModeGrey7 + let tagBackgroundSuccess = MovistarColors.palette.movistarGreen10 | MovistarColors.palette.darkModeGrey7 - let tagBackgroundError = MovistarColors.palette.pepper10 | MovistarColors.palette.darkModeGrey7 + let tagBackgroundWarning = MovistarColors.palette.egg10 | MovistarColors.palette.darkModeGrey7 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let tagBackgroundError = MovistarColors.palette.pepper10 | MovistarColors.palette.darkModeGrey7 + + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ MovistarColors.palette.black.withAlphaComponent(0), MovistarColors.palette.black.withAlphaComponent(0.4), MovistarColors.palette.black.withAlphaComponent(0.7) ], - stops: [0, 0.3, 1], + stops: [0,0.3,1], angle: 180 )) } @@ -338,4 +338,4 @@ public struct MovistarColorPalette { public let darkModeGrey5 = UIColor(hex: "#6D7D88")! public let darkModeGrey6 = UIColor(hex: "#3C5261")! public let darkModeGrey7 = UIColor(hex: "#032F46")! -} +} \ No newline at end of file diff --git a/Sources/MisticaCommon/Colors/O2ColorPalette.swift b/Sources/MisticaCommon/Colors/O2ColorPalette.swift index 8058d0dcf..03769745e 100644 --- a/Sources/MisticaCommon/Colors/O2ColorPalette.swift +++ b/Sources/MisticaCommon/Colors/O2ColorPalette.swift @@ -1,282 +1,282 @@ -// -// O2ColorPalette.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import UIKit struct O2Colors: MisticaColors { static let palette = O2ColorPalette() - let backgroundBrand = MisticaColor.solid(O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack) + let backgroundBrand = MisticaColor.solid(O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack) + + let backgroundBrandSecondary = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack - let backgroundBrandSecondary = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack + let appBarBackground = O2Colors.palette.white | O2Colors.palette.darkModeGrey - let appBarBackground = O2Colors.palette.white | O2Colors.palette.darkModeGrey + let background = O2Colors.palette.white | O2Colors.palette.darkModeBlack - let background = O2Colors.palette.white | O2Colors.palette.darkModeBlack + let backgroundContainer = O2Colors.palette.white | O2Colors.palette.darkModeGrey - let backgroundContainer = O2Colors.palette.white | O2Colors.palette.darkModeGrey + let backgroundContainerError = O2Colors.palette.pepper10 | O2Colors.palette.darkModeGrey - let backgroundContainerError = O2Colors.palette.pepper10 | O2Colors.palette.darkModeGrey + let backgroundContainerHover = O2Colors.palette.darkModeBlack.withAlphaComponent(0.03) | O2Colors.palette.white.withAlphaComponent(0.03) - let backgroundContainerHover = O2Colors.palette.darkModeBlack.withAlphaComponent(0.03) | O2Colors.palette.white.withAlphaComponent(0.03) + let backgroundContainerPressed = O2Colors.palette.darkModeBlack.withAlphaComponent(0.05) | O2Colors.palette.white.withAlphaComponent(0.05) - let backgroundContainerPressed = O2Colors.palette.darkModeBlack.withAlphaComponent(0.05) | O2Colors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrand = MisticaColor.solid(O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeGrey) - let backgroundContainerBrand = MisticaColor.solid(O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeGrey) + let backgroundContainerBrandHover = O2Colors.palette.darkModeBlack.withAlphaComponent(0.2) | O2Colors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandHover = O2Colors.palette.darkModeBlack.withAlphaComponent(0.2) | O2Colors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandPressed = O2Colors.palette.darkModeBlack.withAlphaComponent(0.4) | O2Colors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandPressed = O2Colors.palette.darkModeBlack.withAlphaComponent(0.4) | O2Colors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandOverInverse = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeGrey - let backgroundContainerBrandOverInverse = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeGrey + let backgroundContainerAlternative = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey - let backgroundContainerAlternative = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey + let backgroundOverlay = O2Colors.palette.grey6.withAlphaComponent(0.6) | O2Colors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundOverlay = O2Colors.palette.grey6.withAlphaComponent(0.6) | O2Colors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundSkeleton = O2Colors.palette.grey2 | O2Colors.palette.darkModeGrey6 - let backgroundSkeleton = O2Colors.palette.grey2 | O2Colors.palette.darkModeGrey6 + let backgroundSkeletonInverse = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeGrey6 - let backgroundSkeletonInverse = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeGrey6 + let navigationBarBackground = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack - let navigationBarBackground = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack + let backgroundAlternative = O2Colors.palette.grey1 | O2Colors.palette.darkModeBlack - let backgroundAlternative = O2Colors.palette.grey1 | O2Colors.palette.darkModeBlack + let backgroundBrandTop = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack - let backgroundBrandTop = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack + let backgroundBrandBottom = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack - let backgroundBrandBottom = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack + let skeletonWave = O2Colors.palette.grey2 | O2Colors.palette.grey5 - let skeletonWave = O2Colors.palette.grey2 | O2Colors.palette.grey5 + let borderLow = O2Colors.palette.grey1 | O2Colors.palette.darkModeBlack - let borderLow = O2Colors.palette.grey1 | O2Colors.palette.darkModeBlack + let border = O2Colors.palette.grey3 | O2Colors.palette.darkModeGrey - let border = O2Colors.palette.grey3 | O2Colors.palette.darkModeGrey + let borderHigh = O2Colors.palette.grey5 - let borderHigh = O2Colors.palette.grey5 + let borderSelected = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 - let borderSelected = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 + let coverBackgroundHover = O2Colors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundHover = O2Colors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundPressed = O2Colors.palette.darkModeBlack.withAlphaComponent(0.35) - let coverBackgroundPressed = O2Colors.palette.darkModeBlack.withAlphaComponent(0.35) + let buttonDangerBackground = O2Colors.palette.pepper - let buttonDangerBackground = O2Colors.palette.pepper + let buttonDangerBackgroundPressed = O2Colors.palette.pepper60 - let buttonDangerBackgroundPressed = O2Colors.palette.pepper60 + let buttonDangerBackgroundHover = O2Colors.palette.pepper60 - let buttonDangerBackgroundHover = O2Colors.palette.pepper60 + let buttonLinkDangerBackgroundPressed = O2Colors.palette.pepper10 | O2Colors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundPressed = O2Colors.palette.pepper10 | O2Colors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundInverse = O2Colors.palette.white | O2Colors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInverse = O2Colors.palette.white | O2Colors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInversePressed = O2Colors.palette.pepper10 | O2Colors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundInversePressed = O2Colors.palette.pepper10 | O2Colors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundPressed = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundPressed = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundInversePressed = O2Colors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundInversePressed = O2Colors.palette.white.withAlphaComponent(0.08) + let buttonPrimaryBackground = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeO2BluePrimary - let buttonPrimaryBackground = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeO2BluePrimary + let buttonPrimaryBackgroundInverse = O2Colors.palette.white | O2Colors.palette.darkModeO2BluePrimary - let buttonPrimaryBackgroundInverse = O2Colors.palette.white | O2Colors.palette.darkModeO2BluePrimary + let buttonPrimaryBackgroundPressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeO2BluePrimaryDark - let buttonPrimaryBackgroundPressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeO2BluePrimaryDark + let buttonPrimaryBackgroundHover = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeO2BluePrimaryDark - let buttonPrimaryBackgroundHover = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeO2BluePrimaryDark + let buttonPrimaryBackgroundInversePressed = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.darkModeO2BluePrimaryDark - let buttonPrimaryBackgroundInversePressed = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.darkModeO2BluePrimaryDark + let buttonSecondaryBorder = O2Colors.palette.o2BluePrimary | O2Colors.palette.white - let buttonSecondaryBorder = O2Colors.palette.o2BluePrimary | O2Colors.palette.white + let buttonSecondaryBorderPressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.white - let buttonSecondaryBorderPressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.white + let buttonSecondaryBorderInverse = O2Colors.palette.white - let buttonSecondaryBorderInverse = O2Colors.palette.white + let buttonSecondaryBackgroundHover = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundHover = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBorderInversePressed = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.white - let buttonSecondaryBorderInversePressed = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.white + let buttonSecondaryBackgroundInverseHover = O2Colors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInverseHover = O2Colors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = O2Colors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = O2Colors.palette.white.withAlphaComponent(0.15) + let textButtonPrimary = O2Colors.palette.white | O2Colors.palette.grey2 - let textButtonPrimary = O2Colors.palette.white | O2Colors.palette.grey2 + let textButtonPrimaryInverse = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 - let textButtonPrimaryInverse = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 + let textButtonPrimaryInversePressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.grey2 - let textButtonPrimaryInversePressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.grey2 + let textButtonSecondary = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 - let textButtonSecondary = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 + let textButtonSecondaryPressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.grey2 - let textButtonSecondaryPressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.grey2 + let textButtonSecondaryInverse = O2Colors.palette.white | O2Colors.palette.grey2 - let textButtonSecondaryInverse = O2Colors.palette.white | O2Colors.palette.grey2 + let textButtonSecondaryInversePressed = O2Colors.palette.white | O2Colors.palette.grey2 - let textButtonSecondaryInversePressed = O2Colors.palette.white | O2Colors.palette.grey2 + let textLink = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 - let textLink = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 + let textLinkInverse = O2Colors.palette.white | O2Colors.palette.o2BluePrimary30 - let textLinkInverse = O2Colors.palette.white | O2Colors.palette.o2BluePrimary30 + let textLinkDanger = O2Colors.palette.pepper - let textLinkDanger = O2Colors.palette.pepper + let textLinkSnackbar = O2Colors.palette.o2BluePrimary30 - let textLinkSnackbar = O2Colors.palette.o2BluePrimary30 + let textActivated = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 - let textActivated = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 + let textBrand = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 - let textBrand = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 + let control = O2Colors.palette.grey3 | O2Colors.palette.darkModeGrey6 - let control = O2Colors.palette.grey3 | O2Colors.palette.darkModeGrey6 + let controlActivated = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 - let controlActivated = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 + let controlInverse = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.darkModeGrey6 - let controlInverse = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.darkModeGrey6 + let controlActivatedInverse = O2Colors.palette.white | O2Colors.palette.o2BluePrimary30 - let controlActivatedInverse = O2Colors.palette.white | O2Colors.palette.o2BluePrimary30 + let controlError = O2Colors.palette.pepper - let controlError = O2Colors.palette.pepper + let barTrack = O2Colors.palette.grey3 | O2Colors.palette.darkModeGrey6 - let barTrack = O2Colors.palette.grey3 | O2Colors.palette.darkModeGrey6 + let barTrackInverse = O2Colors.palette.white.withAlphaComponent(0.3) | O2Colors.palette.darkModeGrey6 - let loadingBar = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeO2BluePrimary + let loadingBar = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeO2BluePrimary - let loadingBarBackground = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey6 + let loadingBarBackground = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey6 - let toggleAndroidInactive = O2Colors.palette.grey2 | O2Colors.palette.grey4 + let toggleAndroidInactive = O2Colors.palette.grey2 | O2Colors.palette.grey4 - let toggleAndroidBackgroundActive = O2Colors.palette.o2BluePrimary15 | O2Colors.palette.o2BlueLight30 + let toggleAndroidBackgroundActive = O2Colors.palette.o2BluePrimary15 | O2Colors.palette.o2BlueLight30 - let iosControlKnob = O2Colors.palette.white | O2Colors.palette.grey2 + let iosControlKnob = O2Colors.palette.white | O2Colors.palette.grey2 - let divider = O2Colors.palette.grey2 | O2Colors.palette.white.withAlphaComponent(0.05) + let controlKnobInverse = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 - let dividerInverse = O2Colors.palette.white.withAlphaComponent(0.2) | O2Colors.palette.white.withAlphaComponent(0.05) + let divider = O2Colors.palette.grey2 | O2Colors.palette.white.withAlphaComponent(0.05) - let navigationBarDivider = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack + let dividerInverse = O2Colors.palette.white.withAlphaComponent(0.2) | O2Colors.palette.white.withAlphaComponent(0.05) - let badge = O2Colors.palette.pepper60 + let navigationBarDivider = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack - let feedbackErrorBackground = O2Colors.palette.pepper + let badge = O2Colors.palette.pepper60 - let feedbackInfoBackground = O2Colors.palette.grey6 | O2Colors.palette.darkModeGrey6 + let feedbackErrorBackground = O2Colors.palette.pepper - let brand = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 + let feedbackInfoBackground = O2Colors.palette.grey6 | O2Colors.palette.darkModeGrey6 - let brandHigh = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.white.withAlphaComponent(0.05) + let brand = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 - let inverse = O2Colors.palette.white | O2Colors.palette.grey2 + let brandHigh = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.white.withAlphaComponent(0.05) - let neutralHigh = O2Colors.palette.grey6 | O2Colors.palette.grey2 + let inverse = O2Colors.palette.white | O2Colors.palette.grey2 - let neutralMedium = O2Colors.palette.grey5 + let neutralHigh = O2Colors.palette.grey6 | O2Colors.palette.grey2 - let neutralMediumInverse = O2Colors.palette.grey5 + let neutralMedium = O2Colors.palette.grey5 - let neutralLow = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey6 + let neutralMediumInverse = O2Colors.palette.grey5 - let neutralLowAlternative = O2Colors.palette.grey2 | O2Colors.palette.darkModeGrey6 + let neutralLow = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey6 - let textPrimary = O2Colors.palette.grey6 | O2Colors.palette.grey2 + let neutralLowAlternative = O2Colors.palette.grey2 | O2Colors.palette.darkModeGrey6 - let textPrimaryInverse = O2Colors.palette.white | O2Colors.palette.grey2 + let textPrimary = O2Colors.palette.grey6 | O2Colors.palette.grey2 - let textSecondary = O2Colors.palette.grey5 | O2Colors.palette.grey4 + let textPrimaryInverse = O2Colors.palette.white | O2Colors.palette.grey2 - let textSecondaryInverse = O2Colors.palette.o2BluePrimary15 | O2Colors.palette.grey4 + let textSecondary = O2Colors.palette.grey5 | O2Colors.palette.grey4 - let error = O2Colors.palette.pepper + let textSecondaryInverse = O2Colors.palette.o2BluePrimary15 | O2Colors.palette.grey4 - let textError = O2Colors.palette.pepper + let error = O2Colors.palette.pepper - let textErrorInverse = O2Colors.palette.white | O2Colors.palette.pepper + let textError = O2Colors.palette.pepper - let success = O2Colors.palette.o2Green + let textErrorInverse = O2Colors.palette.white | O2Colors.palette.pepper - let warning = O2Colors.palette.o2Orange + let success = O2Colors.palette.o2Green - let promo = O2Colors.palette.o2Purple + let warning = O2Colors.palette.o2Orange - let highlight = O2Colors.palette.o2Pink + let promo = O2Colors.palette.o2Purple - let successLow = O2Colors.palette.o2Green10 | O2Colors.palette.darkModeGrey6 + let highlight = O2Colors.palette.o2Pink - let warningLow = O2Colors.palette.o2Orange10 | O2Colors.palette.darkModeGrey6 + let successLow = O2Colors.palette.o2Green10 | O2Colors.palette.darkModeGrey6 - let errorLow = O2Colors.palette.pepper10 | O2Colors.palette.darkModeGrey6 + let warningLow = O2Colors.palette.o2Orange10 | O2Colors.palette.darkModeGrey6 - let promoLow = O2Colors.palette.o2Purple10 | O2Colors.palette.darkModeGrey6 + let errorLow = O2Colors.palette.pepper10 | O2Colors.palette.darkModeGrey6 - let brandLow = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.darkModeGrey6 + let promoLow = O2Colors.palette.o2Purple10 | O2Colors.palette.darkModeGrey6 - let successHigh = O2Colors.palette.o2Green80 | O2Colors.palette.o2Green40 + let brandLow = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.darkModeGrey6 - let warningHigh = O2Colors.palette.o2Orange75 | O2Colors.palette.o2Orange40 + let successHigh = O2Colors.palette.o2Green80 | O2Colors.palette.o2Green40 - let errorHigh = O2Colors.palette.pepper60 | O2Colors.palette.pepper40 + let warningHigh = O2Colors.palette.o2Orange75 | O2Colors.palette.o2Orange40 - let promoHigh = O2Colors.palette.o2Purple | O2Colors.palette.o2Purple30 + let errorHigh = O2Colors.palette.pepper60 | O2Colors.palette.pepper40 - let successHighInverse = O2Colors.palette.o2Green80 + let promoHigh = O2Colors.palette.o2Purple | O2Colors.palette.o2Purple30 - let warningHighInverse = O2Colors.palette.o2Orange75 + let successHighInverse = O2Colors.palette.o2Green80 - let errorHighInverse = O2Colors.palette.pepper60 + let warningHighInverse = O2Colors.palette.o2Orange75 - let promoHighInverse = O2Colors.palette.o2Purple + let errorHighInverse = O2Colors.palette.pepper60 - let textNavigationBarPrimary = O2Colors.palette.white | O2Colors.palette.grey2 + let promoHighInverse = O2Colors.palette.o2Purple - let textNavigationBarSecondary = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.grey4 + let textNavigationBarPrimary = O2Colors.palette.white | O2Colors.palette.grey2 - let textNavigationSearchBarHint = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.grey4 + let textNavigationBarSecondary = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.grey4 - let textNavigationSearchBarText = O2Colors.palette.white | O2Colors.palette.grey2 + let textNavigationSearchBarHint = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.grey4 - let textAppBar = O2Colors.palette.grey4 | O2Colors.palette.grey5 + let textNavigationSearchBarText = O2Colors.palette.white | O2Colors.palette.grey2 - let textAppBarSelected = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 + let textAppBar = O2Colors.palette.grey4 | O2Colors.palette.grey5 - let customTabsBackground = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack + let textAppBarSelected = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 - let tagTextPromo = O2Colors.palette.o2Purple | O2Colors.palette.o2Purple30 + let customTabsBackground = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack - let tagTextActive = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 + let tagTextPromo = O2Colors.palette.o2Purple | O2Colors.palette.o2Purple30 - let tagTextInactive = O2Colors.palette.grey5 + let tagTextActive = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 - let tagTextSuccess = O2Colors.palette.o2Green80 | O2Colors.palette.o2Green40 + let tagTextInactive = O2Colors.palette.grey5 - let tagTextWarning = O2Colors.palette.o2Orange75 | O2Colors.palette.o2Orange40 + let tagTextSuccess = O2Colors.palette.o2Green80 | O2Colors.palette.o2Green40 - let tagTextError = O2Colors.palette.pepper60 | O2Colors.palette.pepper40 + let tagTextWarning = O2Colors.palette.o2Orange75 | O2Colors.palette.o2Orange40 - let tagBackgroundPromo = O2Colors.palette.o2Purple10 | O2Colors.palette.darkModeGrey6 + let tagTextError = O2Colors.palette.pepper60 | O2Colors.palette.pepper40 - let tagBackgroundActive = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.darkModeGrey6 + let tagBackgroundPromo = O2Colors.palette.o2Purple10 | O2Colors.palette.darkModeGrey6 - let tagBackgroundInactive = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey6 + let tagBackgroundActive = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.darkModeGrey6 - let tagBackgroundSuccess = O2Colors.palette.o2Green10 | O2Colors.palette.darkModeGrey6 + let tagBackgroundInactive = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey6 - let tagBackgroundWarning = O2Colors.palette.o2Orange10 | O2Colors.palette.darkModeGrey6 + let tagBackgroundSuccess = O2Colors.palette.o2Green10 | O2Colors.palette.darkModeGrey6 - let tagBackgroundError = O2Colors.palette.pepper10 | O2Colors.palette.darkModeGrey6 + let tagBackgroundWarning = O2Colors.palette.o2Orange10 | O2Colors.palette.darkModeGrey6 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let tagBackgroundError = O2Colors.palette.pepper10 | O2Colors.palette.darkModeGrey6 + + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ O2Colors.palette.black.withAlphaComponent(0), O2Colors.palette.black.withAlphaComponent(0.4), O2Colors.palette.black.withAlphaComponent(0.7) ], - stops: [0, 0.3, 1], + stops: [0,0.3,1], angle: 180 )) } @@ -325,4 +325,4 @@ public struct O2ColorPalette { public let darkModeGrey6 = UIColor(hex: "#313235")! public let darkModeO2BluePrimary = UIColor(hex: "#0020D6")! public let darkModeO2BluePrimaryDark = UIColor(hex: "#000099")! -} +} \ No newline at end of file diff --git a/Sources/MisticaCommon/Colors/O2NewColorPalette.swift b/Sources/MisticaCommon/Colors/O2NewColorPalette.swift index d78efe4e4..c619067d0 100644 --- a/Sources/MisticaCommon/Colors/O2NewColorPalette.swift +++ b/Sources/MisticaCommon/Colors/O2NewColorPalette.swift @@ -1,300 +1,300 @@ -// -// O2NewColorPalette.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import UIKit struct O2NewColors: MisticaColors { static let palette = O2NewColorPalette() - let backgroundBrand = MisticaColor.gradient(MisticaGradient( + let backgroundBrand = MisticaColor.gradient(MisticaGradient( colors: [ O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeBlack, O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBlack, O2NewColors.palette.beyondBlue45 | O2NewColors.palette.darkModeBlack ], - stops: [0, 0.64, 1], + stops: [0,0.64,1], angle: 180 )) - let backgroundBrandSecondary = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBlack + let backgroundBrandSecondary = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBlack - let appBarBackground = O2NewColors.palette.white | O2NewColors.palette.darkModeGrey + let appBarBackground = O2NewColors.palette.white | O2NewColors.palette.darkModeGrey - let background = O2NewColors.palette.white | O2NewColors.palette.darkModeBlack + let background = O2NewColors.palette.white | O2NewColors.palette.darkModeBlack - let backgroundContainer = O2NewColors.palette.white | O2NewColors.palette.darkModeGrey + let backgroundContainer = O2NewColors.palette.white | O2NewColors.palette.darkModeGrey - let backgroundContainerError = O2NewColors.palette.o2Red10 | O2NewColors.palette.darkModeGrey + let backgroundContainerError = O2NewColors.palette.o2Red10 | O2NewColors.palette.darkModeGrey - let backgroundContainerHover = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.03) | O2NewColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerHover = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.03) | O2NewColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerPressed = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.05) | O2NewColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerPressed = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.05) | O2NewColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrand = MisticaColor.gradient(MisticaGradient( + let backgroundContainerBrand = MisticaColor.gradient(MisticaGradient( colors: [ O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeGrey, O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeGrey, O2NewColors.palette.beyondBlue45 | O2NewColors.palette.darkModeGrey ], - stops: [0, 0.64, 1], + stops: [0,0.64,1], angle: 180 )) - let backgroundContainerBrandHover = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.2) | O2NewColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandHover = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.2) | O2NewColors.palette.white.withAlphaComponent(0.03) + + let backgroundContainerBrandPressed = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.4) | O2NewColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandPressed = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.4) | O2NewColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandOverInverse = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.darkModeGrey - let backgroundContainerBrandOverInverse = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.darkModeGrey + let backgroundContainerAlternative = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeGrey - let backgroundContainerAlternative = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeGrey + let backgroundOverlay = O2NewColors.palette.black.withAlphaComponent(0.6) | O2NewColors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundOverlay = O2NewColors.palette.black.withAlphaComponent(0.6) | O2NewColors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundSkeleton = O2NewColors.palette.grey30 | O2NewColors.palette.darkModeGrey6 - let backgroundSkeleton = O2NewColors.palette.grey30 | O2NewColors.palette.darkModeGrey6 + let backgroundSkeletonInverse = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.darkModeGrey6 - let backgroundSkeletonInverse = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.darkModeGrey6 + let navigationBarBackground = O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeBlack - let navigationBarBackground = O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeBlack + let backgroundAlternative = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeBlack - let backgroundAlternative = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeBlack + let backgroundBrandTop = O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeBlack - let backgroundBrandTop = O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeBlack + let backgroundBrandBottom = O2NewColors.palette.beyondBlue45 | O2NewColors.palette.darkModeBlack - let backgroundBrandBottom = O2NewColors.palette.beyondBlue45 | O2NewColors.palette.darkModeBlack + let skeletonWave = O2NewColors.palette.grey30 | O2NewColors.palette.grey80 - let skeletonWave = O2NewColors.palette.grey30 | O2NewColors.palette.grey80 + let borderLow = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeBlack - let borderLow = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeBlack + let border = O2NewColors.palette.grey30 | O2NewColors.palette.darkModeGrey - let border = O2NewColors.palette.grey30 | O2NewColors.palette.darkModeGrey + let borderHigh = O2NewColors.palette.grey80 | O2NewColors.palette.grey45 - let borderHigh = O2NewColors.palette.grey80 | O2NewColors.palette.grey45 + let borderSelected = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 - let borderSelected = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 + let coverBackgroundHover = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundHover = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundPressed = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.35) - let coverBackgroundPressed = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.35) + let buttonDangerBackground = O2NewColors.palette.o2Red60 - let buttonDangerBackground = O2NewColors.palette.o2Red60 + let buttonDangerBackgroundPressed = O2NewColors.palette.o2Red65 - let buttonDangerBackgroundPressed = O2NewColors.palette.o2Red65 + let buttonDangerBackgroundHover = O2NewColors.palette.o2Red65 - let buttonDangerBackgroundHover = O2NewColors.palette.o2Red65 + let buttonLinkDangerBackgroundPressed = O2NewColors.palette.o2Red10 | O2NewColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundPressed = O2NewColors.palette.o2Red10 | O2NewColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundInverse = O2NewColors.palette.white | O2NewColors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInverse = O2NewColors.palette.white | O2NewColors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInversePressed = O2NewColors.palette.o2Red10 | O2NewColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundInversePressed = O2NewColors.palette.o2Red10 | O2NewColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundPressed = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundPressed = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundInversePressed = O2NewColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundInversePressed = O2NewColors.palette.white.withAlphaComponent(0.08) + let buttonPrimaryBackground = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBeyondBlue - let buttonPrimaryBackground = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBeyondBlue + let buttonPrimaryBackgroundInverse = O2NewColors.palette.white | O2NewColors.palette.darkModeBeyondBlue - let buttonPrimaryBackgroundInverse = O2NewColors.palette.white | O2NewColors.palette.darkModeBeyondBlue + let buttonPrimaryBackgroundPressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.beyondBlue55 - let buttonPrimaryBackgroundPressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.beyondBlue55 + let buttonPrimaryBackgroundHover = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.beyondBlue55 - let buttonPrimaryBackgroundHover = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.beyondBlue55 + let buttonPrimaryBackgroundInversePressed = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.beyondBlue55 - let buttonPrimaryBackgroundInversePressed = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.beyondBlue55 + let buttonSecondaryBorder = O2NewColors.palette.beyondBlue | O2NewColors.palette.white - let buttonSecondaryBorder = O2NewColors.palette.beyondBlue | O2NewColors.palette.white + let buttonSecondaryBorderPressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.white - let buttonSecondaryBorderPressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.white + let buttonSecondaryBorderInverse = O2NewColors.palette.white - let buttonSecondaryBorderInverse = O2NewColors.palette.white + let buttonSecondaryBackgroundHover = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundHover = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBorderInversePressed = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.white - let buttonSecondaryBorderInversePressed = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.white + let buttonSecondaryBackgroundInverseHover = O2NewColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInverseHover = O2NewColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = O2NewColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = O2NewColors.palette.white.withAlphaComponent(0.15) + let textButtonPrimary = O2NewColors.palette.white - let textButtonPrimary = O2NewColors.palette.white + let textButtonPrimaryInverse = O2NewColors.palette.beyondBlue | O2NewColors.palette.white - let textButtonPrimaryInverse = O2NewColors.palette.beyondBlue | O2NewColors.palette.white + let textButtonPrimaryInversePressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.white - let textButtonPrimaryInversePressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.white + let textButtonSecondary = O2NewColors.palette.beyondBlue | O2NewColors.palette.grey30 - let textButtonSecondary = O2NewColors.palette.beyondBlue | O2NewColors.palette.grey30 + let textButtonSecondaryPressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.grey30 - let textButtonSecondaryPressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.grey30 + let textButtonSecondaryInverse = O2NewColors.palette.white | O2NewColors.palette.grey30 - let textButtonSecondaryInverse = O2NewColors.palette.white | O2NewColors.palette.grey30 + let textButtonSecondaryInversePressed = O2NewColors.palette.white | O2NewColors.palette.grey30 - let textButtonSecondaryInversePressed = O2NewColors.palette.white | O2NewColors.palette.grey30 + let textLink = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue40 - let textLink = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue40 + let textLinkInverse = O2NewColors.palette.white | O2NewColors.palette.beyondBlue40 - let textLinkInverse = O2NewColors.palette.white | O2NewColors.palette.beyondBlue40 + let textLinkDanger = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 - let textLinkDanger = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 + let textLinkSnackbar = O2NewColors.palette.beyondBlue30 - let textLinkSnackbar = O2NewColors.palette.beyondBlue30 + let textActivated = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 - let textActivated = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 + let textBrand = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 - let textBrand = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 + let control = O2NewColors.palette.grey45 - let control = O2NewColors.palette.grey45 + let controlActivated = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBeyondBlue - let controlActivated = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBeyondBlue + let controlInverse = O2NewColors.palette.white | O2NewColors.palette.grey45 - let controlInverse = O2NewColors.palette.white | O2NewColors.palette.grey45 + let controlActivatedInverse = O2NewColors.palette.white | O2NewColors.palette.darkModeBeyondBlue - let controlActivatedInverse = O2NewColors.palette.white | O2NewColors.palette.darkModeBeyondBlue + let controlError = O2NewColors.palette.o2Red60 | O2NewColors.palette.o2Red45 - let controlError = O2NewColors.palette.o2Red60 | O2NewColors.palette.o2Red45 + let barTrack = O2NewColors.palette.grey30 | O2NewColors.palette.darkModeGrey6 - let barTrack = O2NewColors.palette.grey30 | O2NewColors.palette.darkModeGrey6 + let barTrackInverse = O2NewColors.palette.white.withAlphaComponent(0.3) | O2NewColors.palette.darkModeGrey6 - let loadingBar = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBeyondBlue + let loadingBar = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBeyondBlue - let loadingBarBackground = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeGrey6 + let loadingBarBackground = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeGrey6 - let toggleAndroidInactive = O2NewColors.palette.grey30 | O2NewColors.palette.grey20 + let toggleAndroidInactive = O2NewColors.palette.grey30 | O2NewColors.palette.grey20 - let toggleAndroidBackgroundActive = O2NewColors.palette.beyondBlue15 + let toggleAndroidBackgroundActive = O2NewColors.palette.beyondBlue15 - let iosControlKnob = O2NewColors.palette.white | O2NewColors.palette.grey30 + let iosControlKnob = O2NewColors.palette.white | O2NewColors.palette.grey30 - let divider = O2NewColors.palette.grey30 | O2NewColors.palette.white.withAlphaComponent(0.1) + let controlKnobInverse = O2NewColors.palette.beyondBlue | O2NewColors.palette.grey30 - let dividerInverse = O2NewColors.palette.white.withAlphaComponent(0.2) | O2NewColors.palette.white.withAlphaComponent(0.1) + let divider = O2NewColors.palette.grey30 | O2NewColors.palette.white.withAlphaComponent(0.1) - let navigationBarDivider = O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeBlack + let dividerInverse = O2NewColors.palette.white.withAlphaComponent(0.2) | O2NewColors.palette.white.withAlphaComponent(0.1) - let badge = O2NewColors.palette.o2Red65 + let navigationBarDivider = O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeBlack - let feedbackErrorBackground = O2NewColors.palette.o2Red60 + let badge = O2NewColors.palette.o2Red65 - let feedbackInfoBackground = O2NewColors.palette.black | O2NewColors.palette.darkModeGrey6 + let feedbackErrorBackground = O2NewColors.palette.o2Red60 - let brand = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 + let feedbackInfoBackground = O2NewColors.palette.black | O2NewColors.palette.darkModeGrey6 - let brandHigh = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.white.withAlphaComponent(0.05) + let brand = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 - let inverse = O2NewColors.palette.white | O2NewColors.palette.grey30 + let brandHigh = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.white.withAlphaComponent(0.05) - let neutralHigh = O2NewColors.palette.black | O2NewColors.palette.grey30 + let inverse = O2NewColors.palette.white | O2NewColors.palette.grey30 - let neutralMedium = O2NewColors.palette.grey60 + let neutralHigh = O2NewColors.palette.black | O2NewColors.palette.grey30 - let neutralMediumInverse = O2NewColors.palette.grey60 + let neutralMedium = O2NewColors.palette.grey60 - let neutralLow = O2NewColors.palette.grey20 | O2NewColors.palette.grey80 + let neutralMediumInverse = O2NewColors.palette.grey60 - let neutralLowAlternative = O2NewColors.palette.grey30 | O2NewColors.palette.grey80 + let neutralLow = O2NewColors.palette.grey20 | O2NewColors.palette.grey80 - let textPrimary = O2NewColors.palette.black | O2NewColors.palette.grey30 + let neutralLowAlternative = O2NewColors.palette.grey30 | O2NewColors.palette.grey80 - let textPrimaryInverse = O2NewColors.palette.white | O2NewColors.palette.grey30 + let textPrimary = O2NewColors.palette.black | O2NewColors.palette.grey30 - let textSecondary = O2NewColors.palette.grey60 | O2NewColors.palette.grey45 + let textPrimaryInverse = O2NewColors.palette.white | O2NewColors.palette.grey30 - let textSecondaryInverse = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.grey45 + let textSecondary = O2NewColors.palette.grey60 | O2NewColors.palette.grey45 - let error = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 + let textSecondaryInverse = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.grey45 - let textError = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 + let error = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 - let textErrorInverse = O2NewColors.palette.white | O2NewColors.palette.o2Red45 + let textError = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 - let success = O2NewColors.palette.o2Green + let textErrorInverse = O2NewColors.palette.white | O2NewColors.palette.o2Red45 - let warning = O2NewColors.palette.o2Orange + let success = O2NewColors.palette.o2Green - let promo = O2NewColors.palette.o2Pink + let warning = O2NewColors.palette.o2Orange - let highlight = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink + let promo = O2NewColors.palette.o2Pink - let successLow = O2NewColors.palette.o2Green10 | O2NewColors.palette.darkModeGrey6 + let highlight = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink - let warningLow = O2NewColors.palette.o2Orange10 | O2NewColors.palette.darkModeGrey6 + let successLow = O2NewColors.palette.o2Green10 | O2NewColors.palette.darkModeGrey6 - let errorLow = O2NewColors.palette.o2Red10 | O2NewColors.palette.darkModeGrey6 + let warningLow = O2NewColors.palette.o2Orange10 | O2NewColors.palette.darkModeGrey6 - let promoLow = O2NewColors.palette.o2Pink15 | O2NewColors.palette.darkModeGrey6 + let errorLow = O2NewColors.palette.o2Red10 | O2NewColors.palette.darkModeGrey6 - let brandLow = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.darkModeGrey6 + let promoLow = O2NewColors.palette.o2Pink15 | O2NewColors.palette.darkModeGrey6 - let successHigh = O2NewColors.palette.o2Green80 | O2NewColors.palette.o2Green40 + let brandLow = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.darkModeGrey6 - let warningHigh = O2NewColors.palette.o2Orange75 | O2NewColors.palette.o2Orange40 + let successHigh = O2NewColors.palette.o2Green80 | O2NewColors.palette.o2Green40 - let errorHigh = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red40 + let warningHigh = O2NewColors.palette.o2Orange75 | O2NewColors.palette.o2Orange40 - let promoHigh = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink30 + let errorHigh = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red40 - let successHighInverse = O2NewColors.palette.o2Green80 + let promoHigh = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink30 - let warningHighInverse = O2NewColors.palette.o2Orange75 + let successHighInverse = O2NewColors.palette.o2Green80 - let errorHighInverse = O2NewColors.palette.o2Red65 + let warningHighInverse = O2NewColors.palette.o2Orange75 - let promoHighInverse = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink + let errorHighInverse = O2NewColors.palette.o2Red65 - let textNavigationBarPrimary = O2NewColors.palette.white | O2NewColors.palette.grey30 + let promoHighInverse = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink - let textNavigationBarSecondary = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.grey45 + let textNavigationBarPrimary = O2NewColors.palette.white | O2NewColors.palette.grey30 - let textNavigationSearchBarHint = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.grey45 + let textNavigationBarSecondary = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.grey45 - let textNavigationSearchBarText = O2NewColors.palette.white | O2NewColors.palette.grey30 + let textNavigationSearchBarHint = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.grey45 - let textAppBar = O2NewColors.palette.grey60 | O2NewColors.palette.grey45 + let textNavigationSearchBarText = O2NewColors.palette.white | O2NewColors.palette.grey30 - let textAppBarSelected = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue40 + let textAppBar = O2NewColors.palette.grey60 | O2NewColors.palette.grey45 - let customTabsBackground = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBlack + let textAppBarSelected = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue40 - let tagTextPromo = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink + let customTabsBackground = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBlack - let tagTextActive = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 + let tagTextPromo = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink - let tagTextInactive = O2NewColors.palette.grey60 | O2NewColors.palette.grey40 + let tagTextActive = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 - let tagTextSuccess = O2NewColors.palette.o2Green80 | O2NewColors.palette.o2Green + let tagTextInactive = O2NewColors.palette.grey60 | O2NewColors.palette.grey40 - let tagTextWarning = O2NewColors.palette.o2Orange75 | O2NewColors.palette.o2Orange + let tagTextSuccess = O2NewColors.palette.o2Green80 | O2NewColors.palette.o2Green - let tagTextError = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 + let tagTextWarning = O2NewColors.palette.o2Orange75 | O2NewColors.palette.o2Orange - let tagBackgroundPromo = O2NewColors.palette.o2Pink15 | O2NewColors.palette.darkModeGrey6 + let tagTextError = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 - let tagBackgroundActive = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.darkModeGrey6 + let tagBackgroundPromo = O2NewColors.palette.o2Pink15 | O2NewColors.palette.darkModeGrey6 - let tagBackgroundInactive = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeGrey6 + let tagBackgroundActive = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.darkModeGrey6 - let tagBackgroundSuccess = O2NewColors.palette.o2Green10 | O2NewColors.palette.darkModeGrey6 + let tagBackgroundInactive = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeGrey6 - let tagBackgroundWarning = O2NewColors.palette.o2Orange10 | O2NewColors.palette.darkModeGrey6 + let tagBackgroundSuccess = O2NewColors.palette.o2Green10 | O2NewColors.palette.darkModeGrey6 - let tagBackgroundError = O2NewColors.palette.o2Red10 | O2NewColors.palette.darkModeGrey6 + let tagBackgroundWarning = O2NewColors.palette.o2Orange10 | O2NewColors.palette.darkModeGrey6 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let tagBackgroundError = O2NewColors.palette.o2Red10 | O2NewColors.palette.darkModeGrey6 + + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ O2NewColors.palette.beyondBlue.withAlphaComponent(0) | O2NewColors.palette.black.withAlphaComponent(0), O2NewColors.palette.beyondBlue.withAlphaComponent(0.4) | O2NewColors.palette.black.withAlphaComponent(0.4), O2NewColors.palette.beyondBlue.withAlphaComponent(1) | O2NewColors.palette.black.withAlphaComponent(0.7) ], - stops: [0, 0.3, 1], + stops: [0,0.3,1], angle: 180 )) } @@ -346,4 +346,4 @@ public struct O2NewColorPalette { public let darkModeGrey = UIColor(hex: "#08132B")! public let darkModeGrey6 = UIColor(hex: "#14213D")! public let darkModeBeyondBlue = UIColor(hex: "#1A62FF")! -} +} \ No newline at end of file diff --git a/Sources/MisticaCommon/Colors/TelefonicaColorPalette.swift b/Sources/MisticaCommon/Colors/TelefonicaColorPalette.swift index 46a92fe62..af12a0fed 100644 --- a/Sources/MisticaCommon/Colors/TelefonicaColorPalette.swift +++ b/Sources/MisticaCommon/Colors/TelefonicaColorPalette.swift @@ -1,282 +1,282 @@ -// -// TelefonicaColorPalette.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import UIKit struct TelefonicaColors: MisticaColors { static let palette = TelefonicaColorPalette() - let backgroundBrand = MisticaColor.solid(TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack) + let backgroundBrand = MisticaColor.solid(TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack) + + let backgroundBrandSecondary = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack - let backgroundBrandSecondary = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack + let appBarBackground = TelefonicaColors.palette.white | TelefonicaColors.palette.darkModeGrey - let appBarBackground = TelefonicaColors.palette.white | TelefonicaColors.palette.darkModeGrey + let background = TelefonicaColors.palette.white | TelefonicaColors.palette.darkModeBlack - let background = TelefonicaColors.palette.white | TelefonicaColors.palette.darkModeBlack + let backgroundContainer = TelefonicaColors.palette.white | TelefonicaColors.palette.darkModeGrey - let backgroundContainer = TelefonicaColors.palette.white | TelefonicaColors.palette.darkModeGrey + let backgroundContainerError = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.darkModeGrey - let backgroundContainerError = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.darkModeGrey + let backgroundContainerHover = TelefonicaColors.palette.telefonicaBlue.withAlphaComponent(0.03) | TelefonicaColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerHover = TelefonicaColors.palette.telefonicaBlue.withAlphaComponent(0.03) | TelefonicaColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerPressed = TelefonicaColors.palette.telefonicaBlue.withAlphaComponent(0.05) | TelefonicaColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerPressed = TelefonicaColors.palette.telefonicaBlue.withAlphaComponent(0.05) | TelefonicaColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrand = MisticaColor.solid(TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeGrey) - let backgroundContainerBrand = MisticaColor.solid(TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeGrey) + let backgroundContainerBrandHover = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.2) | TelefonicaColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandHover = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.2) | TelefonicaColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandPressed = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.4) | TelefonicaColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandPressed = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.4) | TelefonicaColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandOverInverse = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.darkModeGrey - let backgroundContainerBrandOverInverse = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.darkModeGrey + let backgroundContainerAlternative = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey - let backgroundContainerAlternative = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey + let backgroundOverlay = TelefonicaColors.palette.grey6.withAlphaComponent(0.8) | TelefonicaColors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundOverlay = TelefonicaColors.palette.grey6.withAlphaComponent(0.8) | TelefonicaColors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundSkeleton = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.grey6 - let backgroundSkeleton = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.grey6 + let backgroundSkeletonInverse = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.grey6 - let backgroundSkeletonInverse = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.grey6 + let navigationBarBackground = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack - let navigationBarBackground = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack + let backgroundAlternative = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeBlack - let backgroundAlternative = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeBlack + let backgroundBrandTop = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack - let backgroundBrandTop = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack + let backgroundBrandBottom = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack - let backgroundBrandBottom = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack + let skeletonWave = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.grey5 - let skeletonWave = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.grey5 + let borderLow = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeBlack - let borderLow = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeBlack + let border = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.darkModeGrey - let border = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.darkModeGrey + let borderHigh = TelefonicaColors.palette.grey5 - let borderHigh = TelefonicaColors.palette.grey5 + let borderSelected = TelefonicaColors.palette.telefonicaBlue - let borderSelected = TelefonicaColors.palette.telefonicaBlue + let coverBackgroundHover = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundHover = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundPressed = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.35) - let coverBackgroundPressed = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.35) + let buttonDangerBackground = TelefonicaColors.palette.coral - let buttonDangerBackground = TelefonicaColors.palette.coral + let buttonDangerBackgroundPressed = TelefonicaColors.palette.coral80 - let buttonDangerBackgroundPressed = TelefonicaColors.palette.coral80 + let buttonDangerBackgroundHover = TelefonicaColors.palette.coral80 - let buttonDangerBackgroundHover = TelefonicaColors.palette.coral80 + let buttonLinkDangerBackgroundPressed = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundPressed = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInversePressed = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundInversePressed = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundPressed = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundPressed = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundInversePressed = TelefonicaColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundInversePressed = TelefonicaColors.palette.white.withAlphaComponent(0.08) + let buttonPrimaryBackground = TelefonicaColors.palette.telefonicaBlue - let buttonPrimaryBackground = TelefonicaColors.palette.telefonicaBlue + let buttonPrimaryBackgroundInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.telefonicaBlue - let buttonPrimaryBackgroundInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.telefonicaBlue + let buttonPrimaryBackgroundPressed = TelefonicaColors.palette.telefonicaBlue70 - let buttonPrimaryBackgroundPressed = TelefonicaColors.palette.telefonicaBlue70 + let buttonPrimaryBackgroundHover = TelefonicaColors.palette.telefonicaBlue70 - let buttonPrimaryBackgroundHover = TelefonicaColors.palette.telefonicaBlue70 + let buttonPrimaryBackgroundInversePressed = TelefonicaColors.palette.telefonicaBlue30 | TelefonicaColors.palette.telefonicaBlue70 - let buttonPrimaryBackgroundInversePressed = TelefonicaColors.palette.telefonicaBlue30 | TelefonicaColors.palette.telefonicaBlue70 + let buttonSecondaryBorder = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.white - let buttonSecondaryBorder = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.white + let buttonSecondaryBorderPressed = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.white - let buttonSecondaryBorderPressed = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.white + let buttonSecondaryBorderInverse = TelefonicaColors.palette.white - let buttonSecondaryBorderInverse = TelefonicaColors.palette.white + let buttonSecondaryBackgroundHover = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundHover = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBorderInversePressed = TelefonicaColors.palette.white - let buttonSecondaryBorderInversePressed = TelefonicaColors.palette.white + let buttonSecondaryBackgroundInverseHover = TelefonicaColors.palette.white.withAlphaComponent(0.1) | TelefonicaColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInverseHover = TelefonicaColors.palette.white.withAlphaComponent(0.1) | TelefonicaColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = TelefonicaColors.palette.white.withAlphaComponent(0.1) | TelefonicaColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = TelefonicaColors.palette.white.withAlphaComponent(0.1) | TelefonicaColors.palette.white.withAlphaComponent(0.15) + let textButtonPrimary = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let textButtonPrimary = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let textButtonPrimaryInverse = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 - let textButtonPrimaryInverse = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 + let textButtonPrimaryInversePressed = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 - let textButtonPrimaryInversePressed = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 + let textButtonSecondary = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 - let textButtonSecondary = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 + let textButtonSecondaryPressed = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.grey2 - let textButtonSecondaryPressed = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.grey2 + let textButtonSecondaryInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let textButtonSecondaryInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let textButtonSecondaryInversePressed = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let textButtonSecondaryInversePressed = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let textLink = TelefonicaColors.palette.telefonicaBlue - let textLink = TelefonicaColors.palette.telefonicaBlue + let textLinkInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.telefonicaBlue - let textLinkInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.telefonicaBlue + let textLinkDanger = TelefonicaColors.palette.coral - let textLinkDanger = TelefonicaColors.palette.coral + let textLinkSnackbar = TelefonicaColors.palette.telefonicaBlue30 - let textLinkSnackbar = TelefonicaColors.palette.telefonicaBlue30 + let textActivated = TelefonicaColors.palette.telefonicaBlue - let textActivated = TelefonicaColors.palette.telefonicaBlue + let textBrand = TelefonicaColors.palette.telefonicaBlue - let textBrand = TelefonicaColors.palette.telefonicaBlue + let control = TelefonicaColors.palette.grey3 | TelefonicaColors.palette.darkModeGrey6 - let control = TelefonicaColors.palette.grey3 | TelefonicaColors.palette.darkModeGrey6 + let controlActivated = TelefonicaColors.palette.telefonicaBlue - let controlActivated = TelefonicaColors.palette.telefonicaBlue + let controlInverse = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey6 - let controlInverse = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey6 + let controlActivatedInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.telefonicaBlue - let controlActivatedInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.telefonicaBlue + let controlError = TelefonicaColors.palette.coral - let controlError = TelefonicaColors.palette.coral + let barTrack = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.darkModeGrey6 - let barTrack = TelefonicaColors.palette.grey3 | TelefonicaColors.palette.darkModeGrey6 + let barTrackInverse = TelefonicaColors.palette.white.withAlphaComponent(0.3) | TelefonicaColors.palette.darkModeGrey6 - let loadingBar = TelefonicaColors.palette.telefonicaBlue30 | TelefonicaColors.palette.telefonicaBlue + let loadingBar = TelefonicaColors.palette.telefonicaBlue30 | TelefonicaColors.palette.telefonicaBlue - let loadingBarBackground = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.grey6 + let loadingBarBackground = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.grey6 - let toggleAndroidInactive = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.grey4 + let toggleAndroidInactive = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.grey4 - let toggleAndroidBackgroundActive = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.telefonicaBlue20 + let toggleAndroidBackgroundActive = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.telefonicaBlue20 - let iosControlKnob = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let iosControlKnob = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let divider = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.white.withAlphaComponent(0.05) + let controlKnobInverse = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 - let dividerInverse = TelefonicaColors.palette.white.withAlphaComponent(0.2) | TelefonicaColors.palette.white.withAlphaComponent(0.05) + let divider = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.white.withAlphaComponent(0.05) - let navigationBarDivider = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack + let dividerInverse = TelefonicaColors.palette.white.withAlphaComponent(0.2) | TelefonicaColors.palette.white.withAlphaComponent(0.05) - let badge = TelefonicaColors.palette.coral70 + let navigationBarDivider = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack - let feedbackErrorBackground = TelefonicaColors.palette.coral + let badge = TelefonicaColors.palette.coral70 - let feedbackInfoBackground = TelefonicaColors.palette.grey9 | TelefonicaColors.palette.grey8 + let feedbackErrorBackground = TelefonicaColors.palette.coral - let brand = TelefonicaColors.palette.telefonicaBlue + let feedbackInfoBackground = TelefonicaColors.palette.grey9 | TelefonicaColors.palette.grey8 - let brandHigh = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.white.withAlphaComponent(0.05) + let brand = TelefonicaColors.palette.telefonicaBlue - let inverse = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let brandHigh = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.white.withAlphaComponent(0.05) - let neutralHigh = TelefonicaColors.palette.grey9 | TelefonicaColors.palette.grey2 + let inverse = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let neutralMedium = TelefonicaColors.palette.grey5 + let neutralHigh = TelefonicaColors.palette.grey9 | TelefonicaColors.palette.grey2 - let neutralMediumInverse = TelefonicaColors.palette.grey5 + let neutralMedium = TelefonicaColors.palette.grey5 - let neutralLow = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey6 + let neutralMediumInverse = TelefonicaColors.palette.grey5 - let neutralLowAlternative = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.darkModeGrey6 + let neutralLow = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey6 - let textPrimary = TelefonicaColors.palette.grey9 | TelefonicaColors.palette.grey2 + let neutralLowAlternative = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.darkModeGrey6 - let textPrimaryInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let textPrimary = TelefonicaColors.palette.grey9 | TelefonicaColors.palette.grey2 - let textSecondary = TelefonicaColors.palette.grey5 | TelefonicaColors.palette.grey4 + let textPrimaryInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let textSecondaryInverse = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.grey4 + let textSecondary = TelefonicaColors.palette.grey5 | TelefonicaColors.palette.grey4 - let error = TelefonicaColors.palette.coral + let textSecondaryInverse = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.grey4 - let textError = TelefonicaColors.palette.coral + let error = TelefonicaColors.palette.coral - let textErrorInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.coral + let textError = TelefonicaColors.palette.coral - let success = TelefonicaColors.palette.turquoise + let textErrorInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.coral - let warning = TelefonicaColors.palette.ambar + let success = TelefonicaColors.palette.turquoise - let promo = TelefonicaColors.palette.orchid + let warning = TelefonicaColors.palette.ambar - let highlight = TelefonicaColors.palette.coral40 + let promo = TelefonicaColors.palette.orchid - let successLow = TelefonicaColors.palette.turquoise10 | TelefonicaColors.palette.darkModeGrey6 + let highlight = TelefonicaColors.palette.coral40 - let warningLow = TelefonicaColors.palette.ambar10 | TelefonicaColors.palette.darkModeGrey6 + let successLow = TelefonicaColors.palette.turquoise10 | TelefonicaColors.palette.darkModeGrey6 - let errorLow = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.darkModeGrey6 + let warningLow = TelefonicaColors.palette.ambar10 | TelefonicaColors.palette.darkModeGrey6 - let promoLow = TelefonicaColors.palette.orchid10 | TelefonicaColors.palette.darkModeGrey6 + let errorLow = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.darkModeGrey6 - let brandLow = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.darkModeGrey6 + let promoLow = TelefonicaColors.palette.orchid10 | TelefonicaColors.palette.darkModeGrey6 - let successHigh = TelefonicaColors.palette.turquoise70 | TelefonicaColors.palette.turquoise40 + let brandLow = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.darkModeGrey6 - let warningHigh = TelefonicaColors.palette.ambar70 | TelefonicaColors.palette.ambar40 + let successHigh = TelefonicaColors.palette.turquoise70 | TelefonicaColors.palette.turquoise40 - let errorHigh = TelefonicaColors.palette.coral70 | TelefonicaColors.palette.coral40 + let warningHigh = TelefonicaColors.palette.ambar70 | TelefonicaColors.palette.ambar40 - let promoHigh = TelefonicaColors.palette.orchid70 | TelefonicaColors.palette.orchid40 + let errorHigh = TelefonicaColors.palette.coral70 | TelefonicaColors.palette.coral40 - let successHighInverse = TelefonicaColors.palette.turquoise70 + let promoHigh = TelefonicaColors.palette.orchid70 | TelefonicaColors.palette.orchid40 - let warningHighInverse = TelefonicaColors.palette.ambar70 + let successHighInverse = TelefonicaColors.palette.turquoise70 - let errorHighInverse = TelefonicaColors.palette.coral70 + let warningHighInverse = TelefonicaColors.palette.ambar70 - let promoHighInverse = TelefonicaColors.palette.orchid70 + let errorHighInverse = TelefonicaColors.palette.coral70 - let textNavigationBarPrimary = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let promoHighInverse = TelefonicaColors.palette.orchid70 - let textNavigationBarSecondary = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.grey4 + let textNavigationBarPrimary = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let textNavigationSearchBarHint = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.grey4 + let textNavigationBarSecondary = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.grey4 - let textNavigationSearchBarText = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let textNavigationSearchBarHint = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.grey4 - let textAppBar = TelefonicaColors.palette.grey4 | TelefonicaColors.palette.grey5 + let textNavigationSearchBarText = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let textAppBarSelected = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 + let textAppBar = TelefonicaColors.palette.grey4 | TelefonicaColors.palette.grey5 - let customTabsBackground = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack + let textAppBarSelected = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 - let tagTextPromo = TelefonicaColors.palette.orchid70 | TelefonicaColors.palette.orchid40 + let customTabsBackground = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack - let tagTextActive = TelefonicaColors.palette.telefonicaBlue + let tagTextPromo = TelefonicaColors.palette.orchid70 | TelefonicaColors.palette.orchid40 - let tagTextInactive = TelefonicaColors.palette.grey5 + let tagTextActive = TelefonicaColors.palette.telefonicaBlue - let tagTextSuccess = TelefonicaColors.palette.turquoise70 | TelefonicaColors.palette.turquoise40 + let tagTextInactive = TelefonicaColors.palette.grey5 - let tagTextWarning = TelefonicaColors.palette.ambar70 | TelefonicaColors.palette.ambar40 + let tagTextSuccess = TelefonicaColors.palette.turquoise70 | TelefonicaColors.palette.turquoise40 - let tagTextError = TelefonicaColors.palette.coral70 | TelefonicaColors.palette.coral40 + let tagTextWarning = TelefonicaColors.palette.ambar70 | TelefonicaColors.palette.ambar40 - let tagBackgroundPromo = TelefonicaColors.palette.orchid10 | TelefonicaColors.palette.darkModeGrey6 + let tagTextError = TelefonicaColors.palette.coral70 | TelefonicaColors.palette.coral40 - let tagBackgroundActive = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.darkModeGrey6 + let tagBackgroundPromo = TelefonicaColors.palette.orchid10 | TelefonicaColors.palette.darkModeGrey6 - let tagBackgroundInactive = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey6 + let tagBackgroundActive = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.darkModeGrey6 - let tagBackgroundSuccess = TelefonicaColors.palette.turquoise10 | TelefonicaColors.palette.darkModeGrey6 + let tagBackgroundInactive = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey6 - let tagBackgroundWarning = TelefonicaColors.palette.ambar10 | TelefonicaColors.palette.darkModeGrey6 + let tagBackgroundSuccess = TelefonicaColors.palette.turquoise10 | TelefonicaColors.palette.darkModeGrey6 - let tagBackgroundError = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.darkModeGrey6 + let tagBackgroundWarning = TelefonicaColors.palette.ambar10 | TelefonicaColors.palette.darkModeGrey6 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let tagBackgroundError = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.darkModeGrey6 + + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ TelefonicaColors.palette.black.withAlphaComponent(0), TelefonicaColors.palette.black.withAlphaComponent(0.4), TelefonicaColors.palette.black.withAlphaComponent(0.7) ], - stops: [0, 0.3, 1], + stops: [0,0.3,1], angle: 180 )) } @@ -319,4 +319,4 @@ public struct TelefonicaColorPalette { public let darkModeBlack = UIColor(hex: "#191919")! public let darkModeGrey = UIColor(hex: "#242424")! public let darkModeGrey6 = UIColor(hex: "#313235")! -} +} \ No newline at end of file diff --git a/Sources/MisticaCommon/Colors/TuColorPalette.swift b/Sources/MisticaCommon/Colors/TuColorPalette.swift index 4692f5e92..fb22a7ada 100644 --- a/Sources/MisticaCommon/Colors/TuColorPalette.swift +++ b/Sources/MisticaCommon/Colors/TuColorPalette.swift @@ -1,282 +1,282 @@ -// -// TuColorPalette.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import UIKit struct TuColors: MisticaColors { static let palette = TuColorPalette() - let backgroundBrand = MisticaColor.solid(TuColors.palette.primary | TuColors.palette.darkModeBlack) + let backgroundBrand = MisticaColor.solid(TuColors.palette.primary | TuColors.palette.darkModeBlack) + + let backgroundBrandSecondary = TuColors.palette.blue | TuColors.palette.darkModeBlack - let backgroundBrandSecondary = TuColors.palette.blue | TuColors.palette.darkModeBlack + let appBarBackground = TuColors.palette.white | TuColors.palette.darkModeGrey - let appBarBackground = TuColors.palette.white | TuColors.palette.darkModeGrey + let background = TuColors.palette.white | TuColors.palette.darkModeBlack - let background = TuColors.palette.white | TuColors.palette.darkModeBlack + let backgroundContainer = TuColors.palette.white | TuColors.palette.darkModeGrey - let backgroundContainer = TuColors.palette.white | TuColors.palette.darkModeGrey + let backgroundContainerError = TuColors.palette.red10 | TuColors.palette.darkModeGrey - let backgroundContainerError = TuColors.palette.red10 | TuColors.palette.darkModeGrey + let backgroundContainerHover = TuColors.palette.grey9.withAlphaComponent(0.03) | TuColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerHover = TuColors.palette.grey9.withAlphaComponent(0.03) | TuColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerPressed = TuColors.palette.grey9.withAlphaComponent(0.05) | TuColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerPressed = TuColors.palette.grey9.withAlphaComponent(0.05) | TuColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrand = MisticaColor.solid(TuColors.palette.primary | TuColors.palette.darkModeGrey) - let backgroundContainerBrand = MisticaColor.solid(TuColors.palette.primary | TuColors.palette.darkModeGrey) + let backgroundContainerBrandHover = TuColors.palette.grey9.withAlphaComponent(0.2) | TuColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandHover = TuColors.palette.grey9.withAlphaComponent(0.2) | TuColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandPressed = TuColors.palette.grey9.withAlphaComponent(0.4) | TuColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandPressed = TuColors.palette.grey9.withAlphaComponent(0.4) | TuColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandOverInverse = TuColors.palette.primary80 | TuColors.palette.darkModeGrey - let backgroundContainerBrandOverInverse = TuColors.palette.primary80 | TuColors.palette.darkModeGrey + let backgroundContainerAlternative = TuColors.palette.grey1 | TuColors.palette.darkModeGrey - let backgroundContainerAlternative = TuColors.palette.grey1 | TuColors.palette.darkModeGrey + let backgroundOverlay = TuColors.palette.primary.withAlphaComponent(0.8) | TuColors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundOverlay = TuColors.palette.primary.withAlphaComponent(0.8) | TuColors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundSkeleton = TuColors.palette.grey2 | TuColors.palette.darkModeGrey6 - let backgroundSkeleton = TuColors.palette.grey2 | TuColors.palette.darkModeGrey6 + let backgroundSkeletonInverse = TuColors.palette.primary65 | TuColors.palette.darkModeGrey6 - let backgroundSkeletonInverse = TuColors.palette.primary65 | TuColors.palette.darkModeGrey6 + let navigationBarBackground = TuColors.palette.primary | TuColors.palette.darkModeBlack - let navigationBarBackground = TuColors.palette.primary | TuColors.palette.darkModeBlack + let backgroundAlternative = TuColors.palette.grey1 | TuColors.palette.darkModeBlack - let backgroundAlternative = TuColors.palette.grey1 | TuColors.palette.darkModeBlack + let backgroundBrandTop = TuColors.palette.primary | TuColors.palette.darkModeBlack - let backgroundBrandTop = TuColors.palette.primary | TuColors.palette.darkModeBlack + let backgroundBrandBottom = TuColors.palette.primary | TuColors.palette.darkModeBlack - let backgroundBrandBottom = TuColors.palette.primary | TuColors.palette.darkModeBlack + let skeletonWave = TuColors.palette.grey2 | TuColors.palette.grey5 - let skeletonWave = TuColors.palette.grey2 | TuColors.palette.grey5 + let borderLow = TuColors.palette.grey1 | TuColors.palette.darkModeBlack - let borderLow = TuColors.palette.grey1 | TuColors.palette.darkModeBlack + let border = TuColors.palette.grey2 | TuColors.palette.darkModeGrey - let border = TuColors.palette.grey2 | TuColors.palette.darkModeGrey + let borderHigh = TuColors.palette.grey5 - let borderHigh = TuColors.palette.grey5 + let borderSelected = TuColors.palette.blue | TuColors.palette.blue30 - let borderSelected = TuColors.palette.blue | TuColors.palette.blue30 + let coverBackgroundHover = TuColors.palette.grey9.withAlphaComponent(0.25) | TuColors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundHover = TuColors.palette.grey9.withAlphaComponent(0.25) | TuColors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundPressed = TuColors.palette.grey9.withAlphaComponent(0.35) | TuColors.palette.darkModeBlack.withAlphaComponent(0.35) - let coverBackgroundPressed = TuColors.palette.grey9.withAlphaComponent(0.35) | TuColors.palette.darkModeBlack.withAlphaComponent(0.35) + let buttonDangerBackground = TuColors.palette.red - let buttonDangerBackground = TuColors.palette.red + let buttonDangerBackgroundPressed = TuColors.palette.red55 | TuColors.palette.red80 - let buttonDangerBackgroundPressed = TuColors.palette.red55 | TuColors.palette.red80 + let buttonDangerBackgroundHover = TuColors.palette.red55 | TuColors.palette.red80 - let buttonDangerBackgroundHover = TuColors.palette.red55 | TuColors.palette.red80 + let buttonLinkDangerBackgroundPressed = TuColors.palette.red10 - let buttonLinkDangerBackgroundPressed = TuColors.palette.red10 + let buttonLinkDangerBackgroundInverse = TuColors.palette.white | TuColors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInverse = TuColors.palette.white | TuColors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInversePressed = TuColors.palette.red10 - let buttonLinkDangerBackgroundInversePressed = TuColors.palette.red10 + let buttonLinkBackgroundPressed = TuColors.palette.blue10 | TuColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundPressed = TuColors.palette.blue10 | TuColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundInversePressed = TuColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundInversePressed = TuColors.palette.white.withAlphaComponent(0.08) + let buttonPrimaryBackground = TuColors.palette.primary | TuColors.palette.grey2 - let buttonPrimaryBackground = TuColors.palette.primary | TuColors.palette.grey2 + let buttonPrimaryBackgroundInverse = TuColors.palette.white | TuColors.palette.grey2 - let buttonPrimaryBackgroundInverse = TuColors.palette.white | TuColors.palette.grey2 + let buttonPrimaryBackgroundPressed = TuColors.palette.primary45 | TuColors.palette.grey3 - let buttonPrimaryBackgroundPressed = TuColors.palette.primary45 | TuColors.palette.grey3 + let buttonPrimaryBackgroundHover = TuColors.palette.primary45 | TuColors.palette.grey3 - let buttonPrimaryBackgroundHover = TuColors.palette.primary45 | TuColors.palette.grey3 + let buttonPrimaryBackgroundInversePressed = TuColors.palette.white.withAlphaComponent(0.8) | TuColors.palette.grey3 - let buttonPrimaryBackgroundInversePressed = TuColors.palette.white.withAlphaComponent(0.8) | TuColors.palette.grey3 + let buttonSecondaryBorder = TuColors.palette.blue | TuColors.palette.grey2 - let buttonSecondaryBorder = TuColors.palette.blue | TuColors.palette.grey2 + let buttonSecondaryBorderPressed = TuColors.palette.blue70 | TuColors.palette.grey2 - let buttonSecondaryBorderPressed = TuColors.palette.blue70 | TuColors.palette.grey2 + let buttonSecondaryBorderInverse = TuColors.palette.white | TuColors.palette.grey2 - let buttonSecondaryBorderInverse = TuColors.palette.white | TuColors.palette.grey2 + let buttonSecondaryBackgroundHover = TuColors.palette.blue10 | TuColors.palette.grey2.withAlphaComponent(0.15) - let buttonSecondaryBackgroundHover = TuColors.palette.blue10 | TuColors.palette.grey2.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = TuColors.palette.blue10 | TuColors.palette.grey2.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = TuColors.palette.blue10 | TuColors.palette.grey2.withAlphaComponent(0.15) + let buttonSecondaryBorderInversePressed = TuColors.palette.white | TuColors.palette.grey2 - let buttonSecondaryBorderInversePressed = TuColors.palette.white | TuColors.palette.grey2 + let buttonSecondaryBackgroundInverseHover = TuColors.palette.white.withAlphaComponent(0.1) | TuColors.palette.grey2.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInverseHover = TuColors.palette.white.withAlphaComponent(0.1) | TuColors.palette.grey2.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = TuColors.palette.white.withAlphaComponent(0.1) | TuColors.palette.grey2.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = TuColors.palette.white.withAlphaComponent(0.1) | TuColors.palette.grey2.withAlphaComponent(0.15) + let textButtonPrimary = TuColors.palette.white | TuColors.palette.primary - let textButtonPrimary = TuColors.palette.white | TuColors.palette.primary + let textButtonPrimaryInverse = TuColors.palette.primary - let textButtonPrimaryInverse = TuColors.palette.primary + let textButtonPrimaryInversePressed = TuColors.palette.primary - let textButtonPrimaryInversePressed = TuColors.palette.primary + let textButtonSecondary = TuColors.palette.blue | TuColors.palette.grey2 - let textButtonSecondary = TuColors.palette.blue | TuColors.palette.grey2 + let textButtonSecondaryPressed = TuColors.palette.blue70 | TuColors.palette.grey2 - let textButtonSecondaryPressed = TuColors.palette.blue70 | TuColors.palette.grey2 + let textButtonSecondaryInverse = TuColors.palette.white | TuColors.palette.grey2 - let textButtonSecondaryInverse = TuColors.palette.white | TuColors.palette.grey2 + let textButtonSecondaryInversePressed = TuColors.palette.white | TuColors.palette.grey2 - let textButtonSecondaryInversePressed = TuColors.palette.white | TuColors.palette.grey2 + let textLink = TuColors.palette.blue | TuColors.palette.blue30 - let textLink = TuColors.palette.blue | TuColors.palette.blue30 + let textLinkInverse = TuColors.palette.white | TuColors.palette.blue30 - let textLinkInverse = TuColors.palette.white | TuColors.palette.blue30 + let textLinkDanger = TuColors.palette.red - let textLinkDanger = TuColors.palette.red + let textLinkSnackbar = TuColors.palette.white | TuColors.palette.blue30 - let textLinkSnackbar = TuColors.palette.white | TuColors.palette.blue30 + let textActivated = TuColors.palette.primary | TuColors.palette.blue30 - let textActivated = TuColors.palette.primary | TuColors.palette.blue30 + let textBrand = TuColors.palette.blue | TuColors.palette.blue30 - let textBrand = TuColors.palette.blue | TuColors.palette.blue30 + let control = TuColors.palette.grey5 | TuColors.palette.darkModeGrey6 - let control = TuColors.palette.grey5 | TuColors.palette.darkModeGrey6 + let controlActivated = TuColors.palette.primary | TuColors.palette.blue30 - let controlActivated = TuColors.palette.primary | TuColors.palette.blue30 + let controlInverse = TuColors.palette.white | TuColors.palette.darkModeGrey6 - let controlInverse = TuColors.palette.white | TuColors.palette.darkModeGrey6 + let controlActivatedInverse = TuColors.palette.white | TuColors.palette.blue30 - let controlActivatedInverse = TuColors.palette.white | TuColors.palette.blue30 + let controlError = TuColors.palette.red - let controlError = TuColors.palette.red + let barTrack = TuColors.palette.grey2 | TuColors.palette.darkModeGrey6 - let barTrack = TuColors.palette.grey2 | TuColors.palette.darkModeGrey6 + let barTrackInverse = TuColors.palette.white.withAlphaComponent(0.36) | TuColors.palette.darkModeGrey6 - let loadingBar = TuColors.palette.green40 + let loadingBar = TuColors.palette.green40 - let loadingBarBackground = TuColors.palette.green + let loadingBarBackground = TuColors.palette.green - let toggleAndroidInactive = TuColors.palette.grey2 | TuColors.palette.grey4 + let toggleAndroidInactive = TuColors.palette.grey2 | TuColors.palette.grey4 - let toggleAndroidBackgroundActive = TuColors.palette.primary15 | TuColors.palette.blue20 + let toggleAndroidBackgroundActive = TuColors.palette.primary15 | TuColors.palette.blue20 - let iosControlKnob = TuColors.palette.white | TuColors.palette.grey2 + let iosControlKnob = TuColors.palette.white | TuColors.palette.grey2 - let divider = TuColors.palette.grey2 | TuColors.palette.white.withAlphaComponent(0.05) + let controlKnobInverse = TuColors.palette.primary | TuColors.palette.grey2 - let dividerInverse = TuColors.palette.white.withAlphaComponent(0.2) | TuColors.palette.white.withAlphaComponent(0.05) + let divider = TuColors.palette.grey2 | TuColors.palette.white.withAlphaComponent(0.05) - let navigationBarDivider = TuColors.palette.primary | TuColors.palette.darkModeBlack + let dividerInverse = TuColors.palette.white.withAlphaComponent(0.2) | TuColors.palette.white.withAlphaComponent(0.05) - let badge = TuColors.palette.blue | TuColors.palette.blue30 + let navigationBarDivider = TuColors.palette.primary | TuColors.palette.darkModeBlack - let feedbackErrorBackground = TuColors.palette.red + let badge = TuColors.palette.blue | TuColors.palette.blue30 - let feedbackInfoBackground = TuColors.palette.primary | TuColors.palette.darkModeGrey + let feedbackErrorBackground = TuColors.palette.red - let brand = TuColors.palette.blue | TuColors.palette.blue30 + let feedbackInfoBackground = TuColors.palette.primary | TuColors.palette.darkModeGrey - let brandHigh = TuColors.palette.blue70 | TuColors.palette.white.withAlphaComponent(0.05) + let brand = TuColors.palette.blue | TuColors.palette.blue30 - let inverse = TuColors.palette.white | TuColors.palette.grey2 + let brandHigh = TuColors.palette.blue70 | TuColors.palette.white.withAlphaComponent(0.05) - let neutralHigh = TuColors.palette.grey9 | TuColors.palette.grey2 + let inverse = TuColors.palette.white | TuColors.palette.grey2 - let neutralMedium = TuColors.palette.grey5 + let neutralHigh = TuColors.palette.grey9 | TuColors.palette.grey2 - let neutralMediumInverse = TuColors.palette.grey5 + let neutralMedium = TuColors.palette.grey5 - let neutralLow = TuColors.palette.grey1 | TuColors.palette.darkModeGrey6 + let neutralMediumInverse = TuColors.palette.grey5 - let neutralLowAlternative = TuColors.palette.grey2 | TuColors.palette.darkModeGrey6 + let neutralLow = TuColors.palette.grey1 | TuColors.palette.darkModeGrey6 - let textPrimary = TuColors.palette.grey9 | TuColors.palette.grey2 + let neutralLowAlternative = TuColors.palette.grey2 | TuColors.palette.darkModeGrey6 - let textPrimaryInverse = TuColors.palette.white | TuColors.palette.grey2 + let textPrimary = TuColors.palette.grey9 | TuColors.palette.grey2 - let textSecondary = TuColors.palette.grey6 | TuColors.palette.grey4 + let textPrimaryInverse = TuColors.palette.white | TuColors.palette.grey2 - let textSecondaryInverse = TuColors.palette.grey3 | TuColors.palette.grey4 + let textSecondary = TuColors.palette.grey6 | TuColors.palette.grey4 - let error = TuColors.palette.red + let textSecondaryInverse = TuColors.palette.grey3 | TuColors.palette.grey4 - let textError = TuColors.palette.red + let error = TuColors.palette.red - let textErrorInverse = TuColors.palette.white | TuColors.palette.red + let textError = TuColors.palette.red - let success = TuColors.palette.green + let textErrorInverse = TuColors.palette.white | TuColors.palette.red - let warning = TuColors.palette.orange + let success = TuColors.palette.green - let promo = TuColors.palette.blue + let warning = TuColors.palette.orange - let highlight = TuColors.palette.red40 + let promo = TuColors.palette.blue - let successLow = TuColors.palette.green10 | TuColors.palette.darkModeGrey6 + let highlight = TuColors.palette.red40 - let warningLow = TuColors.palette.orange20 | TuColors.palette.darkModeGrey6 + let successLow = TuColors.palette.green10 | TuColors.palette.darkModeGrey6 - let errorLow = TuColors.palette.red10 | TuColors.palette.darkModeGrey6 + let warningLow = TuColors.palette.orange20 | TuColors.palette.darkModeGrey6 - let promoLow = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 + let errorLow = TuColors.palette.red10 | TuColors.palette.darkModeGrey6 - let brandLow = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 + let promoLow = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 - let successHigh = TuColors.palette.green75 | TuColors.palette.green40 + let brandLow = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 - let warningHigh = TuColors.palette.orange70 | TuColors.palette.orange55 + let successHigh = TuColors.palette.green75 | TuColors.palette.green40 - let errorHigh = TuColors.palette.red70 | TuColors.palette.red40 + let warningHigh = TuColors.palette.orange70 | TuColors.palette.orange55 - let promoHigh = TuColors.palette.blue | TuColors.palette.blue30 + let errorHigh = TuColors.palette.red70 | TuColors.palette.red40 - let successHighInverse = TuColors.palette.green75 + let promoHigh = TuColors.palette.blue | TuColors.palette.blue30 - let warningHighInverse = TuColors.palette.orange70 + let successHighInverse = TuColors.palette.green75 - let errorHighInverse = TuColors.palette.red70 + let warningHighInverse = TuColors.palette.orange70 - let promoHighInverse = TuColors.palette.blue | TuColors.palette.blue70 + let errorHighInverse = TuColors.palette.red70 - let textNavigationBarPrimary = TuColors.palette.white | TuColors.palette.grey2 + let promoHighInverse = TuColors.palette.blue | TuColors.palette.blue70 - let textNavigationBarSecondary = TuColors.palette.grey1 | TuColors.palette.grey4 + let textNavigationBarPrimary = TuColors.palette.white | TuColors.palette.grey2 - let textNavigationSearchBarHint = TuColors.palette.grey1 | TuColors.palette.grey4 + let textNavigationBarSecondary = TuColors.palette.grey1 | TuColors.palette.grey4 - let textNavigationSearchBarText = TuColors.palette.white | TuColors.palette.grey2 + let textNavigationSearchBarHint = TuColors.palette.grey1 | TuColors.palette.grey4 - let textAppBar = TuColors.palette.grey6 | TuColors.palette.grey5 + let textNavigationSearchBarText = TuColors.palette.white | TuColors.palette.grey2 - let textAppBarSelected = TuColors.palette.primary | TuColors.palette.grey2 + let textAppBar = TuColors.palette.grey6 | TuColors.palette.grey5 - let customTabsBackground = TuColors.palette.white | TuColors.palette.darkModeBlack + let textAppBarSelected = TuColors.palette.primary | TuColors.palette.grey2 - let tagTextPromo = TuColors.palette.blue | TuColors.palette.blue30 + let customTabsBackground = TuColors.palette.white | TuColors.palette.darkModeBlack - let tagTextActive = TuColors.palette.blue | TuColors.palette.blue30 + let tagTextPromo = TuColors.palette.blue | TuColors.palette.blue30 - let tagTextInactive = TuColors.palette.grey5 + let tagTextActive = TuColors.palette.blue | TuColors.palette.blue30 - let tagTextSuccess = TuColors.palette.green75 | TuColors.palette.green40 + let tagTextInactive = TuColors.palette.grey5 - let tagTextWarning = TuColors.palette.orange70 | TuColors.palette.orange55 + let tagTextSuccess = TuColors.palette.green75 | TuColors.palette.green40 - let tagTextError = TuColors.palette.red70 | TuColors.palette.red40 + let tagTextWarning = TuColors.palette.orange70 | TuColors.palette.orange55 - let tagBackgroundPromo = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 + let tagTextError = TuColors.palette.red70 | TuColors.palette.red40 - let tagBackgroundActive = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 + let tagBackgroundPromo = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 - let tagBackgroundInactive = TuColors.palette.grey1 | TuColors.palette.darkModeGrey6 + let tagBackgroundActive = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 - let tagBackgroundSuccess = TuColors.palette.green10 | TuColors.palette.darkModeGrey6 + let tagBackgroundInactive = TuColors.palette.grey1 | TuColors.palette.darkModeGrey6 - let tagBackgroundWarning = TuColors.palette.orange20 | TuColors.palette.darkModeGrey6 + let tagBackgroundSuccess = TuColors.palette.green10 | TuColors.palette.darkModeGrey6 - let tagBackgroundError = TuColors.palette.red10 | TuColors.palette.darkModeGrey6 + let tagBackgroundWarning = TuColors.palette.orange20 | TuColors.palette.darkModeGrey6 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let tagBackgroundError = TuColors.palette.red10 | TuColors.palette.darkModeGrey6 + + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ TuColors.palette.black.withAlphaComponent(0), TuColors.palette.black.withAlphaComponent(0.4), TuColors.palette.black.withAlphaComponent(0.7) ], - stops: [0, 0.3, 1], + stops: [0,0.3,1], angle: 180 )) } @@ -323,4 +323,4 @@ public struct TuColorPalette { public let darkModeBlack = UIColor(hex: "#161A24")! public let darkModeGrey = UIColor(hex: "#202735")! public let darkModeGrey6 = UIColor(hex: "#2B3447")! -} +} \ No newline at end of file diff --git a/Sources/MisticaCommon/Colors/VivoColorPalette.swift b/Sources/MisticaCommon/Colors/VivoColorPalette.swift index f6f5ac9f6..49c3f0530 100644 --- a/Sources/MisticaCommon/Colors/VivoColorPalette.swift +++ b/Sources/MisticaCommon/Colors/VivoColorPalette.swift @@ -1,282 +1,282 @@ -// -// VivoColorPalette.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import UIKit struct VivoColors: MisticaColors { static let palette = VivoColorPalette() - let backgroundBrand = MisticaColor.solid(VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack) + let backgroundBrand = MisticaColor.solid(VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack) + + let backgroundBrandSecondary = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack - let backgroundBrandSecondary = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack + let appBarBackground = VivoColors.palette.white | VivoColors.palette.darkModeGrey - let appBarBackground = VivoColors.palette.white | VivoColors.palette.darkModeGrey + let background = VivoColors.palette.white | VivoColors.palette.darkModeBlack - let background = VivoColors.palette.white | VivoColors.palette.darkModeBlack + let backgroundContainer = VivoColors.palette.white | VivoColors.palette.darkModeGrey - let backgroundContainer = VivoColors.palette.white | VivoColors.palette.darkModeGrey + let backgroundContainerError = VivoColors.palette.pepperLight10 | VivoColors.palette.darkModeGrey - let backgroundContainerError = VivoColors.palette.pepperLight10 | VivoColors.palette.darkModeGrey + let backgroundContainerHover = VivoColors.palette.darkModeBlack.withAlphaComponent(0.03) | VivoColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerHover = VivoColors.palette.darkModeBlack.withAlphaComponent(0.03) | VivoColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerPressed = VivoColors.palette.darkModeBlack.withAlphaComponent(0.05) | VivoColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerPressed = VivoColors.palette.darkModeBlack.withAlphaComponent(0.05) | VivoColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrand = MisticaColor.solid(VivoColors.palette.vivoPurple | VivoColors.palette.darkModeGrey) - let backgroundContainerBrand = MisticaColor.solid(VivoColors.palette.vivoPurple | VivoColors.palette.darkModeGrey) + let backgroundContainerBrandHover = VivoColors.palette.darkModeBlack.withAlphaComponent(0.2) | VivoColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandHover = VivoColors.palette.darkModeBlack.withAlphaComponent(0.2) | VivoColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandPressed = VivoColors.palette.darkModeBlack.withAlphaComponent(0.4) | VivoColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandPressed = VivoColors.palette.darkModeBlack.withAlphaComponent(0.4) | VivoColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandOverInverse = VivoColors.palette.vivoPurpleDark | VivoColors.palette.darkModeGrey - let backgroundContainerBrandOverInverse = VivoColors.palette.vivoPurpleDark | VivoColors.palette.darkModeGrey + let backgroundContainerAlternative = VivoColors.palette.grey1 | VivoColors.palette.darkModeGrey - let backgroundContainerAlternative = VivoColors.palette.grey1 | VivoColors.palette.darkModeGrey + let backgroundOverlay = VivoColors.palette.grey6.withAlphaComponent(0.6) | VivoColors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundOverlay = VivoColors.palette.grey6.withAlphaComponent(0.6) | VivoColors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundSkeleton = VivoColors.palette.grey2 | VivoColors.palette.darkModeGrey6 - let backgroundSkeleton = VivoColors.palette.grey2 | VivoColors.palette.darkModeGrey6 + let backgroundSkeletonInverse = VivoColors.palette.vivoPurpleDark | VivoColors.palette.darkModeGrey6 - let backgroundSkeletonInverse = VivoColors.palette.vivoPurpleDark | VivoColors.palette.darkModeGrey6 + let navigationBarBackground = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack - let navigationBarBackground = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack + let backgroundAlternative = VivoColors.palette.grey1 | VivoColors.palette.darkModeBlack - let backgroundAlternative = VivoColors.palette.grey1 | VivoColors.palette.darkModeBlack + let backgroundBrandTop = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack - let backgroundBrandTop = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack + let backgroundBrandBottom = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack - let backgroundBrandBottom = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack + let skeletonWave = VivoColors.palette.grey2 | VivoColors.palette.grey5 - let skeletonWave = VivoColors.palette.grey2 | VivoColors.palette.grey5 + let borderLow = VivoColors.palette.grey1 | VivoColors.palette.darkModeBlack - let borderLow = VivoColors.palette.grey1 | VivoColors.palette.darkModeBlack + let border = VivoColors.palette.grey3 | VivoColors.palette.darkModeGrey - let border = VivoColors.palette.grey3 | VivoColors.palette.darkModeGrey + let borderHigh = VivoColors.palette.grey5 - let borderHigh = VivoColors.palette.grey5 + let borderSelected = VivoColors.palette.vivoPurple - let borderSelected = VivoColors.palette.vivoPurple + let coverBackgroundHover = VivoColors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundHover = VivoColors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundPressed = VivoColors.palette.darkModeBlack.withAlphaComponent(0.35) - let coverBackgroundPressed = VivoColors.palette.darkModeBlack.withAlphaComponent(0.35) + let buttonDangerBackground = VivoColors.palette.pepper - let buttonDangerBackground = VivoColors.palette.pepper + let buttonDangerBackgroundPressed = VivoColors.palette.pepperDark - let buttonDangerBackgroundPressed = VivoColors.palette.pepperDark + let buttonDangerBackgroundHover = VivoColors.palette.pepperDark - let buttonDangerBackgroundHover = VivoColors.palette.pepperDark + let buttonLinkDangerBackgroundPressed = VivoColors.palette.pepperLight10 | VivoColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundPressed = VivoColors.palette.pepperLight10 | VivoColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundInverse = VivoColors.palette.white | VivoColors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInverse = VivoColors.palette.white | VivoColors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInversePressed = VivoColors.palette.pepperLight10 | VivoColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundInversePressed = VivoColors.palette.pepperLight10 | VivoColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundPressed = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundPressed = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundInversePressed = VivoColors.palette.white.withAlphaComponent(0.1) | VivoColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundInversePressed = VivoColors.palette.white.withAlphaComponent(0.1) | VivoColors.palette.white.withAlphaComponent(0.08) + let buttonPrimaryBackground = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 - let buttonPrimaryBackground = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 + let buttonPrimaryBackgroundInverse = VivoColors.palette.white | VivoColors.palette.vivoPurpleLight80 - let buttonPrimaryBackgroundInverse = VivoColors.palette.white | VivoColors.palette.vivoPurpleLight80 + let buttonPrimaryBackgroundPressed = VivoColors.palette.vivoPurpleDark - let buttonPrimaryBackgroundPressed = VivoColors.palette.vivoPurpleDark + let buttonPrimaryBackgroundHover = VivoColors.palette.vivoPurpleDark - let buttonPrimaryBackgroundHover = VivoColors.palette.vivoPurpleDark + let buttonPrimaryBackgroundInversePressed = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.vivoPurpleDark - let buttonPrimaryBackgroundInversePressed = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.vivoPurpleDark + let buttonSecondaryBorder = VivoColors.palette.vivoPurple | VivoColors.palette.white - let buttonSecondaryBorder = VivoColors.palette.vivoPurple | VivoColors.palette.white + let buttonSecondaryBorderPressed = VivoColors.palette.vivoPurpleDark | VivoColors.palette.white - let buttonSecondaryBorderPressed = VivoColors.palette.vivoPurpleDark | VivoColors.palette.white + let buttonSecondaryBorderInverse = VivoColors.palette.white - let buttonSecondaryBorderInverse = VivoColors.palette.white + let buttonSecondaryBackgroundHover = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundHover = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBorderInversePressed = VivoColors.palette.white - let buttonSecondaryBorderInversePressed = VivoColors.palette.white + let buttonSecondaryBackgroundInverseHover = VivoColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInverseHover = VivoColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = VivoColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = VivoColors.palette.white.withAlphaComponent(0.15) + let textButtonPrimary = VivoColors.palette.white | VivoColors.palette.grey2 - let textButtonPrimary = VivoColors.palette.white | VivoColors.palette.grey2 + let textButtonPrimaryInverse = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 - let textButtonPrimaryInverse = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 + let textButtonPrimaryInversePressed = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 - let textButtonPrimaryInversePressed = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 + let textButtonSecondary = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 - let textButtonSecondary = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 + let textButtonSecondaryPressed = VivoColors.palette.vivoPurpleDark | VivoColors.palette.grey2 - let textButtonSecondaryPressed = VivoColors.palette.vivoPurpleDark | VivoColors.palette.grey2 + let textButtonSecondaryInverse = VivoColors.palette.white | VivoColors.palette.grey2 - let textButtonSecondaryInverse = VivoColors.palette.white | VivoColors.palette.grey2 + let textButtonSecondaryInversePressed = VivoColors.palette.white | VivoColors.palette.grey2 - let textButtonSecondaryInversePressed = VivoColors.palette.white | VivoColors.palette.grey2 + let textLink = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight50 - let textLink = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight50 + let textLinkInverse = VivoColors.palette.white | VivoColors.palette.vivoPurpleLight50 - let textLinkInverse = VivoColors.palette.white | VivoColors.palette.vivoPurpleLight50 + let textLinkDanger = VivoColors.palette.pepper - let textLinkDanger = VivoColors.palette.pepper + let textLinkSnackbar = VivoColors.palette.vivoPurpleLight50 - let textLinkSnackbar = VivoColors.palette.vivoPurpleLight50 + let textActivated = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 - let textActivated = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 + let textBrand = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 - let textBrand = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 + let control = VivoColors.palette.grey3 | VivoColors.palette.darkModeGrey6 - let control = VivoColors.palette.grey3 | VivoColors.palette.darkModeGrey6 + let controlActivated = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 - let controlActivated = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 + let controlInverse = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.darkModeGrey6 - let controlInverse = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.darkModeGrey6 + let controlActivatedInverse = VivoColors.palette.white | VivoColors.palette.vivoPurpleLight80 - let controlActivatedInverse = VivoColors.palette.white | VivoColors.palette.vivoPurpleLight80 + let controlError = VivoColors.palette.pepper - let controlError = VivoColors.palette.pepper + let barTrack = VivoColors.palette.grey3 | VivoColors.palette.darkModeGrey6 - let barTrack = VivoColors.palette.grey3 | VivoColors.palette.darkModeGrey6 + let barTrackInverse = VivoColors.palette.white.withAlphaComponent(0.5) | VivoColors.palette.darkModeGrey6 - let loadingBar = VivoColors.palette.pink | VivoColors.palette.vivoPurpleLight80 + let loadingBar = VivoColors.palette.pink | VivoColors.palette.vivoPurpleLight80 - let loadingBarBackground = VivoColors.palette.pepperLight30 | VivoColors.palette.darkModeGrey6 + let loadingBarBackground = VivoColors.palette.pepperLight30 | VivoColors.palette.darkModeGrey6 - let toggleAndroidInactive = VivoColors.palette.grey2 | VivoColors.palette.grey4 + let toggleAndroidInactive = VivoColors.palette.grey2 | VivoColors.palette.grey4 - let toggleAndroidBackgroundActive = VivoColors.palette.vivoPurpleLight20 | VivoColors.palette.vivoPurpleLight50 + let toggleAndroidBackgroundActive = VivoColors.palette.vivoPurpleLight20 | VivoColors.palette.vivoPurpleLight50 - let iosControlKnob = VivoColors.palette.white | VivoColors.palette.grey2 + let iosControlKnob = VivoColors.palette.white | VivoColors.palette.grey2 - let divider = VivoColors.palette.grey2 | VivoColors.palette.white.withAlphaComponent(0.05) + let controlKnobInverse = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 - let dividerInverse = VivoColors.palette.white.withAlphaComponent(0.2) | VivoColors.palette.white.withAlphaComponent(0.05) + let divider = VivoColors.palette.grey2 | VivoColors.palette.white.withAlphaComponent(0.05) - let navigationBarDivider = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack + let dividerInverse = VivoColors.palette.white.withAlphaComponent(0.2) | VivoColors.palette.white.withAlphaComponent(0.05) - let badge = VivoColors.palette.pepperDark + let navigationBarDivider = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack - let feedbackErrorBackground = VivoColors.palette.pepper + let badge = VivoColors.palette.pepperDark - let feedbackInfoBackground = VivoColors.palette.grey6 + let feedbackErrorBackground = VivoColors.palette.pepper - let brand = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 + let feedbackInfoBackground = VivoColors.palette.grey6 - let brandHigh = VivoColors.palette.vivoPurpleDark | VivoColors.palette.white.withAlphaComponent(0.05) + let brand = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 - let inverse = VivoColors.palette.white | VivoColors.palette.grey2 + let brandHigh = VivoColors.palette.vivoPurpleDark | VivoColors.palette.white.withAlphaComponent(0.05) - let neutralHigh = VivoColors.palette.grey6 | VivoColors.palette.grey2 + let inverse = VivoColors.palette.white | VivoColors.palette.grey2 - let neutralMedium = VivoColors.palette.grey5 + let neutralHigh = VivoColors.palette.grey6 | VivoColors.palette.grey2 - let neutralMediumInverse = VivoColors.palette.grey5 + let neutralMedium = VivoColors.palette.grey5 - let neutralLow = VivoColors.palette.grey1 | VivoColors.palette.darkModeGrey6 + let neutralMediumInverse = VivoColors.palette.grey5 - let neutralLowAlternative = VivoColors.palette.grey2 | VivoColors.palette.darkModeGrey6 + let neutralLow = VivoColors.palette.grey1 | VivoColors.palette.darkModeGrey6 - let textPrimary = VivoColors.palette.grey6 | VivoColors.palette.grey2 + let neutralLowAlternative = VivoColors.palette.grey2 | VivoColors.palette.darkModeGrey6 - let textPrimaryInverse = VivoColors.palette.white | VivoColors.palette.grey2 + let textPrimary = VivoColors.palette.grey6 | VivoColors.palette.grey2 - let textSecondary = VivoColors.palette.grey5 | VivoColors.palette.grey4 + let textPrimaryInverse = VivoColors.palette.white | VivoColors.palette.grey2 - let textSecondaryInverse = VivoColors.palette.vivoPurpleLight20 | VivoColors.palette.grey4 + let textSecondary = VivoColors.palette.grey5 | VivoColors.palette.grey4 - let error = VivoColors.palette.pepper + let textSecondaryInverse = VivoColors.palette.vivoPurpleLight20 | VivoColors.palette.grey4 - let textError = VivoColors.palette.pepper + let error = VivoColors.palette.pepper - let textErrorInverse = VivoColors.palette.white | VivoColors.palette.pepper + let textError = VivoColors.palette.pepper - let success = VivoColors.palette.vivoGreen + let textErrorInverse = VivoColors.palette.white | VivoColors.palette.pepper - let warning = VivoColors.palette.orange + let success = VivoColors.palette.vivoGreen - let promo = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 + let warning = VivoColors.palette.orange - let highlight = VivoColors.palette.pink + let promo = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 - let successLow = VivoColors.palette.vivoGreenLight10 | VivoColors.palette.darkModeGrey6 + let highlight = VivoColors.palette.pink - let warningLow = VivoColors.palette.orangeLight10 | VivoColors.palette.darkModeGrey6 + let successLow = VivoColors.palette.vivoGreenLight10 | VivoColors.palette.darkModeGrey6 - let errorLow = VivoColors.palette.pepperLight10 | VivoColors.palette.darkModeGrey6 + let warningLow = VivoColors.palette.orangeLight10 | VivoColors.palette.darkModeGrey6 - let promoLow = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 + let errorLow = VivoColors.palette.pepperLight10 | VivoColors.palette.darkModeGrey6 - let brandLow = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 + let promoLow = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 - let successHigh = VivoColors.palette.vivoGreenDark | VivoColors.palette.vivoGreenLight30 + let brandLow = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 - let warningHigh = VivoColors.palette.orangeDark | VivoColors.palette.orangeLight40 + let successHigh = VivoColors.palette.vivoGreenDark | VivoColors.palette.vivoGreenLight30 - let errorHigh = VivoColors.palette.pepperDark80 | VivoColors.palette.pepperLight40 + let warningHigh = VivoColors.palette.orangeDark | VivoColors.palette.orangeLight40 - let promoHigh = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight50 + let errorHigh = VivoColors.palette.pepperDark80 | VivoColors.palette.pepperLight40 - let successHighInverse = VivoColors.palette.vivoGreenDark + let promoHigh = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight50 - let warningHighInverse = VivoColors.palette.orangeDark + let successHighInverse = VivoColors.palette.vivoGreenDark - let errorHighInverse = VivoColors.palette.pepperDark80 + let warningHighInverse = VivoColors.palette.orangeDark - let promoHighInverse = VivoColors.palette.vivoPurple + let errorHighInverse = VivoColors.palette.pepperDark80 - let textNavigationBarPrimary = VivoColors.palette.white | VivoColors.palette.grey2 + let promoHighInverse = VivoColors.palette.vivoPurple - let textNavigationBarSecondary = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.grey4 + let textNavigationBarPrimary = VivoColors.palette.white | VivoColors.palette.grey2 - let textNavigationSearchBarHint = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.grey4 + let textNavigationBarSecondary = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.grey4 - let textNavigationSearchBarText = VivoColors.palette.white | VivoColors.palette.grey2 + let textNavigationSearchBarHint = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.grey4 - let textAppBar = VivoColors.palette.grey4 | VivoColors.palette.grey5 + let textNavigationSearchBarText = VivoColors.palette.white | VivoColors.palette.grey2 - let textAppBarSelected = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 + let textAppBar = VivoColors.palette.grey4 | VivoColors.palette.grey5 - let customTabsBackground = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack + let textAppBarSelected = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 - let tagTextPromo = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight50 + let customTabsBackground = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack - let tagTextActive = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 + let tagTextPromo = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight50 - let tagTextInactive = VivoColors.palette.grey5 + let tagTextActive = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 - let tagTextSuccess = VivoColors.palette.vivoGreenDark | VivoColors.palette.vivoGreenLight30 + let tagTextInactive = VivoColors.palette.grey5 - let tagTextWarning = VivoColors.palette.orangeDark | VivoColors.palette.orangeLight40 + let tagTextSuccess = VivoColors.palette.vivoGreenDark | VivoColors.palette.vivoGreenLight30 - let tagTextError = VivoColors.palette.pepperDark80 | VivoColors.palette.pepperLight40 + let tagTextWarning = VivoColors.palette.orangeDark | VivoColors.palette.orangeLight40 - let tagBackgroundPromo = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 + let tagTextError = VivoColors.palette.pepperDark80 | VivoColors.palette.pepperLight40 - let tagBackgroundActive = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 + let tagBackgroundPromo = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 - let tagBackgroundInactive = VivoColors.palette.grey1 | VivoColors.palette.darkModeGrey6 + let tagBackgroundActive = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 - let tagBackgroundSuccess = VivoColors.palette.vivoGreenLight10 | VivoColors.palette.darkModeGrey6 + let tagBackgroundInactive = VivoColors.palette.grey1 | VivoColors.palette.darkModeGrey6 - let tagBackgroundWarning = VivoColors.palette.orangeLight10 | VivoColors.palette.darkModeGrey6 + let tagBackgroundSuccess = VivoColors.palette.vivoGreenLight10 | VivoColors.palette.darkModeGrey6 - let tagBackgroundError = VivoColors.palette.pepperLight10 | VivoColors.palette.darkModeGrey6 + let tagBackgroundWarning = VivoColors.palette.orangeLight10 | VivoColors.palette.darkModeGrey6 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let tagBackgroundError = VivoColors.palette.pepperLight10 | VivoColors.palette.darkModeGrey6 + + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ VivoColors.palette.grey6.withAlphaComponent(0), VivoColors.palette.grey6.withAlphaComponent(0.4), VivoColors.palette.grey6.withAlphaComponent(0.7) ], - stops: [0, 0.3, 1], + stops: [0,0.3,1], angle: 180 )) } @@ -318,4 +318,4 @@ public struct VivoColorPalette { public let darkModeBlack = UIColor(hex: "#191919")! public let darkModeGrey = UIColor(hex: "#242424")! public let darkModeGrey6 = UIColor(hex: "#313235")! -} +} \ No newline at end of file diff --git a/Sources/MisticaCommon/Colors/VivoNewColorPalette.swift b/Sources/MisticaCommon/Colors/VivoNewColorPalette.swift index 107491272..a65101aeb 100644 --- a/Sources/MisticaCommon/Colors/VivoNewColorPalette.swift +++ b/Sources/MisticaCommon/Colors/VivoNewColorPalette.swift @@ -1,282 +1,282 @@ -// -// VivoNewColorPalette.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import UIKit struct VivoNewColors: MisticaColors { static let palette = VivoNewColorPalette() - let backgroundBrand = MisticaColor.solid(VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack) + let backgroundBrand = MisticaColor.solid(VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack) + + let backgroundBrandSecondary = VivoNewColors.palette.vivoPurpleLight80 | VivoNewColors.palette.darkModeBlack - let backgroundBrandSecondary = VivoNewColors.palette.vivoPurpleLight80 | VivoNewColors.palette.darkModeBlack + let appBarBackground = VivoNewColors.palette.white | VivoNewColors.palette.darkModeGrey - let appBarBackground = VivoNewColors.palette.white | VivoNewColors.palette.darkModeGrey + let background = VivoNewColors.palette.white | VivoNewColors.palette.darkModeBlack - let background = VivoNewColors.palette.white | VivoNewColors.palette.darkModeBlack + let backgroundContainer = VivoNewColors.palette.white | VivoNewColors.palette.darkModeGrey - let backgroundContainer = VivoNewColors.palette.white | VivoNewColors.palette.darkModeGrey + let backgroundContainerError = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.darkModeGrey - let backgroundContainerError = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.darkModeGrey + let backgroundContainerHover = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.03) | VivoNewColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerHover = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.03) | VivoNewColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerPressed = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.05) | VivoNewColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerPressed = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.05) | VivoNewColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrand = MisticaColor.solid(VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeGrey) - let backgroundContainerBrand = MisticaColor.solid(VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeGrey) + let backgroundContainerBrandHover = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.2) | VivoNewColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandHover = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.2) | VivoNewColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandPressed = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.4) | VivoNewColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandPressed = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.4) | VivoNewColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandOverInverse = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.darkModeGrey - let backgroundContainerBrandOverInverse = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.darkModeGrey + let backgroundContainerAlternative = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeGrey - let backgroundContainerAlternative = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeGrey + let backgroundOverlay = VivoNewColors.palette.grey6.withAlphaComponent(0.6) | VivoNewColors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundOverlay = VivoNewColors.palette.grey6.withAlphaComponent(0.6) | VivoNewColors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundSkeleton = VivoNewColors.palette.grey3 | VivoNewColors.palette.darkModeGrey6 - let backgroundSkeleton = VivoNewColors.palette.grey3 | VivoNewColors.palette.darkModeGrey6 + let backgroundSkeletonInverse = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.darkModeGrey6 - let backgroundSkeletonInverse = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.darkModeGrey6 + let navigationBarBackground = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack - let navigationBarBackground = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack + let backgroundAlternative = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeBlack - let backgroundAlternative = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeBlack + let backgroundBrandTop = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack - let backgroundBrandTop = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack + let backgroundBrandBottom = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack - let backgroundBrandBottom = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack + let skeletonWave = VivoNewColors.palette.grey2 | VivoNewColors.palette.grey5 - let skeletonWave = VivoNewColors.palette.grey2 | VivoNewColors.palette.grey5 + let borderLow = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeBlack - let borderLow = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeBlack + let border = VivoNewColors.palette.grey3 | VivoNewColors.palette.darkModeGrey - let border = VivoNewColors.palette.grey3 | VivoNewColors.palette.darkModeGrey + let borderHigh = VivoNewColors.palette.grey5 - let borderHigh = VivoNewColors.palette.grey5 + let borderSelected = VivoNewColors.palette.vivoPurple - let borderSelected = VivoNewColors.palette.vivoPurple + let coverBackgroundHover = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundHover = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundPressed = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.35) - let coverBackgroundPressed = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.35) + let buttonDangerBackground = VivoNewColors.palette.pepper - let buttonDangerBackground = VivoNewColors.palette.pepper + let buttonDangerBackgroundPressed = VivoNewColors.palette.pepperDark - let buttonDangerBackgroundPressed = VivoNewColors.palette.pepperDark + let buttonDangerBackgroundHover = VivoNewColors.palette.pepperDark - let buttonDangerBackgroundHover = VivoNewColors.palette.pepperDark + let buttonLinkDangerBackgroundPressed = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundPressed = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundInverse = VivoNewColors.palette.white | VivoNewColors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInverse = VivoNewColors.palette.white | VivoNewColors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInversePressed = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundInversePressed = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundPressed = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundPressed = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundInversePressed = VivoNewColors.palette.white.withAlphaComponent(0.1) | VivoNewColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundInversePressed = VivoNewColors.palette.white.withAlphaComponent(0.1) | VivoNewColors.palette.white.withAlphaComponent(0.08) + let buttonPrimaryBackground = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let buttonPrimaryBackground = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let buttonPrimaryBackgroundInverse = VivoNewColors.palette.white | VivoNewColors.palette.vivoPurpleLight80 - let buttonPrimaryBackgroundInverse = VivoNewColors.palette.white | VivoNewColors.palette.vivoPurpleLight80 + let buttonPrimaryBackgroundPressed = VivoNewColors.palette.vivoPurpleDark - let buttonPrimaryBackgroundPressed = VivoNewColors.palette.vivoPurpleDark + let buttonPrimaryBackgroundHover = VivoNewColors.palette.vivoPurpleDark - let buttonPrimaryBackgroundHover = VivoNewColors.palette.vivoPurpleDark + let buttonPrimaryBackgroundInversePressed = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.vivoPurpleDark - let buttonPrimaryBackgroundInversePressed = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.vivoPurpleDark + let buttonSecondaryBorder = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.white - let buttonSecondaryBorder = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.white + let buttonSecondaryBorderPressed = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.white - let buttonSecondaryBorderPressed = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.white + let buttonSecondaryBorderInverse = VivoNewColors.palette.white - let buttonSecondaryBorderInverse = VivoNewColors.palette.white + let buttonSecondaryBackgroundHover = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundHover = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBorderInversePressed = VivoNewColors.palette.white - let buttonSecondaryBorderInversePressed = VivoNewColors.palette.white + let buttonSecondaryBackgroundInverseHover = VivoNewColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInverseHover = VivoNewColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = VivoNewColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = VivoNewColors.palette.white.withAlphaComponent(0.15) + let textButtonPrimary = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let textButtonPrimary = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let textButtonPrimaryInverse = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 - let textButtonPrimaryInverse = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 + let textButtonPrimaryInversePressed = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 - let textButtonPrimaryInversePressed = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 + let textButtonSecondary = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 - let textButtonSecondary = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 + let textButtonSecondaryPressed = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.grey2 - let textButtonSecondaryPressed = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.grey2 + let textButtonSecondaryInverse = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let textButtonSecondaryInverse = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let textButtonSecondaryInversePressed = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let textButtonSecondaryInversePressed = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let textLink = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight50 - let textLink = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight50 + let textLinkInverse = VivoNewColors.palette.white | VivoNewColors.palette.vivoPurpleLight50 - let textLinkInverse = VivoNewColors.palette.white | VivoNewColors.palette.vivoPurpleLight50 + let textLinkDanger = VivoNewColors.palette.pepper - let textLinkDanger = VivoNewColors.palette.pepper + let textLinkSnackbar = VivoNewColors.palette.vivoPurpleLight20 | VivoNewColors.palette.vivoPurpleLight50 - let textLinkSnackbar = VivoNewColors.palette.vivoPurpleLight20 | VivoNewColors.palette.vivoPurpleLight50 + let textActivated = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let textActivated = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let textBrand = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let textBrand = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let control = VivoNewColors.palette.grey4 | VivoNewColors.palette.darkModeGrey6 - let control = VivoNewColors.palette.grey4 | VivoNewColors.palette.darkModeGrey6 + let controlActivated = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let controlActivated = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let controlInverse = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.darkModeGrey6 - let controlInverse = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.darkModeGrey6 + let controlActivatedInverse = VivoNewColors.palette.white | VivoNewColors.palette.vivoPurpleLight80 - let controlActivatedInverse = VivoNewColors.palette.white | VivoNewColors.palette.vivoPurpleLight80 + let controlError = VivoNewColors.palette.pepper - let controlError = VivoNewColors.palette.pepper + let barTrack = VivoNewColors.palette.grey3 | VivoNewColors.palette.darkModeGrey6 - let barTrack = VivoNewColors.palette.grey3 | VivoNewColors.palette.darkModeGrey6 + let barTrackInverse = VivoNewColors.palette.white.withAlphaComponent(0.5) | VivoNewColors.palette.darkModeGrey6 - let loadingBar = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let loadingBar = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let loadingBarBackground = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 + let loadingBarBackground = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 - let toggleAndroidInactive = VivoNewColors.palette.grey2 | VivoNewColors.palette.grey4 + let toggleAndroidInactive = VivoNewColors.palette.grey2 | VivoNewColors.palette.grey4 - let toggleAndroidBackgroundActive = VivoNewColors.palette.vivoPurpleLight20 | VivoNewColors.palette.vivoPurpleLight50 + let toggleAndroidBackgroundActive = VivoNewColors.palette.vivoPurpleLight20 | VivoNewColors.palette.vivoPurpleLight50 - let iosControlKnob = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let iosControlKnob = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let divider = VivoNewColors.palette.grey3 | VivoNewColors.palette.white.withAlphaComponent(0.05) + let controlKnobInverse = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 - let dividerInverse = VivoNewColors.palette.white.withAlphaComponent(0.2) | VivoNewColors.palette.white.withAlphaComponent(0.05) + let divider = VivoNewColors.palette.grey3 | VivoNewColors.palette.white.withAlphaComponent(0.05) - let navigationBarDivider = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack + let dividerInverse = VivoNewColors.palette.white.withAlphaComponent(0.2) | VivoNewColors.palette.white.withAlphaComponent(0.05) - let badge = VivoNewColors.palette.pepperDark + let navigationBarDivider = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack - let feedbackErrorBackground = VivoNewColors.palette.pepper + let badge = VivoNewColors.palette.pepperDark - let feedbackInfoBackground = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.grey6 + let feedbackErrorBackground = VivoNewColors.palette.pepper - let brand = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let feedbackInfoBackground = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.grey6 - let brandHigh = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.white.withAlphaComponent(0.05) + let brand = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let inverse = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let brandHigh = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.white.withAlphaComponent(0.05) - let neutralHigh = VivoNewColors.palette.grey6 | VivoNewColors.palette.grey2 + let inverse = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let neutralMedium = VivoNewColors.palette.grey5 + let neutralHigh = VivoNewColors.palette.grey6 | VivoNewColors.palette.grey2 - let neutralMediumInverse = VivoNewColors.palette.grey5 + let neutralMedium = VivoNewColors.palette.grey5 - let neutralLow = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeGrey6 + let neutralMediumInverse = VivoNewColors.palette.grey5 - let neutralLowAlternative = VivoNewColors.palette.grey2 | VivoNewColors.palette.darkModeGrey6 + let neutralLow = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeGrey6 - let textPrimary = VivoNewColors.palette.grey6 | VivoNewColors.palette.grey2 + let neutralLowAlternative = VivoNewColors.palette.grey2 | VivoNewColors.palette.darkModeGrey6 - let textPrimaryInverse = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let textPrimary = VivoNewColors.palette.grey6 | VivoNewColors.palette.grey2 - let textSecondary = VivoNewColors.palette.grey5 | VivoNewColors.palette.grey4 + let textPrimaryInverse = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let textSecondaryInverse = VivoNewColors.palette.vivoPurpleLight20 | VivoNewColors.palette.grey4 + let textSecondary = VivoNewColors.palette.grey5 | VivoNewColors.palette.grey4 - let error = VivoNewColors.palette.pepper + let textSecondaryInverse = VivoNewColors.palette.vivoPurpleLight20 | VivoNewColors.palette.grey4 - let textError = VivoNewColors.palette.pepper + let error = VivoNewColors.palette.pepper - let textErrorInverse = VivoNewColors.palette.white | VivoNewColors.palette.pepper + let textError = VivoNewColors.palette.pepper - let success = VivoNewColors.palette.vivoGreen + let textErrorInverse = VivoNewColors.palette.white | VivoNewColors.palette.pepper - let warning = VivoNewColors.palette.orange + let success = VivoNewColors.palette.vivoGreen - let promo = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let warning = VivoNewColors.palette.orange - let highlight = VivoNewColors.palette.pink + let promo = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let successLow = VivoNewColors.palette.vivoGreenLight10 | VivoNewColors.palette.darkModeGrey6 + let highlight = VivoNewColors.palette.pink - let warningLow = VivoNewColors.palette.orangeLight10 | VivoNewColors.palette.darkModeGrey6 + let successLow = VivoNewColors.palette.vivoGreenLight10 | VivoNewColors.palette.darkModeGrey6 - let errorLow = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.darkModeGrey6 + let warningLow = VivoNewColors.palette.orangeLight10 | VivoNewColors.palette.darkModeGrey6 - let promoLow = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 + let errorLow = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.darkModeGrey6 - let brandLow = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 + let promoLow = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 - let successHigh = VivoNewColors.palette.vivoGreenDark | VivoNewColors.palette.vivoGreenLight30 + let brandLow = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 - let warningHigh = VivoNewColors.palette.orangeDark | VivoNewColors.palette.orangeLight40 + let successHigh = VivoNewColors.palette.vivoGreenDark | VivoNewColors.palette.vivoGreenLight30 - let errorHigh = VivoNewColors.palette.pepperDark80 | VivoNewColors.palette.pepperLight40 + let warningHigh = VivoNewColors.palette.orangeDark | VivoNewColors.palette.orangeLight40 - let promoHigh = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight50 + let errorHigh = VivoNewColors.palette.pepperDark80 | VivoNewColors.palette.pepperLight40 - let successHighInverse = VivoNewColors.palette.vivoGreenDark + let promoHigh = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight50 - let warningHighInverse = VivoNewColors.palette.orangeDark + let successHighInverse = VivoNewColors.palette.vivoGreenDark - let errorHighInverse = VivoNewColors.palette.pepperDark80 + let warningHighInverse = VivoNewColors.palette.orangeDark - let promoHighInverse = VivoNewColors.palette.vivoPurple + let errorHighInverse = VivoNewColors.palette.pepperDark80 - let textNavigationBarPrimary = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let promoHighInverse = VivoNewColors.palette.vivoPurple - let textNavigationBarSecondary = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.grey4 + let textNavigationBarPrimary = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let textNavigationSearchBarHint = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.grey4 + let textNavigationBarSecondary = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.grey4 - let textNavigationSearchBarText = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let textNavigationSearchBarHint = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.grey4 - let textAppBar = VivoNewColors.palette.grey5 + let textNavigationSearchBarText = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let textAppBarSelected = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 + let textAppBar = VivoNewColors.palette.grey5 - let customTabsBackground = VivoNewColors.palette.white | VivoNewColors.palette.darkModeBlack + let textAppBarSelected = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 - let tagTextPromo = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight50 + let customTabsBackground = VivoNewColors.palette.white | VivoNewColors.palette.darkModeBlack - let tagTextActive = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let tagTextPromo = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight50 - let tagTextInactive = VivoNewColors.palette.grey5 + let tagTextActive = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let tagTextSuccess = VivoNewColors.palette.vivoGreenDark | VivoNewColors.palette.vivoGreenLight30 + let tagTextInactive = VivoNewColors.palette.grey5 - let tagTextWarning = VivoNewColors.palette.orangeDark | VivoNewColors.palette.orangeLight40 + let tagTextSuccess = VivoNewColors.palette.vivoGreenDark | VivoNewColors.palette.vivoGreenLight30 - let tagTextError = VivoNewColors.palette.pepperDark80 | VivoNewColors.palette.pepperLight40 + let tagTextWarning = VivoNewColors.palette.orangeDark | VivoNewColors.palette.orangeLight40 - let tagBackgroundPromo = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 + let tagTextError = VivoNewColors.palette.pepperDark80 | VivoNewColors.palette.pepperLight40 - let tagBackgroundActive = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 + let tagBackgroundPromo = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 - let tagBackgroundInactive = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeGrey6 + let tagBackgroundActive = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 - let tagBackgroundSuccess = VivoNewColors.palette.vivoGreenLight10 | VivoNewColors.palette.darkModeGrey6 + let tagBackgroundInactive = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeGrey6 - let tagBackgroundWarning = VivoNewColors.palette.orangeLight10 | VivoNewColors.palette.darkModeGrey6 + let tagBackgroundSuccess = VivoNewColors.palette.vivoGreenLight10 | VivoNewColors.palette.darkModeGrey6 - let tagBackgroundError = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.darkModeGrey6 + let tagBackgroundWarning = VivoNewColors.palette.orangeLight10 | VivoNewColors.palette.darkModeGrey6 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let tagBackgroundError = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.darkModeGrey6 + + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ VivoNewColors.palette.grey6.withAlphaComponent(0), VivoNewColors.palette.grey6.withAlphaComponent(0.4), VivoNewColors.palette.grey6.withAlphaComponent(0.7) ], - stops: [0, 0.3, 1], + stops: [0,0.3,1], angle: 180 )) } @@ -318,4 +318,4 @@ public struct VivoNewColorPalette { public let darkModeBlack = UIColor(hex: "#191919")! public let darkModeGrey = UIColor(hex: "#242424")! public let darkModeGrey6 = UIColor(hex: "#313235")! -} +} \ No newline at end of file diff --git a/Sources/MisticaCommon/Fonts/Brands/BlauFontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/BlauFontSizes.swift index 725675ce4..72cd00475 100644 --- a/Sources/MisticaCommon/Fonts/Brands/BlauFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/BlauFontSizes.swift @@ -1,10 +1,6 @@ -// -// BlauFontSizes.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/BlauFontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/BlauFontWeights.swift index 0ddc7d67a..d7daad492 100644 --- a/Sources/MisticaCommon/Fonts/Brands/BlauFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/BlauFontWeights.swift @@ -1,10 +1,6 @@ -// -// BlauFontWeights.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/MovistarFontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/MovistarFontSizes.swift index 4d9529b09..8730bc951 100644 --- a/Sources/MisticaCommon/Fonts/Brands/MovistarFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/MovistarFontSizes.swift @@ -1,10 +1,6 @@ -// -// MovistarFontSizes.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/MovistarFontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/MovistarFontWeights.swift index f493f7fb6..2fc6feffc 100644 --- a/Sources/MisticaCommon/Fonts/Brands/MovistarFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/MovistarFontWeights.swift @@ -1,10 +1,6 @@ -// -// MovistarFontWeights.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/O2FontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/O2FontSizes.swift index aad285d14..dad24112e 100644 --- a/Sources/MisticaCommon/Fonts/Brands/O2FontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/O2FontSizes.swift @@ -1,10 +1,6 @@ -// -// O2FontSizes.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/O2FontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/O2FontWeights.swift index f22aa07d6..196d4a98b 100644 --- a/Sources/MisticaCommon/Fonts/Brands/O2FontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/O2FontWeights.swift @@ -1,10 +1,6 @@ -// -// O2FontWeights.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/O2NewFontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/O2NewFontSizes.swift index 2ff18333b..0352e4d3d 100644 --- a/Sources/MisticaCommon/Fonts/Brands/O2NewFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/O2NewFontSizes.swift @@ -1,10 +1,6 @@ -// -// O2NewFontSizes.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/O2NewFontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/O2NewFontWeights.swift index 097fa43a6..bd714f6b5 100644 --- a/Sources/MisticaCommon/Fonts/Brands/O2NewFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/O2NewFontWeights.swift @@ -1,10 +1,6 @@ -// -// O2NewFontWeights.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontSizes.swift index 192c45ae1..126147fc0 100644 --- a/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontSizes.swift @@ -1,10 +1,6 @@ -// -// TelefonicaFontSizes.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontWeights.swift index b162cd4b5..bf544b3c6 100644 --- a/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontWeights.swift @@ -1,10 +1,6 @@ -// -// TelefonicaFontWeights.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/TuFontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/TuFontSizes.swift index 92872ca0a..448c7a82e 100644 --- a/Sources/MisticaCommon/Fonts/Brands/TuFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/TuFontSizes.swift @@ -1,10 +1,6 @@ -// -// TuFontSizes.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/TuFontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/TuFontWeights.swift index a6621bc38..42258feed 100644 --- a/Sources/MisticaCommon/Fonts/Brands/TuFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/TuFontWeights.swift @@ -1,10 +1,6 @@ -// -// TuFontWeights.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/VivoFontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/VivoFontSizes.swift index 0a2b7dea2..cae151e48 100644 --- a/Sources/MisticaCommon/Fonts/Brands/VivoFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/VivoFontSizes.swift @@ -1,10 +1,6 @@ -// -// VivoFontSizes.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/VivoFontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/VivoFontWeights.swift index 364b662fe..20e5df88a 100644 --- a/Sources/MisticaCommon/Fonts/Brands/VivoFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/VivoFontWeights.swift @@ -1,10 +1,6 @@ -// -// VivoFontWeights.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/VivoNewFontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/VivoNewFontSizes.swift index e194239a3..73778b0cd 100644 --- a/Sources/MisticaCommon/Fonts/Brands/VivoNewFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/VivoNewFontSizes.swift @@ -1,10 +1,6 @@ -// -// VivoNewFontSizes.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/VivoNewFontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/VivoNewFontWeights.swift index 843483dd3..7694bb783 100644 --- a/Sources/MisticaCommon/Fonts/Brands/VivoNewFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/VivoNewFontWeights.swift @@ -1,10 +1,6 @@ -// -// VivoNewFontWeights.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/MisticaFontSizes.swift b/Sources/MisticaCommon/Fonts/MisticaFontSizes.swift index 997e4dfc0..8c0cd456f 100644 --- a/Sources/MisticaCommon/Fonts/MisticaFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/MisticaFontSizes.swift @@ -1,10 +1,6 @@ -// -// MisticaFontSizes.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Fonts/MisticaFontWeights.swift b/Sources/MisticaCommon/Fonts/MisticaFontWeights.swift index 7665d284d..c40214101 100644 --- a/Sources/MisticaCommon/Fonts/MisticaFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/MisticaFontWeights.swift @@ -1,10 +1,6 @@ -// -// MisticaFontWeights.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import UIKit diff --git a/Sources/MisticaCommon/Radius/Brands/BlauCornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/BlauCornerRadius.swift index 81d2bca04..d4dcdc9c9 100644 --- a/Sources/MisticaCommon/Radius/Brands/BlauCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/BlauCornerRadius.swift @@ -1,10 +1,6 @@ -// -// BlauCornerRadius.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Radius/Brands/MovistarCornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/MovistarCornerRadius.swift index 044ccf9f4..87e1c8bcd 100644 --- a/Sources/MisticaCommon/Radius/Brands/MovistarCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/MovistarCornerRadius.swift @@ -1,10 +1,6 @@ -// -// MovistarCornerRadius.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Radius/Brands/O2CornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/O2CornerRadius.swift index a0bb96286..3d907c796 100644 --- a/Sources/MisticaCommon/Radius/Brands/O2CornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/O2CornerRadius.swift @@ -1,10 +1,6 @@ -// -// O2CornerRadius.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Radius/Brands/O2NewCornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/O2NewCornerRadius.swift index 0fffcc0a9..94a68cfea 100644 --- a/Sources/MisticaCommon/Radius/Brands/O2NewCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/O2NewCornerRadius.swift @@ -1,10 +1,6 @@ -// -// O2NewCornerRadius.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Radius/Brands/TelefonicaCornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/TelefonicaCornerRadius.swift index b03aaae39..7ea44ed23 100644 --- a/Sources/MisticaCommon/Radius/Brands/TelefonicaCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/TelefonicaCornerRadius.swift @@ -1,10 +1,6 @@ -// -// TelefonicaCornerRadius.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Radius/Brands/TuCornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/TuCornerRadius.swift index 1b44136ae..f0e769fec 100644 --- a/Sources/MisticaCommon/Radius/Brands/TuCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/TuCornerRadius.swift @@ -1,10 +1,6 @@ -// -// TuCornerRadius.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Radius/Brands/VivoCornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/VivoCornerRadius.swift index 4457fd882..ba0da6349 100644 --- a/Sources/MisticaCommon/Radius/Brands/VivoCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/VivoCornerRadius.swift @@ -1,10 +1,6 @@ -// -// VivoCornerRadius.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Radius/Brands/VivoNewCornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/VivoNewCornerRadius.swift index 764d14343..ae59a0a62 100644 --- a/Sources/MisticaCommon/Radius/Brands/VivoNewCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/VivoNewCornerRadius.swift @@ -1,10 +1,6 @@ -// -// VivoNewCornerRadius.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation diff --git a/Sources/MisticaCommon/Radius/MisticaCornerRadius.swift b/Sources/MisticaCommon/Radius/MisticaCornerRadius.swift index 26125833f..ceb56b837 100644 --- a/Sources/MisticaCommon/Radius/MisticaCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/MisticaCornerRadius.swift @@ -1,10 +1,6 @@ -// -// MisticaCornerRadius.swift -// -// Made with ❤️ by Novum -// -// Copyright © Telefonica. All rights reserved. -// + +// Generated using Make +// DO NOT EDIT import Foundation From d448722e2f95a6ae6ceeb6bb3a32ab535828d972 Mon Sep 17 00:00:00 2001 From: tuentisre Date: Fri, 18 Oct 2024 15:00:27 +0200 Subject: [PATCH 2/2] Run swiftformat --- .../Colors/BlauColorPalette.swift | 278 ++++++++--------- .../Colors/ColorToolkit+Color.swift | 140 ++++++++- .../Colors/ColorToolkit+UIColor.swift | 140 ++++++++- .../MisticaCommon/Colors/MisticaColor.swift | 12 +- .../MisticaCommon/Colors/MisticaColors.swift | 10 +- .../Colors/MovistarColorPalette.swift | 278 ++++++++--------- .../MisticaCommon/Colors/O2ColorPalette.swift | 278 ++++++++--------- .../Colors/O2NewColorPalette.swift | 282 +++++++++--------- .../Colors/TelefonicaColorPalette.swift | 278 ++++++++--------- .../MisticaCommon/Colors/TuColorPalette.swift | 278 ++++++++--------- .../Colors/VivoColorPalette.swift | 278 ++++++++--------- .../Colors/VivoNewColorPalette.swift | 278 ++++++++--------- .../Fonts/Brands/BlauFontSizes.swift | 10 +- .../Fonts/Brands/BlauFontWeights.swift | 10 +- .../Fonts/Brands/MovistarFontSizes.swift | 10 +- .../Fonts/Brands/MovistarFontWeights.swift | 10 +- .../Fonts/Brands/O2FontSizes.swift | 10 +- .../Fonts/Brands/O2FontWeights.swift | 10 +- .../Fonts/Brands/O2NewFontSizes.swift | 10 +- .../Fonts/Brands/O2NewFontWeights.swift | 10 +- .../Fonts/Brands/TelefonicaFontSizes.swift | 10 +- .../Fonts/Brands/TelefonicaFontWeights.swift | 10 +- .../Fonts/Brands/TuFontSizes.swift | 10 +- .../Fonts/Brands/TuFontWeights.swift | 10 +- .../Fonts/Brands/VivoFontSizes.swift | 10 +- .../Fonts/Brands/VivoFontWeights.swift | 10 +- .../Fonts/Brands/VivoNewFontSizes.swift | 10 +- .../Fonts/Brands/VivoNewFontWeights.swift | 10 +- .../Fonts/MisticaFontSizes.swift | 10 +- .../Fonts/MisticaFontWeights.swift | 10 +- .../Radius/Brands/BlauCornerRadius.swift | 10 +- .../Radius/Brands/MovistarCornerRadius.swift | 10 +- .../Radius/Brands/O2CornerRadius.swift | 10 +- .../Radius/Brands/O2NewCornerRadius.swift | 10 +- .../Brands/TelefonicaCornerRadius.swift | 10 +- .../Radius/Brands/TuCornerRadius.swift | 10 +- .../Radius/Brands/VivoCornerRadius.swift | 10 +- .../Radius/Brands/VivoNewCornerRadius.swift | 10 +- .../Radius/MisticaCornerRadius.swift | 10 +- 39 files changed, 1607 insertions(+), 1193 deletions(-) diff --git a/Sources/MisticaCommon/Colors/BlauColorPalette.swift b/Sources/MisticaCommon/Colors/BlauColorPalette.swift index aceedfa66..9380c21ae 100644 --- a/Sources/MisticaCommon/Colors/BlauColorPalette.swift +++ b/Sources/MisticaCommon/Colors/BlauColorPalette.swift @@ -1,282 +1,286 @@ - -// Generated using Make -// DO NOT EDIT +// +// BlauColorPalette.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import UIKit struct BlauColors: MisticaColors { static let palette = BlauColorPalette() - let backgroundBrand = MisticaColor.solid(BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack) + let backgroundBrand = MisticaColor.solid(BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack) - let backgroundBrandSecondary = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack + let backgroundBrandSecondary = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack - let appBarBackground = BlauColors.palette.white | BlauColors.palette.darkModeGrey + let appBarBackground = BlauColors.palette.white | BlauColors.palette.darkModeGrey - let background = BlauColors.palette.white | BlauColors.palette.darkModeBlack + let background = BlauColors.palette.white | BlauColors.palette.darkModeBlack - let backgroundContainer = BlauColors.palette.white | BlauColors.palette.darkModeGrey + let backgroundContainer = BlauColors.palette.white | BlauColors.palette.darkModeGrey - let backgroundContainerError = BlauColors.palette.blauRed10 | BlauColors.palette.darkModeGrey + let backgroundContainerError = BlauColors.palette.blauRed10 | BlauColors.palette.darkModeGrey - let backgroundContainerHover = BlauColors.palette.blauBluePrimary.withAlphaComponent(0.03) | BlauColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerHover = BlauColors.palette.blauBluePrimary.withAlphaComponent(0.03) | BlauColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerPressed = BlauColors.palette.blauBluePrimary.withAlphaComponent(0.05) | BlauColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerPressed = BlauColors.palette.blauBluePrimary.withAlphaComponent(0.05) | BlauColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrand = MisticaColor.solid(BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeGrey) + let backgroundContainerBrand = MisticaColor.solid(BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeGrey) - let backgroundContainerBrandHover = BlauColors.palette.darkModeBlack.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandHover = BlauColors.palette.darkModeBlack.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandPressed = BlauColors.palette.darkModeBlack.withAlphaComponent(0.4) | BlauColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandPressed = BlauColors.palette.darkModeBlack.withAlphaComponent(0.4) | BlauColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandOverInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.darkModeGrey + let backgroundContainerBrandOverInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.darkModeGrey - let backgroundContainerAlternative = BlauColors.palette.blauBluePrimary20 | BlauColors.palette.darkModeGrey + let backgroundContainerAlternative = BlauColors.palette.blauBluePrimary20 | BlauColors.palette.darkModeGrey - let backgroundOverlay = BlauColors.palette.blauBlueSecondary.withAlphaComponent(0.75) | BlauColors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundOverlay = BlauColors.palette.blauBlueSecondary.withAlphaComponent(0.75) | BlauColors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundSkeleton = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey + let backgroundSkeleton = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey - let backgroundSkeletonInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.darkModeGrey + let backgroundSkeletonInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.darkModeGrey - let navigationBarBackground = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack + let navigationBarBackground = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack - let backgroundAlternative = BlauColors.palette.blauBluePrimary20 | BlauColors.palette.darkModeBlack + let backgroundAlternative = BlauColors.palette.blauBluePrimary20 | BlauColors.palette.darkModeBlack - let backgroundBrandTop = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack + let backgroundBrandTop = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack - let backgroundBrandBottom = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack + let backgroundBrandBottom = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack - let skeletonWave = BlauColors.palette.grey2 | BlauColors.palette.grey5 + let skeletonWave = BlauColors.palette.grey2 | BlauColors.palette.grey5 - let borderLow = BlauColors.palette.grey1 | BlauColors.palette.darkModeBlack + let borderLow = BlauColors.palette.grey1 | BlauColors.palette.darkModeBlack - let border = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey + let border = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey - let borderHigh = BlauColors.palette.grey5 + let borderHigh = BlauColors.palette.grey5 - let borderSelected = BlauColors.palette.blauBlueSecondary60 + let borderSelected = BlauColors.palette.blauBlueSecondary60 - let coverBackgroundHover = BlauColors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundHover = BlauColors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundPressed = BlauColors.palette.darkModeBlack.withAlphaComponent(0.35) + let coverBackgroundPressed = BlauColors.palette.darkModeBlack.withAlphaComponent(0.35) - let buttonDangerBackground = BlauColors.palette.blauRed + let buttonDangerBackground = BlauColors.palette.blauRed - let buttonDangerBackgroundPressed = BlauColors.palette.blauRed70 + let buttonDangerBackgroundPressed = BlauColors.palette.blauRed70 - let buttonDangerBackgroundHover = BlauColors.palette.blauRed70 + let buttonDangerBackgroundHover = BlauColors.palette.blauRed70 - let buttonLinkDangerBackgroundPressed = BlauColors.palette.blauRed10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3) + let buttonLinkDangerBackgroundPressed = BlauColors.palette.blauRed10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3) - let buttonLinkDangerBackgroundInverse = BlauColors.palette.white | BlauColors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInverse = BlauColors.palette.white | BlauColors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInversePressed = BlauColors.palette.blauRed10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3) + let buttonLinkDangerBackgroundInversePressed = BlauColors.palette.blauRed10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3) - let buttonLinkBackgroundPressed = BlauColors.palette.blauPurple10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3) + let buttonLinkBackgroundPressed = BlauColors.palette.blauPurple10 | BlauColors.palette.blauPurple.withAlphaComponent(0.3) - let buttonLinkBackgroundInversePressed = BlauColors.palette.white.withAlphaComponent(0.15) | BlauColors.palette.blauPurple.withAlphaComponent(0.3) + let buttonLinkBackgroundInversePressed = BlauColors.palette.white.withAlphaComponent(0.15) | BlauColors.palette.blauPurple.withAlphaComponent(0.3) - let buttonPrimaryBackground = BlauColors.palette.blauBlueSecondary + let buttonPrimaryBackground = BlauColors.palette.blauBlueSecondary - let buttonPrimaryBackgroundInverse = BlauColors.palette.white | BlauColors.palette.blauBluePrimary + let buttonPrimaryBackgroundInverse = BlauColors.palette.white | BlauColors.palette.blauBluePrimary - let buttonPrimaryBackgroundPressed = BlauColors.palette.blauBlueSecondary60 + let buttonPrimaryBackgroundPressed = BlauColors.palette.blauBlueSecondary60 - let buttonPrimaryBackgroundHover = BlauColors.palette.blauBlueSecondary60 + let buttonPrimaryBackgroundHover = BlauColors.palette.blauBlueSecondary60 - let buttonPrimaryBackgroundInversePressed = BlauColors.palette.blauBluePrimary30 | BlauColors.palette.blauBlueSecondary60 + let buttonPrimaryBackgroundInversePressed = BlauColors.palette.blauBluePrimary30 | BlauColors.palette.blauBlueSecondary60 - let buttonSecondaryBorder = BlauColors.palette.blauBlueSecondary | BlauColors.palette.white + let buttonSecondaryBorder = BlauColors.palette.blauBlueSecondary | BlauColors.palette.white - let buttonSecondaryBorderPressed = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.white + let buttonSecondaryBorderPressed = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.white - let buttonSecondaryBorderInverse = BlauColors.palette.white + let buttonSecondaryBorderInverse = BlauColors.palette.white - let buttonSecondaryBackgroundHover = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundHover = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBorderInversePressed = BlauColors.palette.white + let buttonSecondaryBorderInversePressed = BlauColors.palette.white - let buttonSecondaryBackgroundInverseHover = BlauColors.palette.white.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInverseHover = BlauColors.palette.white.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = BlauColors.palette.white.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = BlauColors.palette.white.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.15) - let textButtonPrimary = BlauColors.palette.white | BlauColors.palette.grey2 + let textButtonPrimary = BlauColors.palette.white | BlauColors.palette.grey2 - let textButtonPrimaryInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.grey2 + let textButtonPrimaryInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.grey2 - let textButtonPrimaryInversePressed = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.grey2 + let textButtonPrimaryInversePressed = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.grey2 - let textButtonSecondary = BlauColors.palette.blauBlueSecondary | BlauColors.palette.grey2 + let textButtonSecondary = BlauColors.palette.blauBlueSecondary | BlauColors.palette.grey2 - let textButtonSecondaryPressed = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.grey2 + let textButtonSecondaryPressed = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.grey2 - let textButtonSecondaryInverse = BlauColors.palette.white | BlauColors.palette.grey2 + let textButtonSecondaryInverse = BlauColors.palette.white | BlauColors.palette.grey2 - let textButtonSecondaryInversePressed = BlauColors.palette.white | BlauColors.palette.grey2 + let textButtonSecondaryInversePressed = BlauColors.palette.white | BlauColors.palette.grey2 - let textLink = BlauColors.palette.blauPurple | BlauColors.palette.blauPurple30 + let textLink = BlauColors.palette.blauPurple | BlauColors.palette.blauPurple30 - let textLinkInverse = BlauColors.palette.white | BlauColors.palette.blauPurple30 + let textLinkInverse = BlauColors.palette.white | BlauColors.palette.blauPurple30 - let textLinkDanger = BlauColors.palette.blauRed + let textLinkDanger = BlauColors.palette.blauRed - let textLinkSnackbar = BlauColors.palette.blauPurple30 + let textLinkSnackbar = BlauColors.palette.blauPurple30 - let textActivated = BlauColors.palette.blauBlueSecondary + let textActivated = BlauColors.palette.blauBlueSecondary - let textBrand = BlauColors.palette.blauBluePrimary + let textBrand = BlauColors.palette.blauBluePrimary - let control = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6 + let control = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6 - let controlActivated = BlauColors.palette.blauBlueSecondary + let controlActivated = BlauColors.palette.blauBlueSecondary - let controlInverse = BlauColors.palette.blauBluePrimary30 | BlauColors.palette.darkModeGrey6 + let controlInverse = BlauColors.palette.blauBluePrimary30 | BlauColors.palette.darkModeGrey6 - let controlActivatedInverse = BlauColors.palette.white | BlauColors.palette.blauBlueSecondary + let controlActivatedInverse = BlauColors.palette.white | BlauColors.palette.blauBlueSecondary - let controlError = BlauColors.palette.blauRed + let controlError = BlauColors.palette.blauRed - let barTrack = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6 + let barTrack = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6 - let barTrackInverse = BlauColors.palette.grey6.withAlphaComponent(0.2) | BlauColors.palette.darkModeGrey6 + let barTrackInverse = BlauColors.palette.grey6.withAlphaComponent(0.2) | BlauColors.palette.darkModeGrey6 - let loadingBar = BlauColors.palette.blauBlueSecondary | BlauColors.palette.blauBluePrimary + let loadingBar = BlauColors.palette.blauBlueSecondary | BlauColors.palette.blauBluePrimary - let loadingBarBackground = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.darkModeGrey + let loadingBarBackground = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.darkModeGrey - let toggleAndroidInactive = BlauColors.palette.grey2 | BlauColors.palette.grey5 + let toggleAndroidInactive = BlauColors.palette.grey2 | BlauColors.palette.grey5 - let toggleAndroidBackgroundActive = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.blauBlueSecondary30 + let toggleAndroidBackgroundActive = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.blauBlueSecondary30 - let iosControlKnob = BlauColors.palette.white | BlauColors.palette.grey2 + let iosControlKnob = BlauColors.palette.white | BlauColors.palette.grey2 - let controlKnobInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.grey2 + let controlKnobInverse = BlauColors.palette.blauBlueSecondary | BlauColors.palette.grey2 - let divider = BlauColors.palette.grey2 | BlauColors.palette.white.withAlphaComponent(0.05) + let divider = BlauColors.palette.grey2 | BlauColors.palette.white.withAlphaComponent(0.05) - let dividerInverse = BlauColors.palette.white.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.05) + let dividerInverse = BlauColors.palette.white.withAlphaComponent(0.2) | BlauColors.palette.white.withAlphaComponent(0.05) - let navigationBarDivider = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack + let navigationBarDivider = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack - let badge = BlauColors.palette.blauRed + let badge = BlauColors.palette.blauRed - let feedbackErrorBackground = BlauColors.palette.blauRed + let feedbackErrorBackground = BlauColors.palette.blauRed - let feedbackInfoBackground = BlauColors.palette.grey6 | BlauColors.palette.darkModeGrey + let feedbackInfoBackground = BlauColors.palette.grey6 | BlauColors.palette.darkModeGrey - let brand = BlauColors.palette.blauBluePrimary + let brand = BlauColors.palette.blauBluePrimary - let brandHigh = BlauColors.palette.blauBlueSecondary | BlauColors.palette.white.withAlphaComponent(0.05) + let brandHigh = BlauColors.palette.blauBlueSecondary | BlauColors.palette.white.withAlphaComponent(0.05) - let inverse = BlauColors.palette.white | BlauColors.palette.grey2 + let inverse = BlauColors.palette.white | BlauColors.palette.grey2 - let neutralHigh = BlauColors.palette.grey6 | BlauColors.palette.grey2 + let neutralHigh = BlauColors.palette.grey6 | BlauColors.palette.grey2 - let neutralMedium = BlauColors.palette.grey5 + let neutralMedium = BlauColors.palette.grey5 - let neutralMediumInverse = BlauColors.palette.grey5 + let neutralMediumInverse = BlauColors.palette.grey5 - let neutralLow = BlauColors.palette.grey1 | BlauColors.palette.darkModeGrey6 + let neutralLow = BlauColors.palette.grey1 | BlauColors.palette.darkModeGrey6 - let neutralLowAlternative = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6 + let neutralLowAlternative = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6 - let textPrimary = BlauColors.palette.grey6 | BlauColors.palette.grey2 + let textPrimary = BlauColors.palette.grey6 | BlauColors.palette.grey2 - let textPrimaryInverse = BlauColors.palette.white | BlauColors.palette.grey2 + let textPrimaryInverse = BlauColors.palette.white | BlauColors.palette.grey2 - let textSecondary = BlauColors.palette.grey5 | BlauColors.palette.grey4 + let textSecondary = BlauColors.palette.grey5 | BlauColors.palette.grey4 - let textSecondaryInverse = BlauColors.palette.blauBluePrimary20 | BlauColors.palette.grey4 + let textSecondaryInverse = BlauColors.palette.blauBluePrimary20 | BlauColors.palette.grey4 - let error = BlauColors.palette.blauRed + let error = BlauColors.palette.blauRed - let textError = BlauColors.palette.blauRed + let textError = BlauColors.palette.blauRed - let textErrorInverse = BlauColors.palette.white | BlauColors.palette.blauRed + let textErrorInverse = BlauColors.palette.white | BlauColors.palette.blauRed - let success = BlauColors.palette.blauGreen + let success = BlauColors.palette.blauGreen - let warning = BlauColors.palette.blauYellow + let warning = BlauColors.palette.blauYellow - let promo = BlauColors.palette.blauPurple + let promo = BlauColors.palette.blauPurple - let highlight = BlauColors.palette.blauBluePrimary + let highlight = BlauColors.palette.blauBluePrimary - let successLow = BlauColors.palette.blauGreen10 | BlauColors.palette.darkModeGrey6 + let successLow = BlauColors.palette.blauGreen10 | BlauColors.palette.darkModeGrey6 - let warningLow = BlauColors.palette.blauYellow10 | BlauColors.palette.darkModeGrey6 + let warningLow = BlauColors.palette.blauYellow10 | BlauColors.palette.darkModeGrey6 - let errorLow = BlauColors.palette.blauRed10 | BlauColors.palette.darkModeGrey6 + let errorLow = BlauColors.palette.blauRed10 | BlauColors.palette.darkModeGrey6 - let promoLow = BlauColors.palette.blauPurple10 | BlauColors.palette.darkModeGrey6 + let promoLow = BlauColors.palette.blauPurple10 | BlauColors.palette.darkModeGrey6 - let brandLow = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.darkModeGrey6 + let brandLow = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.darkModeGrey6 - let successHigh = BlauColors.palette.blauGreen70 | BlauColors.palette.blauGreen30 + let successHigh = BlauColors.palette.blauGreen70 | BlauColors.palette.blauGreen30 - let warningHigh = BlauColors.palette.blauYellow70 | BlauColors.palette.blauYellow40 + let warningHigh = BlauColors.palette.blauYellow70 | BlauColors.palette.blauYellow40 - let errorHigh = BlauColors.palette.blauRed70 | BlauColors.palette.blauRed40 + let errorHigh = BlauColors.palette.blauRed70 | BlauColors.palette.blauRed40 - let promoHigh = BlauColors.palette.blauPurple | BlauColors.palette.blauPurple30 + let promoHigh = BlauColors.palette.blauPurple | BlauColors.palette.blauPurple30 - let successHighInverse = BlauColors.palette.blauGreen70 + let successHighInverse = BlauColors.palette.blauGreen70 - let warningHighInverse = BlauColors.palette.blauYellow70 + let warningHighInverse = BlauColors.palette.blauYellow70 - let errorHighInverse = BlauColors.palette.blauRed70 + let errorHighInverse = BlauColors.palette.blauRed70 - let promoHighInverse = BlauColors.palette.blauPurple + let promoHighInverse = BlauColors.palette.blauPurple - let textNavigationBarPrimary = BlauColors.palette.white | BlauColors.palette.grey2 + let textNavigationBarPrimary = BlauColors.palette.white | BlauColors.palette.grey2 - let textNavigationBarSecondary = BlauColors.palette.blauBlueSecondary20 | BlauColors.palette.grey4 + let textNavigationBarSecondary = BlauColors.palette.blauBlueSecondary20 | BlauColors.palette.grey4 - let textNavigationSearchBarHint = BlauColors.palette.blauBlueSecondary20 | BlauColors.palette.grey4 + let textNavigationSearchBarHint = BlauColors.palette.blauBlueSecondary20 | BlauColors.palette.grey4 - let textNavigationSearchBarText = BlauColors.palette.white | BlauColors.palette.grey2 + let textNavigationSearchBarText = BlauColors.palette.white | BlauColors.palette.grey2 - let textAppBar = BlauColors.palette.grey5 + let textAppBar = BlauColors.palette.grey5 - let textAppBarSelected = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.grey2 + let textAppBarSelected = BlauColors.palette.blauBlueSecondary60 | BlauColors.palette.grey2 - let customTabsBackground = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack + let customTabsBackground = BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeBlack - let tagTextPromo = BlauColors.palette.blauPurple | BlauColors.palette.blauPurple30 + let tagTextPromo = BlauColors.palette.blauPurple | BlauColors.palette.blauPurple30 - let tagTextActive = BlauColors.palette.blauBluePrimary + let tagTextActive = BlauColors.palette.blauBluePrimary - let tagTextInactive = BlauColors.palette.grey5 + let tagTextInactive = BlauColors.palette.grey5 - let tagTextSuccess = BlauColors.palette.blauGreen70 | BlauColors.palette.blauGreen30 + let tagTextSuccess = BlauColors.palette.blauGreen70 | BlauColors.palette.blauGreen30 - let tagTextWarning = BlauColors.palette.blauYellow70 | BlauColors.palette.blauYellow40 + let tagTextWarning = BlauColors.palette.blauYellow70 | BlauColors.palette.blauYellow40 - let tagTextError = BlauColors.palette.blauRed70 | BlauColors.palette.blauRed40 + let tagTextError = BlauColors.palette.blauRed70 | BlauColors.palette.blauRed40 - let tagBackgroundPromo = BlauColors.palette.blauPurple10 | BlauColors.palette.darkModeGrey6 + let tagBackgroundPromo = BlauColors.palette.blauPurple10 | BlauColors.palette.darkModeGrey6 - let tagBackgroundActive = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.darkModeGrey6 + let tagBackgroundActive = BlauColors.palette.blauBlueSecondary10 | BlauColors.palette.darkModeGrey6 - let tagBackgroundInactive = BlauColors.palette.grey1 | BlauColors.palette.darkModeGrey6 + let tagBackgroundInactive = BlauColors.palette.grey1 | BlauColors.palette.darkModeGrey6 - let tagBackgroundSuccess = BlauColors.palette.blauGreen10 | BlauColors.palette.darkModeGrey6 + let tagBackgroundSuccess = BlauColors.palette.blauGreen10 | BlauColors.palette.darkModeGrey6 - let tagBackgroundWarning = BlauColors.palette.blauYellow10 | BlauColors.palette.darkModeGrey6 + let tagBackgroundWarning = BlauColors.palette.blauYellow10 | BlauColors.palette.darkModeGrey6 - let tagBackgroundError = BlauColors.palette.blauRed10 | BlauColors.palette.darkModeGrey6 + let tagBackgroundError = BlauColors.palette.blauRed10 | BlauColors.palette.darkModeGrey6 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ BlauColors.palette.grey6.withAlphaComponent(0), BlauColors.palette.grey6.withAlphaComponent(0.4), BlauColors.palette.grey6.withAlphaComponent(0.7) ], - stops: [0,0.3,1], + stops: [0, 0.3, 1], angle: 180 )) } @@ -320,4 +324,4 @@ public struct BlauColorPalette { public let darkModeBlack = UIColor(hex: "#191919")! public let darkModeGrey = UIColor(hex: "#242424")! public let darkModeGrey6 = UIColor(hex: "#313235")! -} \ No newline at end of file +} diff --git a/Sources/MisticaCommon/Colors/ColorToolkit+Color.swift b/Sources/MisticaCommon/Colors/ColorToolkit+Color.swift index ea9328159..6a6e3328a 100644 --- a/Sources/MisticaCommon/Colors/ColorToolkit+Color.swift +++ b/Sources/MisticaCommon/Colors/ColorToolkit+Color.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// ColorToolkit+Color.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import SwiftUI @@ -8,387 +12,515 @@ public extension Color { static var backgroundBrandSecondary: Color { MisticaConfig.currentColors.backgroundBrandSecondary.color } + static var appBarBackground: Color { MisticaConfig.currentColors.appBarBackground.color } + static var background: Color { MisticaConfig.currentColors.background.color } + static var backgroundContainer: Color { MisticaConfig.currentColors.backgroundContainer.color } + static var backgroundContainerError: Color { MisticaConfig.currentColors.backgroundContainerError.color } + static var backgroundContainerHover: Color { MisticaConfig.currentColors.backgroundContainerHover.color } + static var backgroundContainerPressed: Color { MisticaConfig.currentColors.backgroundContainerPressed.color } + static var backgroundContainerBrandHover: Color { MisticaConfig.currentColors.backgroundContainerBrandHover.color } + static var backgroundContainerBrandPressed: Color { MisticaConfig.currentColors.backgroundContainerBrandPressed.color } + static var backgroundContainerBrandOverInverse: Color { MisticaConfig.currentColors.backgroundContainerBrandOverInverse.color } + static var backgroundContainerAlternative: Color { MisticaConfig.currentColors.backgroundContainerAlternative.color } + static var backgroundOverlay: Color { MisticaConfig.currentColors.backgroundOverlay.color } + static var backgroundSkeleton: Color { MisticaConfig.currentColors.backgroundSkeleton.color } + static var backgroundSkeletonInverse: Color { MisticaConfig.currentColors.backgroundSkeletonInverse.color } + static var navigationBarBackground: Color { MisticaConfig.currentColors.navigationBarBackground.color } + static var backgroundAlternative: Color { MisticaConfig.currentColors.backgroundAlternative.color } + static var backgroundBrandTop: Color { MisticaConfig.currentColors.backgroundBrandTop.color } + static var backgroundBrandBottom: Color { MisticaConfig.currentColors.backgroundBrandBottom.color } + static var skeletonWave: Color { MisticaConfig.currentColors.skeletonWave.color } + static var borderLow: Color { MisticaConfig.currentColors.borderLow.color } + static var border: Color { MisticaConfig.currentColors.border.color } + static var borderHigh: Color { MisticaConfig.currentColors.borderHigh.color } + static var borderSelected: Color { MisticaConfig.currentColors.borderSelected.color } + static var coverBackgroundHover: Color { MisticaConfig.currentColors.coverBackgroundHover.color } + static var coverBackgroundPressed: Color { MisticaConfig.currentColors.coverBackgroundPressed.color } + static var buttonDangerBackground: Color { MisticaConfig.currentColors.buttonDangerBackground.color } + static var buttonDangerBackgroundPressed: Color { MisticaConfig.currentColors.buttonDangerBackgroundPressed.color } + static var buttonDangerBackgroundHover: Color { MisticaConfig.currentColors.buttonDangerBackgroundHover.color } + static var buttonLinkDangerBackgroundPressed: Color { MisticaConfig.currentColors.buttonLinkDangerBackgroundPressed.color } + static var buttonLinkDangerBackgroundInverse: Color { MisticaConfig.currentColors.buttonLinkDangerBackgroundInverse.color } + static var buttonLinkDangerBackgroundInversePressed: Color { MisticaConfig.currentColors.buttonLinkDangerBackgroundInversePressed.color } + static var buttonLinkBackgroundPressed: Color { MisticaConfig.currentColors.buttonLinkBackgroundPressed.color } + static var buttonLinkBackgroundInversePressed: Color { MisticaConfig.currentColors.buttonLinkBackgroundInversePressed.color } + static var buttonPrimaryBackground: Color { MisticaConfig.currentColors.buttonPrimaryBackground.color } + static var buttonPrimaryBackgroundInverse: Color { MisticaConfig.currentColors.buttonPrimaryBackgroundInverse.color } + static var buttonPrimaryBackgroundPressed: Color { MisticaConfig.currentColors.buttonPrimaryBackgroundPressed.color } + static var buttonPrimaryBackgroundHover: Color { MisticaConfig.currentColors.buttonPrimaryBackgroundHover.color } + static var buttonPrimaryBackgroundInversePressed: Color { MisticaConfig.currentColors.buttonPrimaryBackgroundInversePressed.color } + static var buttonSecondaryBorder: Color { MisticaConfig.currentColors.buttonSecondaryBorder.color } + static var buttonSecondaryBorderPressed: Color { MisticaConfig.currentColors.buttonSecondaryBorderPressed.color } + static var buttonSecondaryBorderInverse: Color { MisticaConfig.currentColors.buttonSecondaryBorderInverse.color } + static var buttonSecondaryBackgroundHover: Color { MisticaConfig.currentColors.buttonSecondaryBackgroundHover.color } + static var buttonSecondaryBackgroundPressed: Color { MisticaConfig.currentColors.buttonSecondaryBackgroundPressed.color } + static var buttonSecondaryBorderInversePressed: Color { MisticaConfig.currentColors.buttonSecondaryBorderInversePressed.color } + static var buttonSecondaryBackgroundInverseHover: Color { MisticaConfig.currentColors.buttonSecondaryBackgroundInverseHover.color } + static var buttonSecondaryBackgroundInversePressed: Color { MisticaConfig.currentColors.buttonSecondaryBackgroundInversePressed.color } + static var textButtonPrimary: Color { MisticaConfig.currentColors.textButtonPrimary.color } + static var textButtonPrimaryInverse: Color { MisticaConfig.currentColors.textButtonPrimaryInverse.color } + static var textButtonPrimaryInversePressed: Color { MisticaConfig.currentColors.textButtonPrimaryInversePressed.color } + static var textButtonSecondary: Color { MisticaConfig.currentColors.textButtonSecondary.color } + static var textButtonSecondaryPressed: Color { MisticaConfig.currentColors.textButtonSecondaryPressed.color } + static var textButtonSecondaryInverse: Color { MisticaConfig.currentColors.textButtonSecondaryInverse.color } + static var textButtonSecondaryInversePressed: Color { MisticaConfig.currentColors.textButtonSecondaryInversePressed.color } + static var textLink: Color { MisticaConfig.currentColors.textLink.color } + static var textLinkInverse: Color { MisticaConfig.currentColors.textLinkInverse.color } + static var textLinkDanger: Color { MisticaConfig.currentColors.textLinkDanger.color } + static var textLinkSnackbar: Color { MisticaConfig.currentColors.textLinkSnackbar.color } + static var textActivated: Color { MisticaConfig.currentColors.textActivated.color } + static var textBrand: Color { MisticaConfig.currentColors.textBrand.color } + static var control: Color { MisticaConfig.currentColors.control.color } + static var controlActivated: Color { MisticaConfig.currentColors.controlActivated.color } + static var controlInverse: Color { MisticaConfig.currentColors.controlInverse.color } + static var controlActivatedInverse: Color { MisticaConfig.currentColors.controlActivatedInverse.color } + static var controlError: Color { MisticaConfig.currentColors.controlError.color } + static var barTrack: Color { MisticaConfig.currentColors.barTrack.color } + static var barTrackInverse: Color { MisticaConfig.currentColors.barTrackInverse.color } + static var loadingBar: Color { MisticaConfig.currentColors.loadingBar.color } + static var loadingBarBackground: Color { MisticaConfig.currentColors.loadingBarBackground.color } + static var toggleAndroidInactive: Color { MisticaConfig.currentColors.toggleAndroidInactive.color } + static var toggleAndroidBackgroundActive: Color { MisticaConfig.currentColors.toggleAndroidBackgroundActive.color } + static var iosControlKnob: Color { MisticaConfig.currentColors.iosControlKnob.color } + static var controlKnobInverse: Color { MisticaConfig.currentColors.controlKnobInverse.color } + static var divider: Color { MisticaConfig.currentColors.divider.color } + static var dividerInverse: Color { MisticaConfig.currentColors.dividerInverse.color } + static var navigationBarDivider: Color { MisticaConfig.currentColors.navigationBarDivider.color } + static var badge: Color { MisticaConfig.currentColors.badge.color } + static var feedbackErrorBackground: Color { MisticaConfig.currentColors.feedbackErrorBackground.color } + static var feedbackInfoBackground: Color { MisticaConfig.currentColors.feedbackInfoBackground.color } + static var brand: Color { MisticaConfig.currentColors.brand.color } + static var brandHigh: Color { MisticaConfig.currentColors.brandHigh.color } + static var inverse: Color { MisticaConfig.currentColors.inverse.color } + static var neutralHigh: Color { MisticaConfig.currentColors.neutralHigh.color } + static var neutralMedium: Color { MisticaConfig.currentColors.neutralMedium.color } + static var neutralMediumInverse: Color { MisticaConfig.currentColors.neutralMediumInverse.color } + static var neutralLow: Color { MisticaConfig.currentColors.neutralLow.color } + static var neutralLowAlternative: Color { MisticaConfig.currentColors.neutralLowAlternative.color } + static var textPrimary: Color { MisticaConfig.currentColors.textPrimary.color } + static var textPrimaryInverse: Color { MisticaConfig.currentColors.textPrimaryInverse.color } + static var textSecondary: Color { MisticaConfig.currentColors.textSecondary.color } + static var textSecondaryInverse: Color { MisticaConfig.currentColors.textSecondaryInverse.color } + static var error: Color { MisticaConfig.currentColors.error.color } + static var textError: Color { MisticaConfig.currentColors.textError.color } + static var textErrorInverse: Color { MisticaConfig.currentColors.textErrorInverse.color } + static var success: Color { MisticaConfig.currentColors.success.color } + static var warning: Color { MisticaConfig.currentColors.warning.color } + static var promo: Color { MisticaConfig.currentColors.promo.color } + static var highlight: Color { MisticaConfig.currentColors.highlight.color } + static var successLow: Color { MisticaConfig.currentColors.successLow.color } + static var warningLow: Color { MisticaConfig.currentColors.warningLow.color } + static var errorLow: Color { MisticaConfig.currentColors.errorLow.color } + static var promoLow: Color { MisticaConfig.currentColors.promoLow.color } + static var brandLow: Color { MisticaConfig.currentColors.brandLow.color } + static var successHigh: Color { MisticaConfig.currentColors.successHigh.color } + static var warningHigh: Color { MisticaConfig.currentColors.warningHigh.color } + static var errorHigh: Color { MisticaConfig.currentColors.errorHigh.color } + static var promoHigh: Color { MisticaConfig.currentColors.promoHigh.color } + static var successHighInverse: Color { MisticaConfig.currentColors.successHighInverse.color } + static var warningHighInverse: Color { MisticaConfig.currentColors.warningHighInverse.color } + static var errorHighInverse: Color { MisticaConfig.currentColors.errorHighInverse.color } + static var promoHighInverse: Color { MisticaConfig.currentColors.promoHighInverse.color } + static var textNavigationBarPrimary: Color { MisticaConfig.currentColors.textNavigationBarPrimary.color } + static var textNavigationBarSecondary: Color { MisticaConfig.currentColors.textNavigationBarSecondary.color } + static var textNavigationSearchBarHint: Color { MisticaConfig.currentColors.textNavigationSearchBarHint.color } + static var textNavigationSearchBarText: Color { MisticaConfig.currentColors.textNavigationSearchBarText.color } + static var textAppBar: Color { MisticaConfig.currentColors.textAppBar.color } + static var textAppBarSelected: Color { MisticaConfig.currentColors.textAppBarSelected.color } + static var customTabsBackground: Color { MisticaConfig.currentColors.customTabsBackground.color } + static var tagTextPromo: Color { MisticaConfig.currentColors.tagTextPromo.color } + static var tagTextActive: Color { MisticaConfig.currentColors.tagTextActive.color } + static var tagTextInactive: Color { MisticaConfig.currentColors.tagTextInactive.color } + static var tagTextSuccess: Color { MisticaConfig.currentColors.tagTextSuccess.color } + static var tagTextWarning: Color { MisticaConfig.currentColors.tagTextWarning.color } + static var tagTextError: Color { MisticaConfig.currentColors.tagTextError.color } + static var tagBackgroundPromo: Color { MisticaConfig.currentColors.tagBackgroundPromo.color } + static var tagBackgroundActive: Color { MisticaConfig.currentColors.tagBackgroundActive.color } + static var tagBackgroundInactive: Color { MisticaConfig.currentColors.tagBackgroundInactive.color } + static var tagBackgroundSuccess: Color { MisticaConfig.currentColors.tagBackgroundSuccess.color } + static var tagBackgroundWarning: Color { MisticaConfig.currentColors.tagBackgroundWarning.color } + static var tagBackgroundError: Color { MisticaConfig.currentColors.tagBackgroundError.color } @@ -398,4 +530,4 @@ private extension UIColor { var color: Color { Color(self) } -} \ No newline at end of file +} diff --git a/Sources/MisticaCommon/Colors/ColorToolkit+UIColor.swift b/Sources/MisticaCommon/Colors/ColorToolkit+UIColor.swift index bdda2b606..4ac5a367e 100644 --- a/Sources/MisticaCommon/Colors/ColorToolkit+UIColor.swift +++ b/Sources/MisticaCommon/Colors/ColorToolkit+UIColor.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// ColorToolkit+UIColor.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import UIKit @@ -8,388 +12,516 @@ public extension UIColor { static var backgroundBrandSecondary: UIColor { MisticaConfig.currentColors.backgroundBrandSecondary } + static var appBarBackground: UIColor { MisticaConfig.currentColors.appBarBackground } + static var background: UIColor { MisticaConfig.currentColors.background } + static var backgroundContainer: UIColor { MisticaConfig.currentColors.backgroundContainer } + static var backgroundContainerError: UIColor { MisticaConfig.currentColors.backgroundContainerError } + static var backgroundContainerHover: UIColor { MisticaConfig.currentColors.backgroundContainerHover } + static var backgroundContainerPressed: UIColor { MisticaConfig.currentColors.backgroundContainerPressed } + static var backgroundContainerBrandHover: UIColor { MisticaConfig.currentColors.backgroundContainerBrandHover } + static var backgroundContainerBrandPressed: UIColor { MisticaConfig.currentColors.backgroundContainerBrandPressed } + static var backgroundContainerBrandOverInverse: UIColor { MisticaConfig.currentColors.backgroundContainerBrandOverInverse } + static var backgroundContainerAlternative: UIColor { MisticaConfig.currentColors.backgroundContainerAlternative } + static var backgroundOverlay: UIColor { MisticaConfig.currentColors.backgroundOverlay } + static var backgroundSkeleton: UIColor { MisticaConfig.currentColors.backgroundSkeleton } + static var backgroundSkeletonInverse: UIColor { MisticaConfig.currentColors.backgroundSkeletonInverse } + static var navigationBarBackground: UIColor { MisticaConfig.currentColors.navigationBarBackground } + static var backgroundAlternative: UIColor { MisticaConfig.currentColors.backgroundAlternative } + static var backgroundBrandTop: UIColor { MisticaConfig.currentColors.backgroundBrandTop } + static var backgroundBrandBottom: UIColor { MisticaConfig.currentColors.backgroundBrandBottom } + static var skeletonWave: UIColor { MisticaConfig.currentColors.skeletonWave } + static var borderLow: UIColor { MisticaConfig.currentColors.borderLow } + static var border: UIColor { MisticaConfig.currentColors.border } + static var borderHigh: UIColor { MisticaConfig.currentColors.borderHigh } + static var borderSelected: UIColor { MisticaConfig.currentColors.borderSelected } + static var coverBackgroundHover: UIColor { MisticaConfig.currentColors.coverBackgroundHover } + static var coverBackgroundPressed: UIColor { MisticaConfig.currentColors.coverBackgroundPressed } + static var buttonDangerBackground: UIColor { MisticaConfig.currentColors.buttonDangerBackground } + static var buttonDangerBackgroundPressed: UIColor { MisticaConfig.currentColors.buttonDangerBackgroundPressed } + static var buttonDangerBackgroundHover: UIColor { MisticaConfig.currentColors.buttonDangerBackgroundHover } + static var buttonLinkDangerBackgroundPressed: UIColor { MisticaConfig.currentColors.buttonLinkDangerBackgroundPressed } + static var buttonLinkDangerBackgroundInverse: UIColor { MisticaConfig.currentColors.buttonLinkDangerBackgroundInverse } + static var buttonLinkDangerBackgroundInversePressed: UIColor { MisticaConfig.currentColors.buttonLinkDangerBackgroundInversePressed } + static var buttonLinkBackgroundPressed: UIColor { MisticaConfig.currentColors.buttonLinkBackgroundPressed } + static var buttonLinkBackgroundInversePressed: UIColor { MisticaConfig.currentColors.buttonLinkBackgroundInversePressed } + static var buttonPrimaryBackground: UIColor { MisticaConfig.currentColors.buttonPrimaryBackground } + static var buttonPrimaryBackgroundInverse: UIColor { MisticaConfig.currentColors.buttonPrimaryBackgroundInverse } + static var buttonPrimaryBackgroundPressed: UIColor { MisticaConfig.currentColors.buttonPrimaryBackgroundPressed } + static var buttonPrimaryBackgroundHover: UIColor { MisticaConfig.currentColors.buttonPrimaryBackgroundHover } + static var buttonPrimaryBackgroundInversePressed: UIColor { MisticaConfig.currentColors.buttonPrimaryBackgroundInversePressed } + static var buttonSecondaryBorder: UIColor { MisticaConfig.currentColors.buttonSecondaryBorder } + static var buttonSecondaryBorderPressed: UIColor { MisticaConfig.currentColors.buttonSecondaryBorderPressed } + static var buttonSecondaryBorderInverse: UIColor { MisticaConfig.currentColors.buttonSecondaryBorderInverse } + static var buttonSecondaryBackgroundHover: UIColor { MisticaConfig.currentColors.buttonSecondaryBackgroundHover } + static var buttonSecondaryBackgroundPressed: UIColor { MisticaConfig.currentColors.buttonSecondaryBackgroundPressed } + static var buttonSecondaryBorderInversePressed: UIColor { MisticaConfig.currentColors.buttonSecondaryBorderInversePressed } + static var buttonSecondaryBackgroundInverseHover: UIColor { MisticaConfig.currentColors.buttonSecondaryBackgroundInverseHover } + static var buttonSecondaryBackgroundInversePressed: UIColor { MisticaConfig.currentColors.buttonSecondaryBackgroundInversePressed } + static var textButtonPrimary: UIColor { MisticaConfig.currentColors.textButtonPrimary } + static var textButtonPrimaryInverse: UIColor { MisticaConfig.currentColors.textButtonPrimaryInverse } + static var textButtonPrimaryInversePressed: UIColor { MisticaConfig.currentColors.textButtonPrimaryInversePressed } + static var textButtonSecondary: UIColor { MisticaConfig.currentColors.textButtonSecondary } + static var textButtonSecondaryPressed: UIColor { MisticaConfig.currentColors.textButtonSecondaryPressed } + static var textButtonSecondaryInverse: UIColor { MisticaConfig.currentColors.textButtonSecondaryInverse } + static var textButtonSecondaryInversePressed: UIColor { MisticaConfig.currentColors.textButtonSecondaryInversePressed } + static var textLink: UIColor { MisticaConfig.currentColors.textLink } + static var textLinkInverse: UIColor { MisticaConfig.currentColors.textLinkInverse } + static var textLinkDanger: UIColor { MisticaConfig.currentColors.textLinkDanger } + static var textLinkSnackbar: UIColor { MisticaConfig.currentColors.textLinkSnackbar } + static var textActivated: UIColor { MisticaConfig.currentColors.textActivated } + static var textBrand: UIColor { MisticaConfig.currentColors.textBrand } + static var control: UIColor { MisticaConfig.currentColors.control } + static var controlActivated: UIColor { MisticaConfig.currentColors.controlActivated } + static var controlInverse: UIColor { MisticaConfig.currentColors.controlInverse } + static var controlActivatedInverse: UIColor { MisticaConfig.currentColors.controlActivatedInverse } + static var controlError: UIColor { MisticaConfig.currentColors.controlError } + static var barTrack: UIColor { MisticaConfig.currentColors.barTrack } + static var barTrackInverse: UIColor { MisticaConfig.currentColors.barTrackInverse } + static var loadingBar: UIColor { MisticaConfig.currentColors.loadingBar } + static var loadingBarBackground: UIColor { MisticaConfig.currentColors.loadingBarBackground } + static var toggleAndroidInactive: UIColor { MisticaConfig.currentColors.toggleAndroidInactive } + static var toggleAndroidBackgroundActive: UIColor { MisticaConfig.currentColors.toggleAndroidBackgroundActive } + static var iosControlKnob: UIColor { MisticaConfig.currentColors.iosControlKnob } + static var controlKnobInverse: UIColor { MisticaConfig.currentColors.controlKnobInverse } + static var divider: UIColor { MisticaConfig.currentColors.divider } + static var dividerInverse: UIColor { MisticaConfig.currentColors.dividerInverse } + static var navigationBarDivider: UIColor { MisticaConfig.currentColors.navigationBarDivider } + static var badge: UIColor { MisticaConfig.currentColors.badge } + static var feedbackErrorBackground: UIColor { MisticaConfig.currentColors.feedbackErrorBackground } + static var feedbackInfoBackground: UIColor { MisticaConfig.currentColors.feedbackInfoBackground } + static var brand: UIColor { MisticaConfig.currentColors.brand } + static var brandHigh: UIColor { MisticaConfig.currentColors.brandHigh } + static var inverse: UIColor { MisticaConfig.currentColors.inverse } + static var neutralHigh: UIColor { MisticaConfig.currentColors.neutralHigh } + static var neutralMedium: UIColor { MisticaConfig.currentColors.neutralMedium } + static var neutralMediumInverse: UIColor { MisticaConfig.currentColors.neutralMediumInverse } + static var neutralLow: UIColor { MisticaConfig.currentColors.neutralLow } + static var neutralLowAlternative: UIColor { MisticaConfig.currentColors.neutralLowAlternative } + static var textPrimary: UIColor { MisticaConfig.currentColors.textPrimary } + static var textPrimaryInverse: UIColor { MisticaConfig.currentColors.textPrimaryInverse } + static var textSecondary: UIColor { MisticaConfig.currentColors.textSecondary } + static var textSecondaryInverse: UIColor { MisticaConfig.currentColors.textSecondaryInverse } + static var error: UIColor { MisticaConfig.currentColors.error } + static var textError: UIColor { MisticaConfig.currentColors.textError } + static var textErrorInverse: UIColor { MisticaConfig.currentColors.textErrorInverse } + static var success: UIColor { MisticaConfig.currentColors.success } + static var warning: UIColor { MisticaConfig.currentColors.warning } + static var promo: UIColor { MisticaConfig.currentColors.promo } + static var highlight: UIColor { MisticaConfig.currentColors.highlight } + static var successLow: UIColor { MisticaConfig.currentColors.successLow } + static var warningLow: UIColor { MisticaConfig.currentColors.warningLow } + static var errorLow: UIColor { MisticaConfig.currentColors.errorLow } + static var promoLow: UIColor { MisticaConfig.currentColors.promoLow } + static var brandLow: UIColor { MisticaConfig.currentColors.brandLow } + static var successHigh: UIColor { MisticaConfig.currentColors.successHigh } + static var warningHigh: UIColor { MisticaConfig.currentColors.warningHigh } + static var errorHigh: UIColor { MisticaConfig.currentColors.errorHigh } + static var promoHigh: UIColor { MisticaConfig.currentColors.promoHigh } + static var successHighInverse: UIColor { MisticaConfig.currentColors.successHighInverse } + static var warningHighInverse: UIColor { MisticaConfig.currentColors.warningHighInverse } + static var errorHighInverse: UIColor { MisticaConfig.currentColors.errorHighInverse } + static var promoHighInverse: UIColor { MisticaConfig.currentColors.promoHighInverse } + static var textNavigationBarPrimary: UIColor { MisticaConfig.currentColors.textNavigationBarPrimary } + static var textNavigationBarSecondary: UIColor { MisticaConfig.currentColors.textNavigationBarSecondary } + static var textNavigationSearchBarHint: UIColor { MisticaConfig.currentColors.textNavigationSearchBarHint } + static var textNavigationSearchBarText: UIColor { MisticaConfig.currentColors.textNavigationSearchBarText } + static var textAppBar: UIColor { MisticaConfig.currentColors.textAppBar } + static var textAppBarSelected: UIColor { MisticaConfig.currentColors.textAppBarSelected } + static var customTabsBackground: UIColor { MisticaConfig.currentColors.customTabsBackground } + static var tagTextPromo: UIColor { MisticaConfig.currentColors.tagTextPromo } + static var tagTextActive: UIColor { MisticaConfig.currentColors.tagTextActive } + static var tagTextInactive: UIColor { MisticaConfig.currentColors.tagTextInactive } + static var tagTextSuccess: UIColor { MisticaConfig.currentColors.tagTextSuccess } + static var tagTextWarning: UIColor { MisticaConfig.currentColors.tagTextWarning } + static var tagTextError: UIColor { MisticaConfig.currentColors.tagTextError } + static var tagBackgroundPromo: UIColor { MisticaConfig.currentColors.tagBackgroundPromo } + static var tagBackgroundActive: UIColor { MisticaConfig.currentColors.tagBackgroundActive } + static var tagBackgroundInactive: UIColor { MisticaConfig.currentColors.tagBackgroundInactive } + static var tagBackgroundSuccess: UIColor { MisticaConfig.currentColors.tagBackgroundSuccess } + static var tagBackgroundWarning: UIColor { MisticaConfig.currentColors.tagBackgroundWarning } + static var tagBackgroundError: UIColor { MisticaConfig.currentColors.tagBackgroundError } -} \ No newline at end of file +} diff --git a/Sources/MisticaCommon/Colors/MisticaColor.swift b/Sources/MisticaCommon/Colors/MisticaColor.swift index 3546c7792..a528231c3 100644 --- a/Sources/MisticaCommon/Colors/MisticaColor.swift +++ b/Sources/MisticaCommon/Colors/MisticaColor.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// MisticaColor.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import UIKit @@ -13,9 +17,11 @@ public extension MisticaColor { static var backgroundBrand: MisticaColor { MisticaConfig.currentColors.backgroundBrand } + static var backgroundContainerBrand: MisticaColor { MisticaConfig.currentColors.backgroundContainerBrand } + static var cardContentOverlay: MisticaColor { MisticaConfig.currentColors.cardContentOverlay } diff --git a/Sources/MisticaCommon/Colors/MisticaColors.swift b/Sources/MisticaCommon/Colors/MisticaColors.swift index c58d8a126..0e155f906 100644 --- a/Sources/MisticaCommon/Colors/MisticaColors.swift +++ b/Sources/MisticaCommon/Colors/MisticaColors.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// MisticaColors.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import UIKit diff --git a/Sources/MisticaCommon/Colors/MovistarColorPalette.swift b/Sources/MisticaCommon/Colors/MovistarColorPalette.swift index f3a623a22..dae916aef 100644 --- a/Sources/MisticaCommon/Colors/MovistarColorPalette.swift +++ b/Sources/MisticaCommon/Colors/MovistarColorPalette.swift @@ -1,282 +1,286 @@ - -// Generated using Make -// DO NOT EDIT +// +// MovistarColorPalette.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import UIKit struct MovistarColors: MisticaColors { static let palette = MovistarColorPalette() - let backgroundBrand = MisticaColor.solid(MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack) + let backgroundBrand = MisticaColor.solid(MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack) - let backgroundBrandSecondary = MovistarColors.palette.movistarBlueDark | MovistarColors.palette.darkModeBlack + let backgroundBrandSecondary = MovistarColors.palette.movistarBlueDark | MovistarColors.palette.darkModeBlack - let appBarBackground = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey + let appBarBackground = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey - let background = MovistarColors.palette.white | MovistarColors.palette.darkModeBlack + let background = MovistarColors.palette.white | MovistarColors.palette.darkModeBlack - let backgroundContainer = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey + let backgroundContainer = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey - let backgroundContainerError = MovistarColors.palette.pepper10 | MovistarColors.palette.darkModeGrey + let backgroundContainerError = MovistarColors.palette.pepper10 | MovistarColors.palette.darkModeGrey - let backgroundContainerHover = MovistarColors.palette.black.withAlphaComponent(0.03) | MovistarColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerHover = MovistarColors.palette.black.withAlphaComponent(0.03) | MovistarColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerPressed = MovistarColors.palette.black.withAlphaComponent(0.05) | MovistarColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerPressed = MovistarColors.palette.black.withAlphaComponent(0.05) | MovistarColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrand = MisticaColor.solid(MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeGrey) + let backgroundContainerBrand = MisticaColor.solid(MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeGrey) - let backgroundContainerBrandHover = MovistarColors.palette.black.withAlphaComponent(0.1) | MovistarColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandHover = MovistarColors.palette.black.withAlphaComponent(0.1) | MovistarColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandPressed = MovistarColors.palette.black.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandPressed = MovistarColors.palette.black.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandOverInverse = MovistarColors.palette.movistarBlue55 | MovistarColors.palette.darkModeGrey + let backgroundContainerBrandOverInverse = MovistarColors.palette.movistarBlue55 | MovistarColors.palette.darkModeGrey - let backgroundContainerAlternative = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeGrey + let backgroundContainerAlternative = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeGrey - let backgroundOverlay = MovistarColors.palette.movistarBlueDark.withAlphaComponent(0.6) | MovistarColors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundOverlay = MovistarColors.palette.movistarBlueDark.withAlphaComponent(0.6) | MovistarColors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundSkeleton = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 + let backgroundSkeleton = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 - let backgroundSkeletonInverse = MovistarColors.palette.movistarBlue55 | MovistarColors.palette.darkModeGrey6 + let backgroundSkeletonInverse = MovistarColors.palette.movistarBlue55 | MovistarColors.palette.darkModeGrey6 - let navigationBarBackground = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack + let navigationBarBackground = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack - let backgroundAlternative = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeBlack + let backgroundAlternative = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeBlack - let backgroundBrandTop = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack + let backgroundBrandTop = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack - let backgroundBrandBottom = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack + let backgroundBrandBottom = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack - let skeletonWave = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 + let skeletonWave = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 - let borderLow = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeBlack + let borderLow = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeBlack - let border = MovistarColors.palette.grey3 | MovistarColors.palette.darkModeGrey + let border = MovistarColors.palette.grey3 | MovistarColors.palette.darkModeGrey - let borderHigh = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey5 + let borderHigh = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey5 - let borderSelected = MovistarColors.palette.movistarBlue + let borderSelected = MovistarColors.palette.movistarBlue - let coverBackgroundHover = MovistarColors.palette.black.withAlphaComponent(0.25) | MovistarColors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundHover = MovistarColors.palette.black.withAlphaComponent(0.25) | MovistarColors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundPressed = MovistarColors.palette.black.withAlphaComponent(0.35) | MovistarColors.palette.darkModeBlack.withAlphaComponent(0.35) + let coverBackgroundPressed = MovistarColors.palette.black.withAlphaComponent(0.35) | MovistarColors.palette.darkModeBlack.withAlphaComponent(0.35) - let buttonDangerBackground = MovistarColors.palette.pepper55 + let buttonDangerBackground = MovistarColors.palette.pepper55 - let buttonDangerBackgroundPressed = MovistarColors.palette.pepper70 + let buttonDangerBackgroundPressed = MovistarColors.palette.pepper70 - let buttonDangerBackgroundHover = MovistarColors.palette.pepper65 + let buttonDangerBackgroundHover = MovistarColors.palette.pepper65 - let buttonLinkDangerBackgroundPressed = MovistarColors.palette.pepper10 | MovistarColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundPressed = MovistarColors.palette.pepper10 | MovistarColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundInverse = MovistarColors.palette.white | MovistarColors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInverse = MovistarColors.palette.white | MovistarColors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInversePressed = MovistarColors.palette.pepper10 | MovistarColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundInversePressed = MovistarColors.palette.pepper10 | MovistarColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundPressed = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundPressed = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundInversePressed = MovistarColors.palette.white.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundInversePressed = MovistarColors.palette.white.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.08) - let buttonPrimaryBackground = MovistarColors.palette.movistarBlueHC + let buttonPrimaryBackground = MovistarColors.palette.movistarBlueHC - let buttonPrimaryBackgroundInverse = MovistarColors.palette.white | MovistarColors.palette.movistarBlueHC + let buttonPrimaryBackgroundInverse = MovistarColors.palette.white | MovistarColors.palette.movistarBlueHC - let buttonPrimaryBackgroundPressed = MovistarColors.palette.movistarBlueHC65 + let buttonPrimaryBackgroundPressed = MovistarColors.palette.movistarBlueHC65 - let buttonPrimaryBackgroundHover = MovistarColors.palette.movistarBlueHC55 + let buttonPrimaryBackgroundHover = MovistarColors.palette.movistarBlueHC55 - let buttonPrimaryBackgroundInversePressed = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.movistarBlueHC65 + let buttonPrimaryBackgroundInversePressed = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.movistarBlueHC65 - let buttonSecondaryBorder = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.white + let buttonSecondaryBorder = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.white - let buttonSecondaryBorderPressed = MovistarColors.palette.movistarBlueHC65 | MovistarColors.palette.white + let buttonSecondaryBorderPressed = MovistarColors.palette.movistarBlueHC65 | MovistarColors.palette.white - let buttonSecondaryBorderInverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let buttonSecondaryBorderInverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let buttonSecondaryBackgroundHover = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundHover = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = MovistarColors.palette.movistarBlue15 | MovistarColors.palette.white.withAlphaComponent(0.25) + let buttonSecondaryBackgroundPressed = MovistarColors.palette.movistarBlue15 | MovistarColors.palette.white.withAlphaComponent(0.25) - let buttonSecondaryBorderInversePressed = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let buttonSecondaryBorderInversePressed = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let buttonSecondaryBackgroundInverseHover = MovistarColors.palette.white.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInverseHover = MovistarColors.palette.white.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = MovistarColors.palette.white.withAlphaComponent(0.3) | MovistarColors.palette.white.withAlphaComponent(0.25) + let buttonSecondaryBackgroundInversePressed = MovistarColors.palette.white.withAlphaComponent(0.3) | MovistarColors.palette.white.withAlphaComponent(0.25) - let textButtonPrimary = MovistarColors.palette.white + let textButtonPrimary = MovistarColors.palette.white - let textButtonPrimaryInverse = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.white + let textButtonPrimaryInverse = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.white - let textButtonPrimaryInversePressed = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.white + let textButtonPrimaryInversePressed = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.white - let textButtonSecondary = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.darkModeGrey2 + let textButtonSecondary = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.darkModeGrey2 - let textButtonSecondaryPressed = MovistarColors.palette.movistarBlueHC55 | MovistarColors.palette.darkModeGrey2 + let textButtonSecondaryPressed = MovistarColors.palette.movistarBlueHC55 | MovistarColors.palette.darkModeGrey2 - let textButtonSecondaryInverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let textButtonSecondaryInverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let textButtonSecondaryInversePressed = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let textButtonSecondaryInversePressed = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let textLink = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue + let textLink = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue - let textLinkInverse = MovistarColors.palette.white | MovistarColors.palette.movistarBlue + let textLinkInverse = MovistarColors.palette.white | MovistarColors.palette.movistarBlue - let textLinkDanger = MovistarColors.palette.pepper60 | MovistarColors.palette.pepper45 + let textLinkDanger = MovistarColors.palette.pepper60 | MovistarColors.palette.pepper45 - let textLinkSnackbar = MovistarColors.palette.movistarBlue30 | MovistarColors.palette.movistarBlue + let textLinkSnackbar = MovistarColors.palette.movistarBlue30 | MovistarColors.palette.movistarBlue - let textActivated = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue + let textActivated = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue - let textBrand = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue + let textBrand = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue - let control = MovistarColors.palette.grey4 | MovistarColors.palette.darkModeGrey4 + let control = MovistarColors.palette.grey4 | MovistarColors.palette.darkModeGrey4 - let controlActivated = MovistarColors.palette.movistarBlue + let controlActivated = MovistarColors.palette.movistarBlue - let controlInverse = MovistarColors.palette.movistarBlue20 | MovistarColors.palette.darkModeGrey4 + let controlInverse = MovistarColors.palette.movistarBlue20 | MovistarColors.palette.darkModeGrey4 - let controlActivatedInverse = MovistarColors.palette.white | MovistarColors.palette.movistarBlue + let controlActivatedInverse = MovistarColors.palette.white | MovistarColors.palette.movistarBlue - let controlError = MovistarColors.palette.pepper55 | MovistarColors.palette.pepper45 + let controlError = MovistarColors.palette.pepper55 | MovistarColors.palette.pepper45 - let barTrack = MovistarColors.palette.grey3 | MovistarColors.palette.darkModeGrey6 + let barTrack = MovistarColors.palette.grey3 | MovistarColors.palette.darkModeGrey6 - let barTrackInverse = MovistarColors.palette.black.withAlphaComponent(0.14) | MovistarColors.palette.darkModeGrey6 + let barTrackInverse = MovistarColors.palette.black.withAlphaComponent(0.14) | MovistarColors.palette.darkModeGrey6 - let loadingBar = MovistarColors.palette.movistarBlue + let loadingBar = MovistarColors.palette.movistarBlue - let loadingBarBackground = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 + let loadingBarBackground = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 - let toggleAndroidInactive = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey2 + let toggleAndroidInactive = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey2 - let toggleAndroidBackgroundActive = MovistarColors.palette.movistarBlue20 + let toggleAndroidBackgroundActive = MovistarColors.palette.movistarBlue20 - let iosControlKnob = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let iosControlKnob = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let controlKnobInverse = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeGrey2 + let controlKnobInverse = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeGrey2 - let divider = MovistarColors.palette.grey3 | MovistarColors.palette.white.withAlphaComponent(0.1) + let divider = MovistarColors.palette.grey3 | MovistarColors.palette.white.withAlphaComponent(0.1) - let dividerInverse = MovistarColors.palette.white.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.1) + let dividerInverse = MovistarColors.palette.white.withAlphaComponent(0.2) | MovistarColors.palette.white.withAlphaComponent(0.1) - let navigationBarDivider = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack + let navigationBarDivider = MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeBlack - let badge = MovistarColors.palette.pepper55 + let badge = MovistarColors.palette.pepper55 - let feedbackErrorBackground = MovistarColors.palette.pepper55 + let feedbackErrorBackground = MovistarColors.palette.pepper55 - let feedbackInfoBackground = MovistarColors.palette.movistarBlueDark + let feedbackInfoBackground = MovistarColors.palette.movistarBlueDark - let brand = MovistarColors.palette.movistarBlue + let brand = MovistarColors.palette.movistarBlue - let brandHigh = MovistarColors.palette.movistarBlue55 | MovistarColors.palette.movistarBlue40 + let brandHigh = MovistarColors.palette.movistarBlue55 | MovistarColors.palette.movistarBlue40 - let inverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let inverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let neutralHigh = MovistarColors.palette.movistarBlueDark | MovistarColors.palette.darkModeGrey2 + let neutralHigh = MovistarColors.palette.movistarBlueDark | MovistarColors.palette.darkModeGrey2 - let neutralMedium = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey5 + let neutralMedium = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey5 - let neutralMediumInverse = MovistarColors.palette.grey5 + let neutralMediumInverse = MovistarColors.palette.grey5 - let neutralLow = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeGrey6 + let neutralLow = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeGrey6 - let neutralLowAlternative = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 + let neutralLowAlternative = MovistarColors.palette.grey2 | MovistarColors.palette.darkModeGrey6 - let textPrimary = MovistarColors.palette.movistarBlueDark | MovistarColors.palette.darkModeGrey2 + let textPrimary = MovistarColors.palette.movistarBlueDark | MovistarColors.palette.darkModeGrey2 - let textPrimaryInverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let textPrimaryInverse = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let textSecondary = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey4 + let textSecondary = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey4 - let textSecondaryInverse = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.darkModeGrey4 + let textSecondaryInverse = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.darkModeGrey4 - let error = MovistarColors.palette.pepper55 | MovistarColors.palette.pepper45 + let error = MovistarColors.palette.pepper55 | MovistarColors.palette.pepper45 - let textError = MovistarColors.palette.pepper55 | MovistarColors.palette.pepper45 + let textError = MovistarColors.palette.pepper55 | MovistarColors.palette.pepper45 - let textErrorInverse = MovistarColors.palette.white | MovistarColors.palette.pepper45 + let textErrorInverse = MovistarColors.palette.white | MovistarColors.palette.pepper45 - let success = MovistarColors.palette.movistarGreen55 | MovistarColors.palette.movistarGreen + let success = MovistarColors.palette.movistarGreen55 | MovistarColors.palette.movistarGreen - let warning = MovistarColors.palette.egg55 | MovistarColors.palette.egg + let warning = MovistarColors.palette.egg55 | MovistarColors.palette.egg - let promo = MovistarColors.palette.purple | MovistarColors.palette.purple40 + let promo = MovistarColors.palette.purple | MovistarColors.palette.purple40 - let highlight = MovistarColors.palette.pink55 | MovistarColors.palette.pink45 + let highlight = MovistarColors.palette.pink55 | MovistarColors.palette.pink45 - let successLow = MovistarColors.palette.movistarGreen10 | MovistarColors.palette.darkModeGrey7 + let successLow = MovistarColors.palette.movistarGreen10 | MovistarColors.palette.darkModeGrey7 - let warningLow = MovistarColors.palette.egg10 | MovistarColors.palette.darkModeGrey7 + let warningLow = MovistarColors.palette.egg10 | MovistarColors.palette.darkModeGrey7 - let errorLow = MovistarColors.palette.pepper10 | MovistarColors.palette.darkModeGrey7 + let errorLow = MovistarColors.palette.pepper10 | MovistarColors.palette.darkModeGrey7 - let promoLow = MovistarColors.palette.purple10 | MovistarColors.palette.darkModeGrey7 + let promoLow = MovistarColors.palette.purple10 | MovistarColors.palette.darkModeGrey7 - let brandLow = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.darkModeGrey7 + let brandLow = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.darkModeGrey7 - let successHigh = MovistarColors.palette.movistarGreen70 | MovistarColors.palette.movistarGreen40 + let successHigh = MovistarColors.palette.movistarGreen70 | MovistarColors.palette.movistarGreen40 - let warningHigh = MovistarColors.palette.egg80 | MovistarColors.palette.egg40 + let warningHigh = MovistarColors.palette.egg80 | MovistarColors.palette.egg40 - let errorHigh = MovistarColors.palette.pepper70 | MovistarColors.palette.pepper45 + let errorHigh = MovistarColors.palette.pepper70 | MovistarColors.palette.pepper45 - let promoHigh = MovistarColors.palette.purple70 | MovistarColors.palette.purple35 + let promoHigh = MovistarColors.palette.purple70 | MovistarColors.palette.purple35 - let successHighInverse = MovistarColors.palette.movistarGreen70 + let successHighInverse = MovistarColors.palette.movistarGreen70 - let warningHighInverse = MovistarColors.palette.egg80 + let warningHighInverse = MovistarColors.palette.egg80 - let errorHighInverse = MovistarColors.palette.pepper70 + let errorHighInverse = MovistarColors.palette.pepper70 - let promoHighInverse = MovistarColors.palette.purple70 + let promoHighInverse = MovistarColors.palette.purple70 - let textNavigationBarPrimary = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let textNavigationBarPrimary = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let textNavigationBarSecondary = MovistarColors.palette.movistarBlue20 | MovistarColors.palette.darkModeGrey4 + let textNavigationBarSecondary = MovistarColors.palette.movistarBlue20 | MovistarColors.palette.darkModeGrey4 - let textNavigationSearchBarHint = MovistarColors.palette.movistarBlue20 | MovistarColors.palette.darkModeGrey4 + let textNavigationSearchBarHint = MovistarColors.palette.movistarBlue20 | MovistarColors.palette.darkModeGrey4 - let textNavigationSearchBarText = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 + let textNavigationSearchBarText = MovistarColors.palette.white | MovistarColors.palette.darkModeGrey2 - let textAppBar = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey4 + let textAppBar = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey4 - let textAppBarSelected = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue + let textAppBarSelected = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue - let customTabsBackground = MovistarColors.palette.white | MovistarColors.palette.darkModeBlack + let customTabsBackground = MovistarColors.palette.white | MovistarColors.palette.darkModeBlack - let tagTextPromo = MovistarColors.palette.purple70 | MovistarColors.palette.purple35 + let tagTextPromo = MovistarColors.palette.purple70 | MovistarColors.palette.purple35 - let tagTextActive = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue + let tagTextActive = MovistarColors.palette.movistarBlueHC | MovistarColors.palette.movistarBlue - let tagTextInactive = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey3 + let tagTextInactive = MovistarColors.palette.grey5 | MovistarColors.palette.darkModeGrey3 - let tagTextSuccess = MovistarColors.palette.movistarGreen70 | MovistarColors.palette.movistarGreen40 + let tagTextSuccess = MovistarColors.palette.movistarGreen70 | MovistarColors.palette.movistarGreen40 - let tagTextWarning = MovistarColors.palette.egg80 | MovistarColors.palette.egg40 + let tagTextWarning = MovistarColors.palette.egg80 | MovistarColors.palette.egg40 - let tagTextError = MovistarColors.palette.pepper70 | MovistarColors.palette.pepper45 + let tagTextError = MovistarColors.palette.pepper70 | MovistarColors.palette.pepper45 - let tagBackgroundPromo = MovistarColors.palette.purple10 | MovistarColors.palette.darkModeGrey7 + let tagBackgroundPromo = MovistarColors.palette.purple10 | MovistarColors.palette.darkModeGrey7 - let tagBackgroundActive = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.darkModeGrey7 + let tagBackgroundActive = MovistarColors.palette.movistarBlue10 | MovistarColors.palette.darkModeGrey7 - let tagBackgroundInactive = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeGrey7 + let tagBackgroundInactive = MovistarColors.palette.grey1 | MovistarColors.palette.darkModeGrey7 - let tagBackgroundSuccess = MovistarColors.palette.movistarGreen10 | MovistarColors.palette.darkModeGrey7 + let tagBackgroundSuccess = MovistarColors.palette.movistarGreen10 | MovistarColors.palette.darkModeGrey7 - let tagBackgroundWarning = MovistarColors.palette.egg10 | MovistarColors.palette.darkModeGrey7 + let tagBackgroundWarning = MovistarColors.palette.egg10 | MovistarColors.palette.darkModeGrey7 - let tagBackgroundError = MovistarColors.palette.pepper10 | MovistarColors.palette.darkModeGrey7 + let tagBackgroundError = MovistarColors.palette.pepper10 | MovistarColors.palette.darkModeGrey7 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ MovistarColors.palette.black.withAlphaComponent(0), MovistarColors.palette.black.withAlphaComponent(0.4), MovistarColors.palette.black.withAlphaComponent(0.7) ], - stops: [0,0.3,1], + stops: [0, 0.3, 1], angle: 180 )) } @@ -338,4 +342,4 @@ public struct MovistarColorPalette { public let darkModeGrey5 = UIColor(hex: "#6D7D88")! public let darkModeGrey6 = UIColor(hex: "#3C5261")! public let darkModeGrey7 = UIColor(hex: "#032F46")! -} \ No newline at end of file +} diff --git a/Sources/MisticaCommon/Colors/O2ColorPalette.swift b/Sources/MisticaCommon/Colors/O2ColorPalette.swift index 03769745e..8090fc78f 100644 --- a/Sources/MisticaCommon/Colors/O2ColorPalette.swift +++ b/Sources/MisticaCommon/Colors/O2ColorPalette.swift @@ -1,282 +1,286 @@ - -// Generated using Make -// DO NOT EDIT +// +// O2ColorPalette.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import UIKit struct O2Colors: MisticaColors { static let palette = O2ColorPalette() - let backgroundBrand = MisticaColor.solid(O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack) + let backgroundBrand = MisticaColor.solid(O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack) - let backgroundBrandSecondary = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack + let backgroundBrandSecondary = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack - let appBarBackground = O2Colors.palette.white | O2Colors.palette.darkModeGrey + let appBarBackground = O2Colors.palette.white | O2Colors.palette.darkModeGrey - let background = O2Colors.palette.white | O2Colors.palette.darkModeBlack + let background = O2Colors.palette.white | O2Colors.palette.darkModeBlack - let backgroundContainer = O2Colors.palette.white | O2Colors.palette.darkModeGrey + let backgroundContainer = O2Colors.palette.white | O2Colors.palette.darkModeGrey - let backgroundContainerError = O2Colors.palette.pepper10 | O2Colors.palette.darkModeGrey + let backgroundContainerError = O2Colors.palette.pepper10 | O2Colors.palette.darkModeGrey - let backgroundContainerHover = O2Colors.palette.darkModeBlack.withAlphaComponent(0.03) | O2Colors.palette.white.withAlphaComponent(0.03) + let backgroundContainerHover = O2Colors.palette.darkModeBlack.withAlphaComponent(0.03) | O2Colors.palette.white.withAlphaComponent(0.03) - let backgroundContainerPressed = O2Colors.palette.darkModeBlack.withAlphaComponent(0.05) | O2Colors.palette.white.withAlphaComponent(0.05) + let backgroundContainerPressed = O2Colors.palette.darkModeBlack.withAlphaComponent(0.05) | O2Colors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrand = MisticaColor.solid(O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeGrey) + let backgroundContainerBrand = MisticaColor.solid(O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeGrey) - let backgroundContainerBrandHover = O2Colors.palette.darkModeBlack.withAlphaComponent(0.2) | O2Colors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandHover = O2Colors.palette.darkModeBlack.withAlphaComponent(0.2) | O2Colors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandPressed = O2Colors.palette.darkModeBlack.withAlphaComponent(0.4) | O2Colors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandPressed = O2Colors.palette.darkModeBlack.withAlphaComponent(0.4) | O2Colors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandOverInverse = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeGrey + let backgroundContainerBrandOverInverse = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeGrey - let backgroundContainerAlternative = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey + let backgroundContainerAlternative = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey - let backgroundOverlay = O2Colors.palette.grey6.withAlphaComponent(0.6) | O2Colors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundOverlay = O2Colors.palette.grey6.withAlphaComponent(0.6) | O2Colors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundSkeleton = O2Colors.palette.grey2 | O2Colors.palette.darkModeGrey6 + let backgroundSkeleton = O2Colors.palette.grey2 | O2Colors.palette.darkModeGrey6 - let backgroundSkeletonInverse = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeGrey6 + let backgroundSkeletonInverse = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeGrey6 - let navigationBarBackground = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack + let navigationBarBackground = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack - let backgroundAlternative = O2Colors.palette.grey1 | O2Colors.palette.darkModeBlack + let backgroundAlternative = O2Colors.palette.grey1 | O2Colors.palette.darkModeBlack - let backgroundBrandTop = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack + let backgroundBrandTop = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack - let backgroundBrandBottom = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack + let backgroundBrandBottom = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack - let skeletonWave = O2Colors.palette.grey2 | O2Colors.palette.grey5 + let skeletonWave = O2Colors.palette.grey2 | O2Colors.palette.grey5 - let borderLow = O2Colors.palette.grey1 | O2Colors.palette.darkModeBlack + let borderLow = O2Colors.palette.grey1 | O2Colors.palette.darkModeBlack - let border = O2Colors.palette.grey3 | O2Colors.palette.darkModeGrey + let border = O2Colors.palette.grey3 | O2Colors.palette.darkModeGrey - let borderHigh = O2Colors.palette.grey5 + let borderHigh = O2Colors.palette.grey5 - let borderSelected = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 + let borderSelected = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 - let coverBackgroundHover = O2Colors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundHover = O2Colors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundPressed = O2Colors.palette.darkModeBlack.withAlphaComponent(0.35) + let coverBackgroundPressed = O2Colors.palette.darkModeBlack.withAlphaComponent(0.35) - let buttonDangerBackground = O2Colors.palette.pepper + let buttonDangerBackground = O2Colors.palette.pepper - let buttonDangerBackgroundPressed = O2Colors.palette.pepper60 + let buttonDangerBackgroundPressed = O2Colors.palette.pepper60 - let buttonDangerBackgroundHover = O2Colors.palette.pepper60 + let buttonDangerBackgroundHover = O2Colors.palette.pepper60 - let buttonLinkDangerBackgroundPressed = O2Colors.palette.pepper10 | O2Colors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundPressed = O2Colors.palette.pepper10 | O2Colors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundInverse = O2Colors.palette.white | O2Colors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInverse = O2Colors.palette.white | O2Colors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInversePressed = O2Colors.palette.pepper10 | O2Colors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundInversePressed = O2Colors.palette.pepper10 | O2Colors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundPressed = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundPressed = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundInversePressed = O2Colors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundInversePressed = O2Colors.palette.white.withAlphaComponent(0.08) - let buttonPrimaryBackground = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeO2BluePrimary + let buttonPrimaryBackground = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeO2BluePrimary - let buttonPrimaryBackgroundInverse = O2Colors.palette.white | O2Colors.palette.darkModeO2BluePrimary + let buttonPrimaryBackgroundInverse = O2Colors.palette.white | O2Colors.palette.darkModeO2BluePrimary - let buttonPrimaryBackgroundPressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeO2BluePrimaryDark + let buttonPrimaryBackgroundPressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeO2BluePrimaryDark - let buttonPrimaryBackgroundHover = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeO2BluePrimaryDark + let buttonPrimaryBackgroundHover = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.darkModeO2BluePrimaryDark - let buttonPrimaryBackgroundInversePressed = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.darkModeO2BluePrimaryDark + let buttonPrimaryBackgroundInversePressed = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.darkModeO2BluePrimaryDark - let buttonSecondaryBorder = O2Colors.palette.o2BluePrimary | O2Colors.palette.white + let buttonSecondaryBorder = O2Colors.palette.o2BluePrimary | O2Colors.palette.white - let buttonSecondaryBorderPressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.white + let buttonSecondaryBorderPressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.white - let buttonSecondaryBorderInverse = O2Colors.palette.white + let buttonSecondaryBorderInverse = O2Colors.palette.white - let buttonSecondaryBackgroundHover = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundHover = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBorderInversePressed = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.white + let buttonSecondaryBorderInversePressed = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.white - let buttonSecondaryBackgroundInverseHover = O2Colors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInverseHover = O2Colors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = O2Colors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = O2Colors.palette.white.withAlphaComponent(0.15) - let textButtonPrimary = O2Colors.palette.white | O2Colors.palette.grey2 + let textButtonPrimary = O2Colors.palette.white | O2Colors.palette.grey2 - let textButtonPrimaryInverse = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 + let textButtonPrimaryInverse = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 - let textButtonPrimaryInversePressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.grey2 + let textButtonPrimaryInversePressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.grey2 - let textButtonSecondary = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 + let textButtonSecondary = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 - let textButtonSecondaryPressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.grey2 + let textButtonSecondaryPressed = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.grey2 - let textButtonSecondaryInverse = O2Colors.palette.white | O2Colors.palette.grey2 + let textButtonSecondaryInverse = O2Colors.palette.white | O2Colors.palette.grey2 - let textButtonSecondaryInversePressed = O2Colors.palette.white | O2Colors.palette.grey2 + let textButtonSecondaryInversePressed = O2Colors.palette.white | O2Colors.palette.grey2 - let textLink = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 + let textLink = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 - let textLinkInverse = O2Colors.palette.white | O2Colors.palette.o2BluePrimary30 + let textLinkInverse = O2Colors.palette.white | O2Colors.palette.o2BluePrimary30 - let textLinkDanger = O2Colors.palette.pepper + let textLinkDanger = O2Colors.palette.pepper - let textLinkSnackbar = O2Colors.palette.o2BluePrimary30 + let textLinkSnackbar = O2Colors.palette.o2BluePrimary30 - let textActivated = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 + let textActivated = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 - let textBrand = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 + let textBrand = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 - let control = O2Colors.palette.grey3 | O2Colors.palette.darkModeGrey6 + let control = O2Colors.palette.grey3 | O2Colors.palette.darkModeGrey6 - let controlActivated = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 + let controlActivated = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 - let controlInverse = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.darkModeGrey6 + let controlInverse = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.darkModeGrey6 - let controlActivatedInverse = O2Colors.palette.white | O2Colors.palette.o2BluePrimary30 + let controlActivatedInverse = O2Colors.palette.white | O2Colors.palette.o2BluePrimary30 - let controlError = O2Colors.palette.pepper + let controlError = O2Colors.palette.pepper - let barTrack = O2Colors.palette.grey3 | O2Colors.palette.darkModeGrey6 + let barTrack = O2Colors.palette.grey3 | O2Colors.palette.darkModeGrey6 - let barTrackInverse = O2Colors.palette.white.withAlphaComponent(0.3) | O2Colors.palette.darkModeGrey6 + let barTrackInverse = O2Colors.palette.white.withAlphaComponent(0.3) | O2Colors.palette.darkModeGrey6 - let loadingBar = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeO2BluePrimary + let loadingBar = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeO2BluePrimary - let loadingBarBackground = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey6 + let loadingBarBackground = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey6 - let toggleAndroidInactive = O2Colors.palette.grey2 | O2Colors.palette.grey4 + let toggleAndroidInactive = O2Colors.palette.grey2 | O2Colors.palette.grey4 - let toggleAndroidBackgroundActive = O2Colors.palette.o2BluePrimary15 | O2Colors.palette.o2BlueLight30 + let toggleAndroidBackgroundActive = O2Colors.palette.o2BluePrimary15 | O2Colors.palette.o2BlueLight30 - let iosControlKnob = O2Colors.palette.white | O2Colors.palette.grey2 + let iosControlKnob = O2Colors.palette.white | O2Colors.palette.grey2 - let controlKnobInverse = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 + let controlKnobInverse = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 - let divider = O2Colors.palette.grey2 | O2Colors.palette.white.withAlphaComponent(0.05) + let divider = O2Colors.palette.grey2 | O2Colors.palette.white.withAlphaComponent(0.05) - let dividerInverse = O2Colors.palette.white.withAlphaComponent(0.2) | O2Colors.palette.white.withAlphaComponent(0.05) + let dividerInverse = O2Colors.palette.white.withAlphaComponent(0.2) | O2Colors.palette.white.withAlphaComponent(0.05) - let navigationBarDivider = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack + let navigationBarDivider = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack - let badge = O2Colors.palette.pepper60 + let badge = O2Colors.palette.pepper60 - let feedbackErrorBackground = O2Colors.palette.pepper + let feedbackErrorBackground = O2Colors.palette.pepper - let feedbackInfoBackground = O2Colors.palette.grey6 | O2Colors.palette.darkModeGrey6 + let feedbackInfoBackground = O2Colors.palette.grey6 | O2Colors.palette.darkModeGrey6 - let brand = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 + let brand = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 - let brandHigh = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.white.withAlphaComponent(0.05) + let brandHigh = O2Colors.palette.o2BluePrimary70 | O2Colors.palette.white.withAlphaComponent(0.05) - let inverse = O2Colors.palette.white | O2Colors.palette.grey2 + let inverse = O2Colors.palette.white | O2Colors.palette.grey2 - let neutralHigh = O2Colors.palette.grey6 | O2Colors.palette.grey2 + let neutralHigh = O2Colors.palette.grey6 | O2Colors.palette.grey2 - let neutralMedium = O2Colors.palette.grey5 + let neutralMedium = O2Colors.palette.grey5 - let neutralMediumInverse = O2Colors.palette.grey5 + let neutralMediumInverse = O2Colors.palette.grey5 - let neutralLow = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey6 + let neutralLow = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey6 - let neutralLowAlternative = O2Colors.palette.grey2 | O2Colors.palette.darkModeGrey6 + let neutralLowAlternative = O2Colors.palette.grey2 | O2Colors.palette.darkModeGrey6 - let textPrimary = O2Colors.palette.grey6 | O2Colors.palette.grey2 + let textPrimary = O2Colors.palette.grey6 | O2Colors.palette.grey2 - let textPrimaryInverse = O2Colors.palette.white | O2Colors.palette.grey2 + let textPrimaryInverse = O2Colors.palette.white | O2Colors.palette.grey2 - let textSecondary = O2Colors.palette.grey5 | O2Colors.palette.grey4 + let textSecondary = O2Colors.palette.grey5 | O2Colors.palette.grey4 - let textSecondaryInverse = O2Colors.palette.o2BluePrimary15 | O2Colors.palette.grey4 + let textSecondaryInverse = O2Colors.palette.o2BluePrimary15 | O2Colors.palette.grey4 - let error = O2Colors.palette.pepper + let error = O2Colors.palette.pepper - let textError = O2Colors.palette.pepper + let textError = O2Colors.palette.pepper - let textErrorInverse = O2Colors.palette.white | O2Colors.palette.pepper + let textErrorInverse = O2Colors.palette.white | O2Colors.palette.pepper - let success = O2Colors.palette.o2Green + let success = O2Colors.palette.o2Green - let warning = O2Colors.palette.o2Orange + let warning = O2Colors.palette.o2Orange - let promo = O2Colors.palette.o2Purple + let promo = O2Colors.palette.o2Purple - let highlight = O2Colors.palette.o2Pink + let highlight = O2Colors.palette.o2Pink - let successLow = O2Colors.palette.o2Green10 | O2Colors.palette.darkModeGrey6 + let successLow = O2Colors.palette.o2Green10 | O2Colors.palette.darkModeGrey6 - let warningLow = O2Colors.palette.o2Orange10 | O2Colors.palette.darkModeGrey6 + let warningLow = O2Colors.palette.o2Orange10 | O2Colors.palette.darkModeGrey6 - let errorLow = O2Colors.palette.pepper10 | O2Colors.palette.darkModeGrey6 + let errorLow = O2Colors.palette.pepper10 | O2Colors.palette.darkModeGrey6 - let promoLow = O2Colors.palette.o2Purple10 | O2Colors.palette.darkModeGrey6 + let promoLow = O2Colors.palette.o2Purple10 | O2Colors.palette.darkModeGrey6 - let brandLow = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.darkModeGrey6 + let brandLow = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.darkModeGrey6 - let successHigh = O2Colors.palette.o2Green80 | O2Colors.palette.o2Green40 + let successHigh = O2Colors.palette.o2Green80 | O2Colors.palette.o2Green40 - let warningHigh = O2Colors.palette.o2Orange75 | O2Colors.palette.o2Orange40 + let warningHigh = O2Colors.palette.o2Orange75 | O2Colors.palette.o2Orange40 - let errorHigh = O2Colors.palette.pepper60 | O2Colors.palette.pepper40 + let errorHigh = O2Colors.palette.pepper60 | O2Colors.palette.pepper40 - let promoHigh = O2Colors.palette.o2Purple | O2Colors.palette.o2Purple30 + let promoHigh = O2Colors.palette.o2Purple | O2Colors.palette.o2Purple30 - let successHighInverse = O2Colors.palette.o2Green80 + let successHighInverse = O2Colors.palette.o2Green80 - let warningHighInverse = O2Colors.palette.o2Orange75 + let warningHighInverse = O2Colors.palette.o2Orange75 - let errorHighInverse = O2Colors.palette.pepper60 + let errorHighInverse = O2Colors.palette.pepper60 - let promoHighInverse = O2Colors.palette.o2Purple + let promoHighInverse = O2Colors.palette.o2Purple - let textNavigationBarPrimary = O2Colors.palette.white | O2Colors.palette.grey2 + let textNavigationBarPrimary = O2Colors.palette.white | O2Colors.palette.grey2 - let textNavigationBarSecondary = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.grey4 + let textNavigationBarSecondary = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.grey4 - let textNavigationSearchBarHint = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.grey4 + let textNavigationSearchBarHint = O2Colors.palette.o2BluePrimary30 | O2Colors.palette.grey4 - let textNavigationSearchBarText = O2Colors.palette.white | O2Colors.palette.grey2 + let textNavigationSearchBarText = O2Colors.palette.white | O2Colors.palette.grey2 - let textAppBar = O2Colors.palette.grey4 | O2Colors.palette.grey5 + let textAppBar = O2Colors.palette.grey4 | O2Colors.palette.grey5 - let textAppBarSelected = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 + let textAppBarSelected = O2Colors.palette.o2BluePrimary | O2Colors.palette.grey2 - let customTabsBackground = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack + let customTabsBackground = O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeBlack - let tagTextPromo = O2Colors.palette.o2Purple | O2Colors.palette.o2Purple30 + let tagTextPromo = O2Colors.palette.o2Purple | O2Colors.palette.o2Purple30 - let tagTextActive = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 + let tagTextActive = O2Colors.palette.o2BluePrimary | O2Colors.palette.o2BluePrimary30 - let tagTextInactive = O2Colors.palette.grey5 + let tagTextInactive = O2Colors.palette.grey5 - let tagTextSuccess = O2Colors.palette.o2Green80 | O2Colors.palette.o2Green40 + let tagTextSuccess = O2Colors.palette.o2Green80 | O2Colors.palette.o2Green40 - let tagTextWarning = O2Colors.palette.o2Orange75 | O2Colors.palette.o2Orange40 + let tagTextWarning = O2Colors.palette.o2Orange75 | O2Colors.palette.o2Orange40 - let tagTextError = O2Colors.palette.pepper60 | O2Colors.palette.pepper40 + let tagTextError = O2Colors.palette.pepper60 | O2Colors.palette.pepper40 - let tagBackgroundPromo = O2Colors.palette.o2Purple10 | O2Colors.palette.darkModeGrey6 + let tagBackgroundPromo = O2Colors.palette.o2Purple10 | O2Colors.palette.darkModeGrey6 - let tagBackgroundActive = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.darkModeGrey6 + let tagBackgroundActive = O2Colors.palette.o2BluePrimary10 | O2Colors.palette.darkModeGrey6 - let tagBackgroundInactive = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey6 + let tagBackgroundInactive = O2Colors.palette.grey1 | O2Colors.palette.darkModeGrey6 - let tagBackgroundSuccess = O2Colors.palette.o2Green10 | O2Colors.palette.darkModeGrey6 + let tagBackgroundSuccess = O2Colors.palette.o2Green10 | O2Colors.palette.darkModeGrey6 - let tagBackgroundWarning = O2Colors.palette.o2Orange10 | O2Colors.palette.darkModeGrey6 + let tagBackgroundWarning = O2Colors.palette.o2Orange10 | O2Colors.palette.darkModeGrey6 - let tagBackgroundError = O2Colors.palette.pepper10 | O2Colors.palette.darkModeGrey6 + let tagBackgroundError = O2Colors.palette.pepper10 | O2Colors.palette.darkModeGrey6 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ O2Colors.palette.black.withAlphaComponent(0), O2Colors.palette.black.withAlphaComponent(0.4), O2Colors.palette.black.withAlphaComponent(0.7) ], - stops: [0,0.3,1], + stops: [0, 0.3, 1], angle: 180 )) } @@ -325,4 +329,4 @@ public struct O2ColorPalette { public let darkModeGrey6 = UIColor(hex: "#313235")! public let darkModeO2BluePrimary = UIColor(hex: "#0020D6")! public let darkModeO2BluePrimaryDark = UIColor(hex: "#000099")! -} \ No newline at end of file +} diff --git a/Sources/MisticaCommon/Colors/O2NewColorPalette.swift b/Sources/MisticaCommon/Colors/O2NewColorPalette.swift index c619067d0..db23fe056 100644 --- a/Sources/MisticaCommon/Colors/O2NewColorPalette.swift +++ b/Sources/MisticaCommon/Colors/O2NewColorPalette.swift @@ -1,300 +1,304 @@ - -// Generated using Make -// DO NOT EDIT +// +// O2NewColorPalette.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import UIKit struct O2NewColors: MisticaColors { static let palette = O2NewColorPalette() - let backgroundBrand = MisticaColor.gradient(MisticaGradient( + let backgroundBrand = MisticaColor.gradient(MisticaGradient( colors: [ O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeBlack, O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBlack, O2NewColors.palette.beyondBlue45 | O2NewColors.palette.darkModeBlack ], - stops: [0,0.64,1], + stops: [0, 0.64, 1], angle: 180 )) - let backgroundBrandSecondary = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBlack + let backgroundBrandSecondary = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBlack - let appBarBackground = O2NewColors.palette.white | O2NewColors.palette.darkModeGrey + let appBarBackground = O2NewColors.palette.white | O2NewColors.palette.darkModeGrey - let background = O2NewColors.palette.white | O2NewColors.palette.darkModeBlack + let background = O2NewColors.palette.white | O2NewColors.palette.darkModeBlack - let backgroundContainer = O2NewColors.palette.white | O2NewColors.palette.darkModeGrey + let backgroundContainer = O2NewColors.palette.white | O2NewColors.palette.darkModeGrey - let backgroundContainerError = O2NewColors.palette.o2Red10 | O2NewColors.palette.darkModeGrey + let backgroundContainerError = O2NewColors.palette.o2Red10 | O2NewColors.palette.darkModeGrey - let backgroundContainerHover = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.03) | O2NewColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerHover = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.03) | O2NewColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerPressed = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.05) | O2NewColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerPressed = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.05) | O2NewColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrand = MisticaColor.gradient(MisticaGradient( + let backgroundContainerBrand = MisticaColor.gradient(MisticaGradient( colors: [ O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeGrey, O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeGrey, O2NewColors.palette.beyondBlue45 | O2NewColors.palette.darkModeGrey ], - stops: [0,0.64,1], + stops: [0, 0.64, 1], angle: 180 )) - let backgroundContainerBrandHover = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.2) | O2NewColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandHover = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.2) | O2NewColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandPressed = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.4) | O2NewColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandPressed = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.4) | O2NewColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandOverInverse = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.darkModeGrey + let backgroundContainerBrandOverInverse = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.darkModeGrey - let backgroundContainerAlternative = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeGrey + let backgroundContainerAlternative = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeGrey - let backgroundOverlay = O2NewColors.palette.black.withAlphaComponent(0.6) | O2NewColors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundOverlay = O2NewColors.palette.black.withAlphaComponent(0.6) | O2NewColors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundSkeleton = O2NewColors.palette.grey30 | O2NewColors.palette.darkModeGrey6 + let backgroundSkeleton = O2NewColors.palette.grey30 | O2NewColors.palette.darkModeGrey6 - let backgroundSkeletonInverse = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.darkModeGrey6 + let backgroundSkeletonInverse = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.darkModeGrey6 - let navigationBarBackground = O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeBlack + let navigationBarBackground = O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeBlack - let backgroundAlternative = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeBlack + let backgroundAlternative = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeBlack - let backgroundBrandTop = O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeBlack + let backgroundBrandTop = O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeBlack - let backgroundBrandBottom = O2NewColors.palette.beyondBlue45 | O2NewColors.palette.darkModeBlack + let backgroundBrandBottom = O2NewColors.palette.beyondBlue45 | O2NewColors.palette.darkModeBlack - let skeletonWave = O2NewColors.palette.grey30 | O2NewColors.palette.grey80 + let skeletonWave = O2NewColors.palette.grey30 | O2NewColors.palette.grey80 - let borderLow = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeBlack + let borderLow = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeBlack - let border = O2NewColors.palette.grey30 | O2NewColors.palette.darkModeGrey + let border = O2NewColors.palette.grey30 | O2NewColors.palette.darkModeGrey - let borderHigh = O2NewColors.palette.grey80 | O2NewColors.palette.grey45 + let borderHigh = O2NewColors.palette.grey80 | O2NewColors.palette.grey45 - let borderSelected = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 + let borderSelected = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 - let coverBackgroundHover = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundHover = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundPressed = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.35) + let coverBackgroundPressed = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.35) - let buttonDangerBackground = O2NewColors.palette.o2Red60 + let buttonDangerBackground = O2NewColors.palette.o2Red60 - let buttonDangerBackgroundPressed = O2NewColors.palette.o2Red65 + let buttonDangerBackgroundPressed = O2NewColors.palette.o2Red65 - let buttonDangerBackgroundHover = O2NewColors.palette.o2Red65 + let buttonDangerBackgroundHover = O2NewColors.palette.o2Red65 - let buttonLinkDangerBackgroundPressed = O2NewColors.palette.o2Red10 | O2NewColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundPressed = O2NewColors.palette.o2Red10 | O2NewColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundInverse = O2NewColors.palette.white | O2NewColors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInverse = O2NewColors.palette.white | O2NewColors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInversePressed = O2NewColors.palette.o2Red10 | O2NewColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundInversePressed = O2NewColors.palette.o2Red10 | O2NewColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundPressed = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundPressed = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundInversePressed = O2NewColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundInversePressed = O2NewColors.palette.white.withAlphaComponent(0.08) - let buttonPrimaryBackground = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBeyondBlue + let buttonPrimaryBackground = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBeyondBlue - let buttonPrimaryBackgroundInverse = O2NewColors.palette.white | O2NewColors.palette.darkModeBeyondBlue + let buttonPrimaryBackgroundInverse = O2NewColors.palette.white | O2NewColors.palette.darkModeBeyondBlue - let buttonPrimaryBackgroundPressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.beyondBlue55 + let buttonPrimaryBackgroundPressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.beyondBlue55 - let buttonPrimaryBackgroundHover = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.beyondBlue55 + let buttonPrimaryBackgroundHover = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.beyondBlue55 - let buttonPrimaryBackgroundInversePressed = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.beyondBlue55 + let buttonPrimaryBackgroundInversePressed = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.beyondBlue55 - let buttonSecondaryBorder = O2NewColors.palette.beyondBlue | O2NewColors.palette.white + let buttonSecondaryBorder = O2NewColors.palette.beyondBlue | O2NewColors.palette.white - let buttonSecondaryBorderPressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.white + let buttonSecondaryBorderPressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.white - let buttonSecondaryBorderInverse = O2NewColors.palette.white + let buttonSecondaryBorderInverse = O2NewColors.palette.white - let buttonSecondaryBackgroundHover = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundHover = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBorderInversePressed = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.white + let buttonSecondaryBorderInversePressed = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.white - let buttonSecondaryBackgroundInverseHover = O2NewColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInverseHover = O2NewColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = O2NewColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = O2NewColors.palette.white.withAlphaComponent(0.15) - let textButtonPrimary = O2NewColors.palette.white + let textButtonPrimary = O2NewColors.palette.white - let textButtonPrimaryInverse = O2NewColors.palette.beyondBlue | O2NewColors.palette.white + let textButtonPrimaryInverse = O2NewColors.palette.beyondBlue | O2NewColors.palette.white - let textButtonPrimaryInversePressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.white + let textButtonPrimaryInversePressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.white - let textButtonSecondary = O2NewColors.palette.beyondBlue | O2NewColors.palette.grey30 + let textButtonSecondary = O2NewColors.palette.beyondBlue | O2NewColors.palette.grey30 - let textButtonSecondaryPressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.grey30 + let textButtonSecondaryPressed = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.grey30 - let textButtonSecondaryInverse = O2NewColors.palette.white | O2NewColors.palette.grey30 + let textButtonSecondaryInverse = O2NewColors.palette.white | O2NewColors.palette.grey30 - let textButtonSecondaryInversePressed = O2NewColors.palette.white | O2NewColors.palette.grey30 + let textButtonSecondaryInversePressed = O2NewColors.palette.white | O2NewColors.palette.grey30 - let textLink = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue40 + let textLink = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue40 - let textLinkInverse = O2NewColors.palette.white | O2NewColors.palette.beyondBlue40 + let textLinkInverse = O2NewColors.palette.white | O2NewColors.palette.beyondBlue40 - let textLinkDanger = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 + let textLinkDanger = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 - let textLinkSnackbar = O2NewColors.palette.beyondBlue30 + let textLinkSnackbar = O2NewColors.palette.beyondBlue30 - let textActivated = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 + let textActivated = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 - let textBrand = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 + let textBrand = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 - let control = O2NewColors.palette.grey45 + let control = O2NewColors.palette.grey45 - let controlActivated = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBeyondBlue + let controlActivated = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBeyondBlue - let controlInverse = O2NewColors.palette.white | O2NewColors.palette.grey45 + let controlInverse = O2NewColors.palette.white | O2NewColors.palette.grey45 - let controlActivatedInverse = O2NewColors.palette.white | O2NewColors.palette.darkModeBeyondBlue + let controlActivatedInverse = O2NewColors.palette.white | O2NewColors.palette.darkModeBeyondBlue - let controlError = O2NewColors.palette.o2Red60 | O2NewColors.palette.o2Red45 + let controlError = O2NewColors.palette.o2Red60 | O2NewColors.palette.o2Red45 - let barTrack = O2NewColors.palette.grey30 | O2NewColors.palette.darkModeGrey6 + let barTrack = O2NewColors.palette.grey30 | O2NewColors.palette.darkModeGrey6 - let barTrackInverse = O2NewColors.palette.white.withAlphaComponent(0.3) | O2NewColors.palette.darkModeGrey6 + let barTrackInverse = O2NewColors.palette.white.withAlphaComponent(0.3) | O2NewColors.palette.darkModeGrey6 - let loadingBar = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBeyondBlue + let loadingBar = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBeyondBlue - let loadingBarBackground = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeGrey6 + let loadingBarBackground = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeGrey6 - let toggleAndroidInactive = O2NewColors.palette.grey30 | O2NewColors.palette.grey20 + let toggleAndroidInactive = O2NewColors.palette.grey30 | O2NewColors.palette.grey20 - let toggleAndroidBackgroundActive = O2NewColors.palette.beyondBlue15 + let toggleAndroidBackgroundActive = O2NewColors.palette.beyondBlue15 - let iosControlKnob = O2NewColors.palette.white | O2NewColors.palette.grey30 + let iosControlKnob = O2NewColors.palette.white | O2NewColors.palette.grey30 - let controlKnobInverse = O2NewColors.palette.beyondBlue | O2NewColors.palette.grey30 + let controlKnobInverse = O2NewColors.palette.beyondBlue | O2NewColors.palette.grey30 - let divider = O2NewColors.palette.grey30 | O2NewColors.palette.white.withAlphaComponent(0.1) + let divider = O2NewColors.palette.grey30 | O2NewColors.palette.white.withAlphaComponent(0.1) - let dividerInverse = O2NewColors.palette.white.withAlphaComponent(0.2) | O2NewColors.palette.white.withAlphaComponent(0.1) + let dividerInverse = O2NewColors.palette.white.withAlphaComponent(0.2) | O2NewColors.palette.white.withAlphaComponent(0.1) - let navigationBarDivider = O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeBlack + let navigationBarDivider = O2NewColors.palette.darkBlue | O2NewColors.palette.darkModeBlack - let badge = O2NewColors.palette.o2Red65 + let badge = O2NewColors.palette.o2Red65 - let feedbackErrorBackground = O2NewColors.palette.o2Red60 + let feedbackErrorBackground = O2NewColors.palette.o2Red60 - let feedbackInfoBackground = O2NewColors.palette.black | O2NewColors.palette.darkModeGrey6 + let feedbackInfoBackground = O2NewColors.palette.black | O2NewColors.palette.darkModeGrey6 - let brand = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 + let brand = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 - let brandHigh = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.white.withAlphaComponent(0.05) + let brandHigh = O2NewColors.palette.beyondBlue70 | O2NewColors.palette.white.withAlphaComponent(0.05) - let inverse = O2NewColors.palette.white | O2NewColors.palette.grey30 + let inverse = O2NewColors.palette.white | O2NewColors.palette.grey30 - let neutralHigh = O2NewColors.palette.black | O2NewColors.palette.grey30 + let neutralHigh = O2NewColors.palette.black | O2NewColors.palette.grey30 - let neutralMedium = O2NewColors.palette.grey60 + let neutralMedium = O2NewColors.palette.grey60 - let neutralMediumInverse = O2NewColors.palette.grey60 + let neutralMediumInverse = O2NewColors.palette.grey60 - let neutralLow = O2NewColors.palette.grey20 | O2NewColors.palette.grey80 + let neutralLow = O2NewColors.palette.grey20 | O2NewColors.palette.grey80 - let neutralLowAlternative = O2NewColors.palette.grey30 | O2NewColors.palette.grey80 + let neutralLowAlternative = O2NewColors.palette.grey30 | O2NewColors.palette.grey80 - let textPrimary = O2NewColors.palette.black | O2NewColors.palette.grey30 + let textPrimary = O2NewColors.palette.black | O2NewColors.palette.grey30 - let textPrimaryInverse = O2NewColors.palette.white | O2NewColors.palette.grey30 + let textPrimaryInverse = O2NewColors.palette.white | O2NewColors.palette.grey30 - let textSecondary = O2NewColors.palette.grey60 | O2NewColors.palette.grey45 + let textSecondary = O2NewColors.palette.grey60 | O2NewColors.palette.grey45 - let textSecondaryInverse = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.grey45 + let textSecondaryInverse = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.grey45 - let error = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 + let error = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 - let textError = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 + let textError = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 - let textErrorInverse = O2NewColors.palette.white | O2NewColors.palette.o2Red45 + let textErrorInverse = O2NewColors.palette.white | O2NewColors.palette.o2Red45 - let success = O2NewColors.palette.o2Green + let success = O2NewColors.palette.o2Green - let warning = O2NewColors.palette.o2Orange + let warning = O2NewColors.palette.o2Orange - let promo = O2NewColors.palette.o2Pink + let promo = O2NewColors.palette.o2Pink - let highlight = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink + let highlight = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink - let successLow = O2NewColors.palette.o2Green10 | O2NewColors.palette.darkModeGrey6 + let successLow = O2NewColors.palette.o2Green10 | O2NewColors.palette.darkModeGrey6 - let warningLow = O2NewColors.palette.o2Orange10 | O2NewColors.palette.darkModeGrey6 + let warningLow = O2NewColors.palette.o2Orange10 | O2NewColors.palette.darkModeGrey6 - let errorLow = O2NewColors.palette.o2Red10 | O2NewColors.palette.darkModeGrey6 + let errorLow = O2NewColors.palette.o2Red10 | O2NewColors.palette.darkModeGrey6 - let promoLow = O2NewColors.palette.o2Pink15 | O2NewColors.palette.darkModeGrey6 + let promoLow = O2NewColors.palette.o2Pink15 | O2NewColors.palette.darkModeGrey6 - let brandLow = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.darkModeGrey6 + let brandLow = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.darkModeGrey6 - let successHigh = O2NewColors.palette.o2Green80 | O2NewColors.palette.o2Green40 + let successHigh = O2NewColors.palette.o2Green80 | O2NewColors.palette.o2Green40 - let warningHigh = O2NewColors.palette.o2Orange75 | O2NewColors.palette.o2Orange40 + let warningHigh = O2NewColors.palette.o2Orange75 | O2NewColors.palette.o2Orange40 - let errorHigh = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red40 + let errorHigh = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red40 - let promoHigh = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink30 + let promoHigh = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink30 - let successHighInverse = O2NewColors.palette.o2Green80 + let successHighInverse = O2NewColors.palette.o2Green80 - let warningHighInverse = O2NewColors.palette.o2Orange75 + let warningHighInverse = O2NewColors.palette.o2Orange75 - let errorHighInverse = O2NewColors.palette.o2Red65 + let errorHighInverse = O2NewColors.palette.o2Red65 - let promoHighInverse = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink + let promoHighInverse = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink - let textNavigationBarPrimary = O2NewColors.palette.white | O2NewColors.palette.grey30 + let textNavigationBarPrimary = O2NewColors.palette.white | O2NewColors.palette.grey30 - let textNavigationBarSecondary = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.grey45 + let textNavigationBarSecondary = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.grey45 - let textNavigationSearchBarHint = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.grey45 + let textNavigationSearchBarHint = O2NewColors.palette.beyondBlue30 | O2NewColors.palette.grey45 - let textNavigationSearchBarText = O2NewColors.palette.white | O2NewColors.palette.grey30 + let textNavigationSearchBarText = O2NewColors.palette.white | O2NewColors.palette.grey30 - let textAppBar = O2NewColors.palette.grey60 | O2NewColors.palette.grey45 + let textAppBar = O2NewColors.palette.grey60 | O2NewColors.palette.grey45 - let textAppBarSelected = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue40 + let textAppBarSelected = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue40 - let customTabsBackground = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBlack + let customTabsBackground = O2NewColors.palette.beyondBlue | O2NewColors.palette.darkModeBlack - let tagTextPromo = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink + let tagTextPromo = O2NewColors.palette.o2Pink80 | O2NewColors.palette.o2Pink - let tagTextActive = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 + let tagTextActive = O2NewColors.palette.beyondBlue | O2NewColors.palette.beyondBlue30 - let tagTextInactive = O2NewColors.palette.grey60 | O2NewColors.palette.grey40 + let tagTextInactive = O2NewColors.palette.grey60 | O2NewColors.palette.grey40 - let tagTextSuccess = O2NewColors.palette.o2Green80 | O2NewColors.palette.o2Green + let tagTextSuccess = O2NewColors.palette.o2Green80 | O2NewColors.palette.o2Green - let tagTextWarning = O2NewColors.palette.o2Orange75 | O2NewColors.palette.o2Orange + let tagTextWarning = O2NewColors.palette.o2Orange75 | O2NewColors.palette.o2Orange - let tagTextError = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 + let tagTextError = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45 - let tagBackgroundPromo = O2NewColors.palette.o2Pink15 | O2NewColors.palette.darkModeGrey6 + let tagBackgroundPromo = O2NewColors.palette.o2Pink15 | O2NewColors.palette.darkModeGrey6 - let tagBackgroundActive = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.darkModeGrey6 + let tagBackgroundActive = O2NewColors.palette.beyondBlue10 | O2NewColors.palette.darkModeGrey6 - let tagBackgroundInactive = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeGrey6 + let tagBackgroundInactive = O2NewColors.palette.grey20 | O2NewColors.palette.darkModeGrey6 - let tagBackgroundSuccess = O2NewColors.palette.o2Green10 | O2NewColors.palette.darkModeGrey6 + let tagBackgroundSuccess = O2NewColors.palette.o2Green10 | O2NewColors.palette.darkModeGrey6 - let tagBackgroundWarning = O2NewColors.palette.o2Orange10 | O2NewColors.palette.darkModeGrey6 + let tagBackgroundWarning = O2NewColors.palette.o2Orange10 | O2NewColors.palette.darkModeGrey6 - let tagBackgroundError = O2NewColors.palette.o2Red10 | O2NewColors.palette.darkModeGrey6 + let tagBackgroundError = O2NewColors.palette.o2Red10 | O2NewColors.palette.darkModeGrey6 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ O2NewColors.palette.beyondBlue.withAlphaComponent(0) | O2NewColors.palette.black.withAlphaComponent(0), O2NewColors.palette.beyondBlue.withAlphaComponent(0.4) | O2NewColors.palette.black.withAlphaComponent(0.4), O2NewColors.palette.beyondBlue.withAlphaComponent(1) | O2NewColors.palette.black.withAlphaComponent(0.7) ], - stops: [0,0.3,1], + stops: [0, 0.3, 1], angle: 180 )) } @@ -346,4 +350,4 @@ public struct O2NewColorPalette { public let darkModeGrey = UIColor(hex: "#08132B")! public let darkModeGrey6 = UIColor(hex: "#14213D")! public let darkModeBeyondBlue = UIColor(hex: "#1A62FF")! -} \ No newline at end of file +} diff --git a/Sources/MisticaCommon/Colors/TelefonicaColorPalette.swift b/Sources/MisticaCommon/Colors/TelefonicaColorPalette.swift index af12a0fed..ac4a0d68b 100644 --- a/Sources/MisticaCommon/Colors/TelefonicaColorPalette.swift +++ b/Sources/MisticaCommon/Colors/TelefonicaColorPalette.swift @@ -1,282 +1,286 @@ - -// Generated using Make -// DO NOT EDIT +// +// TelefonicaColorPalette.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import UIKit struct TelefonicaColors: MisticaColors { static let palette = TelefonicaColorPalette() - let backgroundBrand = MisticaColor.solid(TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack) + let backgroundBrand = MisticaColor.solid(TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack) - let backgroundBrandSecondary = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack + let backgroundBrandSecondary = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack - let appBarBackground = TelefonicaColors.palette.white | TelefonicaColors.palette.darkModeGrey + let appBarBackground = TelefonicaColors.palette.white | TelefonicaColors.palette.darkModeGrey - let background = TelefonicaColors.palette.white | TelefonicaColors.palette.darkModeBlack + let background = TelefonicaColors.palette.white | TelefonicaColors.palette.darkModeBlack - let backgroundContainer = TelefonicaColors.palette.white | TelefonicaColors.palette.darkModeGrey + let backgroundContainer = TelefonicaColors.palette.white | TelefonicaColors.palette.darkModeGrey - let backgroundContainerError = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.darkModeGrey + let backgroundContainerError = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.darkModeGrey - let backgroundContainerHover = TelefonicaColors.palette.telefonicaBlue.withAlphaComponent(0.03) | TelefonicaColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerHover = TelefonicaColors.palette.telefonicaBlue.withAlphaComponent(0.03) | TelefonicaColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerPressed = TelefonicaColors.palette.telefonicaBlue.withAlphaComponent(0.05) | TelefonicaColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerPressed = TelefonicaColors.palette.telefonicaBlue.withAlphaComponent(0.05) | TelefonicaColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrand = MisticaColor.solid(TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeGrey) + let backgroundContainerBrand = MisticaColor.solid(TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeGrey) - let backgroundContainerBrandHover = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.2) | TelefonicaColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandHover = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.2) | TelefonicaColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandPressed = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.4) | TelefonicaColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandPressed = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.4) | TelefonicaColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandOverInverse = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.darkModeGrey + let backgroundContainerBrandOverInverse = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.darkModeGrey - let backgroundContainerAlternative = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey + let backgroundContainerAlternative = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey - let backgroundOverlay = TelefonicaColors.palette.grey6.withAlphaComponent(0.8) | TelefonicaColors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundOverlay = TelefonicaColors.palette.grey6.withAlphaComponent(0.8) | TelefonicaColors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundSkeleton = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.grey6 + let backgroundSkeleton = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.grey6 - let backgroundSkeletonInverse = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.grey6 + let backgroundSkeletonInverse = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.grey6 - let navigationBarBackground = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack + let navigationBarBackground = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack - let backgroundAlternative = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeBlack + let backgroundAlternative = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeBlack - let backgroundBrandTop = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack + let backgroundBrandTop = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack - let backgroundBrandBottom = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack + let backgroundBrandBottom = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack - let skeletonWave = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.grey5 + let skeletonWave = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.grey5 - let borderLow = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeBlack + let borderLow = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeBlack - let border = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.darkModeGrey + let border = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.darkModeGrey - let borderHigh = TelefonicaColors.palette.grey5 + let borderHigh = TelefonicaColors.palette.grey5 - let borderSelected = TelefonicaColors.palette.telefonicaBlue + let borderSelected = TelefonicaColors.palette.telefonicaBlue - let coverBackgroundHover = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundHover = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundPressed = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.35) + let coverBackgroundPressed = TelefonicaColors.palette.darkModeBlack.withAlphaComponent(0.35) - let buttonDangerBackground = TelefonicaColors.palette.coral + let buttonDangerBackground = TelefonicaColors.palette.coral - let buttonDangerBackgroundPressed = TelefonicaColors.palette.coral80 + let buttonDangerBackgroundPressed = TelefonicaColors.palette.coral80 - let buttonDangerBackgroundHover = TelefonicaColors.palette.coral80 + let buttonDangerBackgroundHover = TelefonicaColors.palette.coral80 - let buttonLinkDangerBackgroundPressed = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundPressed = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInversePressed = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundInversePressed = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundPressed = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundPressed = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundInversePressed = TelefonicaColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundInversePressed = TelefonicaColors.palette.white.withAlphaComponent(0.08) - let buttonPrimaryBackground = TelefonicaColors.palette.telefonicaBlue + let buttonPrimaryBackground = TelefonicaColors.palette.telefonicaBlue - let buttonPrimaryBackgroundInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.telefonicaBlue + let buttonPrimaryBackgroundInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.telefonicaBlue - let buttonPrimaryBackgroundPressed = TelefonicaColors.palette.telefonicaBlue70 + let buttonPrimaryBackgroundPressed = TelefonicaColors.palette.telefonicaBlue70 - let buttonPrimaryBackgroundHover = TelefonicaColors.palette.telefonicaBlue70 + let buttonPrimaryBackgroundHover = TelefonicaColors.palette.telefonicaBlue70 - let buttonPrimaryBackgroundInversePressed = TelefonicaColors.palette.telefonicaBlue30 | TelefonicaColors.palette.telefonicaBlue70 + let buttonPrimaryBackgroundInversePressed = TelefonicaColors.palette.telefonicaBlue30 | TelefonicaColors.palette.telefonicaBlue70 - let buttonSecondaryBorder = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.white + let buttonSecondaryBorder = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.white - let buttonSecondaryBorderPressed = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.white + let buttonSecondaryBorderPressed = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.white - let buttonSecondaryBorderInverse = TelefonicaColors.palette.white + let buttonSecondaryBorderInverse = TelefonicaColors.palette.white - let buttonSecondaryBackgroundHover = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundHover = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBorderInversePressed = TelefonicaColors.palette.white + let buttonSecondaryBorderInversePressed = TelefonicaColors.palette.white - let buttonSecondaryBackgroundInverseHover = TelefonicaColors.palette.white.withAlphaComponent(0.1) | TelefonicaColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInverseHover = TelefonicaColors.palette.white.withAlphaComponent(0.1) | TelefonicaColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = TelefonicaColors.palette.white.withAlphaComponent(0.1) | TelefonicaColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = TelefonicaColors.palette.white.withAlphaComponent(0.1) | TelefonicaColors.palette.white.withAlphaComponent(0.15) - let textButtonPrimary = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let textButtonPrimary = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let textButtonPrimaryInverse = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 + let textButtonPrimaryInverse = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 - let textButtonPrimaryInversePressed = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 + let textButtonPrimaryInversePressed = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 - let textButtonSecondary = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 + let textButtonSecondary = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 - let textButtonSecondaryPressed = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.grey2 + let textButtonSecondaryPressed = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.grey2 - let textButtonSecondaryInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let textButtonSecondaryInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let textButtonSecondaryInversePressed = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let textButtonSecondaryInversePressed = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let textLink = TelefonicaColors.palette.telefonicaBlue + let textLink = TelefonicaColors.palette.telefonicaBlue - let textLinkInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.telefonicaBlue + let textLinkInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.telefonicaBlue - let textLinkDanger = TelefonicaColors.palette.coral + let textLinkDanger = TelefonicaColors.palette.coral - let textLinkSnackbar = TelefonicaColors.palette.telefonicaBlue30 + let textLinkSnackbar = TelefonicaColors.palette.telefonicaBlue30 - let textActivated = TelefonicaColors.palette.telefonicaBlue + let textActivated = TelefonicaColors.palette.telefonicaBlue - let textBrand = TelefonicaColors.palette.telefonicaBlue + let textBrand = TelefonicaColors.palette.telefonicaBlue - let control = TelefonicaColors.palette.grey3 | TelefonicaColors.palette.darkModeGrey6 + let control = TelefonicaColors.palette.grey3 | TelefonicaColors.palette.darkModeGrey6 - let controlActivated = TelefonicaColors.palette.telefonicaBlue + let controlActivated = TelefonicaColors.palette.telefonicaBlue - let controlInverse = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey6 + let controlInverse = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey6 - let controlActivatedInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.telefonicaBlue + let controlActivatedInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.telefonicaBlue - let controlError = TelefonicaColors.palette.coral + let controlError = TelefonicaColors.palette.coral - let barTrack = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.darkModeGrey6 + let barTrack = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.darkModeGrey6 - let barTrackInverse = TelefonicaColors.palette.white.withAlphaComponent(0.3) | TelefonicaColors.palette.darkModeGrey6 + let barTrackInverse = TelefonicaColors.palette.white.withAlphaComponent(0.3) | TelefonicaColors.palette.darkModeGrey6 - let loadingBar = TelefonicaColors.palette.telefonicaBlue30 | TelefonicaColors.palette.telefonicaBlue + let loadingBar = TelefonicaColors.palette.telefonicaBlue30 | TelefonicaColors.palette.telefonicaBlue - let loadingBarBackground = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.grey6 + let loadingBarBackground = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.grey6 - let toggleAndroidInactive = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.grey4 + let toggleAndroidInactive = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.grey4 - let toggleAndroidBackgroundActive = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.telefonicaBlue20 + let toggleAndroidBackgroundActive = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.telefonicaBlue20 - let iosControlKnob = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let iosControlKnob = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let controlKnobInverse = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 + let controlKnobInverse = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 - let divider = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.white.withAlphaComponent(0.05) + let divider = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.white.withAlphaComponent(0.05) - let dividerInverse = TelefonicaColors.palette.white.withAlphaComponent(0.2) | TelefonicaColors.palette.white.withAlphaComponent(0.05) + let dividerInverse = TelefonicaColors.palette.white.withAlphaComponent(0.2) | TelefonicaColors.palette.white.withAlphaComponent(0.05) - let navigationBarDivider = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack + let navigationBarDivider = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack - let badge = TelefonicaColors.palette.coral70 + let badge = TelefonicaColors.palette.coral70 - let feedbackErrorBackground = TelefonicaColors.palette.coral + let feedbackErrorBackground = TelefonicaColors.palette.coral - let feedbackInfoBackground = TelefonicaColors.palette.grey9 | TelefonicaColors.palette.grey8 + let feedbackInfoBackground = TelefonicaColors.palette.grey9 | TelefonicaColors.palette.grey8 - let brand = TelefonicaColors.palette.telefonicaBlue + let brand = TelefonicaColors.palette.telefonicaBlue - let brandHigh = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.white.withAlphaComponent(0.05) + let brandHigh = TelefonicaColors.palette.telefonicaBlue70 | TelefonicaColors.palette.white.withAlphaComponent(0.05) - let inverse = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let inverse = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let neutralHigh = TelefonicaColors.palette.grey9 | TelefonicaColors.palette.grey2 + let neutralHigh = TelefonicaColors.palette.grey9 | TelefonicaColors.palette.grey2 - let neutralMedium = TelefonicaColors.palette.grey5 + let neutralMedium = TelefonicaColors.palette.grey5 - let neutralMediumInverse = TelefonicaColors.palette.grey5 + let neutralMediumInverse = TelefonicaColors.palette.grey5 - let neutralLow = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey6 + let neutralLow = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey6 - let neutralLowAlternative = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.darkModeGrey6 + let neutralLowAlternative = TelefonicaColors.palette.grey2 | TelefonicaColors.palette.darkModeGrey6 - let textPrimary = TelefonicaColors.palette.grey9 | TelefonicaColors.palette.grey2 + let textPrimary = TelefonicaColors.palette.grey9 | TelefonicaColors.palette.grey2 - let textPrimaryInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let textPrimaryInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let textSecondary = TelefonicaColors.palette.grey5 | TelefonicaColors.palette.grey4 + let textSecondary = TelefonicaColors.palette.grey5 | TelefonicaColors.palette.grey4 - let textSecondaryInverse = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.grey4 + let textSecondaryInverse = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.grey4 - let error = TelefonicaColors.palette.coral + let error = TelefonicaColors.palette.coral - let textError = TelefonicaColors.palette.coral + let textError = TelefonicaColors.palette.coral - let textErrorInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.coral + let textErrorInverse = TelefonicaColors.palette.white | TelefonicaColors.palette.coral - let success = TelefonicaColors.palette.turquoise + let success = TelefonicaColors.palette.turquoise - let warning = TelefonicaColors.palette.ambar + let warning = TelefonicaColors.palette.ambar - let promo = TelefonicaColors.palette.orchid + let promo = TelefonicaColors.palette.orchid - let highlight = TelefonicaColors.palette.coral40 + let highlight = TelefonicaColors.palette.coral40 - let successLow = TelefonicaColors.palette.turquoise10 | TelefonicaColors.palette.darkModeGrey6 + let successLow = TelefonicaColors.palette.turquoise10 | TelefonicaColors.palette.darkModeGrey6 - let warningLow = TelefonicaColors.palette.ambar10 | TelefonicaColors.palette.darkModeGrey6 + let warningLow = TelefonicaColors.palette.ambar10 | TelefonicaColors.palette.darkModeGrey6 - let errorLow = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.darkModeGrey6 + let errorLow = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.darkModeGrey6 - let promoLow = TelefonicaColors.palette.orchid10 | TelefonicaColors.palette.darkModeGrey6 + let promoLow = TelefonicaColors.palette.orchid10 | TelefonicaColors.palette.darkModeGrey6 - let brandLow = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.darkModeGrey6 + let brandLow = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.darkModeGrey6 - let successHigh = TelefonicaColors.palette.turquoise70 | TelefonicaColors.palette.turquoise40 + let successHigh = TelefonicaColors.palette.turquoise70 | TelefonicaColors.palette.turquoise40 - let warningHigh = TelefonicaColors.palette.ambar70 | TelefonicaColors.palette.ambar40 + let warningHigh = TelefonicaColors.palette.ambar70 | TelefonicaColors.palette.ambar40 - let errorHigh = TelefonicaColors.palette.coral70 | TelefonicaColors.palette.coral40 + let errorHigh = TelefonicaColors.palette.coral70 | TelefonicaColors.palette.coral40 - let promoHigh = TelefonicaColors.palette.orchid70 | TelefonicaColors.palette.orchid40 + let promoHigh = TelefonicaColors.palette.orchid70 | TelefonicaColors.palette.orchid40 - let successHighInverse = TelefonicaColors.palette.turquoise70 + let successHighInverse = TelefonicaColors.palette.turquoise70 - let warningHighInverse = TelefonicaColors.palette.ambar70 + let warningHighInverse = TelefonicaColors.palette.ambar70 - let errorHighInverse = TelefonicaColors.palette.coral70 + let errorHighInverse = TelefonicaColors.palette.coral70 - let promoHighInverse = TelefonicaColors.palette.orchid70 + let promoHighInverse = TelefonicaColors.palette.orchid70 - let textNavigationBarPrimary = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let textNavigationBarPrimary = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let textNavigationBarSecondary = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.grey4 + let textNavigationBarSecondary = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.grey4 - let textNavigationSearchBarHint = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.grey4 + let textNavigationSearchBarHint = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.grey4 - let textNavigationSearchBarText = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 + let textNavigationSearchBarText = TelefonicaColors.palette.white | TelefonicaColors.palette.grey2 - let textAppBar = TelefonicaColors.palette.grey4 | TelefonicaColors.palette.grey5 + let textAppBar = TelefonicaColors.palette.grey4 | TelefonicaColors.palette.grey5 - let textAppBarSelected = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 + let textAppBarSelected = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.grey2 - let customTabsBackground = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack + let customTabsBackground = TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeBlack - let tagTextPromo = TelefonicaColors.palette.orchid70 | TelefonicaColors.palette.orchid40 + let tagTextPromo = TelefonicaColors.palette.orchid70 | TelefonicaColors.palette.orchid40 - let tagTextActive = TelefonicaColors.palette.telefonicaBlue + let tagTextActive = TelefonicaColors.palette.telefonicaBlue - let tagTextInactive = TelefonicaColors.palette.grey5 + let tagTextInactive = TelefonicaColors.palette.grey5 - let tagTextSuccess = TelefonicaColors.palette.turquoise70 | TelefonicaColors.palette.turquoise40 + let tagTextSuccess = TelefonicaColors.palette.turquoise70 | TelefonicaColors.palette.turquoise40 - let tagTextWarning = TelefonicaColors.palette.ambar70 | TelefonicaColors.palette.ambar40 + let tagTextWarning = TelefonicaColors.palette.ambar70 | TelefonicaColors.palette.ambar40 - let tagTextError = TelefonicaColors.palette.coral70 | TelefonicaColors.palette.coral40 + let tagTextError = TelefonicaColors.palette.coral70 | TelefonicaColors.palette.coral40 - let tagBackgroundPromo = TelefonicaColors.palette.orchid10 | TelefonicaColors.palette.darkModeGrey6 + let tagBackgroundPromo = TelefonicaColors.palette.orchid10 | TelefonicaColors.palette.darkModeGrey6 - let tagBackgroundActive = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.darkModeGrey6 + let tagBackgroundActive = TelefonicaColors.palette.telefonicaBlue10 | TelefonicaColors.palette.darkModeGrey6 - let tagBackgroundInactive = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey6 + let tagBackgroundInactive = TelefonicaColors.palette.grey1 | TelefonicaColors.palette.darkModeGrey6 - let tagBackgroundSuccess = TelefonicaColors.palette.turquoise10 | TelefonicaColors.palette.darkModeGrey6 + let tagBackgroundSuccess = TelefonicaColors.palette.turquoise10 | TelefonicaColors.palette.darkModeGrey6 - let tagBackgroundWarning = TelefonicaColors.palette.ambar10 | TelefonicaColors.palette.darkModeGrey6 + let tagBackgroundWarning = TelefonicaColors.palette.ambar10 | TelefonicaColors.palette.darkModeGrey6 - let tagBackgroundError = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.darkModeGrey6 + let tagBackgroundError = TelefonicaColors.palette.coral10 | TelefonicaColors.palette.darkModeGrey6 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ TelefonicaColors.palette.black.withAlphaComponent(0), TelefonicaColors.palette.black.withAlphaComponent(0.4), TelefonicaColors.palette.black.withAlphaComponent(0.7) ], - stops: [0,0.3,1], + stops: [0, 0.3, 1], angle: 180 )) } @@ -319,4 +323,4 @@ public struct TelefonicaColorPalette { public let darkModeBlack = UIColor(hex: "#191919")! public let darkModeGrey = UIColor(hex: "#242424")! public let darkModeGrey6 = UIColor(hex: "#313235")! -} \ No newline at end of file +} diff --git a/Sources/MisticaCommon/Colors/TuColorPalette.swift b/Sources/MisticaCommon/Colors/TuColorPalette.swift index fb22a7ada..b364e47e7 100644 --- a/Sources/MisticaCommon/Colors/TuColorPalette.swift +++ b/Sources/MisticaCommon/Colors/TuColorPalette.swift @@ -1,282 +1,286 @@ - -// Generated using Make -// DO NOT EDIT +// +// TuColorPalette.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import UIKit struct TuColors: MisticaColors { static let palette = TuColorPalette() - let backgroundBrand = MisticaColor.solid(TuColors.palette.primary | TuColors.palette.darkModeBlack) + let backgroundBrand = MisticaColor.solid(TuColors.palette.primary | TuColors.palette.darkModeBlack) - let backgroundBrandSecondary = TuColors.palette.blue | TuColors.palette.darkModeBlack + let backgroundBrandSecondary = TuColors.palette.blue | TuColors.palette.darkModeBlack - let appBarBackground = TuColors.palette.white | TuColors.palette.darkModeGrey + let appBarBackground = TuColors.palette.white | TuColors.palette.darkModeGrey - let background = TuColors.palette.white | TuColors.palette.darkModeBlack + let background = TuColors.palette.white | TuColors.palette.darkModeBlack - let backgroundContainer = TuColors.palette.white | TuColors.palette.darkModeGrey + let backgroundContainer = TuColors.palette.white | TuColors.palette.darkModeGrey - let backgroundContainerError = TuColors.palette.red10 | TuColors.palette.darkModeGrey + let backgroundContainerError = TuColors.palette.red10 | TuColors.palette.darkModeGrey - let backgroundContainerHover = TuColors.palette.grey9.withAlphaComponent(0.03) | TuColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerHover = TuColors.palette.grey9.withAlphaComponent(0.03) | TuColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerPressed = TuColors.palette.grey9.withAlphaComponent(0.05) | TuColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerPressed = TuColors.palette.grey9.withAlphaComponent(0.05) | TuColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrand = MisticaColor.solid(TuColors.palette.primary | TuColors.palette.darkModeGrey) + let backgroundContainerBrand = MisticaColor.solid(TuColors.palette.primary | TuColors.palette.darkModeGrey) - let backgroundContainerBrandHover = TuColors.palette.grey9.withAlphaComponent(0.2) | TuColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandHover = TuColors.palette.grey9.withAlphaComponent(0.2) | TuColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandPressed = TuColors.palette.grey9.withAlphaComponent(0.4) | TuColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandPressed = TuColors.palette.grey9.withAlphaComponent(0.4) | TuColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandOverInverse = TuColors.palette.primary80 | TuColors.palette.darkModeGrey + let backgroundContainerBrandOverInverse = TuColors.palette.primary80 | TuColors.palette.darkModeGrey - let backgroundContainerAlternative = TuColors.palette.grey1 | TuColors.palette.darkModeGrey + let backgroundContainerAlternative = TuColors.palette.grey1 | TuColors.palette.darkModeGrey - let backgroundOverlay = TuColors.palette.primary.withAlphaComponent(0.8) | TuColors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundOverlay = TuColors.palette.primary.withAlphaComponent(0.8) | TuColors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundSkeleton = TuColors.palette.grey2 | TuColors.palette.darkModeGrey6 + let backgroundSkeleton = TuColors.palette.grey2 | TuColors.palette.darkModeGrey6 - let backgroundSkeletonInverse = TuColors.palette.primary65 | TuColors.palette.darkModeGrey6 + let backgroundSkeletonInverse = TuColors.palette.primary65 | TuColors.palette.darkModeGrey6 - let navigationBarBackground = TuColors.palette.primary | TuColors.palette.darkModeBlack + let navigationBarBackground = TuColors.palette.primary | TuColors.palette.darkModeBlack - let backgroundAlternative = TuColors.palette.grey1 | TuColors.palette.darkModeBlack + let backgroundAlternative = TuColors.palette.grey1 | TuColors.palette.darkModeBlack - let backgroundBrandTop = TuColors.palette.primary | TuColors.palette.darkModeBlack + let backgroundBrandTop = TuColors.palette.primary | TuColors.palette.darkModeBlack - let backgroundBrandBottom = TuColors.palette.primary | TuColors.palette.darkModeBlack + let backgroundBrandBottom = TuColors.palette.primary | TuColors.palette.darkModeBlack - let skeletonWave = TuColors.palette.grey2 | TuColors.palette.grey5 + let skeletonWave = TuColors.palette.grey2 | TuColors.palette.grey5 - let borderLow = TuColors.palette.grey1 | TuColors.palette.darkModeBlack + let borderLow = TuColors.palette.grey1 | TuColors.palette.darkModeBlack - let border = TuColors.palette.grey2 | TuColors.palette.darkModeGrey + let border = TuColors.palette.grey2 | TuColors.palette.darkModeGrey - let borderHigh = TuColors.palette.grey5 + let borderHigh = TuColors.palette.grey5 - let borderSelected = TuColors.palette.blue | TuColors.palette.blue30 + let borderSelected = TuColors.palette.blue | TuColors.palette.blue30 - let coverBackgroundHover = TuColors.palette.grey9.withAlphaComponent(0.25) | TuColors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundHover = TuColors.palette.grey9.withAlphaComponent(0.25) | TuColors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundPressed = TuColors.palette.grey9.withAlphaComponent(0.35) | TuColors.palette.darkModeBlack.withAlphaComponent(0.35) + let coverBackgroundPressed = TuColors.palette.grey9.withAlphaComponent(0.35) | TuColors.palette.darkModeBlack.withAlphaComponent(0.35) - let buttonDangerBackground = TuColors.palette.red + let buttonDangerBackground = TuColors.palette.red - let buttonDangerBackgroundPressed = TuColors.palette.red55 | TuColors.palette.red80 + let buttonDangerBackgroundPressed = TuColors.palette.red55 | TuColors.palette.red80 - let buttonDangerBackgroundHover = TuColors.palette.red55 | TuColors.palette.red80 + let buttonDangerBackgroundHover = TuColors.palette.red55 | TuColors.palette.red80 - let buttonLinkDangerBackgroundPressed = TuColors.palette.red10 + let buttonLinkDangerBackgroundPressed = TuColors.palette.red10 - let buttonLinkDangerBackgroundInverse = TuColors.palette.white | TuColors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInverse = TuColors.palette.white | TuColors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInversePressed = TuColors.palette.red10 + let buttonLinkDangerBackgroundInversePressed = TuColors.palette.red10 - let buttonLinkBackgroundPressed = TuColors.palette.blue10 | TuColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundPressed = TuColors.palette.blue10 | TuColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundInversePressed = TuColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundInversePressed = TuColors.palette.white.withAlphaComponent(0.08) - let buttonPrimaryBackground = TuColors.palette.primary | TuColors.palette.grey2 + let buttonPrimaryBackground = TuColors.palette.primary | TuColors.palette.grey2 - let buttonPrimaryBackgroundInverse = TuColors.palette.white | TuColors.palette.grey2 + let buttonPrimaryBackgroundInverse = TuColors.palette.white | TuColors.palette.grey2 - let buttonPrimaryBackgroundPressed = TuColors.palette.primary45 | TuColors.palette.grey3 + let buttonPrimaryBackgroundPressed = TuColors.palette.primary45 | TuColors.palette.grey3 - let buttonPrimaryBackgroundHover = TuColors.palette.primary45 | TuColors.palette.grey3 + let buttonPrimaryBackgroundHover = TuColors.palette.primary45 | TuColors.palette.grey3 - let buttonPrimaryBackgroundInversePressed = TuColors.palette.white.withAlphaComponent(0.8) | TuColors.palette.grey3 + let buttonPrimaryBackgroundInversePressed = TuColors.palette.white.withAlphaComponent(0.8) | TuColors.palette.grey3 - let buttonSecondaryBorder = TuColors.palette.blue | TuColors.palette.grey2 + let buttonSecondaryBorder = TuColors.palette.blue | TuColors.palette.grey2 - let buttonSecondaryBorderPressed = TuColors.palette.blue70 | TuColors.palette.grey2 + let buttonSecondaryBorderPressed = TuColors.palette.blue70 | TuColors.palette.grey2 - let buttonSecondaryBorderInverse = TuColors.palette.white | TuColors.palette.grey2 + let buttonSecondaryBorderInverse = TuColors.palette.white | TuColors.palette.grey2 - let buttonSecondaryBackgroundHover = TuColors.palette.blue10 | TuColors.palette.grey2.withAlphaComponent(0.15) + let buttonSecondaryBackgroundHover = TuColors.palette.blue10 | TuColors.palette.grey2.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = TuColors.palette.blue10 | TuColors.palette.grey2.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = TuColors.palette.blue10 | TuColors.palette.grey2.withAlphaComponent(0.15) - let buttonSecondaryBorderInversePressed = TuColors.palette.white | TuColors.palette.grey2 + let buttonSecondaryBorderInversePressed = TuColors.palette.white | TuColors.palette.grey2 - let buttonSecondaryBackgroundInverseHover = TuColors.palette.white.withAlphaComponent(0.1) | TuColors.palette.grey2.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInverseHover = TuColors.palette.white.withAlphaComponent(0.1) | TuColors.palette.grey2.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = TuColors.palette.white.withAlphaComponent(0.1) | TuColors.palette.grey2.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = TuColors.palette.white.withAlphaComponent(0.1) | TuColors.palette.grey2.withAlphaComponent(0.15) - let textButtonPrimary = TuColors.palette.white | TuColors.palette.primary + let textButtonPrimary = TuColors.palette.white | TuColors.palette.primary - let textButtonPrimaryInverse = TuColors.palette.primary + let textButtonPrimaryInverse = TuColors.palette.primary - let textButtonPrimaryInversePressed = TuColors.palette.primary + let textButtonPrimaryInversePressed = TuColors.palette.primary - let textButtonSecondary = TuColors.palette.blue | TuColors.palette.grey2 + let textButtonSecondary = TuColors.palette.blue | TuColors.palette.grey2 - let textButtonSecondaryPressed = TuColors.palette.blue70 | TuColors.palette.grey2 + let textButtonSecondaryPressed = TuColors.palette.blue70 | TuColors.palette.grey2 - let textButtonSecondaryInverse = TuColors.palette.white | TuColors.palette.grey2 + let textButtonSecondaryInverse = TuColors.palette.white | TuColors.palette.grey2 - let textButtonSecondaryInversePressed = TuColors.palette.white | TuColors.palette.grey2 + let textButtonSecondaryInversePressed = TuColors.palette.white | TuColors.palette.grey2 - let textLink = TuColors.palette.blue | TuColors.palette.blue30 + let textLink = TuColors.palette.blue | TuColors.palette.blue30 - let textLinkInverse = TuColors.palette.white | TuColors.palette.blue30 + let textLinkInverse = TuColors.palette.white | TuColors.palette.blue30 - let textLinkDanger = TuColors.palette.red + let textLinkDanger = TuColors.palette.red - let textLinkSnackbar = TuColors.palette.white | TuColors.palette.blue30 + let textLinkSnackbar = TuColors.palette.white | TuColors.palette.blue30 - let textActivated = TuColors.palette.primary | TuColors.palette.blue30 + let textActivated = TuColors.palette.primary | TuColors.palette.blue30 - let textBrand = TuColors.palette.blue | TuColors.palette.blue30 + let textBrand = TuColors.palette.blue | TuColors.palette.blue30 - let control = TuColors.palette.grey5 | TuColors.palette.darkModeGrey6 + let control = TuColors.palette.grey5 | TuColors.palette.darkModeGrey6 - let controlActivated = TuColors.palette.primary | TuColors.palette.blue30 + let controlActivated = TuColors.palette.primary | TuColors.palette.blue30 - let controlInverse = TuColors.palette.white | TuColors.palette.darkModeGrey6 + let controlInverse = TuColors.palette.white | TuColors.palette.darkModeGrey6 - let controlActivatedInverse = TuColors.palette.white | TuColors.palette.blue30 + let controlActivatedInverse = TuColors.palette.white | TuColors.palette.blue30 - let controlError = TuColors.palette.red + let controlError = TuColors.palette.red - let barTrack = TuColors.palette.grey2 | TuColors.palette.darkModeGrey6 + let barTrack = TuColors.palette.grey2 | TuColors.palette.darkModeGrey6 - let barTrackInverse = TuColors.palette.white.withAlphaComponent(0.36) | TuColors.palette.darkModeGrey6 + let barTrackInverse = TuColors.palette.white.withAlphaComponent(0.36) | TuColors.palette.darkModeGrey6 - let loadingBar = TuColors.palette.green40 + let loadingBar = TuColors.palette.green40 - let loadingBarBackground = TuColors.palette.green + let loadingBarBackground = TuColors.palette.green - let toggleAndroidInactive = TuColors.palette.grey2 | TuColors.palette.grey4 + let toggleAndroidInactive = TuColors.palette.grey2 | TuColors.palette.grey4 - let toggleAndroidBackgroundActive = TuColors.palette.primary15 | TuColors.palette.blue20 + let toggleAndroidBackgroundActive = TuColors.palette.primary15 | TuColors.palette.blue20 - let iosControlKnob = TuColors.palette.white | TuColors.palette.grey2 + let iosControlKnob = TuColors.palette.white | TuColors.palette.grey2 - let controlKnobInverse = TuColors.palette.primary | TuColors.palette.grey2 + let controlKnobInverse = TuColors.palette.primary | TuColors.palette.grey2 - let divider = TuColors.palette.grey2 | TuColors.palette.white.withAlphaComponent(0.05) + let divider = TuColors.palette.grey2 | TuColors.palette.white.withAlphaComponent(0.05) - let dividerInverse = TuColors.palette.white.withAlphaComponent(0.2) | TuColors.palette.white.withAlphaComponent(0.05) + let dividerInverse = TuColors.palette.white.withAlphaComponent(0.2) | TuColors.palette.white.withAlphaComponent(0.05) - let navigationBarDivider = TuColors.palette.primary | TuColors.palette.darkModeBlack + let navigationBarDivider = TuColors.palette.primary | TuColors.palette.darkModeBlack - let badge = TuColors.palette.blue | TuColors.palette.blue30 + let badge = TuColors.palette.blue | TuColors.palette.blue30 - let feedbackErrorBackground = TuColors.palette.red + let feedbackErrorBackground = TuColors.palette.red - let feedbackInfoBackground = TuColors.palette.primary | TuColors.palette.darkModeGrey + let feedbackInfoBackground = TuColors.palette.primary | TuColors.palette.darkModeGrey - let brand = TuColors.palette.blue | TuColors.palette.blue30 + let brand = TuColors.palette.blue | TuColors.palette.blue30 - let brandHigh = TuColors.palette.blue70 | TuColors.palette.white.withAlphaComponent(0.05) + let brandHigh = TuColors.palette.blue70 | TuColors.palette.white.withAlphaComponent(0.05) - let inverse = TuColors.palette.white | TuColors.palette.grey2 + let inverse = TuColors.palette.white | TuColors.palette.grey2 - let neutralHigh = TuColors.palette.grey9 | TuColors.palette.grey2 + let neutralHigh = TuColors.palette.grey9 | TuColors.palette.grey2 - let neutralMedium = TuColors.palette.grey5 + let neutralMedium = TuColors.palette.grey5 - let neutralMediumInverse = TuColors.palette.grey5 + let neutralMediumInverse = TuColors.palette.grey5 - let neutralLow = TuColors.palette.grey1 | TuColors.palette.darkModeGrey6 + let neutralLow = TuColors.palette.grey1 | TuColors.palette.darkModeGrey6 - let neutralLowAlternative = TuColors.palette.grey2 | TuColors.palette.darkModeGrey6 + let neutralLowAlternative = TuColors.palette.grey2 | TuColors.palette.darkModeGrey6 - let textPrimary = TuColors.palette.grey9 | TuColors.palette.grey2 + let textPrimary = TuColors.palette.grey9 | TuColors.palette.grey2 - let textPrimaryInverse = TuColors.palette.white | TuColors.palette.grey2 + let textPrimaryInverse = TuColors.palette.white | TuColors.palette.grey2 - let textSecondary = TuColors.palette.grey6 | TuColors.palette.grey4 + let textSecondary = TuColors.palette.grey6 | TuColors.palette.grey4 - let textSecondaryInverse = TuColors.palette.grey3 | TuColors.palette.grey4 + let textSecondaryInverse = TuColors.palette.grey3 | TuColors.palette.grey4 - let error = TuColors.palette.red + let error = TuColors.palette.red - let textError = TuColors.palette.red + let textError = TuColors.palette.red - let textErrorInverse = TuColors.palette.white | TuColors.palette.red + let textErrorInverse = TuColors.palette.white | TuColors.palette.red - let success = TuColors.palette.green + let success = TuColors.palette.green - let warning = TuColors.palette.orange + let warning = TuColors.palette.orange - let promo = TuColors.palette.blue + let promo = TuColors.palette.blue - let highlight = TuColors.palette.red40 + let highlight = TuColors.palette.red40 - let successLow = TuColors.palette.green10 | TuColors.palette.darkModeGrey6 + let successLow = TuColors.palette.green10 | TuColors.palette.darkModeGrey6 - let warningLow = TuColors.palette.orange20 | TuColors.palette.darkModeGrey6 + let warningLow = TuColors.palette.orange20 | TuColors.palette.darkModeGrey6 - let errorLow = TuColors.palette.red10 | TuColors.palette.darkModeGrey6 + let errorLow = TuColors.palette.red10 | TuColors.palette.darkModeGrey6 - let promoLow = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 + let promoLow = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 - let brandLow = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 + let brandLow = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 - let successHigh = TuColors.palette.green75 | TuColors.palette.green40 + let successHigh = TuColors.palette.green75 | TuColors.palette.green40 - let warningHigh = TuColors.palette.orange70 | TuColors.palette.orange55 + let warningHigh = TuColors.palette.orange70 | TuColors.palette.orange55 - let errorHigh = TuColors.palette.red70 | TuColors.palette.red40 + let errorHigh = TuColors.palette.red70 | TuColors.palette.red40 - let promoHigh = TuColors.palette.blue | TuColors.palette.blue30 + let promoHigh = TuColors.palette.blue | TuColors.palette.blue30 - let successHighInverse = TuColors.palette.green75 + let successHighInverse = TuColors.palette.green75 - let warningHighInverse = TuColors.palette.orange70 + let warningHighInverse = TuColors.palette.orange70 - let errorHighInverse = TuColors.palette.red70 + let errorHighInverse = TuColors.palette.red70 - let promoHighInverse = TuColors.palette.blue | TuColors.palette.blue70 + let promoHighInverse = TuColors.palette.blue | TuColors.palette.blue70 - let textNavigationBarPrimary = TuColors.palette.white | TuColors.palette.grey2 + let textNavigationBarPrimary = TuColors.palette.white | TuColors.palette.grey2 - let textNavigationBarSecondary = TuColors.palette.grey1 | TuColors.palette.grey4 + let textNavigationBarSecondary = TuColors.palette.grey1 | TuColors.palette.grey4 - let textNavigationSearchBarHint = TuColors.palette.grey1 | TuColors.palette.grey4 + let textNavigationSearchBarHint = TuColors.palette.grey1 | TuColors.palette.grey4 - let textNavigationSearchBarText = TuColors.palette.white | TuColors.palette.grey2 + let textNavigationSearchBarText = TuColors.palette.white | TuColors.palette.grey2 - let textAppBar = TuColors.palette.grey6 | TuColors.palette.grey5 + let textAppBar = TuColors.palette.grey6 | TuColors.palette.grey5 - let textAppBarSelected = TuColors.palette.primary | TuColors.palette.grey2 + let textAppBarSelected = TuColors.palette.primary | TuColors.palette.grey2 - let customTabsBackground = TuColors.palette.white | TuColors.palette.darkModeBlack + let customTabsBackground = TuColors.palette.white | TuColors.palette.darkModeBlack - let tagTextPromo = TuColors.palette.blue | TuColors.palette.blue30 + let tagTextPromo = TuColors.palette.blue | TuColors.palette.blue30 - let tagTextActive = TuColors.palette.blue | TuColors.palette.blue30 + let tagTextActive = TuColors.palette.blue | TuColors.palette.blue30 - let tagTextInactive = TuColors.palette.grey5 + let tagTextInactive = TuColors.palette.grey5 - let tagTextSuccess = TuColors.palette.green75 | TuColors.palette.green40 + let tagTextSuccess = TuColors.palette.green75 | TuColors.palette.green40 - let tagTextWarning = TuColors.palette.orange70 | TuColors.palette.orange55 + let tagTextWarning = TuColors.palette.orange70 | TuColors.palette.orange55 - let tagTextError = TuColors.palette.red70 | TuColors.palette.red40 + let tagTextError = TuColors.palette.red70 | TuColors.palette.red40 - let tagBackgroundPromo = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 + let tagBackgroundPromo = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 - let tagBackgroundActive = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 + let tagBackgroundActive = TuColors.palette.blue10 | TuColors.palette.darkModeGrey6 - let tagBackgroundInactive = TuColors.palette.grey1 | TuColors.palette.darkModeGrey6 + let tagBackgroundInactive = TuColors.palette.grey1 | TuColors.palette.darkModeGrey6 - let tagBackgroundSuccess = TuColors.palette.green10 | TuColors.palette.darkModeGrey6 + let tagBackgroundSuccess = TuColors.palette.green10 | TuColors.palette.darkModeGrey6 - let tagBackgroundWarning = TuColors.palette.orange20 | TuColors.palette.darkModeGrey6 + let tagBackgroundWarning = TuColors.palette.orange20 | TuColors.palette.darkModeGrey6 - let tagBackgroundError = TuColors.palette.red10 | TuColors.palette.darkModeGrey6 + let tagBackgroundError = TuColors.palette.red10 | TuColors.palette.darkModeGrey6 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ TuColors.palette.black.withAlphaComponent(0), TuColors.palette.black.withAlphaComponent(0.4), TuColors.palette.black.withAlphaComponent(0.7) ], - stops: [0,0.3,1], + stops: [0, 0.3, 1], angle: 180 )) } @@ -323,4 +327,4 @@ public struct TuColorPalette { public let darkModeBlack = UIColor(hex: "#161A24")! public let darkModeGrey = UIColor(hex: "#202735")! public let darkModeGrey6 = UIColor(hex: "#2B3447")! -} \ No newline at end of file +} diff --git a/Sources/MisticaCommon/Colors/VivoColorPalette.swift b/Sources/MisticaCommon/Colors/VivoColorPalette.swift index 49c3f0530..1aa56c5d2 100644 --- a/Sources/MisticaCommon/Colors/VivoColorPalette.swift +++ b/Sources/MisticaCommon/Colors/VivoColorPalette.swift @@ -1,282 +1,286 @@ - -// Generated using Make -// DO NOT EDIT +// +// VivoColorPalette.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import UIKit struct VivoColors: MisticaColors { static let palette = VivoColorPalette() - let backgroundBrand = MisticaColor.solid(VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack) + let backgroundBrand = MisticaColor.solid(VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack) - let backgroundBrandSecondary = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack + let backgroundBrandSecondary = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack - let appBarBackground = VivoColors.palette.white | VivoColors.palette.darkModeGrey + let appBarBackground = VivoColors.palette.white | VivoColors.palette.darkModeGrey - let background = VivoColors.palette.white | VivoColors.palette.darkModeBlack + let background = VivoColors.palette.white | VivoColors.palette.darkModeBlack - let backgroundContainer = VivoColors.palette.white | VivoColors.palette.darkModeGrey + let backgroundContainer = VivoColors.palette.white | VivoColors.palette.darkModeGrey - let backgroundContainerError = VivoColors.palette.pepperLight10 | VivoColors.palette.darkModeGrey + let backgroundContainerError = VivoColors.palette.pepperLight10 | VivoColors.palette.darkModeGrey - let backgroundContainerHover = VivoColors.palette.darkModeBlack.withAlphaComponent(0.03) | VivoColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerHover = VivoColors.palette.darkModeBlack.withAlphaComponent(0.03) | VivoColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerPressed = VivoColors.palette.darkModeBlack.withAlphaComponent(0.05) | VivoColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerPressed = VivoColors.palette.darkModeBlack.withAlphaComponent(0.05) | VivoColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrand = MisticaColor.solid(VivoColors.palette.vivoPurple | VivoColors.palette.darkModeGrey) + let backgroundContainerBrand = MisticaColor.solid(VivoColors.palette.vivoPurple | VivoColors.palette.darkModeGrey) - let backgroundContainerBrandHover = VivoColors.palette.darkModeBlack.withAlphaComponent(0.2) | VivoColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandHover = VivoColors.palette.darkModeBlack.withAlphaComponent(0.2) | VivoColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandPressed = VivoColors.palette.darkModeBlack.withAlphaComponent(0.4) | VivoColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandPressed = VivoColors.palette.darkModeBlack.withAlphaComponent(0.4) | VivoColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandOverInverse = VivoColors.palette.vivoPurpleDark | VivoColors.palette.darkModeGrey + let backgroundContainerBrandOverInverse = VivoColors.palette.vivoPurpleDark | VivoColors.palette.darkModeGrey - let backgroundContainerAlternative = VivoColors.palette.grey1 | VivoColors.palette.darkModeGrey + let backgroundContainerAlternative = VivoColors.palette.grey1 | VivoColors.palette.darkModeGrey - let backgroundOverlay = VivoColors.palette.grey6.withAlphaComponent(0.6) | VivoColors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundOverlay = VivoColors.palette.grey6.withAlphaComponent(0.6) | VivoColors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundSkeleton = VivoColors.palette.grey2 | VivoColors.palette.darkModeGrey6 + let backgroundSkeleton = VivoColors.palette.grey2 | VivoColors.palette.darkModeGrey6 - let backgroundSkeletonInverse = VivoColors.palette.vivoPurpleDark | VivoColors.palette.darkModeGrey6 + let backgroundSkeletonInverse = VivoColors.palette.vivoPurpleDark | VivoColors.palette.darkModeGrey6 - let navigationBarBackground = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack + let navigationBarBackground = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack - let backgroundAlternative = VivoColors.palette.grey1 | VivoColors.palette.darkModeBlack + let backgroundAlternative = VivoColors.palette.grey1 | VivoColors.palette.darkModeBlack - let backgroundBrandTop = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack + let backgroundBrandTop = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack - let backgroundBrandBottom = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack + let backgroundBrandBottom = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack - let skeletonWave = VivoColors.palette.grey2 | VivoColors.palette.grey5 + let skeletonWave = VivoColors.palette.grey2 | VivoColors.palette.grey5 - let borderLow = VivoColors.palette.grey1 | VivoColors.palette.darkModeBlack + let borderLow = VivoColors.palette.grey1 | VivoColors.palette.darkModeBlack - let border = VivoColors.palette.grey3 | VivoColors.palette.darkModeGrey + let border = VivoColors.palette.grey3 | VivoColors.palette.darkModeGrey - let borderHigh = VivoColors.palette.grey5 + let borderHigh = VivoColors.palette.grey5 - let borderSelected = VivoColors.palette.vivoPurple + let borderSelected = VivoColors.palette.vivoPurple - let coverBackgroundHover = VivoColors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundHover = VivoColors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundPressed = VivoColors.palette.darkModeBlack.withAlphaComponent(0.35) + let coverBackgroundPressed = VivoColors.palette.darkModeBlack.withAlphaComponent(0.35) - let buttonDangerBackground = VivoColors.palette.pepper + let buttonDangerBackground = VivoColors.palette.pepper - let buttonDangerBackgroundPressed = VivoColors.palette.pepperDark + let buttonDangerBackgroundPressed = VivoColors.palette.pepperDark - let buttonDangerBackgroundHover = VivoColors.palette.pepperDark + let buttonDangerBackgroundHover = VivoColors.palette.pepperDark - let buttonLinkDangerBackgroundPressed = VivoColors.palette.pepperLight10 | VivoColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundPressed = VivoColors.palette.pepperLight10 | VivoColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundInverse = VivoColors.palette.white | VivoColors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInverse = VivoColors.palette.white | VivoColors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInversePressed = VivoColors.palette.pepperLight10 | VivoColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundInversePressed = VivoColors.palette.pepperLight10 | VivoColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundPressed = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundPressed = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundInversePressed = VivoColors.palette.white.withAlphaComponent(0.1) | VivoColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundInversePressed = VivoColors.palette.white.withAlphaComponent(0.1) | VivoColors.palette.white.withAlphaComponent(0.08) - let buttonPrimaryBackground = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 + let buttonPrimaryBackground = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 - let buttonPrimaryBackgroundInverse = VivoColors.palette.white | VivoColors.palette.vivoPurpleLight80 + let buttonPrimaryBackgroundInverse = VivoColors.palette.white | VivoColors.palette.vivoPurpleLight80 - let buttonPrimaryBackgroundPressed = VivoColors.palette.vivoPurpleDark + let buttonPrimaryBackgroundPressed = VivoColors.palette.vivoPurpleDark - let buttonPrimaryBackgroundHover = VivoColors.palette.vivoPurpleDark + let buttonPrimaryBackgroundHover = VivoColors.palette.vivoPurpleDark - let buttonPrimaryBackgroundInversePressed = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.vivoPurpleDark + let buttonPrimaryBackgroundInversePressed = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.vivoPurpleDark - let buttonSecondaryBorder = VivoColors.palette.vivoPurple | VivoColors.palette.white + let buttonSecondaryBorder = VivoColors.palette.vivoPurple | VivoColors.palette.white - let buttonSecondaryBorderPressed = VivoColors.palette.vivoPurpleDark | VivoColors.palette.white + let buttonSecondaryBorderPressed = VivoColors.palette.vivoPurpleDark | VivoColors.palette.white - let buttonSecondaryBorderInverse = VivoColors.palette.white + let buttonSecondaryBorderInverse = VivoColors.palette.white - let buttonSecondaryBackgroundHover = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundHover = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBorderInversePressed = VivoColors.palette.white + let buttonSecondaryBorderInversePressed = VivoColors.palette.white - let buttonSecondaryBackgroundInverseHover = VivoColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInverseHover = VivoColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = VivoColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = VivoColors.palette.white.withAlphaComponent(0.15) - let textButtonPrimary = VivoColors.palette.white | VivoColors.palette.grey2 + let textButtonPrimary = VivoColors.palette.white | VivoColors.palette.grey2 - let textButtonPrimaryInverse = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 + let textButtonPrimaryInverse = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 - let textButtonPrimaryInversePressed = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 + let textButtonPrimaryInversePressed = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 - let textButtonSecondary = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 + let textButtonSecondary = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 - let textButtonSecondaryPressed = VivoColors.palette.vivoPurpleDark | VivoColors.palette.grey2 + let textButtonSecondaryPressed = VivoColors.palette.vivoPurpleDark | VivoColors.palette.grey2 - let textButtonSecondaryInverse = VivoColors.palette.white | VivoColors.palette.grey2 + let textButtonSecondaryInverse = VivoColors.palette.white | VivoColors.palette.grey2 - let textButtonSecondaryInversePressed = VivoColors.palette.white | VivoColors.palette.grey2 + let textButtonSecondaryInversePressed = VivoColors.palette.white | VivoColors.palette.grey2 - let textLink = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight50 + let textLink = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight50 - let textLinkInverse = VivoColors.palette.white | VivoColors.palette.vivoPurpleLight50 + let textLinkInverse = VivoColors.palette.white | VivoColors.palette.vivoPurpleLight50 - let textLinkDanger = VivoColors.palette.pepper + let textLinkDanger = VivoColors.palette.pepper - let textLinkSnackbar = VivoColors.palette.vivoPurpleLight50 + let textLinkSnackbar = VivoColors.palette.vivoPurpleLight50 - let textActivated = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 + let textActivated = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 - let textBrand = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 + let textBrand = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 - let control = VivoColors.palette.grey3 | VivoColors.palette.darkModeGrey6 + let control = VivoColors.palette.grey3 | VivoColors.palette.darkModeGrey6 - let controlActivated = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 + let controlActivated = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 - let controlInverse = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.darkModeGrey6 + let controlInverse = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.darkModeGrey6 - let controlActivatedInverse = VivoColors.palette.white | VivoColors.palette.vivoPurpleLight80 + let controlActivatedInverse = VivoColors.palette.white | VivoColors.palette.vivoPurpleLight80 - let controlError = VivoColors.palette.pepper + let controlError = VivoColors.palette.pepper - let barTrack = VivoColors.palette.grey3 | VivoColors.palette.darkModeGrey6 + let barTrack = VivoColors.palette.grey3 | VivoColors.palette.darkModeGrey6 - let barTrackInverse = VivoColors.palette.white.withAlphaComponent(0.5) | VivoColors.palette.darkModeGrey6 + let barTrackInverse = VivoColors.palette.white.withAlphaComponent(0.5) | VivoColors.palette.darkModeGrey6 - let loadingBar = VivoColors.palette.pink | VivoColors.palette.vivoPurpleLight80 + let loadingBar = VivoColors.palette.pink | VivoColors.palette.vivoPurpleLight80 - let loadingBarBackground = VivoColors.palette.pepperLight30 | VivoColors.palette.darkModeGrey6 + let loadingBarBackground = VivoColors.palette.pepperLight30 | VivoColors.palette.darkModeGrey6 - let toggleAndroidInactive = VivoColors.palette.grey2 | VivoColors.palette.grey4 + let toggleAndroidInactive = VivoColors.palette.grey2 | VivoColors.palette.grey4 - let toggleAndroidBackgroundActive = VivoColors.palette.vivoPurpleLight20 | VivoColors.palette.vivoPurpleLight50 + let toggleAndroidBackgroundActive = VivoColors.palette.vivoPurpleLight20 | VivoColors.palette.vivoPurpleLight50 - let iosControlKnob = VivoColors.palette.white | VivoColors.palette.grey2 + let iosControlKnob = VivoColors.palette.white | VivoColors.palette.grey2 - let controlKnobInverse = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 + let controlKnobInverse = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 - let divider = VivoColors.palette.grey2 | VivoColors.palette.white.withAlphaComponent(0.05) + let divider = VivoColors.palette.grey2 | VivoColors.palette.white.withAlphaComponent(0.05) - let dividerInverse = VivoColors.palette.white.withAlphaComponent(0.2) | VivoColors.palette.white.withAlphaComponent(0.05) + let dividerInverse = VivoColors.palette.white.withAlphaComponent(0.2) | VivoColors.palette.white.withAlphaComponent(0.05) - let navigationBarDivider = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack + let navigationBarDivider = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack - let badge = VivoColors.palette.pepperDark + let badge = VivoColors.palette.pepperDark - let feedbackErrorBackground = VivoColors.palette.pepper + let feedbackErrorBackground = VivoColors.palette.pepper - let feedbackInfoBackground = VivoColors.palette.grey6 + let feedbackInfoBackground = VivoColors.palette.grey6 - let brand = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 + let brand = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 - let brandHigh = VivoColors.palette.vivoPurpleDark | VivoColors.palette.white.withAlphaComponent(0.05) + let brandHigh = VivoColors.palette.vivoPurpleDark | VivoColors.palette.white.withAlphaComponent(0.05) - let inverse = VivoColors.palette.white | VivoColors.palette.grey2 + let inverse = VivoColors.palette.white | VivoColors.palette.grey2 - let neutralHigh = VivoColors.palette.grey6 | VivoColors.palette.grey2 + let neutralHigh = VivoColors.palette.grey6 | VivoColors.palette.grey2 - let neutralMedium = VivoColors.palette.grey5 + let neutralMedium = VivoColors.palette.grey5 - let neutralMediumInverse = VivoColors.palette.grey5 + let neutralMediumInverse = VivoColors.palette.grey5 - let neutralLow = VivoColors.palette.grey1 | VivoColors.palette.darkModeGrey6 + let neutralLow = VivoColors.palette.grey1 | VivoColors.palette.darkModeGrey6 - let neutralLowAlternative = VivoColors.palette.grey2 | VivoColors.palette.darkModeGrey6 + let neutralLowAlternative = VivoColors.palette.grey2 | VivoColors.palette.darkModeGrey6 - let textPrimary = VivoColors.palette.grey6 | VivoColors.palette.grey2 + let textPrimary = VivoColors.palette.grey6 | VivoColors.palette.grey2 - let textPrimaryInverse = VivoColors.palette.white | VivoColors.palette.grey2 + let textPrimaryInverse = VivoColors.palette.white | VivoColors.palette.grey2 - let textSecondary = VivoColors.palette.grey5 | VivoColors.palette.grey4 + let textSecondary = VivoColors.palette.grey5 | VivoColors.palette.grey4 - let textSecondaryInverse = VivoColors.palette.vivoPurpleLight20 | VivoColors.palette.grey4 + let textSecondaryInverse = VivoColors.palette.vivoPurpleLight20 | VivoColors.palette.grey4 - let error = VivoColors.palette.pepper + let error = VivoColors.palette.pepper - let textError = VivoColors.palette.pepper + let textError = VivoColors.palette.pepper - let textErrorInverse = VivoColors.palette.white | VivoColors.palette.pepper + let textErrorInverse = VivoColors.palette.white | VivoColors.palette.pepper - let success = VivoColors.palette.vivoGreen + let success = VivoColors.palette.vivoGreen - let warning = VivoColors.palette.orange + let warning = VivoColors.palette.orange - let promo = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 + let promo = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 - let highlight = VivoColors.palette.pink + let highlight = VivoColors.palette.pink - let successLow = VivoColors.palette.vivoGreenLight10 | VivoColors.palette.darkModeGrey6 + let successLow = VivoColors.palette.vivoGreenLight10 | VivoColors.palette.darkModeGrey6 - let warningLow = VivoColors.palette.orangeLight10 | VivoColors.palette.darkModeGrey6 + let warningLow = VivoColors.palette.orangeLight10 | VivoColors.palette.darkModeGrey6 - let errorLow = VivoColors.palette.pepperLight10 | VivoColors.palette.darkModeGrey6 + let errorLow = VivoColors.palette.pepperLight10 | VivoColors.palette.darkModeGrey6 - let promoLow = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 + let promoLow = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 - let brandLow = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 + let brandLow = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 - let successHigh = VivoColors.palette.vivoGreenDark | VivoColors.palette.vivoGreenLight30 + let successHigh = VivoColors.palette.vivoGreenDark | VivoColors.palette.vivoGreenLight30 - let warningHigh = VivoColors.palette.orangeDark | VivoColors.palette.orangeLight40 + let warningHigh = VivoColors.palette.orangeDark | VivoColors.palette.orangeLight40 - let errorHigh = VivoColors.palette.pepperDark80 | VivoColors.palette.pepperLight40 + let errorHigh = VivoColors.palette.pepperDark80 | VivoColors.palette.pepperLight40 - let promoHigh = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight50 + let promoHigh = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight50 - let successHighInverse = VivoColors.palette.vivoGreenDark + let successHighInverse = VivoColors.palette.vivoGreenDark - let warningHighInverse = VivoColors.palette.orangeDark + let warningHighInverse = VivoColors.palette.orangeDark - let errorHighInverse = VivoColors.palette.pepperDark80 + let errorHighInverse = VivoColors.palette.pepperDark80 - let promoHighInverse = VivoColors.palette.vivoPurple + let promoHighInverse = VivoColors.palette.vivoPurple - let textNavigationBarPrimary = VivoColors.palette.white | VivoColors.palette.grey2 + let textNavigationBarPrimary = VivoColors.palette.white | VivoColors.palette.grey2 - let textNavigationBarSecondary = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.grey4 + let textNavigationBarSecondary = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.grey4 - let textNavigationSearchBarHint = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.grey4 + let textNavigationSearchBarHint = VivoColors.palette.vivoPurpleLight50 | VivoColors.palette.grey4 - let textNavigationSearchBarText = VivoColors.palette.white | VivoColors.palette.grey2 + let textNavigationSearchBarText = VivoColors.palette.white | VivoColors.palette.grey2 - let textAppBar = VivoColors.palette.grey4 | VivoColors.palette.grey5 + let textAppBar = VivoColors.palette.grey4 | VivoColors.palette.grey5 - let textAppBarSelected = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 + let textAppBarSelected = VivoColors.palette.vivoPurple | VivoColors.palette.grey2 - let customTabsBackground = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack + let customTabsBackground = VivoColors.palette.vivoPurple | VivoColors.palette.darkModeBlack - let tagTextPromo = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight50 + let tagTextPromo = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight50 - let tagTextActive = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 + let tagTextActive = VivoColors.palette.vivoPurple | VivoColors.palette.vivoPurpleLight80 - let tagTextInactive = VivoColors.palette.grey5 + let tagTextInactive = VivoColors.palette.grey5 - let tagTextSuccess = VivoColors.palette.vivoGreenDark | VivoColors.palette.vivoGreenLight30 + let tagTextSuccess = VivoColors.palette.vivoGreenDark | VivoColors.palette.vivoGreenLight30 - let tagTextWarning = VivoColors.palette.orangeDark | VivoColors.palette.orangeLight40 + let tagTextWarning = VivoColors.palette.orangeDark | VivoColors.palette.orangeLight40 - let tagTextError = VivoColors.palette.pepperDark80 | VivoColors.palette.pepperLight40 + let tagTextError = VivoColors.palette.pepperDark80 | VivoColors.palette.pepperLight40 - let tagBackgroundPromo = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 + let tagBackgroundPromo = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 - let tagBackgroundActive = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 + let tagBackgroundActive = VivoColors.palette.vivoPurpleLight10 | VivoColors.palette.darkModeGrey6 - let tagBackgroundInactive = VivoColors.palette.grey1 | VivoColors.palette.darkModeGrey6 + let tagBackgroundInactive = VivoColors.palette.grey1 | VivoColors.palette.darkModeGrey6 - let tagBackgroundSuccess = VivoColors.palette.vivoGreenLight10 | VivoColors.palette.darkModeGrey6 + let tagBackgroundSuccess = VivoColors.palette.vivoGreenLight10 | VivoColors.palette.darkModeGrey6 - let tagBackgroundWarning = VivoColors.palette.orangeLight10 | VivoColors.palette.darkModeGrey6 + let tagBackgroundWarning = VivoColors.palette.orangeLight10 | VivoColors.palette.darkModeGrey6 - let tagBackgroundError = VivoColors.palette.pepperLight10 | VivoColors.palette.darkModeGrey6 + let tagBackgroundError = VivoColors.palette.pepperLight10 | VivoColors.palette.darkModeGrey6 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ VivoColors.palette.grey6.withAlphaComponent(0), VivoColors.palette.grey6.withAlphaComponent(0.4), VivoColors.palette.grey6.withAlphaComponent(0.7) ], - stops: [0,0.3,1], + stops: [0, 0.3, 1], angle: 180 )) } @@ -318,4 +322,4 @@ public struct VivoColorPalette { public let darkModeBlack = UIColor(hex: "#191919")! public let darkModeGrey = UIColor(hex: "#242424")! public let darkModeGrey6 = UIColor(hex: "#313235")! -} \ No newline at end of file +} diff --git a/Sources/MisticaCommon/Colors/VivoNewColorPalette.swift b/Sources/MisticaCommon/Colors/VivoNewColorPalette.swift index a65101aeb..fc448baa2 100644 --- a/Sources/MisticaCommon/Colors/VivoNewColorPalette.swift +++ b/Sources/MisticaCommon/Colors/VivoNewColorPalette.swift @@ -1,282 +1,286 @@ - -// Generated using Make -// DO NOT EDIT +// +// VivoNewColorPalette.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import UIKit struct VivoNewColors: MisticaColors { static let palette = VivoNewColorPalette() - let backgroundBrand = MisticaColor.solid(VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack) + let backgroundBrand = MisticaColor.solid(VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack) - let backgroundBrandSecondary = VivoNewColors.palette.vivoPurpleLight80 | VivoNewColors.palette.darkModeBlack + let backgroundBrandSecondary = VivoNewColors.palette.vivoPurpleLight80 | VivoNewColors.palette.darkModeBlack - let appBarBackground = VivoNewColors.palette.white | VivoNewColors.palette.darkModeGrey + let appBarBackground = VivoNewColors.palette.white | VivoNewColors.palette.darkModeGrey - let background = VivoNewColors.palette.white | VivoNewColors.palette.darkModeBlack + let background = VivoNewColors.palette.white | VivoNewColors.palette.darkModeBlack - let backgroundContainer = VivoNewColors.palette.white | VivoNewColors.palette.darkModeGrey + let backgroundContainer = VivoNewColors.palette.white | VivoNewColors.palette.darkModeGrey - let backgroundContainerError = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.darkModeGrey + let backgroundContainerError = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.darkModeGrey - let backgroundContainerHover = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.03) | VivoNewColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerHover = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.03) | VivoNewColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerPressed = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.05) | VivoNewColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerPressed = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.05) | VivoNewColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrand = MisticaColor.solid(VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeGrey) + let backgroundContainerBrand = MisticaColor.solid(VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeGrey) - let backgroundContainerBrandHover = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.2) | VivoNewColors.palette.white.withAlphaComponent(0.03) + let backgroundContainerBrandHover = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.2) | VivoNewColors.palette.white.withAlphaComponent(0.03) - let backgroundContainerBrandPressed = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.4) | VivoNewColors.palette.white.withAlphaComponent(0.05) + let backgroundContainerBrandPressed = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.4) | VivoNewColors.palette.white.withAlphaComponent(0.05) - let backgroundContainerBrandOverInverse = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.darkModeGrey + let backgroundContainerBrandOverInverse = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.darkModeGrey - let backgroundContainerAlternative = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeGrey + let backgroundContainerAlternative = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeGrey - let backgroundOverlay = VivoNewColors.palette.grey6.withAlphaComponent(0.6) | VivoNewColors.palette.darkModeGrey.withAlphaComponent(0.8) + let backgroundOverlay = VivoNewColors.palette.grey6.withAlphaComponent(0.6) | VivoNewColors.palette.darkModeGrey.withAlphaComponent(0.8) - let backgroundSkeleton = VivoNewColors.palette.grey3 | VivoNewColors.palette.darkModeGrey6 + let backgroundSkeleton = VivoNewColors.palette.grey3 | VivoNewColors.palette.darkModeGrey6 - let backgroundSkeletonInverse = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.darkModeGrey6 + let backgroundSkeletonInverse = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.darkModeGrey6 - let navigationBarBackground = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack + let navigationBarBackground = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack - let backgroundAlternative = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeBlack + let backgroundAlternative = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeBlack - let backgroundBrandTop = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack + let backgroundBrandTop = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack - let backgroundBrandBottom = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack + let backgroundBrandBottom = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack - let skeletonWave = VivoNewColors.palette.grey2 | VivoNewColors.palette.grey5 + let skeletonWave = VivoNewColors.palette.grey2 | VivoNewColors.palette.grey5 - let borderLow = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeBlack + let borderLow = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeBlack - let border = VivoNewColors.palette.grey3 | VivoNewColors.palette.darkModeGrey + let border = VivoNewColors.palette.grey3 | VivoNewColors.palette.darkModeGrey - let borderHigh = VivoNewColors.palette.grey5 + let borderHigh = VivoNewColors.palette.grey5 - let borderSelected = VivoNewColors.palette.vivoPurple + let borderSelected = VivoNewColors.palette.vivoPurple - let coverBackgroundHover = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.25) + let coverBackgroundHover = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.25) - let coverBackgroundPressed = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.35) + let coverBackgroundPressed = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.35) - let buttonDangerBackground = VivoNewColors.palette.pepper + let buttonDangerBackground = VivoNewColors.palette.pepper - let buttonDangerBackgroundPressed = VivoNewColors.palette.pepperDark + let buttonDangerBackgroundPressed = VivoNewColors.palette.pepperDark - let buttonDangerBackgroundHover = VivoNewColors.palette.pepperDark + let buttonDangerBackgroundHover = VivoNewColors.palette.pepperDark - let buttonLinkDangerBackgroundPressed = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundPressed = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.white.withAlphaComponent(0.08) - let buttonLinkDangerBackgroundInverse = VivoNewColors.palette.white | VivoNewColors.palette.white.withAlphaComponent(0) + let buttonLinkDangerBackgroundInverse = VivoNewColors.palette.white | VivoNewColors.palette.white.withAlphaComponent(0) - let buttonLinkDangerBackgroundInversePressed = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.white.withAlphaComponent(0.08) + let buttonLinkDangerBackgroundInversePressed = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundPressed = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundPressed = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.white.withAlphaComponent(0.08) - let buttonLinkBackgroundInversePressed = VivoNewColors.palette.white.withAlphaComponent(0.1) | VivoNewColors.palette.white.withAlphaComponent(0.08) + let buttonLinkBackgroundInversePressed = VivoNewColors.palette.white.withAlphaComponent(0.1) | VivoNewColors.palette.white.withAlphaComponent(0.08) - let buttonPrimaryBackground = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let buttonPrimaryBackground = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let buttonPrimaryBackgroundInverse = VivoNewColors.palette.white | VivoNewColors.palette.vivoPurpleLight80 + let buttonPrimaryBackgroundInverse = VivoNewColors.palette.white | VivoNewColors.palette.vivoPurpleLight80 - let buttonPrimaryBackgroundPressed = VivoNewColors.palette.vivoPurpleDark + let buttonPrimaryBackgroundPressed = VivoNewColors.palette.vivoPurpleDark - let buttonPrimaryBackgroundHover = VivoNewColors.palette.vivoPurpleDark + let buttonPrimaryBackgroundHover = VivoNewColors.palette.vivoPurpleDark - let buttonPrimaryBackgroundInversePressed = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.vivoPurpleDark + let buttonPrimaryBackgroundInversePressed = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.vivoPurpleDark - let buttonSecondaryBorder = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.white + let buttonSecondaryBorder = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.white - let buttonSecondaryBorderPressed = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.white + let buttonSecondaryBorderPressed = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.white - let buttonSecondaryBorderInverse = VivoNewColors.palette.white + let buttonSecondaryBorderInverse = VivoNewColors.palette.white - let buttonSecondaryBackgroundHover = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundHover = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundPressed = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundPressed = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBorderInversePressed = VivoNewColors.palette.white + let buttonSecondaryBorderInversePressed = VivoNewColors.palette.white - let buttonSecondaryBackgroundInverseHover = VivoNewColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInverseHover = VivoNewColors.palette.white.withAlphaComponent(0.15) - let buttonSecondaryBackgroundInversePressed = VivoNewColors.palette.white.withAlphaComponent(0.15) + let buttonSecondaryBackgroundInversePressed = VivoNewColors.palette.white.withAlphaComponent(0.15) - let textButtonPrimary = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let textButtonPrimary = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let textButtonPrimaryInverse = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 + let textButtonPrimaryInverse = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 - let textButtonPrimaryInversePressed = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 + let textButtonPrimaryInversePressed = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 - let textButtonSecondary = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 + let textButtonSecondary = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 - let textButtonSecondaryPressed = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.grey2 + let textButtonSecondaryPressed = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.grey2 - let textButtonSecondaryInverse = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let textButtonSecondaryInverse = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let textButtonSecondaryInversePressed = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let textButtonSecondaryInversePressed = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let textLink = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight50 + let textLink = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight50 - let textLinkInverse = VivoNewColors.palette.white | VivoNewColors.palette.vivoPurpleLight50 + let textLinkInverse = VivoNewColors.palette.white | VivoNewColors.palette.vivoPurpleLight50 - let textLinkDanger = VivoNewColors.palette.pepper + let textLinkDanger = VivoNewColors.palette.pepper - let textLinkSnackbar = VivoNewColors.palette.vivoPurpleLight20 | VivoNewColors.palette.vivoPurpleLight50 + let textLinkSnackbar = VivoNewColors.palette.vivoPurpleLight20 | VivoNewColors.palette.vivoPurpleLight50 - let textActivated = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let textActivated = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let textBrand = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let textBrand = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let control = VivoNewColors.palette.grey4 | VivoNewColors.palette.darkModeGrey6 + let control = VivoNewColors.palette.grey4 | VivoNewColors.palette.darkModeGrey6 - let controlActivated = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let controlActivated = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let controlInverse = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.darkModeGrey6 + let controlInverse = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.darkModeGrey6 - let controlActivatedInverse = VivoNewColors.palette.white | VivoNewColors.palette.vivoPurpleLight80 + let controlActivatedInverse = VivoNewColors.palette.white | VivoNewColors.palette.vivoPurpleLight80 - let controlError = VivoNewColors.palette.pepper + let controlError = VivoNewColors.palette.pepper - let barTrack = VivoNewColors.palette.grey3 | VivoNewColors.palette.darkModeGrey6 + let barTrack = VivoNewColors.palette.grey3 | VivoNewColors.palette.darkModeGrey6 - let barTrackInverse = VivoNewColors.palette.white.withAlphaComponent(0.5) | VivoNewColors.palette.darkModeGrey6 + let barTrackInverse = VivoNewColors.palette.white.withAlphaComponent(0.5) | VivoNewColors.palette.darkModeGrey6 - let loadingBar = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let loadingBar = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let loadingBarBackground = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 + let loadingBarBackground = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 - let toggleAndroidInactive = VivoNewColors.palette.grey2 | VivoNewColors.palette.grey4 + let toggleAndroidInactive = VivoNewColors.palette.grey2 | VivoNewColors.palette.grey4 - let toggleAndroidBackgroundActive = VivoNewColors.palette.vivoPurpleLight20 | VivoNewColors.palette.vivoPurpleLight50 + let toggleAndroidBackgroundActive = VivoNewColors.palette.vivoPurpleLight20 | VivoNewColors.palette.vivoPurpleLight50 - let iosControlKnob = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let iosControlKnob = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let controlKnobInverse = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 + let controlKnobInverse = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 - let divider = VivoNewColors.palette.grey3 | VivoNewColors.palette.white.withAlphaComponent(0.05) + let divider = VivoNewColors.palette.grey3 | VivoNewColors.palette.white.withAlphaComponent(0.05) - let dividerInverse = VivoNewColors.palette.white.withAlphaComponent(0.2) | VivoNewColors.palette.white.withAlphaComponent(0.05) + let dividerInverse = VivoNewColors.palette.white.withAlphaComponent(0.2) | VivoNewColors.palette.white.withAlphaComponent(0.05) - let navigationBarDivider = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack + let navigationBarDivider = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeBlack - let badge = VivoNewColors.palette.pepperDark + let badge = VivoNewColors.palette.pepperDark - let feedbackErrorBackground = VivoNewColors.palette.pepper + let feedbackErrorBackground = VivoNewColors.palette.pepper - let feedbackInfoBackground = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.grey6 + let feedbackInfoBackground = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.grey6 - let brand = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let brand = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let brandHigh = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.white.withAlphaComponent(0.05) + let brandHigh = VivoNewColors.palette.vivoPurpleDark | VivoNewColors.palette.white.withAlphaComponent(0.05) - let inverse = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let inverse = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let neutralHigh = VivoNewColors.palette.grey6 | VivoNewColors.palette.grey2 + let neutralHigh = VivoNewColors.palette.grey6 | VivoNewColors.palette.grey2 - let neutralMedium = VivoNewColors.palette.grey5 + let neutralMedium = VivoNewColors.palette.grey5 - let neutralMediumInverse = VivoNewColors.palette.grey5 + let neutralMediumInverse = VivoNewColors.palette.grey5 - let neutralLow = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeGrey6 + let neutralLow = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeGrey6 - let neutralLowAlternative = VivoNewColors.palette.grey2 | VivoNewColors.palette.darkModeGrey6 + let neutralLowAlternative = VivoNewColors.palette.grey2 | VivoNewColors.palette.darkModeGrey6 - let textPrimary = VivoNewColors.palette.grey6 | VivoNewColors.palette.grey2 + let textPrimary = VivoNewColors.palette.grey6 | VivoNewColors.palette.grey2 - let textPrimaryInverse = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let textPrimaryInverse = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let textSecondary = VivoNewColors.palette.grey5 | VivoNewColors.palette.grey4 + let textSecondary = VivoNewColors.palette.grey5 | VivoNewColors.palette.grey4 - let textSecondaryInverse = VivoNewColors.palette.vivoPurpleLight20 | VivoNewColors.palette.grey4 + let textSecondaryInverse = VivoNewColors.palette.vivoPurpleLight20 | VivoNewColors.palette.grey4 - let error = VivoNewColors.palette.pepper + let error = VivoNewColors.palette.pepper - let textError = VivoNewColors.palette.pepper + let textError = VivoNewColors.palette.pepper - let textErrorInverse = VivoNewColors.palette.white | VivoNewColors.palette.pepper + let textErrorInverse = VivoNewColors.palette.white | VivoNewColors.palette.pepper - let success = VivoNewColors.palette.vivoGreen + let success = VivoNewColors.palette.vivoGreen - let warning = VivoNewColors.palette.orange + let warning = VivoNewColors.palette.orange - let promo = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let promo = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let highlight = VivoNewColors.palette.pink + let highlight = VivoNewColors.palette.pink - let successLow = VivoNewColors.palette.vivoGreenLight10 | VivoNewColors.palette.darkModeGrey6 + let successLow = VivoNewColors.palette.vivoGreenLight10 | VivoNewColors.palette.darkModeGrey6 - let warningLow = VivoNewColors.palette.orangeLight10 | VivoNewColors.palette.darkModeGrey6 + let warningLow = VivoNewColors.palette.orangeLight10 | VivoNewColors.palette.darkModeGrey6 - let errorLow = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.darkModeGrey6 + let errorLow = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.darkModeGrey6 - let promoLow = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 + let promoLow = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 - let brandLow = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 + let brandLow = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 - let successHigh = VivoNewColors.palette.vivoGreenDark | VivoNewColors.palette.vivoGreenLight30 + let successHigh = VivoNewColors.palette.vivoGreenDark | VivoNewColors.palette.vivoGreenLight30 - let warningHigh = VivoNewColors.palette.orangeDark | VivoNewColors.palette.orangeLight40 + let warningHigh = VivoNewColors.palette.orangeDark | VivoNewColors.palette.orangeLight40 - let errorHigh = VivoNewColors.palette.pepperDark80 | VivoNewColors.palette.pepperLight40 + let errorHigh = VivoNewColors.palette.pepperDark80 | VivoNewColors.palette.pepperLight40 - let promoHigh = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight50 + let promoHigh = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight50 - let successHighInverse = VivoNewColors.palette.vivoGreenDark + let successHighInverse = VivoNewColors.palette.vivoGreenDark - let warningHighInverse = VivoNewColors.palette.orangeDark + let warningHighInverse = VivoNewColors.palette.orangeDark - let errorHighInverse = VivoNewColors.palette.pepperDark80 + let errorHighInverse = VivoNewColors.palette.pepperDark80 - let promoHighInverse = VivoNewColors.palette.vivoPurple + let promoHighInverse = VivoNewColors.palette.vivoPurple - let textNavigationBarPrimary = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let textNavigationBarPrimary = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let textNavigationBarSecondary = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.grey4 + let textNavigationBarSecondary = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.grey4 - let textNavigationSearchBarHint = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.grey4 + let textNavigationSearchBarHint = VivoNewColors.palette.vivoPurpleLight50 | VivoNewColors.palette.grey4 - let textNavigationSearchBarText = VivoNewColors.palette.white | VivoNewColors.palette.grey2 + let textNavigationSearchBarText = VivoNewColors.palette.white | VivoNewColors.palette.grey2 - let textAppBar = VivoNewColors.palette.grey5 + let textAppBar = VivoNewColors.palette.grey5 - let textAppBarSelected = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 + let textAppBarSelected = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.grey2 - let customTabsBackground = VivoNewColors.palette.white | VivoNewColors.palette.darkModeBlack + let customTabsBackground = VivoNewColors.palette.white | VivoNewColors.palette.darkModeBlack - let tagTextPromo = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight50 + let tagTextPromo = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight50 - let tagTextActive = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 + let tagTextActive = VivoNewColors.palette.vivoPurple | VivoNewColors.palette.vivoPurpleLight80 - let tagTextInactive = VivoNewColors.palette.grey5 + let tagTextInactive = VivoNewColors.palette.grey5 - let tagTextSuccess = VivoNewColors.palette.vivoGreenDark | VivoNewColors.palette.vivoGreenLight30 + let tagTextSuccess = VivoNewColors.palette.vivoGreenDark | VivoNewColors.palette.vivoGreenLight30 - let tagTextWarning = VivoNewColors.palette.orangeDark | VivoNewColors.palette.orangeLight40 + let tagTextWarning = VivoNewColors.palette.orangeDark | VivoNewColors.palette.orangeLight40 - let tagTextError = VivoNewColors.palette.pepperDark80 | VivoNewColors.palette.pepperLight40 + let tagTextError = VivoNewColors.palette.pepperDark80 | VivoNewColors.palette.pepperLight40 - let tagBackgroundPromo = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 + let tagBackgroundPromo = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 - let tagBackgroundActive = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 + let tagBackgroundActive = VivoNewColors.palette.vivoPurpleLight10 | VivoNewColors.palette.darkModeGrey6 - let tagBackgroundInactive = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeGrey6 + let tagBackgroundInactive = VivoNewColors.palette.grey1 | VivoNewColors.palette.darkModeGrey6 - let tagBackgroundSuccess = VivoNewColors.palette.vivoGreenLight10 | VivoNewColors.palette.darkModeGrey6 + let tagBackgroundSuccess = VivoNewColors.palette.vivoGreenLight10 | VivoNewColors.palette.darkModeGrey6 - let tagBackgroundWarning = VivoNewColors.palette.orangeLight10 | VivoNewColors.palette.darkModeGrey6 + let tagBackgroundWarning = VivoNewColors.palette.orangeLight10 | VivoNewColors.palette.darkModeGrey6 - let tagBackgroundError = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.darkModeGrey6 + let tagBackgroundError = VivoNewColors.palette.pepperLight10 | VivoNewColors.palette.darkModeGrey6 - let cardContentOverlay = MisticaColor.gradient(MisticaGradient( + let cardContentOverlay = MisticaColor.gradient(MisticaGradient( colors: [ VivoNewColors.palette.grey6.withAlphaComponent(0), VivoNewColors.palette.grey6.withAlphaComponent(0.4), VivoNewColors.palette.grey6.withAlphaComponent(0.7) ], - stops: [0,0.3,1], + stops: [0, 0.3, 1], angle: 180 )) } @@ -318,4 +322,4 @@ public struct VivoNewColorPalette { public let darkModeBlack = UIColor(hex: "#191919")! public let darkModeGrey = UIColor(hex: "#242424")! public let darkModeGrey6 = UIColor(hex: "#313235")! -} \ No newline at end of file +} diff --git a/Sources/MisticaCommon/Fonts/Brands/BlauFontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/BlauFontSizes.swift index 72cd00475..725675ce4 100644 --- a/Sources/MisticaCommon/Fonts/Brands/BlauFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/BlauFontSizes.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// BlauFontSizes.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/BlauFontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/BlauFontWeights.swift index d7daad492..0ddc7d67a 100644 --- a/Sources/MisticaCommon/Fonts/Brands/BlauFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/BlauFontWeights.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// BlauFontWeights.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/MovistarFontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/MovistarFontSizes.swift index 8730bc951..4d9529b09 100644 --- a/Sources/MisticaCommon/Fonts/Brands/MovistarFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/MovistarFontSizes.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// MovistarFontSizes.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/MovistarFontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/MovistarFontWeights.swift index 2fc6feffc..f493f7fb6 100644 --- a/Sources/MisticaCommon/Fonts/Brands/MovistarFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/MovistarFontWeights.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// MovistarFontWeights.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/O2FontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/O2FontSizes.swift index dad24112e..aad285d14 100644 --- a/Sources/MisticaCommon/Fonts/Brands/O2FontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/O2FontSizes.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// O2FontSizes.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/O2FontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/O2FontWeights.swift index 196d4a98b..f22aa07d6 100644 --- a/Sources/MisticaCommon/Fonts/Brands/O2FontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/O2FontWeights.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// O2FontWeights.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/O2NewFontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/O2NewFontSizes.swift index 0352e4d3d..2ff18333b 100644 --- a/Sources/MisticaCommon/Fonts/Brands/O2NewFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/O2NewFontSizes.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// O2NewFontSizes.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/O2NewFontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/O2NewFontWeights.swift index bd714f6b5..097fa43a6 100644 --- a/Sources/MisticaCommon/Fonts/Brands/O2NewFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/O2NewFontWeights.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// O2NewFontWeights.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontSizes.swift index 126147fc0..192c45ae1 100644 --- a/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontSizes.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// TelefonicaFontSizes.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontWeights.swift index bf544b3c6..b162cd4b5 100644 --- a/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/TelefonicaFontWeights.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// TelefonicaFontWeights.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/TuFontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/TuFontSizes.swift index 448c7a82e..92872ca0a 100644 --- a/Sources/MisticaCommon/Fonts/Brands/TuFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/TuFontSizes.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// TuFontSizes.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/TuFontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/TuFontWeights.swift index 42258feed..a6621bc38 100644 --- a/Sources/MisticaCommon/Fonts/Brands/TuFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/TuFontWeights.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// TuFontWeights.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/VivoFontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/VivoFontSizes.swift index cae151e48..0a2b7dea2 100644 --- a/Sources/MisticaCommon/Fonts/Brands/VivoFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/VivoFontSizes.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// VivoFontSizes.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/VivoFontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/VivoFontWeights.swift index 20e5df88a..364b662fe 100644 --- a/Sources/MisticaCommon/Fonts/Brands/VivoFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/VivoFontWeights.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// VivoFontWeights.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/VivoNewFontSizes.swift b/Sources/MisticaCommon/Fonts/Brands/VivoNewFontSizes.swift index 73778b0cd..e194239a3 100644 --- a/Sources/MisticaCommon/Fonts/Brands/VivoNewFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/Brands/VivoNewFontSizes.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// VivoNewFontSizes.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/Brands/VivoNewFontWeights.swift b/Sources/MisticaCommon/Fonts/Brands/VivoNewFontWeights.swift index 7694bb783..843483dd3 100644 --- a/Sources/MisticaCommon/Fonts/Brands/VivoNewFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/Brands/VivoNewFontWeights.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// VivoNewFontWeights.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/MisticaFontSizes.swift b/Sources/MisticaCommon/Fonts/MisticaFontSizes.swift index 8c0cd456f..997e4dfc0 100644 --- a/Sources/MisticaCommon/Fonts/MisticaFontSizes.swift +++ b/Sources/MisticaCommon/Fonts/MisticaFontSizes.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// MisticaFontSizes.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Fonts/MisticaFontWeights.swift b/Sources/MisticaCommon/Fonts/MisticaFontWeights.swift index c40214101..7665d284d 100644 --- a/Sources/MisticaCommon/Fonts/MisticaFontWeights.swift +++ b/Sources/MisticaCommon/Fonts/MisticaFontWeights.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// MisticaFontWeights.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import UIKit diff --git a/Sources/MisticaCommon/Radius/Brands/BlauCornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/BlauCornerRadius.swift index d4dcdc9c9..81d2bca04 100644 --- a/Sources/MisticaCommon/Radius/Brands/BlauCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/BlauCornerRadius.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// BlauCornerRadius.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Radius/Brands/MovistarCornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/MovistarCornerRadius.swift index 87e1c8bcd..044ccf9f4 100644 --- a/Sources/MisticaCommon/Radius/Brands/MovistarCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/MovistarCornerRadius.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// MovistarCornerRadius.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Radius/Brands/O2CornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/O2CornerRadius.swift index 3d907c796..a0bb96286 100644 --- a/Sources/MisticaCommon/Radius/Brands/O2CornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/O2CornerRadius.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// O2CornerRadius.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Radius/Brands/O2NewCornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/O2NewCornerRadius.swift index 94a68cfea..0fffcc0a9 100644 --- a/Sources/MisticaCommon/Radius/Brands/O2NewCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/O2NewCornerRadius.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// O2NewCornerRadius.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Radius/Brands/TelefonicaCornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/TelefonicaCornerRadius.swift index 7ea44ed23..b03aaae39 100644 --- a/Sources/MisticaCommon/Radius/Brands/TelefonicaCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/TelefonicaCornerRadius.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// TelefonicaCornerRadius.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Radius/Brands/TuCornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/TuCornerRadius.swift index f0e769fec..1b44136ae 100644 --- a/Sources/MisticaCommon/Radius/Brands/TuCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/TuCornerRadius.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// TuCornerRadius.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Radius/Brands/VivoCornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/VivoCornerRadius.swift index ba0da6349..4457fd882 100644 --- a/Sources/MisticaCommon/Radius/Brands/VivoCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/VivoCornerRadius.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// VivoCornerRadius.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Radius/Brands/VivoNewCornerRadius.swift b/Sources/MisticaCommon/Radius/Brands/VivoNewCornerRadius.swift index ae59a0a62..764d14343 100644 --- a/Sources/MisticaCommon/Radius/Brands/VivoNewCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/Brands/VivoNewCornerRadius.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// VivoNewCornerRadius.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation diff --git a/Sources/MisticaCommon/Radius/MisticaCornerRadius.swift b/Sources/MisticaCommon/Radius/MisticaCornerRadius.swift index ceb56b837..26125833f 100644 --- a/Sources/MisticaCommon/Radius/MisticaCornerRadius.swift +++ b/Sources/MisticaCommon/Radius/MisticaCornerRadius.swift @@ -1,6 +1,10 @@ - -// Generated using Make -// DO NOT EDIT +// +// MisticaCornerRadius.swift +// +// Made with ❤️ by Novum +// +// Copyright © Telefonica. All rights reserved. +// import Foundation