Skip to content

Commit 5dfff10

Browse files
authored
Updated Command Bar Tokens (#2275)
1 parent e08e186 commit 5dfff10

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Sources/FluentUI_iOS/Components/CommandBar/CommandBarTokenSet.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public class CommandBarTokenSet: ControlTokenSet<CommandBarToken> {
8181
}
8282

8383
case .cornerRadius:
84-
return .float { GlobalTokens.corner(.radius120) }
84+
return .float { GlobalTokens.corner(.radius160) }
8585

8686
case .itemBackgroundColorRest:
8787
return .uiColor { .clear }
@@ -146,7 +146,7 @@ extension CommandBarTokenSet {
146146
static let groupInterspaceWide: CGFloat = GlobalTokens.spacing(.size160)
147147

148148
/// The spacing between each Command Bar Item.
149-
static let itemInterspace: CGFloat = GlobalTokens.spacing(.size20)
149+
static let itemInterspace: CGFloat = GlobalTokens.spacing(.size40)
150150

151151
/// The buffer spacing left/right of each Command Bar Group.
152152
static let leftRightBuffer: CGFloat = GlobalTokens.spacing(.size20)
@@ -158,9 +158,9 @@ extension CommandBarTokenSet {
158158
static let barInsets: CGFloat = GlobalTokens.spacing(.size40)
159159

160160
/// The edge inset values for the Command Bar Button.
161-
static let buttonContentInsets = NSDirectionalEdgeInsets(top: 8.0,
161+
static let buttonContentInsets = NSDirectionalEdgeInsets(top: 4.0,
162162
leading: 10.0,
163-
bottom: 8.0,
163+
bottom: 4.0,
164164
trailing: 10.0)
165165

166166
/// The padding between the Command Bar Button image and title.

0 commit comments

Comments
 (0)