mirror of
https://github.com/ByteAtATime/raycast-linux.git
synced 2025-08-31 11:17:27 +00:00
feat(quicklinks): add quicklink icon
This commit is contained in:
parent
4a6f9bdef6
commit
8232acb2af
3 changed files with 4 additions and 2 deletions
BIN
src/lib/assets/quicklinks-package-1616x16@2x.png
Normal file
BIN
src/lib/assets/quicklinks-package-1616x16@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
|
@ -11,6 +11,7 @@
|
|||
import MainLayout from './layout/MainLayout.svelte';
|
||||
import Header from './layout/Header.svelte';
|
||||
import ActionBar from './nodes/shared/ActionBar.svelte';
|
||||
import quicklinkIcon from '$lib/assets/quicklinks-package-1616x16@2x.png?inline';
|
||||
|
||||
type AppInfo = {
|
||||
name: string;
|
||||
|
@ -129,7 +130,7 @@
|
|||
</div>
|
||||
{/snippet}
|
||||
{#snippet footer()}
|
||||
<ActionBar>
|
||||
<ActionBar icon={quicklinkIcon} title="Create Quicklink">
|
||||
{#snippet primaryAction({ props })}
|
||||
<Button {...props} onclick={handleSave}><Save class="mr-2 size-4" /> Save Quicklink</Button>
|
||||
{/snippet}
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
import fileSearchCommandIcon from '$lib/assets/command-file-search-1616x16@2x.png?inline';
|
||||
import snippetIcon from '$lib/assets/snippets-package-1616x16@2x.png?inline';
|
||||
import storeCommandIcon from '$lib/assets/command-store-1616x16@2x.png?inline';
|
||||
import quicklinkIcon from '$lib/assets/quicklinks-package-1616x16@2x.png?inline';
|
||||
|
||||
const storePlugin: PluginInfo = {
|
||||
title: 'Store',
|
||||
|
@ -70,7 +71,7 @@
|
|||
pluginName: 'raycast',
|
||||
commandName: 'create-quicklink',
|
||||
pluginPath: 'builtin:create-quicklink',
|
||||
icon: 'link-16',
|
||||
icon: quicklinkIcon,
|
||||
preferences: [],
|
||||
mode: 'view',
|
||||
owner: 'raycast'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue