Skip to content

Commit

Permalink
chore(🤖): updateElevationRawTokens (tokenator generation 2024102217…
Browse files Browse the repository at this point in the history
…4330) (#235)

Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
Co-authored-by: boosted-bot <[email protected]>
Co-authored-by: Pierre-Yves Lapersonne <[email protected]>
  • Loading branch information
3 people authored Oct 23, 2024
1 parent d4238e7 commit 73f2744
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 21 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- [Library] Update `ElevationRawTokens` (tokenator *20241022174330*)
- [Library] Update `DimensionRawTokens` (tokenator *20241022132646*)
- [Tool] Improve configuration of SwiftLint, update to v0.57.0 ([#77](https://github.com/Orange-OpenSource/ouds-ios/pull/77))
- [Library] Rename all color semantic tokens `*OnBackground*` to `*OnBg*` ([#208](https://github.com/Orange-OpenSource/ouds-ios/issues/208))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,9 @@
// Software description: A SwiftUI components library with code examples for Orange Unified Design System
//

// ଘ( ・ω・)_/゚・:*:・。☆
// [File to generate with the tokenator]

// swiftlint:disable missing_docs

/// Extracted in a separated file to help the *Figma* JSON to Swift parser to generate files to include easily.
extension ElevationRawTokens {

// MARK: Primitive token - Elevation - X

public static let elevationX0: ElevationRawToken = 0

// MARK: Primitive token - Elevation - Y

public static let elevationY0: ElevationRawToken = 0
public static let elevationY100: ElevationRawToken = 1
public static let elevationY200: ElevationRawToken = 2
public static let elevationY300: ElevationRawToken = 4
public static let elevationY400: ElevationRawToken = 8
public static let elevationY500: ElevationRawToken = 12
public static let elevationY600: ElevationRawToken = 20

// MARK: Primitive token - Elevation - Blur

public static let elevationBlur0: ElevationRawToken = 0
public static let elevationBlur100: ElevationRawToken = 1
public static let elevationBlur200: ElevationRawToken = 2
Expand All @@ -43,6 +22,14 @@ extension ElevationRawTokens {
public static let elevationBlur500: ElevationRawToken = 8
public static let elevationBlur600: ElevationRawToken = 12
public static let elevationBlur700: ElevationRawToken = 20
public static let elevationX0: ElevationRawToken = 0
public static let elevationY0: ElevationRawToken = 0
public static let elevationY100: ElevationRawToken = 1
public static let elevationY200: ElevationRawToken = 2
public static let elevationY300: ElevationRawToken = 4
public static let elevationY400: ElevationRawToken = 8
public static let elevationY500: ElevationRawToken = 12
public static let elevationY600: ElevationRawToken = 20
}

// swiftlint:enable missing_docs

0 comments on commit 73f2744

Please sign in to comment.