mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 17:06:16 -04:00
Added vitepress for documentation. (#6270)
This commit is contained in:
parent
a5a427fb84
commit
d004d19dd7
43 changed files with 4322 additions and 27 deletions
22
doc/.vitepress/theme/components/SvgImage.vue
Normal file
22
doc/.vitepress/theme/components/SvgImage.vue
Normal file
|
@ -0,0 +1,22 @@
|
|||
<script setup lang="ts">
|
||||
defineProps<{ svg: string }>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<figure class="svg-image-root" v-html="svg" />
|
||||
</template>
|
||||
|
||||
<style>
|
||||
.svg-image-root {
|
||||
background-color: #eee;
|
||||
border-radius: 8px;
|
||||
padding: 1ch;
|
||||
margin: 1ch 0;
|
||||
}
|
||||
html.dark .svg-image-root {
|
||||
background-color: #313641;
|
||||
}
|
||||
.svg-image-root svg text {
|
||||
font-family: var(--vp-font-family-base);
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue