fix: icons being inconsistent and PG (#136)
This commit is contained in:
parent
11e7cfc7a0
commit
08de1f7baa
135 changed files with 282 additions and 282 deletions
|
|
@ -160,7 +160,7 @@ const headerActions = $computed(() => {
|
|||
} : undefined, {
|
||||
type: 'switch',
|
||||
text: i18n.ts.fileAttachedOnly,
|
||||
icon: 'ph-image ph-bold pg-lg',
|
||||
icon: 'ph-image ph-bold ph-lg',
|
||||
ref: $$(onlyFiles),
|
||||
}], ev.currentTarget ?? ev.target);
|
||||
},
|
||||
|
|
@ -168,7 +168,7 @@ const headerActions = $computed(() => {
|
|||
];
|
||||
if (deviceKind === 'desktop') {
|
||||
tmp.unshift({
|
||||
icon: 'ph-arrows-counter-clockwise ph-bold pg-lg',
|
||||
icon: 'ph-arrows-counter-clockwise ph-bold ph-lg',
|
||||
text: i18n.ts.reload,
|
||||
handler: (ev: Event) => {
|
||||
console.log('called');
|
||||
|
|
@ -182,7 +182,7 @@ const headerActions = $computed(() => {
|
|||
const headerTabs = $computed(() => [...(defaultStore.reactiveState.pinnedUserLists.value.map(l => ({
|
||||
key: 'list:' + l.id,
|
||||
title: l.name,
|
||||
icon: 'ph-star ph-bold pg-lg',
|
||||
icon: 'ph-star ph-bold ph-lg',
|
||||
iconOnly: true,
|
||||
}))), {
|
||||
key: 'home',
|
||||
|
|
@ -192,12 +192,12 @@ const headerTabs = $computed(() => [...(defaultStore.reactiveState.pinnedUserLis
|
|||
}, ...(isLocalTimelineAvailable ? [{
|
||||
key: 'local',
|
||||
title: i18n.ts._timelines.local,
|
||||
icon: 'ph-planet ph-bold pg-lg',
|
||||
icon: 'ph-planet ph-bold ph-lg',
|
||||
iconOnly: true,
|
||||
}, {
|
||||
key: 'social',
|
||||
title: i18n.ts._timelines.social,
|
||||
icon: 'ph-rocket-launch ph-bold pg-lg',
|
||||
icon: 'ph-rocket-launch ph-bold ph-lg',
|
||||
iconOnly: true,
|
||||
}] : []), ...(isGlobalTimelineAvailable ? [{
|
||||
key: 'global',
|
||||
|
|
@ -205,12 +205,12 @@ const headerTabs = $computed(() => [...(defaultStore.reactiveState.pinnedUserLis
|
|||
icon: 'ph-globe-hemisphere-west ph-bold ph-lg',
|
||||
iconOnly: true,
|
||||
}] : []), {
|
||||
icon: 'ph-list ph-bold pg-lg',
|
||||
icon: 'ph-list ph-bold ph-lg',
|
||||
title: i18n.ts.lists,
|
||||
iconOnly: true,
|
||||
onClick: chooseList,
|
||||
}, {
|
||||
icon: 'ph-flying-saucer ph-bold pg-lg',
|
||||
icon: 'ph-flying-saucer ph-bold ph-lg',
|
||||
title: i18n.ts.antennas,
|
||||
iconOnly: true,
|
||||
onClick: chooseAntenna,
|
||||
|
|
@ -225,7 +225,7 @@ const headerTabsWhenNotLogin = $computed(() => [
|
|||
...(isLocalTimelineAvailable ? [{
|
||||
key: 'local',
|
||||
title: i18n.ts._timelines.local,
|
||||
icon: 'ph-planet ph-bold pg-lg',
|
||||
icon: 'ph-planet ph-bold ph-lg',
|
||||
iconOnly: true,
|
||||
}] : []),
|
||||
...(isGlobalTimelineAvailable ? [{
|
||||
|
|
@ -238,7 +238,7 @@ const headerTabsWhenNotLogin = $computed(() => [
|
|||
|
||||
definePageMetadata(computed(() => ({
|
||||
title: i18n.ts.timeline,
|
||||
icon: src === 'local' ? 'ph-planet ph-bold pg-lg' : src === 'social' ? 'ph-rocket-launch ph-bold pg-lg' : src === 'global' ? 'ph-globe-hemisphere-west ph-bold ph-lg' : 'ph-house ph-bold ph-lg',
|
||||
icon: src === 'local' ? 'ph-planet ph-bold ph-lg' : src === 'social' ? 'ph-rocket-launch ph-bold ph-lg' : src === 'global' ? 'ph-globe-hemisphere-west ph-bold ph-lg' : 'ph-house ph-bold ph-lg',
|
||||
})));
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue