You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OUDS/Core/OUDS/Sources/OUDSTheme/OUDSTheme+SemanticTokens/OUDSTheme+ColorSemanticTokens.swift
+17-2
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ import OUDSTokensSemantic
25
25
26
26
/// Defines basic values common to all themes for `ColorSemanticTokens`.
27
27
/// These values can be overriden inside `OUDSTheme` subclasses (in extensions or not, in the same module or not) thanks to the `@objc open` combination.
28
+
/// Some tokens do not have values assigned in the design system, and must be overriden.
29
+
/// Some tokens must be overiden in `OrangeTheme` side because they rely on Oange brand colors.
// WARNING: #124 - Colors to use are part of OUDSOran MultipleColorTokens(light: ColorRawTokens., dark: ColorRawTokens.)heme so are not reachable at this level, as a workaround add raw values
38
+
// WARNING: #124 - Colors to use are part of Orange Theme so are not reachable at this level, as a workaround add raw values
37
39
@objcopenvarcolorBackgroundTertiary:ColorSemanticToken{fatalError("🤖 Raw token unavailable for colorBackgroundBrandSecondary!")}
// WARNING: #124 - Colors to use are part of OUDSOran MultipleColorTokens(light: ColorRawTokens., dark: ColorRawTokens.)heme so are not reachable at this level, as a workaround add raw values
43
+
// WARNING: #124 - Colors to use are part of Orange Theme so are not reachable at this level, as a workaround add raw values
42
44
@objcopenvarcolorBackgroundBrandPrimary:ColorSemanticToken{fatalError("🤖 Raw token unavailable for colorBackgroundBrandPrimary!")}
43
45
44
46
@objcopenvarcolorBackgroundBrandSecondary:ColorSemanticToken{fatalError("🤖 No value defined for colorBackgroundBrandSecondary!")}
// WARNING: #124 - Colors to use are part of Orange Theme so are not reachable at this level, as a workaround add raw values
76
79
@objcopenvarcolorBackgroundStatusAccentMuted:ColorSemanticToken{fatalError("🤖 Raw token unavailable for colorBackgroundStatusAccentMuted!")}
77
80
81
+
// WARNING: #124 - Colors to use are part of Orange Theme so are not reachable at this level, as a workaround add raw values
78
82
@objcopenvarcolorBackgroundStatusAccentMutedOnBackgroundEmphasized:ColorSemanticToken{fatalError("🤖 Raw token unavailable for colorBackgroundStatusAccentMutedOnBackgroundEmphasized!")}
// WARNING: #124 - Colors to use are part of Orange Theme so are not reachable at this level, as a workaround add raw values
162
168
@objcopenvarcolorBorderBrandPrimaryOnBackgroundEmphasized:ColorSemanticToken{fatalError("🤖 Raw token unavailable for colorBorderBrandPrimaryOnBackgroundEmphasized!")}
163
169
170
+
// WARNING: #124 - Colors to use are part of Orange Theme so are not reachable at this level, as a workaround add raw values
164
171
@objcopenvarcolorBorderBrandPrimary:ColorSemanticToken{fatalError("🤖 Raw token unavailable for colorBorderBrandPrimary!")}
165
172
166
173
@objcopenvarcolorBorderBrandSecondary:ColorSemanticToken{fatalError("🤖 No value defined for colorBorderBrandSecondary!")}
// WARNING: #124 - Colors to use are part of Orange Theme so are not reachable at this level, as a workaround add raw values
188
196
@objcopenvarcolorActionSelected:ColorSemanticToken{fatalError("🤖 Raw token unavailable for colorActionSelected!")}
189
197
198
+
// WARNING: #124 - Colors to use are part of Orange Theme so are not reachable at this level, as a workaround add raw values
190
199
@objcopenvarcolorActionSelectedOnBackgroundEmphasized:ColorSemanticToken{fatalError("🤖 Raw token unavailable for colorActionSelectedOnBackgroundEmphasized!")}
// WARNING: #124 - Colors to use are part of Orange Theme so are not reachable at this level, as a workaround add raw values
208
218
@objcopenvarcolorActionPrimaryPressed:ColorSemanticToken{fatalError("🤖 Raw token unavailable for colorActionPrimaryPressed!")}
209
219
220
+
// WARNING: #124 - Colors to use are part of Orange Theme so are not reachable at this level, as a workaround add raw values
210
221
@objcopenvarcolorActionPrimaryPressedOnBackgroundEmphasized:ColorSemanticToken{fatalError("🤖 Raw token unavailable for colorActionPrimaryPressedOnBackgroundEmphasized!")}
211
222
223
+
// WARNING: #124 - Colors to use are part of Orange Theme so are not reachable at this level, as a workaround add raw values
212
224
@objcopenvarcolorActionPrimaryLoading:ColorSemanticToken{fatalError("🤖 Raw token unavailable for colorActionPrimaryLoading!")}
213
225
226
+
// WARNING: #124 - Colors to use are part of Orange Theme so are not reachable at this level, as a workaround add raw values
214
227
@objcopenvarcolorActionPrimaryLoadingOnBackgroundEmphasized:ColorSemanticToken{fatalError("🤖 Raw token unavailable for colorActionPrimaryLoadingOnBackgroundEmphasized!")}
Copy file name to clipboardExpand all lines: OUDS/Core/Themes/Inverse/Sources/_OUDSThemesInverse.docc/OUDSThemesInverse.md
+2
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ This theme overrides the [Orange theme](https://ios.unified-design-system.orange
7
7
This is an override of the [Orange theme](https://ios.unified-design-system.orange.com/documentation/oudsthemesorange/) with some inverted colors.
8
8
It can override any properties from its superclass, and can be derived too.
9
9
10
+
The aim of the theme is to provide a particular set of colors for dedicated applications and use cases, like for example B2B apps or teams needing eye comfort. It can be seen as an extended dark mode.
Copy file name to clipboardExpand all lines: OUDS/Core/Themes/Orange/Sources/_OUDSThemesOrange.docc/OUDSThemesOrange.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,9 @@ The Orange theme overrides some tokens from the basic `OUDSTheme` and should be
4
4
5
5
## Overview
6
6
7
-
It defines its own colors and override the semantic tokens to use the right colors. This is the default theme any app should used, and can be subclassed to define for example themes dedicated to countries. It embeds also in its target the brand colors which are not shared not exposed in lower level targets.
7
+
It defines its own colors and override the semantic tokens to use the right colors.
8
+
This is the default theme any app should use, and can be subclassed to define for example themes dedicated to countries.
9
+
It embeds also in its target the brand colors which are not shared not exposed in lower level targets.
0 commit comments