Skip to content

Commit c36b2d2

Browse files
committed
chore: update icon
1 parent d6fd9bc commit c36b2d2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/devtools/src/app/components/flowmap/NodeModuleInfo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function down() {
100100
#after
101101
>
102102
<div
103-
p2 ml4 border="l" flex="~ col gap-2"
103+
p3 ml4 border="l" flex="~ col gap-2"
104104
:class="active ? 'border-flow-line-active' : 'border-flow-line'"
105105
>
106106
<DisplayModuleId :id="item.importer" />

packages/devtools/src/app/utils/icon.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ export const ModuleTypeRules: ModuleTypeRule[] = [
1313
description: 'Virtual',
1414
icon: 'i-catppuccin-symlink',
1515
},
16+
{
17+
match: /^@?[\w-]+\/?/,
18+
name: 'package',
19+
description: 'Package',
20+
icon: 'i-catppuccin-java-class-abstract',
21+
},
1622
{
1723
match: /[\\/]node_modules[\\/]/i,
1824
name: 'node_modules',

0 commit comments

Comments
 (0)