mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
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:
parent
8a694e729b
commit
9cfa5ec496
13
docs/.vitepress/vitepress/components/dev/a11y-tag.vue
Normal file
13
docs/.vitepress/vitepress/components/dev/a11y-tag.vue
Normal 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>
|
1
docs/components.d.ts
vendored
1
docs/components.d.ts
vendored
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user