Skip to content

Commit

Permalink
feat(O2New): Add new O2New brand
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Refactor backgroundBrand color token as MisticaColor new type
  • Loading branch information
alejandroruizponce authored May 9, 2024
1 parent 8d262e5 commit 6c8c194
Show file tree
Hide file tree
Showing 102 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

### Bug Fixes

* **ColorTokenImporters:** Add type filter for color token importers ([af44945](/~https://github.com/Telefonica/mistica-ios/commit/af44945b6e5f441efcb2b12dcb0749c276bfe020))
* **ColorTokenImporters:** Add type filter for color token importer ([af44945](/~https://github.com/Telefonica/mistica-ios/commit/af44945b6e5f441efcb2b12dcb0749c276bfe020))


### Features
Expand Down
13 changes: 6 additions & 7 deletions Sources/MisticaCommon/Colors/O2NewColorPalette.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ struct O2NewColors: MisticaColors {

let buttonLinkDangerBackgroundSelected = O2NewColors.palette.o2Red10 | O2NewColors.palette.white.withAlphaComponent(0.08)

let buttonLinkDangerBackgroundInverse = O2NewColors.palette.white | O2NewColors.palette.white.withAlphaComponent(0.01)
let buttonLinkDangerBackgroundInverse = O2NewColors.palette.white | O2NewColors.palette.white.withAlphaComponent(0)

let buttonLinkDangerBackgroundInverseSelected = O2NewColors.palette.o2Red10 | O2NewColors.palette.white.withAlphaComponent(0.08)

Expand Down Expand Up @@ -254,7 +254,7 @@ struct O2NewColors: MisticaColors {

let tagTextWarning = O2NewColors.palette.o2Orange75 | O2NewColors.palette.o2Orange

let tagTextError = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red
let tagTextError = O2NewColors.palette.o2Red65 | O2NewColors.palette.o2Red45

let tagBackgroundPromo = O2NewColors.palette.o2Pink15 | O2NewColors.palette.darkModeGrey6

Expand Down Expand Up @@ -303,7 +303,7 @@ public struct O2NewColorPalette {
public let o2Red40 = UIColor(hex: "#FF8B8B")!
public let o2Red45 = UIColor(hex: "#FF7B7B")!
public let o2Red60 = UIColor(hex: "#CC4848")!
public let o2Red65 = UIColor(hex: "#BF4343")!
public let o2Red65 = UIColor(hex: "#BF4444")!
public let grey20 = UIColor(hex: "#F3F3F5")!
public let grey30 = UIColor(hex: "#D9D9DD")!
public let grey40 = UIColor(hex: "#B4B4BE")!
Expand All @@ -312,9 +312,8 @@ public struct O2NewColorPalette {
public let grey80 = UIColor(hex: "#3C3C46")!
public let black = UIColor(hex: "#00001E")!
public let white = UIColor(hex: "#FFFFFF")!
public let darkModeBlack = UIColor(hex: "#121212")!
public let darkModeGrey = UIColor(hex: "#1E1E1E")!
public let darkModeGrey6 = UIColor(hex: "#2B2C2E")!
public let darkModeBlack = UIColor(hex: "#00001C")!
public let darkModeGrey = UIColor(hex: "#08132B")!
public let darkModeGrey6 = UIColor(hex: "#14213D")!
public let darkModeBeyondBlue = UIColor(hex: "#1A62FF")!
public let darkModeBeyondBlueDark = UIColor(hex: "#0048E5")!
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6c8c194

Please sign in to comment.