@@ -12,8 +12,7 @@ public enum CommandBarToken: Int, TokenSetKey {
1212 /// The background color of the Command Bar.
1313 case backgroundColor
1414
15- /// The corner radius for each group of item(s) inside the Command Bar.
16- /// On iOS 26+, this is also the corner radius for each Command Bar Button.
15+ /// The corner radius for each Command Bar Button.
1716 case cornerRadius
1817
1918 /// The background color of a single Command Bar Item when in rest.
@@ -65,11 +64,7 @@ public class CommandBarTokenSet: ControlTokenSet<CommandBarToken> {
6564 return . float { GlobalTokens . corner ( . radius120) }
6665
6766 case . itemBackgroundColorRest:
68- if #available( iOS 26 , * ) {
69- return . uiColor { . clear }
70- } else {
71- return . uiColor { theme. color ( . background5) }
72- }
67+ return . uiColor { . clear }
7368
7469 case . itemBackgroundColorHover:
7570 return . uiColor { theme. color ( . background5) }
@@ -102,11 +97,7 @@ public class CommandBarTokenSet: ControlTokenSet<CommandBarToken> {
10297 return . uiFont { theme. typography ( . caption2, adjustsForContentSizeCategory: false ) }
10398
10499 case . shadow:
105- if #available( iOS 26 , * ) {
106- return . shadowInfo { theme. shadow ( . shadow08) }
107- } else {
108- return . shadowInfo { theme. shadow ( . clear) }
109- }
100+ return . shadowInfo { theme. shadow ( . shadow08) }
110101 }
111102 }
112103 }
@@ -116,13 +107,7 @@ public class CommandBarTokenSet: ControlTokenSet<CommandBarToken> {
116107
117108extension CommandBarTokenSet {
118109 /// The spacing between each Command Bar Group.
119- static var groupInterspace : CGFloat {
120- if #available( iOS 26 , * ) {
121- GlobalTokens . spacing ( . size20)
122- } else {
123- GlobalTokens . spacing ( . size80)
124- }
125- }
110+ static let groupInterspace : CGFloat = GlobalTokens . spacing ( . size20)
126111
127112 /// The spacing between each Command Bar Group for iPad.
128113 static let groupInterspaceWide : CGFloat = GlobalTokens . spacing ( . size160)
@@ -137,13 +122,7 @@ extension CommandBarTokenSet {
137122 static let dismissGradientWidth : CGFloat = GlobalTokens . spacing ( . size160)
138123
139124 /// The edge inset values for the Command Bar.
140- static var barInsets : CGFloat {
141- if #available( iOS 26 , * ) {
142- GlobalTokens . spacing ( . size40)
143- } else {
144- GlobalTokens . spacing ( . size80)
145- }
146- }
125+ static let barInsets : CGFloat = GlobalTokens . spacing ( . size40)
147126
148127 /// The edge inset values for the Command Bar Button.
149128 static let buttonContentInsets = NSDirectionalEdgeInsets ( top: 8.0 ,
0 commit comments