Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(skin): update design tokens from mistica-design #425

Merged
merged 3 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Sources/MisticaCommon/Colors/BlauColorPalette.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ struct BlauColors: MisticaColors {

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.blauBlueSecondary.withAlphaComponent(0.05) | BlauColors.palette.white.withAlphaComponent(0.05)

let backgroundContainerPressed = BlauColors.palette.blauBluePrimary.withAlphaComponent(0.05) | BlauColors.palette.white.withAlphaComponent(0.05)
let backgroundContainerPressed = BlauColors.palette.blauBlueSecondary.withAlphaComponent(0.08) | BlauColors.palette.white.withAlphaComponent(0.08)

let backgroundContainerBrand = MisticaColor.solid(BlauColors.palette.blauBluePrimary | BlauColors.palette.darkModeGrey)

Expand Down Expand Up @@ -133,7 +133,7 @@ struct BlauColors: MisticaColors {

let textBrand = BlauColors.palette.blauBluePrimary

let control = BlauColors.palette.grey2 | BlauColors.palette.darkModeGrey6
let control = BlauColors.palette.grey5 | BlauColors.palette.darkModeGrey6

let controlActivated = BlauColors.palette.blauBlueSecondary

Expand Down
4 changes: 2 additions & 2 deletions Sources/MisticaCommon/Colors/MovistarColorPalette.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ struct MovistarColors: MisticaColors {

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.05) | MovistarColors.palette.white.withAlphaComponent(0.05)

let backgroundContainerPressed = MovistarColors.palette.black.withAlphaComponent(0.05) | MovistarColors.palette.white.withAlphaComponent(0.05)
let backgroundContainerPressed = MovistarColors.palette.black.withAlphaComponent(0.08) | MovistarColors.palette.white.withAlphaComponent(0.08)

let backgroundContainerBrand = MisticaColor.solid(MovistarColors.palette.movistarBlue | MovistarColors.palette.darkModeGrey)

Expand Down
4 changes: 2 additions & 2 deletions Sources/MisticaCommon/Colors/O2ColorPalette.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ struct O2Colors: MisticaColors {

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.05) | O2Colors.palette.white.withAlphaComponent(0.05)

let backgroundContainerPressed = O2Colors.palette.darkModeBlack.withAlphaComponent(0.05) | O2Colors.palette.white.withAlphaComponent(0.05)
let backgroundContainerPressed = O2Colors.palette.darkModeBlack.withAlphaComponent(0.08) | O2Colors.palette.white.withAlphaComponent(0.08)

let backgroundContainerBrand = MisticaColor.solid(O2Colors.palette.o2BluePrimary | O2Colors.palette.darkModeGrey)

Expand Down
7 changes: 4 additions & 3 deletions Sources/MisticaCommon/Colors/O2NewColorPalette.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ struct O2NewColors: MisticaColors {

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.05) | O2NewColors.palette.white.withAlphaComponent(0.05)

let backgroundContainerPressed = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.05) | O2NewColors.palette.white.withAlphaComponent(0.05)
let backgroundContainerPressed = O2NewColors.palette.darkModeBlack.withAlphaComponent(0.08) | O2NewColors.palette.white.withAlphaComponent(0.08)

let backgroundContainerBrand = MisticaColor.gradient(MisticaGradient(
colors:
Expand Down Expand Up @@ -221,7 +221,7 @@ struct O2NewColors: MisticaColors {

let success = O2NewColors.palette.o2Green

let warning = O2NewColors.palette.o2Orange
let warning = O2NewColors.palette.o2Orange60 | O2NewColors.palette.o2Orange

let promo = O2NewColors.palette.o2Pink

Expand Down Expand Up @@ -326,6 +326,7 @@ public struct O2NewColorPalette {
public let o2Orange = UIColor(hex: "#FFA55A")!
public let o2Orange10 = UIColor(hex: "#FFF6EE")!
public let o2Orange40 = UIColor(hex: "#FFC08B")!
public let o2Orange60 = UIColor(hex: "#F06C00")!
public let o2Orange75 = UIColor(hex: "#996336")!
public let o2Pink = UIColor(hex: "#FA96FF")!
public let o2Pink15 = UIColor(hex: "#FEEAFF")!
Expand Down
4 changes: 2 additions & 2 deletions Sources/MisticaCommon/Colors/TelefonicaColorPalette.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ struct TelefonicaColors: MisticaColors {

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.telefonicaBlue70.withAlphaComponent(0.05) | TelefonicaColors.palette.white.withAlphaComponent(0.05)

let backgroundContainerPressed = TelefonicaColors.palette.telefonicaBlue.withAlphaComponent(0.05) | TelefonicaColors.palette.white.withAlphaComponent(0.05)
let backgroundContainerPressed = TelefonicaColors.palette.telefonicaBlue70.withAlphaComponent(0.08) | TelefonicaColors.palette.white.withAlphaComponent(0.08)

let backgroundContainerBrand = MisticaColor.solid(TelefonicaColors.palette.telefonicaBlue | TelefonicaColors.palette.darkModeGrey)

Expand Down
4 changes: 2 additions & 2 deletions Sources/MisticaCommon/Colors/TuColorPalette.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ struct TuColors: MisticaColors {

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.05) | TuColors.palette.white.withAlphaComponent(0.05)

let backgroundContainerPressed = TuColors.palette.grey9.withAlphaComponent(0.05) | TuColors.palette.white.withAlphaComponent(0.05)
let backgroundContainerPressed = TuColors.palette.grey9.withAlphaComponent(0.08) | TuColors.palette.white.withAlphaComponent(0.08)

let backgroundContainerBrand = MisticaColor.solid(TuColors.palette.primary | TuColors.palette.darkModeGrey)

Expand Down
4 changes: 2 additions & 2 deletions Sources/MisticaCommon/Colors/VivoColorPalette.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ struct VivoColors: MisticaColors {

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.05) | VivoColors.palette.white.withAlphaComponent(0.05)

let backgroundContainerPressed = VivoColors.palette.darkModeBlack.withAlphaComponent(0.05) | VivoColors.palette.white.withAlphaComponent(0.05)
let backgroundContainerPressed = VivoColors.palette.darkModeBlack.withAlphaComponent(0.08) | VivoColors.palette.white.withAlphaComponent(0.08)

let backgroundContainerBrand = MisticaColor.solid(VivoColors.palette.vivoPurple | VivoColors.palette.darkModeGrey)

Expand Down
4 changes: 2 additions & 2 deletions Sources/MisticaCommon/Colors/VivoNewColorPalette.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ struct VivoNewColors: MisticaColors {

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.05) | VivoNewColors.palette.white.withAlphaComponent(0.05)

let backgroundContainerPressed = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.05) | VivoNewColors.palette.white.withAlphaComponent(0.05)
let backgroundContainerPressed = VivoNewColors.palette.darkModeBlack.withAlphaComponent(0.08) | VivoNewColors.palette.white.withAlphaComponent(0.08)

let backgroundContainerBrand = MisticaColor.solid(VivoNewColors.palette.vivoPurple | VivoNewColors.palette.darkModeGrey)

Expand Down
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.