work in progress icons

This commit is contained in:
Insert5StarName 2023-09-30 21:53:52 +02:00
parent f2e299a7a9
commit 7b179d3a92
251 changed files with 1062 additions and 1062 deletions

View file

@ -377,25 +377,25 @@ function menu(ev: MouseEvent, profileId: string) {
return os.popupMenu([{
text: ts._preferencesBackups.apply,
icon: 'ti ti-check',
icon: 'ph-check ph-bold ph-lg',
action: () => applyProfile(profileId),
}, {
type: 'a',
text: ts.download,
icon: 'ti ti-download',
icon: 'ph-download ph-bold ph-lg',
href: URL.createObjectURL(new Blob([JSON.stringify(profiles.value[profileId], null, 2)], { type: 'application/json' })),
download: `${profiles.value[profileId].name}.json`,
}, null, {
text: ts.rename,
icon: 'ti ti-forms',
icon: 'ph-textbox ph-bold ph-lg',
action: () => rename(profileId),
}, {
text: ts._preferencesBackups.save,
icon: 'ti ti-device-floppy',
icon: 'ph-floppy-disk ph-bold pg-lg',
action: () => save(profileId),
}, null, {
text: ts.delete,
icon: 'ti ti-trash',
icon: 'ph-trash ph-bold ph-lg',
action: () => deleteProfile(profileId),
danger: true,
}], (ev.currentTarget ?? ev.target ?? undefined) as unknown as HTMLElement | undefined);
@ -417,7 +417,7 @@ onUnmounted(() => {
definePageMetadata(computed(() => ({
title: ts.preferencesBackups,
icon: 'ti ti-device-floppy',
icon: 'ph-floppy-disk ph-bold pg-lg',
})));
</script>