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

chore: update tokens #306

Closed
wants to merge 1 commit into from
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ import Foundation
import OUDSTokensRaw
import OUDSTokensSemantic

// ଘ( ・ω・)_/゚・:*:・。☆
// [File generated by the tokenator since at least 21/11/2024]

extension OUDSTheme: BorderSemanticTokens {
@objc open var borderRadiusDefault: BorderRadiusSemanticToken { BorderRawTokens.borderRadius0 }
@objc open var borderRadiusMedium: BorderRadiusSemanticToken { BorderRawTokens.borderRadius150 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@
import OUDSTokensRaw
import OUDSTokensSemantic

// ଘ( ・ω・)_/゚・:*:・。☆
// [File generated by the tokenator since at least 21/11/2024]

// swiftlint:disable identifier_name

extension OUDSTheme: ElevationSemanticTokens {

Check failure on line 18 in OUDS/Core/OUDS/Sources/OUDSTheme/OUDSTheme+SemanticTokens/OUDSTheme+ElevationSemanticTokens.swift

View workflow job for this annotation

GitHub Actions / ui-test

type 'OUDSTheme' does not conform to protocol 'ElevationSemanticTokens'

Check failure on line 18 in OUDS/Core/OUDS/Sources/OUDSTheme/OUDSTheme+SemanticTokens/OUDSTheme+ElevationSemanticTokens.swift

View workflow job for this annotation

GitHub Actions / build

type 'OUDSTheme' does not conform to protocol 'ElevationSemanticTokens'

Check failure on line 18 in OUDS/Core/OUDS/Sources/OUDSTheme/OUDSTheme+SemanticTokens/OUDSTheme+ElevationSemanticTokens.swift

View workflow job for this annotation

GitHub Actions / unit-test

type 'OUDSTheme' does not conform to protocol 'ElevationSemanticTokens'

@objc open var elevationBlurDrag: ElevationBlurSemanticToken { ElevationRawTokens.elevationBlur400 }
@objc open var elevationBlurNone: ElevationBlurSemanticToken { ElevationRawTokens.elevationBlur0 }
@objc open var elevationBlurOverlayDefault: ElevationBlurSemanticToken { ElevationRawTokens.elevationBlur300 }
Expand All @@ -30,7 +24,6 @@
@objc open var elevationBlurStickyDefault: ElevationBlurSemanticToken { ElevationRawTokens.elevationBlur400 }
@objc open var elevationBlurStickyEmphasized: ElevationBlurSemanticToken { ElevationRawTokens.elevationBlur400 }
@objc open var elevationBlurStickyNavigationScrolled: ElevationBlurSemanticToken { ElevationRawTokens.elevationBlur400 }

@objc open var elevationXDrag: ElevationXSemanticToken { ElevationRawTokens.elevationX0 }
@objc open var elevationXNone: ElevationXSemanticToken { ElevationRawTokens.elevationX0 }
@objc open var elevationXOverlayDefault: ElevationXSemanticToken { ElevationRawTokens.elevationX0 }
Expand All @@ -39,7 +32,6 @@
@objc open var elevationXStickyDefault: ElevationXSemanticToken { ElevationRawTokens.elevationX0 }
@objc open var elevationXStickyEmphasized: ElevationXSemanticToken { ElevationRawTokens.elevationX0 }
@objc open var elevationXStickyNavigationScrolled: ElevationXSemanticToken { ElevationRawTokens.elevationX0 }

@objc open var elevationYDrag: ElevationYSemanticToken { ElevationRawTokens.elevationY300 }
@objc open var elevationYNone: ElevationYSemanticToken { ElevationRawTokens.elevationY0 }
@objc open var elevationYOverlayDefault: ElevationYSemanticToken { ElevationRawTokens.elevationY200 }
Expand All @@ -48,23 +40,12 @@
@objc open var elevationYStickyDefault: ElevationYSemanticToken { ElevationRawTokens.elevationY300 }
@objc open var elevationYStickyEmphasized: ElevationYSemanticToken { ElevationRawTokens.elevationY300 }
@objc open var elevationYStickyNavigationScrolled: ElevationYSemanticToken { ElevationRawTokens.elevationY300 }

@objc open var elevationColorDragLight: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack500 }
@objc open var elevationColorDragDark: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack500 }
@objc open var elevationColorNoneLight: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack0 }
@objc open var elevationColorNoneDark: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack0 }
@objc open var elevationColorOverlayDefaultLight: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack400 }
@objc open var elevationColorOverlayDefaultDark: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack400 }
@objc open var elevationColorOverlayEmphasizedLight: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack300 }
@objc open var elevationColorOverlayEmphasizedDark: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack300 }
@objc open var elevationColorRaisedLight: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack500 }
@objc open var elevationColorRaisedDark: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack500 }
@objc open var elevationColorStickyDefaultLight: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack300 }
@objc open var elevationColorStickyDefaultDark: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack300 }
@objc open var elevationColorStickyEmphasizedLight: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack300 }
@objc open var elevationColorStickyEmphasizedDark: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack300 }
@objc open var elevationColorStickyNavigationScrolledLight: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack300 }
@objc open var elevationColorStickyNavigationScrolledDark: ElevationColorSemanticToken { ColorRawTokens.colorTransparentBlack300 }
@objc open var elevationColorDrag: ElevationColorSemanticToken { ElevationColorSemanticToken(ColorRawTokens.colorTransparentBlack500) }
@objc open var elevationColorNone: ElevationColorSemanticToken { ElevationColorSemanticToken(ColorRawTokens.colorTransparentBlack0) }
@objc open var elevationColorOverlayDefault: ElevationColorSemanticToken { ElevationColorSemanticToken(ColorRawTokens.colorTransparentBlack400) }
@objc open var elevationColorOverlayEmphasized: ElevationColorSemanticToken { ElevationColorSemanticToken(ColorRawTokens.colorTransparentBlack300) }
@objc open var elevationColorRaised: ElevationColorSemanticToken { ElevationColorSemanticToken(ColorRawTokens.colorTransparentBlack500) }
@objc open var elevationColorStickyDefault: ElevationColorSemanticToken { ElevationColorSemanticToken(ColorRawTokens.colorTransparentBlack300) }
@objc open var elevationColorStickyEmphasized: ElevationColorSemanticToken { ElevationColorSemanticToken(ColorRawTokens.colorTransparentBlack300) }
@objc open var elevationColorStickyNavigationScrolled: ElevationColorSemanticToken { ElevationColorSemanticToken(ColorRawTokens.colorTransparentBlack300) }
}

