style: match Raycast launcher layout and appearance
This commit is contained in:
@@ -24,9 +24,10 @@ Open `Package.swift` in Xcode to edit the project. Use the bundled app above to
|
||||
- Type to filter applications; the first match is selected automatically.
|
||||
- Up/Down changes the selection without leaving search.
|
||||
- Return, keypad Enter, the Open Application button, or a double-click opens the selection.
|
||||
- Escape, closing the window, or switching focus away dismisses the launcher.
|
||||
- Escape, Command-W, or switching focus away dismisses the launcher.
|
||||
- Reopen from Finder or the Dock to show it again with an empty search. Dismissal leaves the process running; Command-Q quits it.
|
||||
- Standard macOS text-editing shortcuts work in the search field.
|
||||
- Drag the panel background to move it.
|
||||
|
||||
## Discovery and search
|
||||
|
||||
@@ -36,10 +37,12 @@ Search is case- and accent-insensitive. Ranking is exact name, prefix, substring
|
||||
|
||||
## Native UI
|
||||
|
||||
AppKit owns the window chrome, search field, inset table selection, application icons, buttons, menus, fonts, and semantic colors. Appearance follows macOS light/dark settings; no custom-painted Raycast skin or third-party UI dependencies.
|
||||
The launcher now follows the Raycast reference: a 750 × 474-point, titlebar-free dark panel with rounded corners, native translucency and shadow, a large borderless search field, compact icon rows, neutral rounded selection, right-aligned application labels, and a bottom-right launch pill with a Return key hint. It deliberately uses dark appearance for this initial visual direction.
|
||||
|
||||
AppKit still provides text editing, table navigation, scrolling, application icons, controls, menus, fonts, semantic colors, and visual-effect materials. Custom styling is limited to layout, rounded surfaces, and selection drawing; increased-contrast settings add a selection outline. No third-party UI dependencies, copied Raycast branding, or nonfunctional Actions menu.
|
||||
|
||||
- `Sources/Conjure`: application lifecycle, native window, and application launching.
|
||||
- `Sources/ConjureKit`: filesystem discovery and search ranking.
|
||||
- `Tests/ConjureKitTests`: deterministic discovery and ranking checks.
|
||||
|
||||
The launcher uses Apple's [inset table style](https://developer.apple.com/documentation/appkit/nstableview/style-swift.enum/inset), [application launching](https://developer.apple.com/documentation/appkit/nsworkspace/openapplication(at:configuration:completionhandler:)), and [reopen lifecycle](https://developer.apple.com/documentation/appkit/nsapplicationdelegate/applicationshouldhandlereopen(_:hasvisiblewindows:)).
|
||||
The launcher uses Apple's [visual-effect materials](https://developer.apple.com/documentation/appkit/nsvisualeffectview), [table row selection drawing](https://developer.apple.com/documentation/appkit/nstablerowview/drawselection(in:)), [application launching](https://developer.apple.com/documentation/appkit/nsworkspace/openapplication(at:configuration:completionhandler:)), and [reopen lifecycle](https://developer.apple.com/documentation/appkit/nsapplicationdelegate/applicationshouldhandlereopen(_:hasvisiblewindows:)).
|
||||
|
||||
Reference in New Issue
Block a user