mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 16:50:10 +00:00
Minor changes
This commit is contained in:
parent
321f4d7d25
commit
556fe28aa7
6 changed files with 64 additions and 13 deletions
|
|
@ -26,12 +26,24 @@
|
|||
color: $exampleTextColor;
|
||||
|
||||
padding: 0 0.5rem;
|
||||
background-color: lighten($exampleBgColor, 15%);
|
||||
background-color: $exampleArgColor;
|
||||
border-radius: 4px;
|
||||
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
|
||||
.custom-block.tip .command-argument {
|
||||
background-color: darken($exampleArgColor, 3%);
|
||||
}
|
||||
|
||||
.command-example .command-argument {
|
||||
background-color: darken($exampleArgColor, 8%);
|
||||
}
|
||||
|
||||
.custom-block.tip .command-example .command-argument {
|
||||
background-color: darken($exampleArgColor, 10%);
|
||||
}
|
||||
|
||||
.argument-details {
|
||||
font-size: 0.75em;
|
||||
font-style: italic;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<p class="command-example">
|
||||
<span class="bot-prefix">pk;</span><slot></slot>
|
||||
<span class="example-comment" v-if="comment">// {{ comment }}</span>
|
||||
<span class="bot-prefix">pk;</span><slot></slot>
|
||||
</p>
|
||||
</template>
|
||||
|
||||
|
|
@ -16,6 +16,12 @@
|
|||
|
||||
margin: 0.5rem 0;
|
||||
padding: 0.75rem 1.25rem;
|
||||
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.custom-block.tip .command-example {
|
||||
background-color: darken($exampleBgColor, 3%);
|
||||
}
|
||||
|
||||
.bot-prefix {
|
||||
|
|
|
|||
|
|
@ -11,6 +11,12 @@
|
|||
|
||||
margin: 0.5rem 0;
|
||||
padding: 0.75rem 1.25rem;
|
||||
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.custom-block.tip .command-example-group {
|
||||
background-color: darken($exampleBgColor, 3%);
|
||||
}
|
||||
|
||||
.command-example-group .command-example {
|
||||
|
|
|
|||
|
|
@ -6,13 +6,17 @@
|
|||
.example-inline {
|
||||
font-size: $exampleFontSize;
|
||||
font-family: $exampleFontFamily;
|
||||
|
||||
background-color: $exampleBgColor;
|
||||
|
||||
background-color: $exampleArgColor;
|
||||
color: $exampleTextColor;
|
||||
padding: 0.2rem 0.4rem;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.custom-block.tip .example-inline {
|
||||
background-color: darken($exampleArgColor, 3%);
|
||||
}
|
||||
|
||||
.inline-bot-prefix {
|
||||
color: $examplePrefixColor;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,18 @@
|
|||
// THEME
|
||||
$accentColor = #e8a024;
|
||||
$textColor = #2c3e50;
|
||||
$accentColor = darken(#e8a024, 10%);
|
||||
|
||||
// CUSTOM
|
||||
$exampleBgColor = $codeBgColor;
|
||||
$exampleTextColor = #ffffff;
|
||||
$examplePrefixColor = #b3b6b9;
|
||||
$exampleCommentColor = darken($accentColor, 10%);
|
||||
/*$exampleBgColor = $codeBgColor;
|
||||
$exampleTextColor = #ffffff;*/
|
||||
$exampleBgColor = #f3f5f7;
|
||||
$exampleBgColorInContainer = darken($exampleBgColor, 3%);
|
||||
$exampleTextColor = darken($textColor, 5%);
|
||||
$exampleArgColor = $exampleBgColor;
|
||||
$tipDarkenFactor = 3;
|
||||
$exampleDarkenFactor = 5;
|
||||
//$examplePrefixColor = #b3b6b9;
|
||||
$examplePrefixColor = desaturate(lighten($textColor, 40%), 50%);
|
||||
$exampleCommentColor = darken($accentColor, 15%);
|
||||
$exampleFontSize = 0.9rem;
|
||||
$exampleFontFamily = source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
Loading…
Add table
Add a link
Reference in a new issue