Skip to content

Commit 52ee98e

Browse files
committed
fix: unified icons
1 parent 59bc9ed commit 52ee98e

File tree

18 files changed

+29
-29
lines changed

18 files changed

+29
-29
lines changed

packages/vite/src/app/components/data/AssetDetails.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function openInEditor() {
7777
<div flex-auto />
7878
<div flex="~ gap-2">
7979
<button btn-action @click="openInEditor">
80-
<div i-carbon-launch />
80+
<div i-ph-arrow-square-out-duotone />
8181
Open in editor
8282
</button>
8383
<button btn-action @click="showSource = true">
@@ -96,7 +96,7 @@ function openInEditor() {
9696
<span flex-auto />
9797
<DisplayIconButton
9898
title="Line Wrapping"
99-
class-icon="i-carbon-text-wrap"
99+
class-icon="i-ph-arrow-u-down-left-duotone"
100100
:active="settings.codeviewerLineWrap"
101101
@click="settings.codeviewerLineWrap = !settings.codeviewerLineWrap"
102102
/>

packages/vite/src/app/components/data/ChunkDetails.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ withDefaults(defineProps<{
2626

2727
<span op50 font-mono>#{{ chunk.chunk_id }}</span>
2828
<div flex="~ gap-1 items-center">
29-
<div i-carbon-document-import />
29+
<div i-ph-file-arrow-up-duotone />
3030
{{ chunk.imports.length }}
3131
</div>
3232
<div flex="~ gap-1 items-center">

packages/vite/src/app/components/data/PluginDetailsLoader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const totalDuration = computed(() => state.value?.calls?.reduce((arc, item) => a
9494
/>
9595
<span op40>|</span>
9696
<DisplayNumberBadge
97-
:number="state?.calls?.length ?? 0" icon="i-ph:arrow-counter-clockwise"
97+
:number="state?.calls?.length ?? 0" icon="i-ph-arrow-counter-clockwise"
9898
color="transparent color-scale-neutral"
9999
:title="`Total calls: ${state?.calls?.length ?? 0}`"
100100
/>

packages/vite/src/app/components/data/PluginDetailsTable.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function toggleDurationSortType() {
8989
Module
9090
<VMenu>
9191
<span w-6 h-6 rounded-full cursor-pointer hover="bg-active" flex="~ items-center justify-center">
92-
<i text-xs class="i-carbon-filter" :class="filterModuleTypes.length !== searchFilterTypes.length ? 'text-primary op100' : 'op50'" />
92+
<i text-xs class="i-ph-funnel-duotone" :class="filterModuleTypes.length !== searchFilterTypes.length ? 'text-primary op100' : 'op50'" />
9393
</span>
9494
<template #popper>
9595
<div class="p2" flex="~ col gap2">
@@ -126,7 +126,7 @@ function toggleDurationSortType() {
126126
<button flex="~ row gap1 items-center justify-center" w-full @click="toggleDurationSortType">
127127
Duration
128128
<span w-6 h-6 rounded-full cursor-pointer hover="bg-active" flex="~ items-center justify-center">
129-
<i text-xs :class="[durationSortType !== 'asc' ? 'i-carbon-arrow-down' : 'i-carbon-arrow-up', durationSortType ? 'op100 text-primary' : 'op50']" />
129+
<i text-xs :class="[durationSortType !== 'asc' ? 'i-ph-arrow-down-duotone' : 'i-ph-arrow-up-duotone', durationSortType ? 'op100 text-primary' : 'op50']" />
130130
</span>
131131
</button>
132132
</div>

packages/vite/src/app/components/display/ChunkImports.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const { state: chunk } = useAsyncState(
4545
<div text-sm flex="~ items-center gap-2">
4646
<span op50 font-mono>#{{ chunk.chunk_id }}</span>
4747
<div flex="~ gap-1 items-center">
48-
<div i-carbon-document-import />
48+
<div i-ph-file-arrow-up-duotone />
4949
{{ chunk.imports.length }}
5050
</div>
5151
<div flex="~ gap-1 items-center">

packages/vite/src/app/components/display/ModuleGraph.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ onMounted(() => {
146146
title="Expand All"
147147
@click="expandAll()"
148148
>
149-
<div class="i-carbon:expand-categories" />
149+
<div class="i-ph-arrows-out-simple-duotone" />
150150
</button>
151151
<button
152152
v-tooltip.left="'Collapse All'"
@@ -157,7 +157,7 @@ onMounted(() => {
157157
title="Collapse All"
158158
@click="collapseAll()"
159159
>
160-
<div class="i-carbon:collapse-categories" />
160+
<div class="i-ph-arrows-in-simple-duotone" />
161161
</button>
162162

163163
<div border="t base" my1 />

packages/vite/src/app/components/display/TreeNode.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function select(node: ModuleDest) {
4343
px2 py1 rounded
4444
hover="bg-active "
4545
>
46-
<div class="i-ph:caret-right-duotone transition op50" :class="open ? 'rotate-90' : ''" />
46+
<div class="i-ph-caret-right-duotone transition op50" :class="open ? 'rotate-90' : ''" />
4747
<div :class="open ? iconOpen || icon : icon" inline-block vertical-text-bottom />
4848
<div font-mono>
4949
<DisplayHighlightedPath :path="node.name || ''" />

packages/vite/src/app/components/flowmap/ModuleFlowDetails.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function handleClose() {
7474
<div flex-auto />
7575
<DisplayIconButton
7676
title="Line Wrapping"
77-
class-icon="i-carbon-text-wrap"
77+
class-icon="i-ph-arrow-u-down-left-duotone"
7878
:active="settings.codeviewerLineWrap"
7979
@click="settings.codeviewerLineWrap = !settings.codeviewerLineWrap"
8080
/>

packages/vite/src/app/components/flowmap/NodePluginInfo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ defineProps<{
1717
/>
1818
<span op40>|</span>
1919
<DisplayNumberBadge
20-
:number="calls" icon="i-ph:arrow-counter-clockwise"
20+
:number="calls" icon="i-ph-arrow-counter-clockwise"
2121
color="transparent color-scale-neutral"
2222
:title="`Total calls: ${calls}`"
2323
/>

packages/vite/src/app/components/flowmap/PluginFlow.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,31 @@ const tableFieldFilterRules = [
1616
match: /hookName/,
1717
name: 'hookName',
1818
description: 'Hook name',
19-
icon: 'i-carbon:function',
19+
icon: 'i-ph-function-duotone',
2020
},
2121
{
2222
match: /module/,
2323
name: 'module',
2424
description: 'Module',
25-
icon: 'i-ph:package-duotone',
25+
icon: 'i-ph-package-duotone',
2626
},
2727
{
2828
match: /startTime/,
2929
name: 'startTime',
3030
description: 'Start Time',
31-
icon: 'i-carbon:time',
31+
icon: 'i-ph-clock-duotone',
3232
},
3333
{
3434
match: /endTime/,
3535
name: 'endTime',
3636
description: 'End Time',
37-
icon: 'i-carbon:time',
37+
icon: 'i-ph-clock-duotone',
3838
},
3939
{
4040
match: /duration/,
4141
name: 'duration',
4242
description: 'Duration',
43-
icon: 'i-ph:clock-duotone',
43+
icon: 'i-ph-clock-countdown-duotone',
4444
},
4545
]
4646
const searchValue = ref<{ selected: string[] | null, search: false }>({

0 commit comments

Comments
 (0)