feat(new component): Initial typography (#199)

* feat: typography

* feat: typography

* feat: typography

* Update docs/components/heading.md

* Update src/components/Typography/A.vue

* Update src/components/Typography/Heading.vue

* Update src/components/Typography/Img.vue

* Update src/components/Typography/P.vue

---------

Co-authored-by: Ilya Artamonov <ilya.sosidka@gmail.com>
This commit is contained in:
Vasu Singh
2023-09-19 15:13:47 +05:30
committed by GitHub
parent e3fc36606e
commit 7fd3b4f3a6
31 changed files with 735 additions and 0 deletions

View File

@@ -18,6 +18,13 @@ function buildSidebar() {
collapsible: true,
items: [...getFormComponents()],
},
{
text: 'Typography',
collapsible: true,
items: [
...getTypography(),
]
},
{
text: 'Utils',
collapsible: true,
@@ -75,6 +82,15 @@ function getUtils() {
]
}
function getTypography() {
return [
{ text: 'Heading', link: '/components/heading' },
{ text: 'Paragraph', link: '/components/paragraph' },
{ text: 'Image', link: '/components/image' },
{ text: 'Link', link: '/components/link' }
]
}
/**
* This can be used as an example
* https://github.com/vuejs/vitepress/blob/master/docs/.vitepress/config.js