Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Resources/ComputerUseHelperIcon.icns
Binary file not shown.
20 changes: 14 additions & 6 deletions Resources/ComputerUseHelperIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 9 additions & 5 deletions Sources/App/AgentCursorPointerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,15 @@ private enum ComputerUseCursorArtwork {
/// artwork into `Resources/ComputerUseHelperIcon.icns` for System Settings.
@MainActor
enum ComputerUseHelperIconRenderer {
private static let canvasSize = NSSize(width: 1_024, height: 1_024)
private static let plateCornerRadius: CGFloat = 224
private static let cursorTranslation = CGPoint(x: 293.4, y: 293.4)
private static let cursorScale: CGFloat = 44.8
private static let rimWidth: CGFloat = 14
private static let visualTokens = ComputerUseOnboardingVisualTokens.reference
private static let canvasSize = NSSize(
width: visualTokens.helperIconCanvasSize.width,
height: visualTokens.helperIconCanvasSize.height
)
private static let plateCornerRadius = visualTokens.helperIconCornerRadius
private static let cursorTranslation = visualTokens.helperIconCursorTranslation
private static let cursorScale = visualTokens.helperIconCursorScale
private static let rimWidth = visualTokens.helperIconRimWidth
private static var cachedImages: [Bool: NSImage] = [:]

private static func plateGradientColors(dark: Bool) -> [CGColor] {
Expand Down
Loading
Loading