File tree 5 files changed +11
-7
lines changed
ViewModifiers/ColoredSurfaceModifiers
Themes/Orange/Sources/Values/SemanticTokens
5 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 5
5
base64
6
6
nkf
7
7
rexml
8
+ abbrev (0.1.2 )
8
9
activesupport (7.2.2.1 )
9
10
base64
10
11
benchmark (>= 0.3 )
@@ -315,14 +316,14 @@ PLATFORMS
315
316
arm-linux-gnu
316
317
arm-linux-musl
317
318
arm64-darwin
318
- ruby
319
319
x86-linux-gnu
320
320
x86-linux-musl
321
321
x86_64-darwin
322
322
x86_64-linux-gnu
323
323
x86_64-linux-musl
324
324
325
325
DEPENDENCIES
326
+ abbrev (= 0.1.2 )
326
327
cocoapods (= 1.16.2 )
327
328
fastlane (= 2.227.0 )
328
329
fastlane-plugin-changelog (= 0.16.0 )
Original file line number Diff line number Diff line change @@ -56,4 +56,3 @@ public struct OUDSColoredSurface<Content>: View where Content: View {
56
56
content ( ) . modifier ( OUDSColoredSurfaceModifier ( backgroundSurfaceColor: backgroundSurfaceColor) )
57
57
}
58
58
}
59
-
Original file line number Diff line number Diff line change 11
11
// Software description: A SwiftUI components library with code examples for Orange Unified Design System
12
12
//
13
13
14
+ import OUDSTokensSemantic
15
+ import SwiftUI
16
+
14
17
/// `ViewModifier` which helps to apply a predefined color mode on a view.
15
- /// This mode is based on `` OUDSColoredSurface.SurfaceColor` ` and defines which tyê of color scheme
18
+ /// This mode is based on `OUDSColoredSurface.SurfaceColor` and defines which tyê of color scheme
16
19
/// and monochrome must be considered.
17
20
public struct OUDSColoredSurfaceModifier : ViewModifier {
18
21
Original file line number Diff line number Diff line change 11
11
// Software description: A SwiftUI components library with code examples for Orange Unified Design System
12
12
//
13
13
14
+ import OUDSTokensSemantic
14
15
import SwiftUI
15
16
16
17
extension View {
Original file line number Diff line number Diff line change @@ -120,10 +120,10 @@ extension OrangeThemeColorModeSemanticTokensProvider: ColorModeMultipleSemanticT
120
120
if mode. isEqual ( modeOnStatusAccentMuted) { return colors. colorSurfaceStatusAccentMuted }
121
121
if mode. isEqual ( modeOnStatusInfoEmphasized) { return colors. colorSurfaceStatusInfoEmphasized }
122
122
if mode. isEqual ( modeOnStatusInfoMuted) { return colors. colorSurfaceStatusInfoMuted }
123
- if mode. isEqual ( modeOnStatusNeutralEmphasized) { return colors. colorSurfaceStatusNegativeEmphasized }
124
- if mode. isEqual ( modeOnStatusNeutralMuted) { return colors. colorSurfaceStatusNegativeMuted }
125
- if mode. isEqual ( modeOnStatusNegativeEmphasized) { return colors. colorSurfaceStatusNeutralEmphasized }
126
- if mode. isEqual ( modeOnStatusNegativeMuted) { return colors. colorSurfaceStatusNeutralMuted }
123
+ if mode. isEqual ( modeOnStatusNeutralEmphasized) { return colors. colorSurfaceStatusNeutralEmphasized }
124
+ if mode. isEqual ( modeOnStatusNeutralMuted) { return colors. colorSurfaceStatusNeutralMuted }
125
+ if mode. isEqual ( modeOnStatusNegativeEmphasized) { return colors. colorSurfaceStatusNegativeEmphasized }
126
+ if mode. isEqual ( modeOnStatusNegativeMuted) { return colors. colorSurfaceStatusNegativeMuted }
127
127
if mode. isEqual ( modeOnStatusPositiveEmphasized) { return colors. colorSurfaceStatusPositiveEmphasized }
128
128
if mode. isEqual ( modeOnStatusPositiveMuted) { return colors. colorSurfaceStatusPositiveMuted }
129
129
if mode. isEqual ( modeOnStatusWarningEmphasized) { return colors. colorSurfaceStatusWarningEmphasized }
You can’t perform that action at this time.
0 commit comments