Skip to content

Commit 88db93e

Browse files
committed
refactor(theme): 更改导航栏的演练场图标
1 parent 533411a commit 88db93e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

docs/.vuepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default defineUserConfig({
3636
{
3737
rel: 'stylesheet',
3838
// zhaobc挑选的图标
39-
href: '//at.alicdn.com/t/font_3294373_aaebeoej8c7.css',
39+
href: '//at.alicdn.com/t/c/font_4647860_t3wvzckeetc.css',
4040
},
4141
],
4242
[

docs/.vuepress/theme/components/icons/LinkIcon.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ const LinkIcon: FunctionalComponent<LinkIconProps> = props => {
4343
icon: props.icon,
4444
color: props.color,
4545
size: props.size,
46-
class: 'icon',
4746
})
4847
)
4948
}

docs/.vuepress/theme/components/icons/PlaygroundIcon.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ export default defineComponent({
3939
h(LinkIcon, {
4040
link,
4141
target: '_blank',
42-
// icon: 'code',
43-
icon: '/assets/icon/playground.svg',
42+
icon: ' icon-console',
4443
label: label.value,
4544
size: 20,
4645
class: 'vp-action-link',
46+
color: 'var(--grey-dark)',
4747
})
4848
)
4949
},

0 commit comments

Comments
 (0)