Skip to content

Commit 11cccd6

Browse files
committed
chore: update displayed version of tokens library
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
1 parent 5cd3180 commit 11cccd6

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

DesignToolbox/DesignToolbox/Utils/Bundle+extension.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ extension Bundle {
6868
}
6969

7070
var tokensLibraryVersion: String {
71-
"Tokens version: 0.6.2"
71+
"Tokens version: 0.7.0"
7272
}
7373

7474
// MARK: Private Implementation

OUDS/Core/Themes/Orange/Sources/Values/ComponentTokens/OrangeTheme+ListItemComponentTokens.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import OUDSTokensComponent
1616
import OUDSTokensRaw
1717
import OUDSTokensSemantic
1818

19-
// 🧱 Tokens version: 0.6.2
19+
// 🧱 Tokens version: 0.7.0
2020
// 🤖 Generated by Tokenator
2121

2222
extension OrangeThemeListItemComponentTokensProvider: ListItemComponentTokens {

OUDS/Core/Themes/Orange/Sources/Values/ComponentTokens/OrangeTheme+SelectComponentTokens.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import OUDSTokensComponent
1616
import OUDSTokensRaw
1717
import OUDSTokensSemantic
1818

19-
// 🧱 Tokens version: 0.6.2
19+
// 🧱 Tokens version: 0.7.0
2020
// 🤖 Generated by Tokenator
2121

2222
extension OrangeThemeSelectComponentTokensProvider: SelectComponentTokens {

OUDS/Core/Tokens/ComponentTokens/Sources/_OUDSTokensComponent.docc/OUDSTokensComponent.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ They can be seen as a kind of bridge between components and in the end primitive
77

88
<!-- NOTE: Do not forget to update tokens version -->
99
```
10-
🧱 Tokens version: 0.6.2
10+
🧱 Tokens version: 0.7.0
1111
```
1212

1313
Thus if a component need to change for example its _background color_, and if a _component token_ is used for it, then only the value of this _token_ should be changed without any modification on the _component_ definition.

OUDS/Core/Tokens/RawTokens/Sources/_OUDSTokensRaw.docc/OUDSTokensRaw.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ _Raw tokens_ are smallest _tokens_ possible. They are associated to raw values a
66

77
<!-- NOTE: Do not forget to update tokens version -->
88
```
9-
🧱 Tokens version: 0.6.2
9+
🧱 Tokens version: 0.7.0
1010
```
1111

1212
In fact, we choose to use as most as possible primitive types for raw values, like `Int`, `Double`, `CGFloat` or `String` so as to handle the smallest types with few impacts on the memory for ecodesign principles. Indeed with hundreds of raw tokens, it will be more efficient to store primitive small types than Swift `struct` or `class` objects. Keeping primitive types helps today to expose objects using Objective-C runtime.

OUDS/Core/Tokens/SemanticTokens/Sources/_OUDSTokensSemantic.docc/OUDSTokensSemantic.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ They can be seen as an high level of usage with functional meanings.
77

88
<!-- NOTE: Do not forget to update tokens version -->
99
```
10-
🧱 Tokens version: 0.6.2
10+
🧱 Tokens version: 0.7.0
1111
```
1212

1313
If we need for example to change a warning color for a button (which has its component tokens, see [OUDSTokensComponent](https://ios.unified-design-system.orange.com/documentation/oudstokenscomponent/)), supposing this color is defined as a _semantic token_, we only have to change its assigned value and all components using the _semantic token_ won't be impacted in their definition. In fact, semantic tokens are here to bring meaning, semantic, between raw values and components.

0 commit comments

Comments
 (0)