Skip to content

Commit

Permalink
feat(skin): update design tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
amegias authored Jul 23, 2024
1 parent b7f666f commit c9a0142
Show file tree
Hide file tree
Showing 39 changed files with 1,309 additions and 1,753 deletions.
281 changes: 144 additions & 137 deletions Sources/MisticaCommon/Colors/BlauColorPalette.swift

Large diffs are not rendered by default.

180 changes: 25 additions & 155 deletions Sources/MisticaCommon/Colors/ColorToolkit+Color.swift

Large diffs are not rendered by default.

307 changes: 25 additions & 282 deletions Sources/MisticaCommon/Colors/ColorToolkit+UIColor.swift

Large diffs are not rendered by default.

14 changes: 6 additions & 8 deletions Sources/MisticaCommon/Colors/MisticaColor.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// MisticaColor.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import UIKit

Expand All @@ -17,8 +13,10 @@ public extension MisticaColor {
static var backgroundBrand: MisticaColor {
MisticaConfig.currentColors.backgroundBrand
}

static var backgroundContainerBrand: MisticaColor {
MisticaConfig.currentColors.backgroundContainerBrand
}
static var cardContentOverlay: MisticaColor {
MisticaConfig.currentColors.cardContentOverlay
}
}
25 changes: 11 additions & 14 deletions Sources/MisticaCommon/Colors/MisticaColors.swift
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
//
// MisticaColors.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import UIKit

public protocol MisticaColors {
var background: UIColor { get }
var backgroundAlternative: UIColor { get }
var backgroundBrand: MisticaColor { get }
var backgroundBrandSecondary: UIColor { get }
var appBarBackground: UIColor { get }
var background: UIColor { get }
var backgroundContainer: UIColor { get }
var backgroundContainerError: UIColor { get }
var backgroundContainerHover: UIColor { get }
Expand All @@ -25,10 +21,10 @@ public protocol MisticaColors {
var backgroundOverlay: UIColor { get }
var backgroundSkeleton: UIColor { get }
var backgroundSkeletonInverse: UIColor { get }
var navigationBarBackground: UIColor { get }
var backgroundAlternative: UIColor { get }
var backgroundBrandTop: UIColor { get }
var backgroundBrandBottom: UIColor { get }
var appBarBackground: UIColor { get }
var navigationBarBackground: UIColor { get }
var skeletonWave: UIColor { get }
var borderLow: UIColor { get }
var border: UIColor { get }
Expand All @@ -51,9 +47,9 @@ public protocol MisticaColors {
var buttonPrimaryBackgroundInverseSelected: UIColor { get }
var buttonSecondaryBorder: UIColor { get }
var buttonSecondaryBorderSelected: UIColor { get }
var buttonSecondaryBorderInverse: UIColor { get }
var buttonSecondaryBackgroundHover: UIColor { get }
var buttonSecondaryBackgroundSelected: UIColor { get }
var buttonSecondaryBorderInverse: UIColor { get }
var buttonSecondaryBorderInverseSelected: UIColor { get }
var buttonSecondaryBackgroundInverseHover: UIColor { get }
var buttonSecondaryBackgroundInverseSelected: UIColor { get }
Expand Down Expand Up @@ -99,11 +95,11 @@ public protocol MisticaColors {
var textPrimaryInverse: UIColor { get }
var textSecondary: UIColor { get }
var textSecondaryInverse: UIColor { get }
var success: UIColor { get }
var warning: UIColor { get }
var error: UIColor { get }
var textError: UIColor { get }
var textErrorInverse: UIColor { get }
var success: UIColor { get }
var warning: UIColor { get }
var promo: UIColor { get }
var highlight: UIColor { get }
var successLow: UIColor { get }
Expand Down Expand Up @@ -138,4 +134,5 @@ public protocol MisticaColors {
var tagBackgroundSuccess: UIColor { get }
var tagBackgroundWarning: UIColor { get }
var tagBackgroundError: UIColor { get }
var cardContentOverlay: MisticaColor { get }
}
281 changes: 144 additions & 137 deletions Sources/MisticaCommon/Colors/MovistarColorPalette.swift

Large diffs are not rendered by default.

281 changes: 144 additions & 137 deletions Sources/MisticaCommon/Colors/O2ColorPalette.swift

Large diffs are not rendered by default.

297 changes: 152 additions & 145 deletions Sources/MisticaCommon/Colors/O2NewColorPalette.swift

Large diffs are not rendered by default.

281 changes: 144 additions & 137 deletions Sources/MisticaCommon/Colors/TelefonicaColorPalette.swift

Large diffs are not rendered by default.

281 changes: 144 additions & 137 deletions Sources/MisticaCommon/Colors/TuColorPalette.swift

Large diffs are not rendered by default.

281 changes: 144 additions & 137 deletions Sources/MisticaCommon/Colors/VivoColorPalette.swift

Large diffs are not rendered by default.

281 changes: 144 additions & 137 deletions Sources/MisticaCommon/Colors/VivoNewColorPalette.swift

Large diffs are not rendered by default.

10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/BlauFontSizes.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// BlauFontSizes.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/BlauFontWeights.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// BlauFontWeights.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/MovistarFontSizes.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// MovistarFontSizes.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/MovistarFontWeights.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// MovistarFontWeights.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/O2FontSizes.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// O2FontSizes.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/O2FontWeights.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// O2FontWeights.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/O2NewFontSizes.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// O2NewFontSizes.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/O2NewFontWeights.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// O2NewFontWeights.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/TelefonicaFontSizes.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// TelefonicaFontSizes.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/TelefonicaFontWeights.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// TelefonicaFontWeights.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/TuFontSizes.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// TuFontSizes.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/TuFontWeights.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// TuFontWeights.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/VivoFontSizes.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// VivoFontSizes.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/VivoFontWeights.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// VivoFontWeights.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/VivoNewFontSizes.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// VivoNewFontSizes.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/Brands/VivoNewFontWeights.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// VivoNewFontWeights.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
12 changes: 4 additions & 8 deletions Sources/MisticaCommon/Fonts/MisticaFontSizes.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
//
// MisticaFontSizes.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

import UIKit
// Generated using Make
// DO NOT EDIT

import Foundation

public protocol MisticaFontSizes {
var tabsLabel: CGFloat { get }
Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Fonts/MisticaFontWeights.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// MisticaFontWeights.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import UIKit

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Radius/Brands/BlauCornerRadius.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// BlauCornerRadius.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Radius/Brands/MovistarCornerRadius.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// MovistarCornerRadius.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
10 changes: 3 additions & 7 deletions Sources/MisticaCommon/Radius/Brands/O2CornerRadius.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//
// O2CornerRadius.swift
//
// Made with ❤️ by Novum
//
// Copyright © Telefonica. All rights reserved.
//

// Generated using Make
// DO NOT EDIT

import Foundation

Expand Down
Loading

0 comments on commit c9a0142

Please sign in to comment.