// swiftlint:enable identifier_name
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ import Foundation
import OUDSTokensRaw
import OUDSTokensSemantic

// ଘ( ・ω・)_/゚・:*:・。☆
// [File generated by the tokenator since at least 21/11/2024]

extension OUDSTheme: OpacitySemanticTokens {
@objc open var opacityMedium: OpacitySemanticToken { OpacityRawTokens.opacity500 }
@objc open var opacityOpaque: OpacitySemanticToken { OpacityRawTokens.opacity900 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@

import OUDSTokensRaw

// ଘ( ・ω・)_/゚・:*:・。☆
// [File to generate by the tokenator]
// WARNING: Not synchronized anymore with the Figjam / Figma by developers team
// Create an issue for update https://github.com/Orange-OpenSource/ouds-ios/issues/new?template=token_update.yml

// swiftlint:disable missing_docs

extension OrangeBrandColorRawTokens {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
// Software description: A SwiftUI components library with code examples for Orange Unified Design System
//

// ଘ( ・ω・)_/゚・:*:・。☆
// [File generated by the tokenator since at least 21/11/2024]

// swiftlint:disable missing_docs

extension BorderRawTokens {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
// Software description: A SwiftUI components library with code examples for Orange Unified Design System
//

// ଘ( ・ω・)_/゚・:*:・。☆
// [File generated by the tokenator since at least 21/11/2024]

// swiftlint:disable missing_docs

extension ColorRawTokens {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
// Software description: A SwiftUI components library with code examples for Orange Unified Design System
//

// ଘ( ・ω・)_/゚・:*:・。☆
// [File generated by the tokenator since at least 21/11/2024]

// swiftlint:disable missing_docs

extension DimensionRawTokens {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
// Software description: A SwiftUI components library with code examples for Orange Unified Design System
//

// ଘ( ・ω・)_/゚・:*:・。☆
// [File generated by the tokenator since at least 21/11/2024]

// swiftlint:disable missing_docs

extension ElevationRawTokens {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
// Software description: A SwiftUI components library with code examples for Orange Unified Design System
//

// ଘ( ・ω・)_/゚・:*:・。☆
// [File generated by the tokenator since at least 21/11/2024]

// swiftlint:disable missing_docs

extension OpacityRawTokens {
Expand Down
Loading