docs(components): [a11y] add tag (#10397)

* docs(components): [a11y] add tag

* docs(components): [a11y] modify color

* docs(components): [a11y-tag]
This commit is contained in:
Xc 2022-11-06 23:38:01 +08:00 committed by GitHub
parent 8a694e729b
commit 9cfa5ec496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,13 @@
<template>
<el-tag size="small" effect="plain" hit round class="ml-8">a11y</el-tag>
</template>
<style scoped>
.el-tag {
color: #6222c2;
border-color: #9065db;
}
.dark .el-tag {
color: #9065db;
border-color: #6222c2;
}
</style>

View File

@ -5,6 +5,7 @@ import '@vue/runtime-core'
declare module '@vue/runtime-core' {
export interface GlobalComponents {
A11yTag: typeof import('./.vitepress/vitepress/components/dev/A11yTag.vue')['default']
AxureComponentsSvg: typeof import('./.vitepress/vitepress/components/globals/resources/axure-components-svg.vue')['default']
BackToTop: typeof import('./.vitepress/vitepress/components/icons/back-to-top.vue')['default']
Codepen: typeof import('./.vitepress/vitepress/components/icons/codepen.vue')['default']