mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 16:20:13 +00:00
38 lines
No EOL
896 B
Vue
38 lines
No EOL
896 B
Vue
<template>
|
|
<span class="command-argument"><slot/></span>
|
|
</template>
|
|
|
|
<style lang="stylus">
|
|
.command-argument {
|
|
display: inline-block;
|
|
|
|
font-size: $exampleFontSize;
|
|
font-family: $exampleFontFamily;
|
|
border-bottom: 1px solid darken($exampleArgColor, 15%);
|
|
color: $exampleTextColor;
|
|
|
|
padding: 0 0.5rem;
|
|
background-color: $exampleArgColor;
|
|
border-radius: 4px;
|
|
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.custom-block.tip .command-argument {
|
|
background-color: $exampleArgColorInTip;
|
|
}
|
|
|
|
.command-example .command-argument {
|
|
background-color: $exampleArgColorInExample;
|
|
}
|
|
|
|
.custom-block.tip .command-example .command-argument {
|
|
background-color: $exampleArgColorInBoth;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
export default {
|
|
props: ["optional", "name", "edit", "value"],
|
|
}
|
|
</script> |