mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 01:30:13 +00:00
Initial docs rewrite using Vuepress
This commit is contained in:
parent
e7191def02
commit
2b259869a0
47 changed files with 8276 additions and 1397 deletions
47
docs/content/.vuepress/components/Arg.vue
Normal file
47
docs/content/.vuepress/components/Arg.vue
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<template>
|
||||
<div class="command-argument-parent">
|
||||
<div class="command-argument">
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
<div v-if="false" class="argument-details">
|
||||
{{ name }}
|
||||
<span v-if="optional !== undefined">(optional)</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
||||
<style lang="stylus">
|
||||
.command-argument-parent {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.command-argument {
|
||||
padding: 0 0.5rem;
|
||||
background-color: lighten($exampleBgColor, 15%);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.argument-details {
|
||||
font-size: 0.75em;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.arg-input {
|
||||
/*font-size: 0.9rem;*/
|
||||
color: $exampleTextColor;
|
||||
background-color: transparent;
|
||||
text-align: center;
|
||||
border: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ["optional", "name", "edit", "value"],
|
||||
}
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue